/* =====================================================================
   George McCloskey, PhD — design system
   Scholarly, warm, contemporary. Deep spruce + parchment + copper.
   Source Serif 4 (display & long-form) + Libre Franklin (UI & body).
   ===================================================================== */

/* ---------- Fonts (self-hosted, variable, OFL) ---------- */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/SourceSerif4-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("../fonts/SourceSerif4-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/LibreFranklin-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/LibreFranklin-italic.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --c-ink: #1b2320;
  --c-spruce: #1d3a31;
  --c-spruce-700: #26493e;
  --c-spruce-900: #11251e;
  --c-moss: #3f6b58;
  --c-moss-600: #35594a;
  --c-sage: #9db5a6;
  --c-sage-200: #cfdcd3;
  --c-sage-100: #e4ece6;
  --c-sage-50: #f0f4f1;
  --c-copper: #b4652f;
  --c-copper-700: #8a4a1e;
  --c-copper-800: #6e3a16;
  --c-copper-100: #f3e3d6;
  --c-copper-50: #faf1ea;
  --c-parchment: #f8f4ec;
  --c-parchment-2: #efe8db;
  --c-parchment-3: #e6dccb;
  --c-line: #ded5c5;
  --c-line-2: #c9bea9;
  --c-muted: #5b6460;
  --c-white: #ffffff;
  --c-focus: #b4652f;

  --f-display: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Libre Franklin", "Franklin Gothic Medium", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero: clamp(2.75rem, 1.6rem + 4vw, 5.25rem);
  --fs-h1: clamp(2.3rem, 1.5rem + 2.6vw, 3.9rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 1.7vw, 2.9rem);
  --fs-h3: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem);
  --fs-h4: 1.1rem;
  --fs-lead: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-prose: clamp(1.1rem, 1.02rem + 0.3vw, 1.25rem);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4rem, 3.5rem + 4.5vw, 8rem);
  --section-sm: clamp(2.75rem, 2rem + 3vw, 5rem);

  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(27,35,32,.06), 0 1px 3px rgba(27,35,32,.08);
  --shadow-md: 0 8px 24px -8px rgba(27,35,32,.18), 0 2px 6px rgba(27,35,32,.06);
  --shadow-lg: 0 28px 60px -24px rgba(17,37,30,.38), 0 10px 20px -12px rgba(17,37,30,.16);
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 80px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; overflow-x: clip; font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.6;
  color: var(--c-ink); background: var(--c-parchment);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, .h1, .h2, .h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 0.5em; color: var(--c-spruce); font-optical-sizing: auto; text-wrap: balance; }
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.2; }
h4, .h4 { font-size: var(--fs-h4); font-family: var(--f-body); font-weight: 600; letter-spacing: 0; margin: 0 0 .5em; color: var(--c-spruce); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--c-moss-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: var(--c-sage); transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--c-spruce); text-decoration-color: currentColor; }
ul, ol { padding-left: 1.25em; }
strong, b { font-weight: 600; }
em { font-style: italic; }
small { font-size: var(--fs-small); }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 2.5rem 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-copper-100); color: var(--c-spruce-900); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1000; background: var(--c-spruce); color: #fff; padding: .75rem 1.25rem; border-radius: var(--r-pill); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 800px; }
.container--prose { max-width: 740px; }
.container--wide { max-width: 1400px; }
.section { padding-block: var(--section); position: relative; }
.section--sm { padding-block: var(--section-sm); }
.section--flush-top { padding-top: 0; }
.section--parchment2 { background: var(--c-parchment-2); }
.section--sage { background: var(--c-sage-50); }
.section--white { background: #fff; }
.section--spruce { background: var(--c-spruce); color: #dfe7e2; }
.section--spruce h2, .section--spruce h3, .section--spruce .h2 { color: #fff; }
.section--spruce a { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.section--spruce a:hover { text-decoration-color: #fff; }
.section--spruce .lead { color: #c7d4cc; }
.section--spruce .eyebrow { color: var(--c-sage); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 3vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head--row > div { max-width: 680px; }
.section-head p { max-width: 62ch; }
.section-head--center p { margin-inline: auto; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-muted); font-weight: 400; }
.lead--serif { font-family: var(--f-display); color: var(--c-ink); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); line-height: 1.45; }
.measure { max-width: 62ch; }
.muted { color: var(--c-muted); }
.serif { font-family: var(--f-display); }
.nowrap { white-space: nowrap; }
.text-center { text-align: center; }

/* Long-form prose (About, framework essays) set in the serif at text optical size */
.prose { max-width: 70ch; font-family: var(--f-display); font-size: var(--fs-prose); line-height: 1.6; color: var(--c-ink); }
.prose p { margin-bottom: 1.2em; }
.prose p + p { }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.prose h3 { margin-top: 1.8em; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.prose ul, .prose ol { margin-bottom: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--c-copper); }
.prose blockquote { margin: 2em 0; padding: .25em 0 .25em 1.4em; border-left: 3px solid var(--c-copper); font-style: italic; font-size: 1.08em; color: var(--c-spruce); }
.prose blockquote cite { display: block; margin-top: .6em; font-style: normal; font-family: var(--f-body); font-size: var(--fs-small); color: var(--c-muted); }
.prose .dropcap::first-letter { font-size: 3.6em; float: left; line-height: .8; padding: .08em .1em 0 0; color: var(--c-copper); font-weight: 500; }
.prose figure { margin: 2.2em 0; }
.prose figcaption { font-family: var(--f-body); font-size: var(--fs-small); color: var(--c-muted); margin-top: .75em; }
.prose a { text-decoration-thickness: 1px; }
.prose .small { font-family: var(--f-body); font-size: var(--fs-small); }
.prose table { font-family: var(--f-body); font-size: var(--fs-small); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1rem; font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-copper-700); }
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: var(--c-copper); }
.eyebrow--plain::before { display: none; }
.label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.tag { display: inline-block; padding: .2rem .6rem; border: 1px solid var(--c-line-2); border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 500; color: var(--c-muted); background: #fff; }
.tag--copper { border-color: var(--c-copper-100); background: var(--c-copper-50); color: var(--c-copper-700); }
.tag--sage { border-color: var(--c-sage-200); background: var(--c-sage-50); color: var(--c-moss-600); }
.num { font-family: var(--f-display); font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: var(--r-pill); font-weight: 600; font-size: var(--fs-small); line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--c-spruce); color: #fff; border-color: var(--c-spruce); }
.btn--primary:hover { background: var(--c-spruce-900); border-color: var(--c-spruce-900); color: #fff; }
.btn--copper { background: var(--c-copper); color: #fff; border-color: var(--c-copper); }
.btn--copper:hover { background: var(--c-copper-700); border-color: var(--c-copper-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--c-spruce); border-color: var(--c-line-2); }
.btn--ghost:hover { border-color: var(--c-spruce); color: var(--c-spruce); background: rgba(29,58,49,.04); }
.btn--light { background: #fff; color: var(--c-spruce); border-color: #fff; }
.btn--light:hover { background: var(--c-parchment); color: var(--c-spruce-900); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--sm { padding: .6rem 1.1rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; color: var(--c-spruce); font-size: var(--fs-small); }
.link-arrow svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--c-copper-700); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248,244,236,.88); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s, box-shadow .25s; }
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 6px 24px -18px rgba(27,35,32,.25); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--c-spruce); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; }
.brand__name span { font-weight: 400; color: var(--c-moss); }
.brand__tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--c-copper-700); margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: .2rem; }
.nav a { display: inline-block; padding: .55rem .85rem; border-radius: var(--r-pill); text-decoration: none; color: var(--c-ink); font-weight: 500; font-size: var(--fs-small); transition: background .15s, color .15s; }
.nav a:hover { background: rgba(29,58,49,.06); color: var(--c-spruce); }
.nav a[aria-current="page"], .nav a.is-active { color: var(--c-spruce); background: rgba(29,58,49,.08); }
.nav .btn { margin-left: .6rem; }
.nav a.btn--primary { color: #fff; background: var(--c-spruce); }
.nav a.btn--primary:hover { background: var(--c-spruce-900); color: #fff; }
.nav-toggle { display: none; align-items: center; gap: .5rem; background: none; border: 1.5px solid var(--c-line-2); border-radius: var(--r-pill); padding: .55rem .95rem; color: var(--c-spruce); font-weight: 600; font-size: var(--fs-small); cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .brand__tag { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--c-parchment); }
  .nav { display: none; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: var(--c-parchment); flex-direction: column; align-items: stretch; padding: 1.25rem var(--gutter) 2rem; gap: .25rem; overflow-y: auto; border-top: 1px solid var(--c-line); }
  .nav.is-open { display: flex; }
  .nav a { font-size: 1.25rem; padding: .9rem .5rem; border-radius: 0; border-bottom: 1px solid var(--c-line); font-family: var(--f-display); font-weight: 500; }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"], .nav a.is-active { background: none; color: var(--c-copper-700); }
  .nav .btn { margin: 1.25rem 0 0; border-radius: var(--r-pill); border-bottom: 0; font-family: var(--f-body); font-size: 1rem; justify-content: center; }
  .nav.is-open { overscroll-behavior: contain; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--c-spruce-900); color: #c3d0c8; padding: clamp(3rem, 5vw, 5rem) 0 2rem; position: relative; overflow: hidden; }
.site-footer a { color: #e8eeea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--c-sage); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; position: relative; }
.footer-grid h3 { color: #fff; font-family: var(--f-body); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55rem; font-size: var(--fs-small); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__name span { color: var(--c-sage); }
.footer-brand p { font-size: var(--fs-small); max-width: 34ch; margin-top: 1rem; color: #a9b9af; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: var(--fs-xs); color: #8fa196; position: relative; }
.footer-bottom a { color: #b5c4ba; }
.footer-paths { position: absolute; right: -6%; bottom: -10%; width: 44%; min-width: 420px; opacity: .14; pointer-events: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--c-parchment); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); padding-block: clamp(2.5rem, 5vw, 4rem); }
.hero__copy { position: relative; z-index: 2; }
.hero__title { font-size: var(--fs-hero); font-weight: 400; line-height: 1.02; letter-spacing: -.022em; margin: 0 0 1.4rem; color: var(--c-spruce); }
.hero__title em { font-style: italic; font-weight: 400; color: var(--c-copper-700); }
.hero__lead { font-size: var(--fs-lead); color: var(--c-muted); max-width: 52ch; margin-bottom: 2rem; line-height: 1.55; }
.hero__proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--c-line); }
.hero__proof div { display: flex; flex-direction: column; gap: .15rem; }
.hero__proof strong { font-family: var(--f-display); font-size: 1.75rem; font-weight: 500; color: var(--c-spruce); letter-spacing: -.02em; line-height: 1; font-variant-numeric: lining-nums; }
.hero__proof span { font-size: var(--fs-xs); color: var(--c-muted); letter-spacing: .04em; }
.hero__media { position: relative; z-index: 1; }
.hero__portrait { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--c-parchment-2); }
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,37,30,0) 55%, rgba(17,37,30,.35) 100%); pointer-events: none; }
.hero__caption { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; color: #fff; font-size: var(--fs-xs); letter-spacing: .04em; z-index: 2; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.hero__frame { position: absolute; inset: auto -1.25rem -1.25rem auto; width: 62%; height: 62%; border: 1px solid var(--c-copper); border-radius: var(--r-lg); z-index: 0; opacity: .7; }
.hero__paths { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .28; }
.hero__paths svg { width: 100%; height: 100%; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-top: 2rem; }
  .hero__media { order: -1; max-width: 420px; }
  .hero__portrait { aspect-ratio: 4 / 4.4; }
  .hero__frame { display: none; }
}

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; padding: clamp(3rem, 4vw + 1rem, 5.5rem) 0 clamp(2.5rem, 3vw + 1rem, 4rem); overflow: hidden; }
.page-hero--band { background: var(--c-spruce); color: #dfe7e2; }
.page-hero--band h1, .page-hero--band .eyebrow { color: #fff; }
.page-hero--band .eyebrow { color: var(--c-sage); }
.page-hero--band .eyebrow::before { background: var(--c-sage); }
.page-hero--band .lead { color: #c7d4cc; }
.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3rem; align-items: end; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead { max-width: 58ch; }
.page-hero__paths { position: absolute; right: -8%; top: -20%; width: 55%; min-width: 480px; opacity: .25; pointer-events: none; }
@media (max-width: 800px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__paths { opacity: .15; } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: var(--fs-xs); color: var(--c-muted); }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--c-spruce); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--c-line-2); }
.page-hero--band .breadcrumb { color: #a9b9af; }
.page-hero--band .breadcrumb a:hover { color: #fff; }

/* ---------- Sub-navigation (sticky, in-page) ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(248,244,236,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.subnav ul { display: flex; gap: .25rem; list-style: none; padding: 0; margin: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-block; padding: .9rem .85rem; font-size: var(--fs-small); font-weight: 500; text-decoration: none; color: var(--c-muted); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav a:hover { color: var(--c-spruce); }
.subnav a.is-active { color: var(--c-spruce); border-bottom-color: var(--c-copper); }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.grid--split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.grid--split-wide { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 1023px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .grid--sidebar, .grid--split, .grid--split-wide { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(1.4rem, 2.5vw, 2rem); position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-line-2); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--c-muted); font-size: var(--fs-small); }
.card .link-arrow { margin-top: 1rem; }
.card--flat:hover { transform: none; box-shadow: none; }
.card--link { display: block; text-decoration: none; color: inherit; }
.card--link:hover h3 { color: var(--c-copper-700); }
.card__icon { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--c-sage-50); color: var(--c-moss); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card__icon svg { width: 22px; height: 22px; }
.card__num { font-family: var(--f-display); font-size: 2.6rem; font-weight: 300; line-height: 1; color: var(--c-copper); margin-bottom: .75rem; font-variant-numeric: lining-nums; }
.card--spruce { background: var(--c-spruce); border-color: var(--c-spruce); color: #dfe7e2; }
.card--spruce h3 { color: #fff; }
.card--spruce p { color: #c7d4cc; }
.card--parchment { background: var(--c-parchment-2); border-color: var(--c-parchment-3); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- Audience / pathway tiles ---------- */
.pathways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
.pathway { background: #fff; padding: 1.75rem 1.5rem 1.6rem; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .5rem; transition: background .25s; position: relative; }
.pathway:hover { background: var(--c-sage-50); }
.pathway strong { font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; color: var(--c-spruce); }
.pathway span { font-size: var(--fs-small); color: var(--c-muted); }
.pathway .link-arrow { margin-top: auto; padding-top: .9rem; }
.pathway__k { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--c-copper-700); font-weight: 600; }
@media (max-width: 1023px) { .pathways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pathways { grid-template-columns: 1fr; } }

/* ---------- Books ---------- */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.book { display: flex; flex-direction: column; gap: 1rem; text-decoration: none; color: inherit; }
/* A cover is sized by its image: the image sets the box height, so nothing is stretched, letterboxed or bottom-aligned inside an empty frame. */
.book__cover { position: relative; transition: transform .35s var(--ease); }
.book__cover img { display: block; width: 100%; height: auto; border-radius: var(--r-xs) var(--r-sm) var(--r-sm) var(--r-xs); background: var(--c-parchment-2); box-shadow: 0 18px 36px -18px rgba(17,37,30,.45), 0 2px 4px rgba(17,37,30,.12); transition: box-shadow .35s var(--ease); }
.book:hover .book__cover { transform: translateY(-6px) rotate(-.6deg); }
.book:hover .book__cover img { box-shadow: 0 32px 50px -22px rgba(17,37,30,.5), 0 4px 8px rgba(17,37,30,.12); }
.book__cover--tile { display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: var(--r-xs) var(--r-sm) var(--r-sm) var(--r-xs); box-shadow: 0 18px 36px -18px rgba(17,37,30,.45), 0 2px 4px rgba(17,37,30,.12); }
/* In a multi-column grid the cards share rows (subgrid), so covers rest on one baseline and titles start on one line. Browsers without subgrid simply stack each card. */
.grid > .book { display: grid; grid-template-rows: subgrid; grid-row: span 3; gap: 1rem; align-content: end; }
.grid > .book .book__cover { align-self: end; }
.book__title { font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; line-height: 1.25; color: var(--c-spruce); margin: 0; }
.book:hover .book__title { color: var(--c-copper-700); }
.book__meta { font-size: var(--fs-xs); color: var(--c-muted); letter-spacing: .02em; }
.book__meta b { font-weight: 600; color: var(--c-ink); }
.book-feature { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 760px) { .book-feature { grid-template-columns: minmax(0, 1fr); } .book-feature .book__cover img { max-width: 260px; } }
/* Single-column phones: a cover sits at a book-like width, flush left with the text that follows it. */
@media (max-width: 640px) { .book__cover img, .book__cover--tile { max-width: 240px; } }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; font-size: var(--fs-small); margin: 1.25rem 0; }
.spec dt { color: var(--c-muted); }
.spec dd { margin: 0; color: var(--c-ink); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.stat { padding: 1.5rem 0 0; border-top: 1px solid var(--c-line-2); }
.stat strong { display: block; font-family: var(--f-display); font-size: clamp(2.4rem, 2rem + 1.5vw, 3.6rem); font-weight: 300; line-height: 1; letter-spacing: -.02em; color: var(--c-spruce); font-variant-numeric: lining-nums; }
.stat strong sup { font-size: .45em; color: var(--c-copper); font-weight: 400; vertical-align: top; top: .2em; position: relative; }
.stat span { display: block; margin-top: .6rem; font-size: var(--fs-small); color: var(--c-muted); max-width: 22ch; }
.section--spruce .stat { border-top-color: rgba(255,255,255,.2); }
.section--spruce .stat strong { color: #fff; }
.section--spruce .stat span { color: #b5c4ba; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Quote ---------- */
.quote { position: relative; max-width: 900px; margin-inline: auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1.3; font-weight: 400; color: var(--c-spruce); letter-spacing: -.01em; text-wrap: balance; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 5rem; line-height: .6; color: var(--c-copper); margin-bottom: 1.25rem; font-weight: 300; }
.quote cite { display: block; margin-top: 1.5rem; font-style: normal; font-family: var(--f-body); font-size: var(--fs-small); color: var(--c-muted); }
.quote cite b { color: var(--c-ink); font-weight: 600; }
.section--spruce .quote blockquote { color: #fff; }
.section--spruce .quote blockquote::before { color: var(--c-sage); }
.section--spruce .quote cite { color: #a9b9af; }
.section--spruce .quote cite b { color: #fff; }
.quote--left { text-align: left; margin-inline: 0; }
.quote--left blockquote::before { display: inline; font-size: 1em; line-height: 1; margin: 0; }
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.testimonial { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.testimonial p { font-family: var(--f-display); font-size: 1.12rem; line-height: 1.45; color: var(--c-ink); margin: 0; }
.testimonial p::before { content: "\201C"; color: var(--c-copper); }
.testimonial p::after { content: "\201D"; color: var(--c-copper); }
.testimonial cite { font-style: normal; font-size: var(--fs-xs); color: var(--c-muted); margin-top: auto; }
.testimonial cite b { display: block; color: var(--c-ink); font-weight: 600; font-size: var(--fs-small); }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- Events / presentations ---------- */
.events { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--c-line-2); }
.event { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 1.5rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--c-line); align-items: start; }
.event__date { display: flex; flex-direction: column; line-height: 1; }
.event__date b { font-family: var(--f-display); font-size: 2.3rem; font-weight: 300; color: var(--c-spruce); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.event__date span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--c-copper-700); font-weight: 600; margin-top: .4rem; }
.event__date small { font-size: var(--fs-xs); color: var(--c-muted); margin-top: .35rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
.event__body h2, .event__body h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.event__body h2 a, .event__body h3 a { color: inherit; text-decoration: none; }
.event__body h2 a:hover, .event__body h3 a:hover { color: var(--c-copper-700); }
.event__org { font-weight: 600; font-size: var(--fs-small); color: var(--c-ink); }
.event__meta { font-size: var(--fs-small); color: var(--c-muted); margin-top: .25rem; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; }
.event__meta svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: .3rem; color: var(--c-sage); }
.event__desc { font-size: var(--fs-small); color: var(--c-muted); margin-top: .6rem; max-width: 60ch; }
.event__cta { align-self: center; }
@media (max-width: 760px) { .event { grid-template-columns: 84px minmax(0, 1fr); } .event__cta { grid-column: 2; justify-self: start; } .event__date b { font-size: 1.9rem; } }
.event--past .event__date b { color: var(--c-muted); }

/* ---------- Timeline ---------- */
.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 7.5rem; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--c-copper), var(--c-sage) 40%, var(--c-line-2)); }
.tl { display: grid; grid-template-columns: 6rem 1.5rem minmax(0, 1fr); gap: 0 1.25rem; padding-bottom: 2.25rem; position: relative; }
.tl__year { font-family: var(--f-display); font-size: 1.5rem; font-weight: 400; color: var(--c-spruce); text-align: right; line-height: 1.1; font-variant-numeric: lining-nums; padding-top: .1rem; }
.tl__year small { display: block; font-family: var(--f-body); font-size: var(--fs-xs); color: var(--c-muted); margin-top: .25rem; }
.tl__dot { width: 13px; height: 13px; border-radius: 50%; background: var(--c-parchment); border: 2px solid var(--c-copper); margin: .55rem auto 0; position: relative; z-index: 1; }
.tl--milestone .tl__dot { background: var(--c-copper); box-shadow: 0 0 0 5px var(--c-copper-100); }
.tl__body h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.tl__body p { font-size: var(--fs-small); color: var(--c-muted); max-width: 60ch; }
.tl__body .tag { margin-top: .5rem; }
@media (max-width: 640px) { .timeline::before { left: .7rem; } .tl { grid-template-columns: 1.5rem minmax(0, 1fr); } .tl__year { grid-column: 2; text-align: left; order: -1; margin-bottom: .25rem; } .tl__dot { grid-row: 1 / span 2; margin-top: .35rem; } }

/* ---------- Framework (holarchy) ---------- */
.tiers { list-style: none; padding: 0; margin: 0; counter-reset: tier; display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
.tier { background: #fff; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 1.75rem; align-items: start; }
.tier__n { font-family: var(--f-display); font-size: 2rem; font-weight: 300; color: var(--c-copper); line-height: 1; font-variant-numeric: lining-nums; }
.tier h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.tier p { font-size: var(--fs-small); color: var(--c-muted); }
.tier--focus { background: var(--c-sage-50); }
.ef-clusters { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.25rem; }
.ef-cluster { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 1.25rem 1.25rem 1.1rem; }
.ef-cluster h3 { font-family: var(--f-body); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--c-copper-700); margin-bottom: .8rem; display: flex; align-items: baseline; justify-content: space-between; }
.ef-cluster h3 span { font-family: var(--f-display); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--c-muted); font-weight: 400; }
.ef-cluster ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .35rem; }
.ef-cluster li { font-family: var(--f-display); font-size: 1.08rem; color: var(--c-spruce); padding-left: 1rem; position: relative; }
.ef-cluster li::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--c-sage); }
.arenas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.arena { padding: 1.5rem; border-radius: var(--r-md); background: var(--c-parchment-2); border: 1px solid var(--c-parchment-3); }
.arena h3 { font-size: 1.15rem; }
.arena p { font-size: var(--fs-small); color: var(--c-muted); }
@media (max-width: 900px) { .arenas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .arenas { grid-template-columns: 1fr; } }
.figure { margin: 0; }
.figure svg { width: 100%; height: auto; }
.figure figcaption { font-size: var(--fs-small); color: var(--c-muted); margin-top: 1rem; }

