/* ------------------------------------------------------------------
   AI That Matters — v3 "Navy & Cream"
   Palette inspired by Anthropic/Claude: warm cream paper, deep navy,
   charcoal ink, one restrained navy-blue accent. Serif display.
------------------------------------------------------------------- */

:root {
  --cream: #f7f5ef;
  --cream-2: #efece3;
  --paper: #fdfcf9;
  --navy: #0f1d3f;
  --navy-2: #16274f;
  --navy-deep: #0a1430;
  --ink: #171716;
  --ink-2: #3a3a37;
  --muted: #6b6a63;
  --line: rgba(15, 29, 63, 0.12);
  --line-strong: rgba(15, 29, 63, 0.22);
  --accent: #1f3f8c;
  --accent-soft: rgba(31, 63, 140, 0.12);
  --accent-light: #9fb8ee;

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 6px;
  --radius-lg: 14px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.08; color: var(--navy); }
h1 { font-size: clamp(42px, 5.7vw, 76px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--accent); }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}
.eyebrow--light { color: var(--accent-light); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head h2 { margin-bottom: 20px; }
.section__head .lede { margin: 0; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.section__head--split h2 { margin-bottom: 0; }
.link { color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s; }
.link:hover { border-color: var(--navy); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip:focus { left: 16px; top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15px; font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease);
}
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(15,29,63,.04); }
.btn--light { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn--light:hover { background: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn span { transition: transform .2s var(--ease); }
.btn:hover span { transform: translateX(3px); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .thesis__hint span { animation: none; }
  .glance__projects i, .glance__age em, .glance__ring-track, .glance__ring-dots circle { transition: none; opacity: 1; transform: none; stroke-dashoffset: 0; }
  .story { height: auto; }
  .story__sticky { position: static; height: auto; overflow: visible; }
  .story__track { flex-direction: column; transform: none !important; }
  .panel { flex: none; height: auto; grid-template-columns: 1fr; gap: 36px; padding: clamp(48px, 7vw, 72px) var(--gutter); }
  .panel + .panel { border-left: 0; border-top: 1px solid var(--line); }
  .panel--gap { min-height: 72vh; }
  .story__progress, .thesis__hint { display: none; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(247,245,239,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(247,245,239,.9); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 20px; color: var(--navy); letter-spacing: -0.01em; }
.brand img { width: 40px; height: auto; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--navy); }
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links-donate { display: none; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--navy); transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 7vw, 96px); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero__copy h1 { margin-bottom: 28px; }
.hero__copy .lede { margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { margin: 0; position: relative; }
.hero__visual img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); }
.hero__visual figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.hero__visual::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); z-index: -1; }
/* At a glance — visual facts instead of bare numbers */
.glance {
  list-style: none; margin: clamp(56px, 8vw, 96px) 0 0; padding: 36px 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.glance__item + .glance__item { border-left: 1px solid var(--line); padding-left: 32px; }
.glance__item { display: flex; flex-direction: column; gap: 6px; }
.glance__visual { height: 84px; display: flex; align-items: flex-end; margin-bottom: 16px; }
.glance strong { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; color: var(--navy); letter-spacing: -0.01em; }
.glance span { font-size: 14px; color: var(--muted); line-height: 1.45; max-width: 24ch; }

/* 14 projects → 14 tiles, two rows of seven */
.glance__projects { display: grid; grid-template-columns: repeat(7, 18px); gap: 7px; align-content: end; }
.glance__projects i { display: block; width: 18px; height: 18px; border-radius: 4px; background: var(--navy); opacity: 0; transform: scale(.4); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.glance__projects i:nth-child(n+12) { background: var(--accent); }
.glance.in .glance__projects i { opacity: 1; transform: none; }
.glance__projects i:nth-child(1) { transition-delay: .05s } .glance__projects i:nth-child(2) { transition-delay: .1s } .glance__projects i:nth-child(3) { transition-delay: .15s } .glance__projects i:nth-child(4) { transition-delay: .2s } .glance__projects i:nth-child(5) { transition-delay: .25s } .glance__projects i:nth-child(6) { transition-delay: .3s } .glance__projects i:nth-child(7) { transition-delay: .35s } .glance__projects i:nth-child(8) { transition-delay: .4s } .glance__projects i:nth-child(9) { transition-delay: .45s } .glance__projects i:nth-child(10) { transition-delay: .5s } .glance__projects i:nth-child(11) { transition-delay: .55s } .glance__projects i:nth-child(12) { transition-delay: .6s } .glance__projects i:nth-child(13) { transition-delay: .65s } .glance__projects i:nth-child(14) { transition-delay: .7s }

/* ages 15 — 18 → typographic range with a line that draws itself */
.glance__age { display: flex; align-items: baseline; gap: 12px; width: 100%; }
.glance__age span { font-family: var(--serif); font-weight: 300; font-size: 52px; line-height: .9; color: var(--navy); letter-spacing: -0.03em; max-width: none; }
.glance__age em { flex: 1; height: 1px; background: var(--accent); align-self: center; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .3s; }
.glance.in .glance__age em { transform: none; }

/* nine steps → ring of dots (drawn by JS), last one accent */
.glance__ring svg { width: 84px; height: 84px; overflow: visible; }
.glance__ring-track { fill: none; stroke: var(--line-strong); stroke-width: 1.25; stroke-dasharray: 251; stroke-dashoffset: 251; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.glance.in .glance__ring-track { stroke-dashoffset: 0; }
.glance__ring-dots circle { fill: var(--navy); opacity: 0; transition: opacity .4s var(--ease); }
.glance__ring-dots circle.is-final { fill: var(--accent); }
.glance.in .glance__ring-dots circle { opacity: 1; }

/* two partners → their marks */
.glance__partners { display: flex; align-items: center; gap: 10px; }
.glance__logo { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.glance__logo img { max-height: 32px; width: auto; }
.glance__logo--dark { background: var(--navy); border-color: var(--navy); }
.glance__logo--dark img { max-height: 24px; }

/* ---------- Thesis ---------- */
.thesis { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.thesis { padding-bottom: 0; }
.thesis__intro { padding-bottom: clamp(40px, 5vw, 64px); }
.thesis__statement { font-size: clamp(34px, 4.8vw, 64px); max-width: 27ch; margin-bottom: 28px; line-height: 1.05; }
.thesis__hint { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.thesis__hint span { display: inline-block; color: var(--accent); animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* Horizontal story: a tall scroll area pins a viewport-high stage and slides panels sideways */
.story { position: relative; height: 400vh; }
.story__sticky { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: hidden; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story__track { display: flex; height: 100%; will-change: transform; }
.panel { position: relative; flex: 0 0 100%; height: 100%; width: 100%; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; padding: 0 max(var(--gutter), (100% - var(--container)) / 2); }
.panel + .panel { border-left: 1px solid var(--line); }
.panel__body { max-width: 520px; }
.panel__n { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 18px; letter-spacing: .14em; color: var(--accent); margin: 0 0 24px; }
.panel__n::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.panel__n small { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.panel h3 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; margin-bottom: 20px; }
.panel__body > p:not(.panel__n) { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.7; max-width: 42ch; }
.panel__body > p + p { margin-top: 14px; }
.panel__caption { font-size: 13px !important; color: rgba(255,255,255,.8) !important; letter-spacing: .02em; margin-top: 28px !important; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); max-width: 46ch !important; }
.panel__photo { margin: 0; }
.panel__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); max-height: min(62vh, 560px); }
.panel__photo--tall img { aspect-ratio: 4 / 5; max-height: min(74vh, 640px); }
.credit { display: inline-block; opacity: .62; font-size: .92em; }
.panel__photo figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.panel__big { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 46px) !important; line-height: 1.12 !important; color: var(--navy) !important; letter-spacing: -0.02em; max-width: 16ch !important; margin-bottom: 20px !important; }
.panel__big em { font-style: italic; color: var(--accent); }

/* I — the lever: typographic was/now */
.lever { display: grid; gap: 30px; font-family: var(--serif); justify-self: end; width: 100%; max-width: 500px; padding: clamp(28px, 4vh, 44px) clamp(28px, 3vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); }
.lever__was, .lever__now { display: grid; gap: 6px; }
.lever__was > span, .lever__now > span { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.lever__was s { font-size: clamp(28px, 2.9vw, 42px); font-weight: 300; color: var(--muted); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; line-height: 1.12; }
.lever__now b { font-size: clamp(26px, 2.6vw, 38px); font-weight: 400; color: var(--navy); line-height: 1.12; letter-spacing: -0.015em; }
.lever__now b + b { margin-top: 4px; }
.lever__arrow { position: relative; height: 1px; background: var(--line-strong); width: 56px; }
.lever__arrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); transform: rotate(45deg); }

/* II — the gap: full-bleed photograph with navy veil */
.panel--gap { grid-template-columns: 1fr; align-items: end; padding-bottom: clamp(48px, 7vh, 88px); background: var(--navy-deep); }
.panel__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.panel--dandora .panel__bg { object-position: 55% 60%; }
.panel--gap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,48,.86) 0%, rgba(10,20,48,.6) 42%, rgba(10,20,48,.12) 100%), linear-gradient(180deg, rgba(10,20,48,0) 50%, rgba(10,20,48,.45) 100%); }
.panel--gap .panel__body { position: relative; z-index: 1; max-width: 620px; }
.panel__body--light h3 { color: #fff; }
.panel__body--light .panel__n { color: var(--accent-light); }
.panel__body--light > p:not(.panel__n) { color: rgba(255,255,255,.85); }

/* II — Dandora facts */
.facts-row { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.facts-row li { border-top: 1px solid var(--line-strong); padding-top: 12px; display: grid; gap: 4px; }
.facts-row strong { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.4vw, 34px); color: var(--navy); line-height: 1; letter-spacing: -0.02em; }
.facts-row span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.panel__body--light .facts-row li { border-top-color: rgba(255,255,255,.28); }
.panel__body--light .facts-row strong { color: #fff; }
.panel__body--light .facts-row span { color: rgba(255,255,255,.72); }
.panel__body--light .panel__n small { color: rgba(255,255,255,.6); }

/* progress line */
.story__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); z-index: 2; pointer-events: none; }
.story__progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .1s linear; }
.story__sticky .story__progress { position: absolute; }

