:root {
  --ink: #17281f;
  --paper: #f7f2e8;
  --paper-deep: #ede4d3;
  --panel: #fffdf8;
  --accent: #b75935;
  --accent-dark: #843a22;
  --moss: #3f6e59;
  --sky: #dce9e3;
  --muted: #637067;
  --line: #d8cfbf;
  --shadow: 0 18px 45px rgba(35, 45, 37, .12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(183, 89, 53, .1), transparent 28rem),
    linear-gradient(135deg, rgba(63, 110, 89, .045) 25%, transparent 25%) 0 0 / 32px 32px,
    var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, ul { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--serif); line-height: 1.06; }
h1 { max-width: 13ch; margin-bottom: 1.25rem; font-size: clamp(2.8rem, 6vw, 5.55rem); letter-spacing: -.055em; }
h2 { margin-bottom: .7rem; font-size: clamp(1.65rem, 2.6vw, 2.55rem); letter-spacing: -.035em; }
h3 { font-size: 1.35rem; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: .9rem;
  left: .9rem;
  padding: .65rem .9rem;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-shell { width: min(1240px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(20rem, 2fr);
  align-items: center;
  gap: 2rem;
  min-height: 7.5rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50% 42% 48% 40%;
  background: var(--paper-deep);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.12em;
  transform: rotate(-8deg);
}
.brand strong { display: block; font-family: var(--serif); font-size: 1.25rem; letter-spacing: -.025em; }
.brand small { display: block; max-width: 24ch; color: var(--muted); font-size: .72rem; line-height: 1.25; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem 1rem; }
nav a { padding: .35rem 0; color: var(--muted); font-size: .78rem; line-height: 1.25; text-decoration: none; }
nav a:first-child { color: var(--ink); font-weight: 700; }
nav a:hover { color: var(--accent-dark); text-decoration: underline; }

main { padding: clamp(3.25rem, 8vw, 7.5rem) 0 4.5rem; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(20rem, .94fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  min-height: 31rem;
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  margin-bottom: .9rem;
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}
.lede { max-width: 58ch; margin-bottom: 1.8rem; color: #35463c; font-size: clamp(1.06rem, 1.8vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: .75rem 1.15rem;
  border: 1px solid var(--accent-dark);
  background: var(--accent);
  box-shadow: 4px 4px 0 var(--ink);
  color: white;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  transition: box-shadow .15s ease, transform .15s ease, background .15s ease;
}
.button:hover { background: var(--accent-dark); box-shadow: 2px 2px 0 var(--ink); color: white; transform: translate(2px, 2px); }
.quiet-link { color: var(--ink); font-size: .9rem; font-weight: 700; }
.hero-art { position: relative; }
.hero-art::before {
  position: absolute;
  z-index: -1;
  inset: 9% -7% -8% 10%;
  border: 1px solid rgba(23, 40, 31, .24);
  background: var(--sky);
  content: "";
  transform: rotate(4deg);
}
.hero-art img { width: 100%; border: 1px solid var(--ink); background: var(--panel); box-shadow: var(--shadow); transform: rotate(-2deg); }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: clamp(4rem, 10vw, 8rem) 0;
  border: 1px solid var(--line);
  background: var(--line);
}
.principles article { min-height: 15rem; padding: 2rem; background: rgba(255, 253, 248, .9); }
.principles article:nth-child(2) { background: #f1eee6; }
.number { margin-bottom: 2rem; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.principles h2 { font-size: 1.6rem; }
.principles p:last-child { margin-bottom: 0; color: #49554e; font-size: .96rem; }

.examples { padding-top: 1rem; }
.section-heading { display: grid; grid-template-columns: minmax(16rem, .85fr) minmax(18rem, 1.15fr); gap: 2rem 4rem; align-items: end; margin-bottom: 2rem; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -1rem; }
.section-heading h2 { max-width: 16ch; margin-bottom: 0; }
.section-heading p:last-child { max-width: 52ch; margin-bottom: .3rem; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.content-card {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 8px 0 rgba(23, 40, 31, .03);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.content-card:hover { border-color: var(--moss); box-shadow: 0 16px 28px rgba(23, 40, 31, .11); transform: translateY(-3px); }
.content-card .eyebrow { margin-bottom: 1.7rem; color: var(--moss); }
.content-card h2 { max-width: 15ch; font-size: clamp(1.45rem, 2.3vw, 2rem); }
.content-card h2 a { text-decoration: none; }
.content-card h2 a:hover { text-decoration: underline; }
.content-card p:not(.eyebrow) { color: #4b584f; }
.text-link { margin-top: auto; color: var(--accent-dark); font-size: .86rem; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.affiliate { margin-top: 1.25rem; padding: 1rem 1.25rem; border-left: 4px solid var(--moss); background: var(--sky); }

.article-page { width: min(100%, 760px); margin: 0 auto; }
.meta { margin-bottom: 1.8rem; color: var(--moss); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.article-page h1 { max-width: 14ch; }
.article-page h2 { margin-top: 2.9rem; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.article-page p { max-width: 68ch; color: #2f3f35; font-size: 1.06rem; line-height: 1.8; }
.article-page h2 + p { margin-top: 0; }
.article-note { margin-top: 3.5rem; padding: 1.4rem 1.5rem; border: 1px solid var(--line); background: var(--sky); }
.article-note p:last-child { margin-bottom: 0; color: #31483c; font-size: .94rem; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr .9fr auto;
  gap: 2rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
}
.site-footer strong { color: var(--ink); font-family: var(--serif); font-size: 1.2rem; }
.site-footer p { margin-bottom: .5rem; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: .25rem .8rem; margin-bottom: 0; padding: 0; list-style: none; }
.footer-label { color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.site-footer a { color: var(--accent-dark); font-weight: 800; }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr; gap: .8rem; padding: 1.25rem 0; }
  nav { justify-content: flex-start; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 43rem; margin: 1rem auto 0; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: auto; }
  .section-heading { grid-template-columns: 1fr; gap: .8rem; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .section-heading h2 { max-width: 20ch; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .site-shell { width: min(100% - 1.25rem, 1240px); }
  .site-header { min-height: 0; }
  nav { gap: .25rem .7rem; }
  nav a { font-size: .72rem; }
  main { padding-top: 3.25rem; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero { gap: 2.5rem; min-height: 0; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .principles { margin: 4rem 0; }
  .principles article, .content-card { padding: 1.45rem; }
  .card-grid { grid-template-columns: 1fr; }
  .content-card { min-height: 15rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1.25rem; padding-bottom: 2rem; }
  .article-page p { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media print {
  body { background: white; }
  .site-header nav, .skip-link, .hero-actions, .site-footer { display: none; }
  .hero { display: block; }
  .hero-art { max-width: 24rem; margin: 2rem 0; }
  .content-card { break-inside: avoid; box-shadow: none; }
}