/* ---------- Resource list ---------- */
.resources { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.resource { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 1rem 1.25rem; text-decoration: none; color: inherit; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.resource:hover { border-color: var(--c-sage); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.resource__icon { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--c-sage-50); color: var(--c-moss); display: grid; place-items: center; }
.resource__icon svg { width: 22px; height: 22px; }
.resource__icon--copper { background: var(--c-copper-50); color: var(--c-copper-700); }
.resource strong { display: block; font-weight: 600; color: var(--c-spruce); }
.resource span { font-size: var(--fs-xs); color: var(--c-muted); }
.resource .tag { justify-self: end; }
@media (max-width: 560px) { .resource { grid-template-columns: 40px minmax(0, 1fr); } .resource .tag { display: none; } .resource__icon { width: 40px; height: 40px; } }

/* ---------- Media cards (video / podcast) ---------- */
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.media { display: flex; flex-direction: column; gap: .9rem; text-decoration: none; color: inherit; }
.media__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--c-spruce-900); }
.media__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media:hover .media__thumb img { transform: scale(1.04); }
.media__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%; background: rgba(248,244,236,.92); color: var(--c-spruce); display: grid; place-items: center; box-shadow: var(--shadow-md); transition: background .2s, transform .25s var(--ease); }
.media__play svg { width: 20px; height: 20px; margin-left: 3px; }
.media:hover .media__play { background: var(--c-copper); color: #fff; transform: scale(1.06); }
.media__dur { position: absolute; right: .6rem; bottom: .6rem; background: rgba(17,37,30,.8); color: #fff; font-size: var(--fs-xs); padding: .15rem .5rem; border-radius: var(--r-xs); }
.media h3 { font-size: 1.1rem; margin: 0; }
.media:hover h3 { color: var(--c-copper-700); }
.media span { font-size: var(--fs-xs); color: var(--c-muted); }
@media (max-width: 900px) { .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .media-grid { grid-template-columns: 1fr; } }

/* ---------- Publication list ---------- */
.pubs { list-style: none; padding: 0; margin: 0; }
.pub { padding: 1.1rem 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-small); display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.25rem; }
.pub__year { font-family: var(--f-display); font-size: 1.15rem; color: var(--c-copper-700); font-variant-numeric: lining-nums; }
.pub__title { font-weight: 600; color: var(--c-spruce); }
.pub__title a { color: inherit; }
.pub__src { color: var(--c-muted); display: block; margin-top: .15rem; }
.pub__src em { font-style: italic; }
.pub .tag { margin-top: .5rem; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--c-line-2); }
.accordion details { border-bottom: 1px solid var(--c-line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; color: var(--c-spruce); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--c-copper); border-bottom: 1.5px solid var(--c-copper); transform: rotate(45deg); transition: transform .25s var(--ease); margin-right: .25rem; }
.accordion details[open] summary::after { transform: rotate(-135deg); }
.accordion summary:hover { color: var(--c-copper-700); }
.accordion__body { padding: 0 0 1.4rem; color: var(--c-muted); font-size: var(--fs-small); max-width: 68ch; }
.accordion__body p { margin-bottom: .75em; }