/* Why → What we believe */
.beliefs-wrap { padding: clamp(72px, 9vw, 120px) 0 clamp(80px, 10vw, 140px); }
.beliefs__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.eyebrow__arrow { color: var(--muted); margin: 0 6px; }
.beliefs__title { font-size: clamp(28px, 3.4vw, 44px); max-width: 24ch; line-height: 1.1; }
.beliefs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.beliefs li { border-top: 1px solid var(--line-strong); padding-top: 20px; display: grid; grid-template-rows: auto auto 1fr; gap: 10px; align-content: start; }
.beliefs strong { min-height: 2.5em; }
.beliefs li:nth-child(1) { transition-delay: 0s } .beliefs li:nth-child(2) { transition-delay: .08s } .beliefs li:nth-child(3) { transition-delay: .16s } .beliefs li:nth-child(4) { transition-delay: .24s } .beliefs li:nth-child(5) { transition-delay: .32s }
.belief__n { font-family: var(--serif); font-size: 14px; letter-spacing: .1em; color: var(--accent); }
.beliefs strong { font-family: var(--serif); font-weight: 400; color: var(--navy); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; letter-spacing: -0.01em; }
.beliefs p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.beliefs__foot { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.thesis__sign { margin: 0; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 17px; }

/* ---------- Approach / Flywheel ---------- */
.flywheel__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.wheel { position: sticky; top: calc(var(--nav-h) + 40px); }
.wheel__svg { width: 100%; max-width: 520px; margin: 0 auto; display: block; overflow: visible; }
.wheel__ring { stroke: var(--line-strong); }
.wheel__spin { stroke: var(--accent); transform-origin: 200px 200px; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wheel__center { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .18em; fill: var(--muted); }
.wheel__center--b { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: .02em; fill: var(--navy); text-transform: none; }
.wheel__node circle { fill: var(--cream); stroke: var(--line-strong); stroke-width: 1.2; transition: fill .3s, stroke .3s; }
.wheel__node text { font-family: var(--sans); font-size: 10.5px; font-weight: 500; fill: var(--ink-2); transition: fill .3s; }
.wheel__node .wheel__num { font-family: var(--serif); font-size: 13px; fill: var(--accent); }
.wheel__node.is-active circle { fill: var(--navy); stroke: var(--navy); }
.wheel__node.is-active text { fill: #fff; }
.wheel__node.is-active .wheel__num { fill: var(--accent-light); }
.wheel__node--final circle { stroke: var(--accent); stroke-width: 1.6; }
.wheel__node--final.is-active circle { fill: var(--accent); stroke: var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); transition: opacity .3s; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--serif); font-size: 15px; color: var(--muted); letter-spacing: .06em; padding-top: 5px; transition: color .3s; }
.step h3 { font-size: 21px; margin-bottom: 8px; transition: color .3s; }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.step.is-active .step__n, .step.is-active h3 { color: var(--accent); }
.step--final h3 { color: var(--navy); }
.step--final .step__n { color: var(--accent); }

/* ---------- Program ---------- */
.program { background: var(--paper); border-top: 1px solid var(--line); padding-bottom: 0; }
.program__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts dd { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.program__photo { margin: 0; }
.program__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg); }
.program__photo figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }
.gallery { margin-top: clamp(64px, 8vw, 110px); padding: 40px 0 clamp(80px, 10vw, 140px); }
.gallery__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 24px; }
.gallery__head .eyebrow { margin: 0; }
.gallery__note { margin: 0; font-size: 14px; color: var(--muted); }
.gallery__strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(380px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 12px; scrollbar-width: thin; }
.gallery__strip img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); scroll-snap-align: start; width: 100%; }