/* ---------- Callout / CTA ---------- */
.callout { background: #fff; border: 1px solid var(--c-line); border-left: 4px solid var(--c-copper); border-radius: var(--r-md); padding: 1.4rem 1.6rem; font-size: var(--fs-small); }
.callout--sage { border-left-color: var(--c-moss); background: var(--c-sage-50); border-color: var(--c-sage-200); }
.callout h3, .callout h4 { margin-bottom: .4rem; }
.cta-band { background: var(--c-spruce); color: #dfe7e2; border-radius: var(--r-xl); padding: clamp(2.5rem, 4vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: #c7d4cc; max-width: 52ch; }
.cta-band .btn-row { position: relative; z-index: 1; }
.cta-band__paths { position: absolute; right: -5%; top: -30%; width: 50%; min-width: 380px; opacity: .18; pointer-events: none; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Figure / image treatments ---------- */
.frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--c-parchment-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--square { aspect-ratio: 1; }
.caption { font-size: var(--fs-xs); color: var(--c-muted); margin-top: .75rem; }
.photo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.photo-strip figure { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-parchment-2); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip figure:nth-child(2) { translate: 0 1.5rem; }
@media (max-width: 640px) { .photo-strip { grid-template-columns: 1fr 1fr; } .photo-strip figure:nth-child(2) { translate: 0 0; } .photo-strip figure:nth-child(3) { display: none; } }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.table th, .table td { text-align: left; padding: .8rem .75rem; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.table th { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 2rem; }
.contact-card dl { margin: 0; display: grid; gap: 1rem; }
.contact-card dt { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.contact-card dd { margin: .15rem 0 0; font-size: 1.05rem; }

/* ---------- Reveal on scroll (subtle, respects reduced motion) ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="2"] { transition-delay: .1s; }
[data-reveal="3"] { transition-delay: .2s; }
[data-reveal="4"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } * { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; } .mt-8 { margin-top: 4rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.flow > * + * { margin-top: 1rem; }
.divider { height: 1px; background: var(--c-line); margin: clamp(2rem, 4vw, 3.5rem) 0; }
.icon { width: 1em; height: 1em; }
@media print { .site-header, .site-footer, .nav-toggle, .cta-band, .skip-link { display: none !important; } body { background: #fff; } }

/* ---------- Additions ---------- */
.hero__portrait--wide { aspect-ratio: 4 / 3.4; }
.hero__portrait--wide img { object-position: 38% 50%; }
@media (max-width: 900px) { .hero__media { max-width: 560px; } .hero__portrait--wide { aspect-ratio: 3 / 2; } }
.home .hero { background: linear-gradient(180deg, var(--c-parchment) 0%, var(--c-parchment) 70%, #fff 100%); }

.card--spruce a:not(.btn) { color: #fff; text-decoration-color: rgba(255,255,255,.45); }
.card--spruce a:not(.btn):hover { text-decoration-color: #fff; }

@media (max-width: 480px) { .brand__name { font-size: 1.1rem; } .brand__mark { width: 34px; height: 34px; } }
@media (max-width: 900px) {
  .hero__caption { position: static; color: var(--c-muted); text-shadow: none; padding: .6rem .25rem 0; }
  .hero__portrait { overflow: visible; box-shadow: none; aspect-ratio: auto; background: none; }
  .hero__portrait img { aspect-ratio: 4 / 5; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
  .hero__portrait::after { display: none; }
}
.nav a, .brand__name { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1200px) { .nav a { padding: .5rem .6rem; font-size: .875rem; } .brand__tag { display: none; } .brand__name { font-size: 1.15rem; } }

/* ---------- v2 additions ---------- */
.cv-list { list-style: none; padding: 0; margin: 0 0 .5rem; font-family: var(--f-body); font-size: var(--fs-small); }
.cv-list li { padding: .7rem 0; border-bottom: 1px solid var(--c-line); }
.cv-head { display: block; font-weight: 600; color: var(--c-spruce); }
.cv-line { display: block; color: var(--c-muted); margin-top: .15rem; }
.cv-children { margin: .4rem 0 0; padding-left: 1.2em; color: var(--c-muted); }
.cv-children li { padding: .1rem 0; border: 0; }
.accordion details[open] summary { color: var(--c-copper-700); }

@media (max-width: 560px) { .hero__proof { grid-template-columns: 1fr; } }

/* ---------- Term grid (neutral presentation of a list; no relationships implied) ---------- */
.term-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
.term-grid li { background: #fff; min-height: 7rem; display: flex; align-items: flex-end; padding: 1.1rem 1.15rem 1rem; font-family: var(--f-display); font-size: clamp(1rem, .85rem + .6vw, 1.45rem); line-height: 1.15; color: var(--c-spruce); letter-spacing: -.01em; overflow-wrap: normal; hyphens: manual; }
.term-grid--lg li { min-height: 9.5rem; font-size: clamp(1.15rem, .9rem + 1.1vw, 2rem); padding: 1.4rem 1.5rem 1.25rem; }
@media (max-width: 480px) { .term-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .term-grid li { min-height: 5.5rem; padding: .85rem .8rem .75rem; } .term-grid li:last-child { grid-column: span 2; } .term-grid--lg li { min-height: 6.5rem; } }
.facets { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.facets li { padding: .45rem .95rem; border: 1px solid var(--c-line-2); border-radius: var(--r-pill); font-family: var(--f-display); font-size: 1.05rem; color: var(--c-spruce); background: #fff; }

/* ---------- Five-up card row (MEFS special features) ---------- */
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Responsive button labels ---------- */
.btn__short { display: none; }
@media (max-width: 480px) { .btn__full { display: none; } .btn__short { display: inline; } }
@media (max-width: 380px) { .brand { gap: .6rem; } .brand__name { font-size: 1rem; } .brand__mark { width: 30px; height: 30px; } .nav-toggle { padding: .5rem .8rem; } }
.btn { max-width: 100%; }
.btn--wrap { white-space: normal; text-align: center; }