/* ---------- Event ---------- */
.event { background: var(--navy); color: #fff; }
.event h2 { color: #fff; }
.event h2 em { color: var(--accent-light); }
.event p { color: rgba(255,255,255,.78); }
.event p strong { color: #fff; font-weight: 600; }
.event__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.event__body h2 { margin-bottom: 24px; }
.event__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.event__media { margin: 0; position: relative; }
.event__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.event__media figcaption { position: absolute; left: 24px; bottom: 24px; background: var(--cream); color: var(--navy); border-radius: var(--radius); padding: 12px 18px; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.event__media figcaption span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.event__media figcaption strong { font-family: var(--serif); font-weight: 300; font-size: 40px; margin: 4px 0; }

/* ---------- Partners ---------- */
.partners { background: var(--cream); }
.partners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.partner { padding: 0 36px 40px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.partner:last-child { border-right: 0; }
.partner__logo { height: 120px; display: flex; align-items: center; justify-content: center; margin: 0 -36px 28px; padding: 0 36px; background: var(--cream-2); border-bottom: 1px solid var(--line); }
.partner__logo img { max-height: 80px; max-width: 200px; width: auto; }
.partner__logo--dark img { max-height: 32px; background: var(--navy); padding: 12px 16px; border-radius: var(--radius); box-sizing: content-box; }
.partner__logo--empty span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 999px; padding: 12px 20px; }
.partner h3 { margin-bottom: 4px; }
.partner__role { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.partner p:not(.partner__role) { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.partner--invite { background: var(--cream-2); }
.partner--invite .link { margin-top: auto; padding-top: 20px; align-self: flex-start; }

/* ---------- Team ---------- */
.team { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.member { text-align: center; }
.member__photo { width: 150px; aspect-ratio: 4 / 5; margin: 0 auto 22px; overflow: hidden; border-radius: 50%; background: var(--cream-2); box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 7px var(--paper), 0 0 0 8px var(--line); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(1) contrast(1.08) brightness(1.02); transition: transform .6s var(--ease), filter .6s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); filter: grayscale(.85) contrast(1.08) brightness(1.02); }
.member h3 { margin-bottom: 4px; }
.member__role { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.member p:not(.member__role) { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }

/* ---------- Support ---------- */
.support__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.support__body h2 { margin-bottom: 20px; }
.support__body p { font-size: 18px; color: var(--ink-2); max-width: 54ch; margin-bottom: 32px; }
.support__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.support__media { margin: 0; }
.support__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% var(--radius-lg) 50% var(--radius-lg) / 50% var(--radius-lg) 50% var(--radius-lg); }

/* ---------- Contact ---------- */
.contact { background: var(--navy-deep); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.contact h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 20px; }
.contact h2 em { color: var(--accent-light); }
.contact .eyebrow { color: var(--accent-light); }
.contact .lede { color: rgba(255,255,255,.72); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.social { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .02em; transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease); }
.social svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.social:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); transform: translateY(-1px); }
.socials--footer { margin: 0; gap: 10px; }
.socials--footer .social { width: 40px; height: 40px; padding: 0; justify-content: center; border-color: rgba(255,255,255,.2); }
.socials--footer .social svg { width: 17px; height: 17px; }
.form { display: grid; gap: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.form label { display: grid; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); font-weight: 600; }
.form input, .form select, .form textarea {
  font: inherit; font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none;
  color: var(--ink); background: var(--paper); border: 1px solid rgba(255,255,255,.55); border-radius: var(--radius);
  padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form select { color: var(--ink); }
.form select option { color: var(--ink); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent-light); box-shadow: 0 0 0 3px rgba(159,184,238,.35); }
.form .btn--primary { background: var(--cream); color: var(--navy); border-color: var(--cream); justify-self: start; }
.form .btn--primary:hover { background: #fff; }
.form__note { margin: 0; font-size: 14px; color: rgba(255,255,255,.78); }
.form__note a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.45); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 48px 0 40px; border-top: 1px solid rgba(255,255,255,.1); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto auto; gap: 28px 40px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 48px; height: auto; }
.footer__brand div { display: flex; flex-direction: column; line-height: 1.25; }
.footer__brand strong { font-family: var(--serif); font-weight: 400; color: #fff; font-size: 18px; }
.footer__brand span { font-size: 12.5px; color: rgba(255,255,255,.55); }
.footer__tag { margin: 0; font-family: var(--serif); font-style: italic; color: rgba(255,255,255,.6); font-size: 17px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { font-size: 13.5px; color: rgba(255,255,255,.7); transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__copy { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.45); }
.footer__credits { grid-column: 1 / -1; margin: -16px 0 0; font-size: 12.5px; color: rgba(255,255,255,.5); line-height: 1.5; }
.footer__credits a { color: rgba(255,255,255,.65); border-bottom: 1px solid rgba(255,255,255,.2); }
.footer__credits a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 0.9fr; }
  .glance { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .glance__item + .glance__item { border-left: 0; padding-left: 0; }
  .glance__item:nth-child(even) { border-left: 1px solid var(--line); padding-left: 28px; }
  /* Story falls back to a vertical sequence of panels */
  .thesis__hint { display: none; }
  .story { height: auto; }
  .story__sticky { position: static; height: auto; overflow: visible; }
  .story__track { flex-direction: column; will-change: auto; transform: none !important; }
  .panel { flex: none; height: auto; grid-template-columns: 1fr; gap: 36px; padding: clamp(48px, 7vw, 72px) var(--gutter); }
  .panel + .panel { border-left: 0; border-top: 1px solid var(--line); }
  .panel__body { max-width: 620px; }
  .panel--gap { min-height: 72vh; }
  .panel--lever .lever { justify-self: start; }
  .panel--bet .panel__photo { order: 2; }
  .panel__photo--tall img { aspect-ratio: 3 / 2; max-height: none; }
  .story__progress { display: none; }
  .beliefs { grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
  .flywheel__layout { grid-template-columns: 1fr; }
  .wheel { position: static; }
  .wheel__svg { max-width: 440px; }
  .section__head--split { grid-template-columns: 1fr; gap: 20px; }
  .program__grid { grid-template-columns: 1fr; }
  .partners__grid { grid-template-columns: 1fr; }
  .partner { border-right: 0; border-bottom: 1px solid var(--line); }
  .partner:last-child { border-bottom: 0; }
  .team__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --nav-h: 66px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav__links {
    /* .nav has backdrop-filter → it is the containing block for fixed children; use absolute below the bar */
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100dvh - var(--nav-h));
    background: var(--cream);
    flex-direction: column; gap: 0;
    padding: 24px var(--gutter);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .3s var(--ease);
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { font-family: var(--serif); font-size: 26px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--navy); }
  .nav__links a::after { display: none; }
  .nav__links-donate { display: block; color: var(--accent) !important; }
  .nav__cta .btn { display: none; }
  .burger { display: block; }

  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual::before { display: none; }
  .brand img { width: 32px; }
  .glance { gap: 32px 20px; }
  .glance__item:nth-child(even) { padding-left: 20px; }
  .glance__age span { font-size: 44px; }
  .thesis__statement { max-width: none; }
  .facts-row { gap: 14px; }
  .beliefs { grid-template-columns: 1fr; gap: 24px; }
  .beliefs li { transition-delay: 0s !important; }
  .footer__inner { gap: 24px; }
  .footer__credits { margin-top: -8px; }
  .event__grid, .support__grid, .contact__grid { grid-template-columns: 1fr; }
  .event__media { order: -1; }
  .facts > div { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .team__grid { grid-template-columns: 1fr; gap: 36px; }
  .member__photo { max-width: 360px; }
  .gallery__head { flex-direction: column; gap: 6px; }
  .gallery__strip { grid-auto-columns: minmax(78vw, 1fr); }
  .support__media { max-width: 420px; }
  .btn--lg { padding: 14px 22px; font-size: 15px; }
  .hero__actions .btn, .support__actions .btn, .event__actions .btn { white-space: normal; text-align: left; }
}

@media (max-width: 420px) {
  .glance { grid-template-columns: 1fr; }
  .glance__item:nth-child(even) { border-left: 0; padding-left: 0; }
  .glance__item + .glance__item { border-top: 1px solid var(--line); padding-top: 28px; }
  .glance__visual { height: auto; min-height: 56px; }
  .facts-row { grid-template-columns: 1fr; gap: 12px; }
}
