/* ==========================================================================
   LeaderFlow — site stylesheet (v2)
   One file, no framework. Tokens → base → layout → signature → components → pages.
   Direction: editorial serif display type, ink/paper bands, one gold accent,
   a faint blueprint grid and a gold "flow" line as the brand's signature.
   Warmth pass (Nov 2026, review/2026-11-29-warmth-direction.md): the navy is softened, backgrounds are
   cream, lines are warm, a terracotta "clay" accent sits beside the gold, the blueprint grid is retired
   (grain + warm glow only), corners are rounder and the photo grades are warm instead of navy.
   ========================================================================== */

/* ---------- Fonts (self-hosted, trimmed: see tools/build-fonts.sh) ---------- */
/* Fraunces is pinned to SOFT 100 / WONK 1 inside the files, so no font-variation-settings are needed. */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/fraunces-roman-v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308, U+0327, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url("../fonts/fraunces-italic-v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308, U+0327, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/inter-v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308, U+0327, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Fallbacks sized to match the web fonts, so text barely moves when they swap in (tools/fallback-metrics.py). */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 99.76%; ascent-override: 98.04%; descent-override: 25.56%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 106.95%; ascent-override: 90.58%; descent-override: 22.55%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
/* All icons are Lucide (lucide-static v0.469.0, ISC licence: assets/LICENSE-lucide.txt), inline in the HTML or as data URIs below. */
:root {
  --ink-950: #141e33;   /* was #061631 */
  --ink-900: #1d2a45;   /* softened deep navy: dark bands, headings (was #0b2447) */
  --navy-800: #003f87;  /* brand navy (from the original site) */
  --navy-700: #1456a8;
  --navy-500: #1d5fb8;
  --sky-300: #7cc4ff;   /* links + focus on dark */
  --sky-100: #f6ece0;   /* was cool #e8f0fa; now a warm tint for selected/hover states */

  --gold-500: #f2b33d;  /* accent: on dark, or as a fill behind ink text */
  --gold-400: #f7c55f;
  --gold-700: #8a5a00;  /* accent text on light backgrounds (5.9:1) */
  --gold-100: #fbf0d9;

  /* Clay: the human accent beside the gold (terracotta). 700 is the text/fill shade; 300 reads on dark. */
  --clay-700: #a8442a;  /* text on cream 5.7:1; white on it 6.0:1 */
  --clay-500: #d0704c;  /* decorative strokes and dots only */
  --clay-300: #f0a487;  /* on dark ink 7.1:1 */
  --clay-100: #f9e6da;

  --cream: #fffaf3;     /* page background (was plain white) */
  --paper: #f8f0e3;     /* warm band (was #f7f4ee) */
  --paper-2: #f1e5d3;
  --white: #fff;        /* cards and form fields stay white so they lift off the cream */

  --ink: #1d2a45;
  --body: #463f3a;      /* warm charcoal (was cool #3d4a5c) */
  --muted: #6a5f55;     /* was #5a6577 */
  --line: #eadccb;      /* warm hairline */
  --line-cool: #ece2d4; /* kept as a name; now warm too */
  --on-dark: #e9dfd2;   /* warm light text on ink (was cool #c9d6ea) */
  --error: #a4161a;     /* 7.4:1 on white */

  --font-serif: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: clamp(1.0625rem, 1rem + .2vw, 1.125rem);   /* a touch larger on wide screens */
  --fs-lg: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --fs-h4: 1.125rem;
  --fs-h3: clamp(1.3rem, 1.2rem + .45vw, 1.55rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.2vw, 3.25rem);
  --fs-display: clamp(2.35rem, 1.5rem + 3.4vw, 4.25rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 5vw, 6rem);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  /* Warm-brown shadows instead of navy ones: they read as soft daylight, not UI chrome. */
  --shadow-sm: 0 1px 2px rgb(74 46 28 / .06), 0 3px 10px rgb(74 46 28 / .06);
  --shadow: 0 2px 6px rgb(74 46 28 / .06), 0 20px 50px rgb(74 46 28 / .12);
  --warm-glow: rgb(208 112 76 / .26);   /* clay glow on dark bands (replaces the blue glow) */

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 136px);
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --grid-line: rgb(255 255 255 / .055);   /* unused since the warmth pass (blueprint grid retired) */
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 8'%3E%3Cpath d='M1 5.2C4.5 1.6 7.5 1.4 10.6 4.4s6.4 3.3 9.6.2 6.6-3.2 9.6-.4c1.8 1.6 3.4 2 5.2 1.2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
  --alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' x2='12' y1='8' y2='12'/%3E%3Cline x1='12' x2='12.01' y1='16' y2='16'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --arrow-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14'/%3E%3Cpath d='m19 12-7 7-7-7'/%3E%3C/svg%3E");
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}

/* ==========================================================================
   APPLICATIONS SWITCH: which version of the application status shows, site-wide.
   Home, Program, Application Process, Application Form and FAQ carry both versions:
   blocks marked .apps-open and blocks marked .apps-closed (the "closed" copy is the pre-open notice).
   Default is CLOSED: .apps-open blocks are hidden until <html> has .apps-live or .preview-open.
   site.js adds .apps-live AUTOMATICALLY on/after the open date (APPS_OPEN_AT, midnight Pacific on
   Dec 2 2026). If JS is off or fails, the page stays CLOSED.
   ?preview=open on any page adds .preview-open to review the open state before then.
   The rules only HIDE (display: none); they never set a display value, so each block keeps its own
   layout (.callout grid, .hero-status flex, ...).
   ========================================================================== */
html:not(.apps-live):not(.preview-open) .apps-open { display: none !important; }
.apps-live .apps-closed, .preview-open .apps-closed { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
/* In-page links (e.g. the Flowcilitator jump links) glide to their section; reduced motion keeps the instant jump. */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.auto-cities { overflow-anchor: none; } /* graduates page: site.js keeps the view still when cities open and close */
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip; /* decorative flow lines and offsets never cause sideways scroll */
}
/* Mobile browsers widen the layout viewport for any overflow, even under body clip; clip it at main too. */
main { overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-800); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-700); text-decoration-thickness: 2px; }
strong, b { font-weight: 600; color: var(--ink); }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--gold-500); color: var(--ink-900); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-optical-sizing: auto;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.0; letter-spacing: -.03em; font-weight: 500; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; }
h4 { font-size: var(--fs-h4); }
.display { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.025em; }

:focus-visible { outline: 3px solid var(--navy-700); outline-offset: 3px; border-radius: 4px; }
.section--ink :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .cta-band :focus-visible { outline-color: var(--sky-300); }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--gold-500); color: var(--ink-900); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--flush-top { padding-top: 0; }
.section--paper { background: var(--paper); }
.section--ink { background-color: var(--ink-900); color: var(--on-dark); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink strong { color: var(--white); }
.section--ink .lede { color: var(--on-dark); }

.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.split { display: grid; gap: clamp(36px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
  .split--wide-media { grid-template-columns: .8fr 1.2fr; }
}

/* ---------- Signature: blueprint grid on dark surfaces ---------- */
.bp {
  position: relative; isolation: isolate;
  background:
    radial-gradient(60% 90% at 88% 0%, var(--warm-glow), transparent 62%),
    radial-gradient(45% 70% at 0% 100%, rgb(242 179 61 / .12), transparent 70%),
    var(--ink-900);
}
.bp::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* Warmth pass: the blueprint grid lines are retired; only the soft paper grain remains. */
  background-image: var(--grain);
  background-size: 160px 160px;
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 65% 35%, #000 25%, transparent 80%);
          mask-image: radial-gradient(ellipse 90% 85% at 65% 35%, #000 25%, transparent 80%);
  border-radius: inherit;
}

/* ---------- Signature: flow line ---------- */
.flow { position: absolute; left: 0; width: 100%; pointer-events: none; overflow: visible; z-index: -1; }
.flow path { fill: none; stroke: var(--gold-500); stroke-width: 1.75; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .6; }
.flow .flow__echo { stroke: var(--clay-300); opacity: .32; }
.flow--hero { bottom: 0; height: clamp(120px, 16vw, 220px); }
.page-hero .flow--hero { height: clamp(56px, 7vw, 96px); }
.flow--footer { top: 0; height: 140px; opacity: .7; }

/* ---------- Section header & type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-sans); font-size: .75rem; font-weight: 600; line-height: 1.4;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700);
  margin: 0 0 1.25rem;
}
/* A small hand-drawn wave instead of a ruled dash. */
.eyebrow::before {
  content: ""; flex: none; width: 34px; height: 8px; background: var(--clay-500);
  -webkit-mask: var(--squiggle) center / contain no-repeat; mask: var(--squiggle) center / contain no-repeat;
}
.section--ink .eyebrow::before, .bp .eyebrow::before { background: var(--clay-300); }
.section--ink .eyebrow, .bp .eyebrow { color: var(--gold-500); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.lede { font-size: var(--fs-lg); line-height: 1.65; color: var(--body); }

/* Large editorial statement (home: city reach sentence) */
.statement {
  max-width: 26ch; margin: 0;
  font-size: clamp(1.9rem, 1.1rem + 3vw, 3.6rem); font-weight: 400; line-height: 1.14; letter-spacing: -.02em;
}
.statement .hl {
  font-style: italic; color: var(--navy-800);
  background: linear-gradient(var(--gold-500), var(--gold-500)) 0 92% / 100% .14em no-repeat;
  transition: background-size 1s var(--ease);
}

/* ---------- Cohort cities: statement + map as one navy panel (P1-10, round 5) ----------
   The section's footprint is tighter than the old two-column layout: the statement and the
   US map share a single navy panel so they read as one unit. On desktop the sentence sits in
   the panel's left column beside the map; on phones it stacks above the map inside the frame. */
.reach-sec { padding-block: clamp(40px, 5.5vw, 72px); }
.reach__panel {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius-lg); color: var(--on-dark);
  background: radial-gradient(80% 90% at 88% 4%, var(--warm-glow), transparent 62%), var(--ink-900);
  box-shadow: 0 24px 60px rgb(74 46 28 / .2);
  padding: clamp(24px, 3.4vw, 40px);
  display: grid; gap: clamp(20px, 2.6vw, 32px);
}
.reach__text { display: grid; gap: clamp(12px, 1.4vw, 18px); align-content: center; }
.reach__eyebrow {
  margin: 0; font: 600 .8125rem/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-500);
}
/* On the navy panel the sentence is light; its city words stay gold so they echo the lit pins. */
.reach .statement {
  max-width: 24ch; color: var(--white);
  font-size: clamp(1.6rem, 1.05rem + 2vw, 2.6rem); font-weight: 400; line-height: 1.16; letter-spacing: -.02em;
}
.reach .statement .hl {
  color: var(--gold-400);
  background: linear-gradient(var(--gold-500), var(--gold-500)) 0 92% / 100% .1em no-repeat;
}
/* The map fills its half of the panel; its own card chrome is dropped (the panel is the frame now). */
.reach .reach-map { margin: 0; }
/* Homepage map only: warm the dotted land (the Impact page keeps its own map styling). */
.reach .impact-map__land { background-image: radial-gradient(circle, rgb(240 200 160 / .5) 1.3px, transparent 1.9px); }
.reach .reach-map.impact-map {
  padding: 0; background: none; box-shadow: none; border-radius: 0;
}
@media (min-width: 820px) {
  .reach__panel { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(28px, 3.4vw, 56px); }
  .reach .statement { font-size: clamp(1.6rem, .8rem + 1.8vw, 2.5rem); max-width: 18ch; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-800); --btn-fg: var(--white); --btn-bd: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: 13px 26px;
  font: 600 .9375rem/1 var(--font-sans); letter-spacing: .005em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { --btn-bg: var(--ink-900); --btn-bd: var(--ink-900); color: var(--btn-fg); transform: translateY(-1px); text-decoration: none; }
.btn--gold { --btn-bg: var(--gold-500); --btn-fg: var(--ink-900); --btn-bd: var(--gold-500); }
.btn--gold:hover { --btn-bg: var(--gold-400); --btn-fg: var(--ink-900); --btn-bd: var(--gold-400); box-shadow: 0 10px 28px rgb(242 179 61 / .3); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-800); }
.btn--outline:hover { --btn-bg: var(--navy-800); --btn-fg: var(--white); --btn-bd: var(--navy-800); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgb(255 255 255 / .45); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--ink-900); --btn-bd: var(--white); }
.btn--sm { min-height: 42px; padding: 10px 20px; font-size: .875rem; }
.btn--arrow::after {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.btn--arrow:hover::after { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.25rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink-900);
  border-bottom: 1px solid rgb(255 255 255 / .06);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
/* The frosted glass lives on a pseudo-element: backdrop-filter on the header itself
   would become the containing block for the fixed mobile menu and collapse it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity .25s var(--ease);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
}
.site-header.is-scrolled { background: rgb(29 42 69 / .88); box-shadow: 0 10px 30px rgb(20 30 51 / .22); }
.site-header.is-scrolled::before { opacity: 1; }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 132px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__item { position: relative; display: flex; align-items: stretch; border-radius: 999px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font: 500 .9375rem/1 var(--font-sans);
  color: rgb(255 255 255 / .86); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--white); background: rgb(255 255 255 / .08); text-decoration: none; }
.nav__item.is-current > .nav__link { color: var(--white); }
/* Current-page underline: one line drawn by the item, so a link + caret pair shares it. */
.nav__item.is-current::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--gold-500); border-radius: 2px; pointer-events: none;
}
.nav__item--has-sub.is-current::after { right: 10px; }
.nav__caret { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav__item--has-sub > .nav__link:first-child { padding-right: 4px; }
.nav__expand { padding: 10px 10px 10px 4px; }
.nav__item--has-sub:hover > .nav__link, .nav__item--has-sub:focus-within > .nav__link { background: none; }
.nav__item--has-sub:hover, .nav__item--has-sub:focus-within { background: rgb(255 255 255 / .08); }
.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 270px;
  list-style: none; padding: 8px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__item.is-open > .nav__sub {
  opacity: 1; visibility: visible; transform: none;
}
.nav__item:hover .nav__caret, .nav__item.is-open .nav__caret { transform: rotate(180deg); }
.nav__sub a {
  display: block; padding: 11px 14px; border-radius: 10px;
  font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--paper); color: var(--navy-800); }
.header-cta { margin-left: 12px; }
.nav-toggle {
  display: none; order: 3; flex: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1.5px solid rgb(255 255 255 / .3); border-radius: 50%;
  background: none; color: var(--white); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.nav-toggle:hover { border-color: rgb(255 255 255 / .6); }
.nav-open .nav-toggle { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .6); }
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-open .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1040px) {
  :root { --header-h: 68px; }
  .brand img { width: 112px; }
  /* The top bar holds just the logo and the hamburger (pushed to the right). */
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-header__inner { gap: 12px; }
  /* Donate leaves the top bar and pins to the foot of the open menu, where it reads
     as the sheet's primary action. It stays hidden (and out of tab order) when closed. */
  .header-cta {
    position: fixed; z-index: 51; left: var(--gutter); right: var(--gutter);
    bottom: calc(28px + env(safe-area-inset-bottom));
    margin: 0; justify-content: center; min-height: 52px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav-open .header-cta { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  /* Full-screen sheet under the header. Extra foot room so the pinned Donate clears the last item. */
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: var(--ink-900); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    padding: 8px var(--gutter) calc(100px + env(safe-area-inset-bottom));
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-open .site-header { background: var(--ink-900); box-shadow: none; }
  .nav-open .site-header::before { opacity: 0; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; align-items: center; border-bottom: 1px solid rgb(255 255 255 / .1); border-radius: 0; }
  .nav__item.is-current::after { content: none; }
  /* Items cascade in as the sheet opens. */
  .nav__list > .nav__item { opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-open .nav__list > .nav__item { opacity: 1; transform: none; }
  .nav-open .nav__list > .nav__item:nth-child(2) { transition-delay: .04s; }
  .nav-open .nav__list > .nav__item:nth-child(3) { transition-delay: .08s; }
  .nav-open .nav__list > .nav__item:nth-child(4) { transition-delay: .12s; }
  .nav-open .nav__list > .nav__item:nth-child(5) { transition-delay: .16s; }
  .nav__link {
    flex: 1; justify-content: space-between; min-height: 64px; padding: 16px 4px;
    font-family: var(--font-serif); font-size: 1.375rem; color: var(--white); border-radius: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .nav__link:hover, .nav__item:focus-within > .nav__link { background: none; }
  .nav__item.is-current > .nav__link:first-child { color: var(--gold-500); }
  .nav__item--has-sub:hover, .nav__item--has-sub:focus-within { background: none; }
  .nav__item--has-sub > .nav__link:first-child { padding-right: 4px; }
  .nav__expand {
    flex: none; justify-content: center; width: 52px; min-height: 52px; padding: 0;
    border-radius: 50%; color: var(--on-dark);
  }
  .nav__expand:hover { background: rgb(255 255 255 / .08); }
  .nav__expand .nav__caret { width: 16px; height: 16px; }
  .nav__item:hover .nav__caret { transform: none; }
  .nav__item.is-open .nav__caret { transform: rotate(180deg); }
  /* Submenus slide open; collapsed rows are hidden from tab order via visibility. */
  .nav__sub {
    position: static; flex-basis: 100%; min-width: 0; padding: 0 0 0 12px; background: none; box-shadow: none; border-radius: 0;
    max-height: 0; overflow: hidden;
    opacity: 0; visibility: hidden; transform: none;
    transition: max-height .3s var(--ease), opacity .25s var(--ease), visibility 0s .3s;
  }
  .nav__sub::before { content: none; }
  .nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 0; visibility: hidden; transform: none; }
  /* JS sets --sub-h to the measured height so the open state animates to an exact value. */
  .nav__item.is-open > .nav__sub { max-height: var(--sub-h, 400px); opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__sub > li:last-child { padding-bottom: 12px; }
  .nav__sub a { display: flex; align-items: center; min-height: 44px; color: var(--on-dark); padding: 8px 4px; font-size: 1rem; border-radius: 0; }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: none; color: var(--white); }
  .nav__sub a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--gold-500); padding-left: 14px; }
}
html:has(body.nav-open) { overflow: hidden; }
@media (max-width: 480px) {
  .brand img { width: 96px; }
  .header-cta { min-height: 40px; padding: 8px 16px; font-size: .8125rem; }
}

/* ---------- Mobile tab bar: floating glass pill ----------
   Phones only. It sits low, just above the home indicator, so content keeps the space.
   JS adds .tabbar--dark when the pill is over a dark section, so the glass tint and icons flip for contrast. */
.tabbar { display: none; }
@media (max-width: 767px) {
  :root {
    --tabbar-h: 58px;
    --tabbar-bottom: max(14px, calc(env(safe-area-inset-bottom) - 8px));
    --tabbar-space: calc(var(--tabbar-h) + var(--tabbar-bottom) + 14px);
  }
  /* Phones now use the same top-right hamburger as tablets; the floating tab bar is retired. */
  .tabbar {
    position: fixed; z-index: 60; left: 50%; bottom: var(--tabbar-bottom);
    display: none; align-items: stretch; gap: 2px;
    /* Compact: hugs its tabs and floats in the middle, with open space either side. */
    width: max-content; max-width: calc(100% - 48px); height: var(--tabbar-h); padding: 4px;
    border-radius: 999px; isolation: isolate;
    color: var(--ink-900);
    background: rgb(255 255 255 / .16);
    -webkit-backdrop-filter: blur(10px) saturate(1.8) brightness(1.04); backdrop-filter: blur(10px) saturate(1.8) brightness(1.04);
    border: 1px solid rgb(255 255 255 / .45);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / .7),
      inset 0 -1px 1px rgb(255 255 255 / .18),
      0 14px 34px rgb(6 22 49 / .2),
      0 2px 6px rgb(6 22 49 / .1);
    transform: translateX(-50%);
    transition: color .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease),
                box-shadow .3s var(--ease), opacity .2s var(--ease), transform .3s var(--ease-out);
    -webkit-tap-highlight-color: transparent;
  }
  /* Specular sheen across the top half: the "liquid" highlight. */
  .tabbar::before {
    content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: inherit; pointer-events: none;
    background: linear-gradient(180deg, rgb(255 255 255 / .3), rgb(255 255 255 / 0) 55%);
    opacity: .9; transition: opacity .3s var(--ease);
  }
  .tabbar--dark, .nav-open .tabbar {
    color: var(--white);
    background: rgb(29 42 69 / .22);
    border-color: rgb(255 255 255 / .16);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / .22),
      inset 0 -1px 1px rgb(255 255 255 / .06),
      0 10px 30px rgb(0 0 0 / .3),
      0 1px 3px rgb(0 0 0 / .2);
  }
  .tabbar--dark::before, .nav-open .tabbar::before { opacity: .3; }
  .tabbar__item {
    position: relative; flex: 0 1 62px; width: 62px; min-width: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 0 2px; border: 0; border-radius: 999px; background: none; cursor: pointer;
    font: 600 .625rem/1 var(--font-sans); letter-spacing: .01em;
    color: inherit; text-decoration: none; opacity: .72;
    transition: opacity .2s var(--ease), background-color .25s var(--ease), color .25s var(--ease), transform .15s var(--ease);
  }
  .tabbar__item:hover { text-decoration: none; opacity: 1; }
  .tabbar__item:active { transform: scale(.93); }
  .tabbar__item svg { width: 22px; height: 22px; flex: none; }
  .tabbar__item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* Current page: a soft glass bubble behind the tab, gold accent. */
  .tabbar__item[aria-current="page"], .nav-open .tabbar__menu {
    opacity: 1; background: rgb(255 255 255 / .5);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), 0 1px 4px rgb(6 22 49 / .08);
  }
  .tabbar__item[aria-current="page"] svg { color: var(--gold-700); }
  .tabbar--dark .tabbar__item[aria-current="page"], .nav-open .tabbar__menu,
  .nav-open .tabbar__item[aria-current="page"] {
    background: rgb(255 255 255 / .14); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18);
  }
  .tabbar--dark .tabbar__item[aria-current="page"] svg, .nav-open .tabbar__item[aria-current="page"] svg { color: var(--gold-500); }
  .nav-open .tabbar__item[aria-current="page"] { background: none; box-shadow: none; opacity: .72; }
  .tabbar__close { display: none; }
  .nav-open .tabbar__open { display: none; }
  .nav-open .tabbar__close { display: block; }
  .tabbar :focus-visible { outline: 2px solid var(--navy-500); outline-offset: -2px; }
  .tabbar--dark :focus-visible, .nav-open .tabbar :focus-visible { outline-color: var(--sky-300); }
  /* Step aside while typing, so the keyboard doesn't push the pill up over the form. */
  body:has(:is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"]), textarea, select):focus) .tabbar {
    opacity: 0; pointer-events: none; transform: translate(-50%, 16px);
  }
  /* No floating pill to clear now; the open menu sheet keeps room for the pinned Donate (set above). */
}
/* No glass support, or the user asked for less transparency: solid, still pill-shaped. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @media (max-width: 767px) {
    .tabbar { background: rgb(255 255 255 / .94); }
    .tabbar--dark, .nav-open .tabbar { background: rgb(29 42 69 / .94); }
  }
}
@media (max-width: 767px) and (prefers-reduced-transparency: reduce) {
  .tabbar { background: rgb(255 255 255 / .94); }
  .tabbar--dark, .nav-open .tabbar { background: rgb(29 42 69 / .94); }
}

/* ---------- Home hero ---------- */
.hero { overflow: hidden; color: var(--on-dark); }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold-500); }
.hero .lede { max-width: 34ch; color: var(--on-dark); font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); }

/* Home hero: application status line under the buttons */
.hero-status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; max-width: 46ch; margin-top: 1.5rem; font-size: var(--fs-sm); line-height: 1.55; color: var(--on-dark); }
.hero-status p { margin: 0; }
.hero-status a { color: var(--gold-500); font-weight: 600; text-decoration: underline; text-underline-offset: .22em; }
.hero-status a:hover { color: var(--white); }
.hero-status--dates { display: block; line-height: 1.45; }
/* Application Form page: apply button in the page hero (open state only). */
.page-hero__apply { margin-top: 1.25rem; }
.page-hero__apply p { margin: .6rem 0 0; font-size: var(--fs-sm); opacity: .8; }
.page-hero__apply + .page-hero__jump { margin-top: 1.25rem; }
/* Shorter page hero (Application Form) so more of the deadlines show on the first screen. */
.page-hero--compact .page-hero__inner { min-height: 0; padding-block: clamp(24px, 3vw, 40px) clamp(44px, 5vw, 64px); }
.page-hero--compact h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); }
.page-hero--compact .apply-art { max-width: 300px; }
.page-hero--compact + .section { padding-top: clamp(28px, 3.5vw, 48px) !important; }
/* Application deadlines block (closed-state notices + home hero): title, "Apply by:", two dates, time. */
.deadlines { flex: 1 1 320px; line-height: 1.45; }
.deadlines .deadlines__title, .deadlines .deadlines__label, .deadlines .deadlines__note { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.deadlines .deadlines__title { font-weight: 700; font-size: 1.0625em; }
.deadlines .deadlines__label { margin-top: 6px; font-size: .875em; opacity: .75; }
.deadlines__list { list-style: none; margin: 2px 0 0; padding: 0; }
.deadlines__list strong { font-weight: 700; }
.deadlines .deadlines__note { margin-top: 4px; font-size: .8125em; opacity: .7; }
.hero-status .deadlines__title, .hero-status .deadlines strong { color: var(--white); }
.ov-status:has(.deadlines) { border-radius: 22px; }
.callout .deadlines { font-size: var(--fs-base); color: var(--ink); }
.hero-status--dates a { display: inline-block; margin-top: 8px; }

/* ---------- Home hero: rotating headline on the flow line ----------
   Text beside an arch photo, with the flow line underneath, all on the first screen.
   The H1 cycles through the old slider's three messages, the description and photo change with it, and a thick
   gold copy of the line grows from left to right at a steady pace; the headline changes as its tip passes each
   crest/trough. One clock in site.js sets both the line and the headline, so they cannot get out of step.
   Without JS or with reduced motion, the first headline simply stays. */
.hero--rotator {
  display: grid; column-gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 620px) minmax(0, 540px) minmax(var(--gutter), 1fr);
  grid-template-areas: ". text photo ." "line line line line";
  align-items: center; padding-top: clamp(32px, 4.5vw, 64px);
}
.hero--rotator .hero__text { grid-area: text; }
.hero--rotator .journey { grid-area: line; }
.hero--rotator h1 { font-size: clamp(2.6rem, 1.5rem + 3.6vw, 4.6rem); max-width: 13ch; margin-bottom: .4em; }
.rotator { display: grid; }
.rotator__item { grid-area: 1 / 1; align-self: end; }
.hero .rotator .w { display: inline-block; }
.hero .rotator em { font-style: italic; font-weight: 400; color: var(--gold-500); }
.rotator__item:not(.is-active) { visibility: hidden; }
.rotator--lede .rotator__item { align-self: start; }
.hero--rotator .btn-row { margin-top: 1.75rem; }

/* GRADUATE WALL: three columns of real graduate portraits drift slowly (alternate directions) behind a soft
   mask, bleeding off the right edge and under the flow line. The portraits share a navy monochrome grade, which also
   evens out their mixed backgrounds; site.js lights one graduate at a time in full colour with their name and cohort.
   The wall is absolutely positioned inside its grid area, so it never sets the hero's height. */
.hero--rotator .hero__text { position: relative; z-index: 2; }
.hero--rotator .journey { z-index: 1; }
.hero--rotator .hero__wall {
  grid-column: 3 / 5; grid-row: 1 / 3; position: relative; z-index: 0; align-self: stretch;
  margin-top: calc(-1 * clamp(32px, 4.5vw, 64px)); margin-left: clamp(-40px, -2vw, 0px);
}
.hero__wall .wall {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%), linear-gradient(transparent, #000 10%, #000 70%, transparent 94%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 9%), linear-gradient(transparent, #000 10%, #000 70%, transparent 94%); mask-composite: intersect;
}
.wall { --gap: clamp(10px, 1.1vw, 16px); position: absolute; inset: 0; overflow: hidden; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding-left: clamp(8px, 4vw, 64px); padding-right: clamp(0px, 2.5vw, 48px); }
.wall__col { min-width: 0; }
.wall__col:nth-child(1) { --dur: 95s; }
.wall__col:nth-child(2) { --dur: 120s; margin-top: -38%; }
.wall__col:nth-child(3) { --dur: 105s; margin-top: -14%; }
.wall__col:nth-child(4) { --dur: 112s; margin-top: -46%; display: none; }
@media (min-width: 1600px) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } .wall__col:nth-child(4) { display: block; } }
/* narrow tablet cards are too small for a caption: the gold ring alone marks the lit graduate */
@media (max-width: 899px) { .hero__wall .wall__card figcaption { display: none; } }
@media (max-width: 1099px) { .wall__card figcaption { padding: 24px 10px 9px; } .wall__card figcaption strong { font-size: .875rem; } .wall__card figcaption span { font-size: .6875rem; } }
/* Smoothness: each track is its own GPU layer and moves by transform only, so the drift runs on the compositor at the
   display's full frame rate, glides by sub-pixels, and is never held up by the headline animation on the main thread. */
.wall__track { display: flex; flex-direction: column; gap: var(--gap); will-change: transform; backface-visibility: hidden; transform: translate3d(0, 0, 0); }
.wall__card { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 24px; background: var(--ink-950); box-shadow: 0 0 0 1px rgb(255 255 255 / .06); transition: transform .9s var(--ease); }
.wall__card > img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) contrast(1.04) brightness(1.04); }
/* the warm grade (was a navy monochrome): faces keep some of their own colour under a soft amber/clay wash */
.wall__card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, #f2b33d, #a8442a); mix-blend-mode: soft-light; opacity: .5; }
.wall__card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgb(29 42 69 / 0), rgb(29 42 69 / .32)); }
/* Lighting a graduate: the tinted photo above never changes. site.js adds a full-colour copy of the same photo (same
   file, already loaded) with a gold ring, and only its opacity animates, so the moving column is never repainted. */
.wall__lit { position: absolute; inset: 0; z-index: 2; overflow: hidden; border-radius: inherit; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none; }
.wall__lit img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wall__lit::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--gold-500); }
.wall__card.is-lit .wall__lit { opacity: 1; }
.wall__card figcaption {
  position: absolute; inset: auto 0 0; z-index: 3; display: grid; gap: 1px; padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgb(29 26 30 / .88)); color: var(--white); font-size: .8125rem; line-height: 1.3;
  opacity: 0; transform: translateY(8px); transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.wall__card figcaption strong { color: var(--white); font-family: var(--font-serif); font-size: 1rem; font-weight: 600; letter-spacing: -.005em; }
.wall__card figcaption span { color: var(--gold-400); font-weight: 600; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.wall__card.is-lit { transform: scale(1.03); }
.wall__card.is-lit figcaption { opacity: 1; transform: none; transition-delay: .35s; }
@media (prefers-reduced-motion: no-preference) {
  .wall__track { animation: wall-drift var(--dur) linear infinite; }
  .wall__col:nth-child(2) .wall__track { animation-direction: reverse; }
  .wall.is-paused .wall__track { animation-play-state: paused; }
}
/* each track holds its cards twice, so moving it up by exactly one set (half, plus half a gap) loops seamlessly */
/* The tiny rotation stops Chrome snapping the slow-moving column to whole pixels (which reads as judder at ~27px/s);
   0.01deg moves the far end of a column by under a pixel. */
@keyframes wall-drift { from { transform: translate3d(0, 0, 0) rotate(.01deg); } to { transform: translate3d(0, calc(-50% - var(--gap) / 2), 0) rotate(.01deg); } }
.wall__link {
  position: absolute; z-index: 3; right: var(--gutter); bottom: calc(clamp(110px, 11.5vw, 220px) * .72);
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 18px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / .22); background: rgb(29 42 69 / .86); box-shadow: 0 10px 30px rgb(0 0 0 / .3);
  color: var(--white); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; transition: background .25s, border-color .25s;
}
.wall__faces { display: none; }
.wall__link::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .25s var(--ease); }
.wall__link:hover, .wall__link:focus-visible { background: var(--gold-500); border-color: var(--gold-500); color: var(--ink); }
.wall__link { transition: background .25s, border-color .25s, color .25s; }
.wall__link:hover::after { transform: translateX(3px); }

/* The flow line (no markers): the thick gold copy grows along it in step with the headlines. site.js moves the
   stops of a gradient mask, so the line's tip (and, at the end of a loop, its tail) feathers out instead of
   ending in a hard cut; the glow is masked with it. */
/* Height grows with the width so the wave keeps its sweep on wide screens (the stroke itself never scales). */
.journey { position: relative; height: clamp(110px, 11.5vw, 220px); margin-top: clamp(4px, 1vw, 16px); pointer-events: none; } /* decorative: let clicks reach the "Meet our graduates" link under it */
.journey .flow--hero { top: 0; bottom: auto; height: 100%; z-index: 0; }
.journey .journey__swell { opacity: 1; stroke: var(--gold-500); stroke-width: 4; filter: drop-shadow(0 0 6px rgb(242 179 61 / .5)); }
/* The gold line is painted once, inside a "pane" that is held still while its "window" slides along the line; the
   window's soft-edged mask (set in site.js) is the line's feathered tip and tail. Only transforms change each frame,
   so the browser composites the line without repainting it (the old gradient-mask version repainted every frame). */
.journey__window { position: absolute; top: 0; left: 0; height: 100%; z-index: 1; will-change: transform; pointer-events: none; }
.journey__pane { position: absolute; top: 0; left: 0; height: 100%; will-change: transform; }
.journey__pane .journey__gold { z-index: 0; }
.no-js .journey__window, .journey.is-static .journey__window { display: none; }

/* Tablets: give the text the larger share so each headline stays on two lines and the hero stays compact. */
@media (min-width: 700px) and (max-width: 1199px) {
  .hero--rotator { grid-template-columns: var(--gutter) minmax(0, 1.3fr) minmax(0, 1fr) var(--gutter); column-gap: 28px; }
}

/* Phones: text, then the line. The photo is hidden so the
   whole hero fits on screen. */
@media (max-width: 699px) {
  .hero--rotator { grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter); grid-template-areas: ". text ." "wall wall wall" "line line line"; column-gap: 0; }
  /* No moving wall on phones: just a row of overlapping graduate faces with the "Meet our graduates" link. */
  .hero--rotator .hero__wall { grid-area: wall; grid-column: 2; grid-row: auto; margin: 22px 0 0; }
  .hero__wall .wall { display: none; }
  .wall__link { position: static; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; gap: 12px; }
  .wall__link:hover, .wall__link:focus-visible { background: none; color: var(--gold-400); }
  .wall__link span:not(.wall__faces) { text-decoration: underline; text-decoration-color: rgb(255 255 255 / .35); text-underline-offset: .25em; }
  .wall__faces { display: flex; }
  .wall__faces img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--ink-900); }
  .wall__faces img + img { margin-left: -12px; }
  .journey { height: 96px; margin-top: 20px; margin-bottom: 8px; }
}

/* ---------- Interior page hero ---------- */
.page-hero { overflow: hidden; color: var(--white); }
.page-hero__inner { position: relative; display: grid; gap: 32px; align-items: center; min-height: clamp(220px, 22vw, 320px); padding-block: clamp(32px, 4vw, 56px) clamp(56px, 6vw, 84px); }
/* The first section under a page header starts closer to it, so the top of interior pages feels less empty. */
.page-hero + .section:not(.ov-top) { padding-top: clamp(40px, 5vw, 72px); }
@media (min-width: 760px) { .page-hero__inner { grid-template-columns: 1.15fr .85fr; } }
.page-hero h1 { color: var(--white); margin: 0; max-width: 16ch; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem); }
/* Header photo: a plain rounded 3:2 photo in full colour, no tint or cut-out shape. On phones it sits under the title. */
:root { --radius-photo: 22px; }   /* was 14px: softer, friendlier photo corners */
.page-hero__media { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-photo); overflow: hidden; box-shadow: 0 24px 48px rgb(0 0 0 / .28); background: var(--ink-950); }
/* A whisper of warm light over people photos (never a cool cast). */
.page-hero__media:not(.page-hero__media--art):not(.page-hero__media--trio)::after,
.framed--photo::after, .founder__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(200deg, rgb(242 179 61 / .12), rgb(208 112 76 / .08) 60%, transparent);
  mix-blend-mode: soft-light;
}
.page-hero__media > img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media .pos-top { object-position: center 30%; }
/* Graduates: three portraits side by side instead of one photo. */
.page-hero__media--trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; aspect-ratio: 3 / 2; overflow: visible; box-shadow: none; background: none; border-radius: 0; }
.page-hero__media--trio img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; border-radius: var(--radius-photo); box-shadow: 0 18px 36px rgb(0 0 0 / .25); }
@media (min-width: 760px) { .page-hero__media { max-height: 340px; justify-self: end; width: 100%; } }
@media (max-width: 759px) { .page-hero__inner { gap: 24px; } .page-hero__media { border-radius: 18px; } .page-hero__media--trio img { border-radius: 18px; } }

/* Application Form hero: quick-jump pills under the title. */
.page-hero__jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.jump-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / .35); background: rgb(255 255 255 / .06); color: var(--white);
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.jump-btn::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.jump-btn:hover { background: var(--white); color: var(--ink-900); border-color: var(--white); }

/* Custom application-form graphic that rises in on load and sinks into the bottom of the navy header
   (no backing panel — it sits on the header itself), so the form's base reads as continuing below, hidden. */
.page-hero__media--art { display: grid; place-items: end center; align-self: end;
  aspect-ratio: auto; max-height: none; min-height: clamp(250px, 26vw, 360px);
  padding: clamp(18px, 2.4vw, 28px) clamp(10px, 1.6vw, 22px) 0;
  overflow: hidden; background: none; box-shadow: none; border-radius: 0;
  margin-bottom: calc(-1 * clamp(44px, 5.5vw, 80px)); }
.page-hero__media--art .apply-art { margin-bottom: calc(-1 * clamp(36px, 4.5vw, 62px)); }
.apply-art { position: relative; width: 100%; max-width: 372px; }
.apply-art__card { position: relative; display: grid; gap: 14px; padding: 26px 26px 28px; border-radius: 20px;
  background: #fff; box-shadow: 0 2px 5px rgb(6 22 49 / .09), 0 44px 76px -28px rgb(0 0 0 / .62); transform: rotate(-1.5deg); }
/* Title with a small gold accent underline. */
.apply-art__title { position: relative; height: 15px; width: 52%; border-radius: 7px; background: var(--navy-800); margin-bottom: 5px; }
.apply-art__title::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 36px; height: 4px; border-radius: 3px; background: var(--clay-500); }
/* Fields with placeholder lines for a realistic look. */
.apply-art__field { position: relative; height: 36px; border-radius: 10px; background: #faf3ea; border: 1px solid #efe3d3; }
.apply-art__field::before { content: ""; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 46%; height: 6px; border-radius: 3px; background: #e2d4c2; }
.apply-art__row2 .apply-art__field::before { width: 60%; }
.apply-art__field--tall { height: 62px; }
.apply-art__field--tall::before { top: 15px; transform: none; width: 74%; }
.apply-art__field--tall::after { content: ""; position: absolute; left: 13px; top: 33px; width: 50%; height: 6px; border-radius: 3px; background: #e8dccc; }
.apply-art__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* Checkboxes with real white checkmarks. */
.apply-art__check { display: flex; align-items: center; gap: 12px; height: 22px; }
.apply-art__check::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px;
  background: var(--gold-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.apply-art__check::after { content: ""; flex: 1; height: 7px; border-radius: 4px; background: #e8dccc; }
.apply-art__submit { height: 42px; border-radius: 999px; margin-top: 7px;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); box-shadow: 0 8px 16px -7px rgb(242 179 61 / .75); }
@media (prefers-reduced-motion: no-preference) {
  .apply-art__card { animation: art-rise .85s var(--ease-out) both; }
  .apply-art__card > * { animation: art-fade .55s var(--ease-out) both; }
  .apply-art__card > *:nth-child(1) { animation-delay: .22s; }
  .apply-art__card > *:nth-child(2) { animation-delay: .3s; }
  .apply-art__card > *:nth-child(3) { animation-delay: .38s; }
  .apply-art__card > *:nth-child(4) { animation-delay: .46s; }
  .apply-art__card > *:nth-child(5) { animation-delay: .54s; }
  .apply-art__card > *:nth-child(6) { animation-delay: .62s; }
  .apply-art__card > *:nth-child(7) { animation-delay: .72s; }
}
@keyframes art-rise { from { opacity: 0; transform: translateY(28px) rotate(-1.5deg); } to { opacity: 1; transform: translateY(0) rotate(-1.5deg); } }
/* Phones: the decorative form graphic is hidden so the hero stays compact and the content starts sooner
   (it shows from 760px up, where it sits neatly beside the title). */
@media (max-width: 759px) { .page-hero__media--art { display: none; } }
@keyframes art-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.breadcrumb a { color: var(--gold-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgb(255 255 255 / .35); }
.breadcrumb [aria-current] { color: rgb(255 255 255 / .7); }

/* ---------- Callout / announcement ---------- */
.callout {
  position: relative; display: grid; gap: 10px 20px; align-items: start;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgb(74 46 28 / .04), 0 14px 36px rgb(74 46 28 / .07);
}
@media (min-width: 640px) { .callout { grid-template-columns: auto 1fr; } }
.callout__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-100); color: var(--gold-700);
}
.callout__icon svg { width: 22px; height: 22px; }
.callout p { margin: 0; font-size: var(--fs-lg); line-height: 1.6; color: var(--ink); }
.callout--plain .callout__icon { background: var(--clay-100); color: var(--clay-700); }
.callout .callout__sub { margin-top: 12px; font-size: var(--fs-base); }
.callout .callout__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
/* Placeholder text that must be filled in before applications open (dates: open decision O1). */

/* Home: LeaderFlow Development Program. A navy panel that continues the hero: blueprint grid, Fraunces with a gold
   italic word, a small wall of real graduate portraits (same navy grade as the hero wall, one lit in colour), and the
   four pillars sitting on a gold wave (crests and troughs under the icons, like the hero's stops). Tablets: two by two.
   Phones: the pillars become a vertical gold path. */
/* Full-width navy band with the hero's blueprint grid (.bp on the section). The pillars card in the next section
   overlaps its bottom edge by --program-overlap, so the navy band and the off-white section read as one unit. */
:root { --program-overlap: clamp(56px, 7vw, 112px); }
.program-sec { padding-block: clamp(56px, 7vw, 104px) calc(clamp(56px, 6vw, 88px) + var(--program-overlap)); overflow-x: clip; }
.program-more { padding-block: 0 clamp(56px, 7vw, 104px); }
.program { color: var(--on-dark); }
.program h2, .program h3 { color: var(--white); }
.program :focus-visible { outline-color: var(--sky-300); }

/* ---------- Development Program graduate orbit (desktop/tablet, round 8) ----------
   An orbital cluster that borrows the standalone Gather "stage": one large central graduate with six smaller
   portraits scattered around it, a dashed ring + faint spokes connecting them, a gold sun and a soft sky blob so the
   whole thing reads as a designed composition rather than floating heads. Every portrait is a circular, white-ringed
   disc with a Gather-style high crop. Names are hidden by default and appear ABOVE a disc only on hover/focus
   (space-saving, keyboard-reachable). Hidden on phones (≤699px), where the list below becomes the swipeable deck. */
.orbit { display: none; }
@media (min-width: 700px) {
  .program__media .program__faces { display: none; }   /* desktop/tablet: the orbit replaces the phone deck */
  .orbit {
    display: block; position: relative; width: 100%; max-width: clamp(380px, 46vw, 560px);
    margin-inline: auto; aspect-ratio: 1 / 1;
  }
}
/* Sky blob and gold sun: the quiet decorative base of the stage. */
.orbit__blob {
  position: absolute; inset: 11% 9% 9% 11%; z-index: 0;
  background: radial-gradient(60% 60% at 42% 38%, rgb(240 164 135 / .24), rgb(242 179 61 / .08) 70%, transparent);
  border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%;
}
/* The dashed ring is the "connecting line"; it turns very slowly (paused for reduced motion). */
.orbit__ring { position: absolute; inset: 3%; z-index: 1; overflow: visible; transform-origin: 50% 50%; }
.orbit__ring circle {
  fill: none; stroke: rgb(255 255 255 / .3); stroke-width: .4; stroke-dasharray: 1.4 2.2; stroke-linecap: round;
}
/* Faint spokes from the centre out to each orbiter: they literally "connect" the cluster. */
.orbit__spokes { position: absolute; inset: 0; z-index: 1; overflow: visible; pointer-events: none; }
.orbit__spokes line { stroke: rgb(255 255 255 / .16); stroke-width: .4; stroke-dasharray: .8 1.8; stroke-linecap: round; }
.orbit__list { position: absolute; inset: 0; z-index: 2; margin: 0; padding: 0; list-style: none; }
/* Each orbiter is absolutely placed around the centre via --x/--y (percentages) and sized via --w. */
.orb { position: absolute; width: var(--w); left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.orb__btn {
  display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; position: relative;
}
.orb__disc {
  display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 4px solid var(--cream); background: var(--sky-100);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .18), 0 18px 36px -16px rgb(6 22 49 / .72);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.orb__disc img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.orb--main .orb__disc { border-width: 6px; box-shadow: 0 0 0 1px rgb(255 255 255 / .25), 0 26px 50px -18px rgb(6 22 49 / .8); }
/* Name label: hidden by default, revealed ABOVE the disc on hover/focus. White pill, navy ink → high contrast. */
.orb__name {
  position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 3; transform: translate(-50%, 6px);
  padding: 5px 12px; border-radius: 999px; background: var(--white); color: var(--ink-900);
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(.8125rem, .74rem + .3vw, .95rem);
  line-height: 1.15; white-space: nowrap; letter-spacing: -.005em; pointer-events: none;
  box-shadow: 0 8px 20px -8px rgb(6 22 49 / .55); opacity: 0; visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease-out), visibility 0s linear .28s;
}
.orb__name::after {
  content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--white);
}
.orb__btn:hover .orb__name, .orb__btn:focus-visible .orb__name {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
@media (hover: hover) {
  .orb__btn:hover .orb__disc { transform: scale(1.06); box-shadow: 0 0 0 1px rgb(255 255 255 / .3), 0 28px 52px -16px rgb(6 22 49 / .82); }
}
.orb__btn:focus-visible .orb__disc { box-shadow: 0 0 0 3px var(--sky-300), 0 28px 52px -16px rgb(20 30 51 / .82); }
.orb__btn:focus-visible { outline: none; }
/* Stacking fix: a hovered/focused orb (its name pill sits ABOVE the disc, the city curves along the bottom)
   jumps above EVERY other orb — including the larger central portrait — so its labels are never clipped or
   overlapped by neighbouring headshots. At rest the central portrait still sits above the small orbiters. */
.orb:has(.orb__btn:hover), .orb:has(.orb__btn:focus-visible) { z-index: 50; }

/* Placement around the stage (percent of the square). Main sits a touch left of centre; six orbiters scatter. */
/* Orbiters are scattered around the centre at varied sizes for an organic, gathered feel (not a tidy ring). */
.orb--main { --w: 45%; --x: 49%; --y: 50%; z-index: 2; }
.orb--2 { --w: 24%; --x: 86%; --y: 20%; }
.orb--3 { --w: 25%; --x: 13%; --y: 24%; }
.orb--4 { --w: 23%; --x: 85%; --y: 58%; }
.orb--5 { --w: 21%; --x: 16%; --y: 61%; }
.orb--6 { --w: 20%; --x: 34%; --y: 90%; }
.orb--7 { --w: 19%; --x: 77%; --y: 88%; }
/* Entrance: faces start small + faded, then pop in one by one once site.js sets --i and flips .is-ready. */
@media (prefers-reduced-motion: no-preference) {
  .orbit.js-orbit .orb { opacity: 0; transform: translate(-50%, -50%) scale(.82); }
  .orbit.js-orbit.is-ready .orb {
    opacity: 1; transform: translate(-50%, -50%) scale(1);
    transition: opacity .5s var(--ease) calc(var(--i, 0) * .09s), transform .6s var(--ease-out) calc(var(--i, 0) * .09s);
  }
  /* Slow continuous life: the ring turns, the orbiters drift gently. Paused while off screen. */
  .orbit.is-ready .orbit__ring { animation: orbit-spin 120s linear infinite; }
  .orbit.is-ready .orb--2 .orb__disc { animation: orbit-float 7s ease-in-out -0.5s infinite; }
  .orbit.is-ready .orb--3 .orb__disc { animation: orbit-float 8.5s ease-in-out -2s infinite; }
  .orbit.is-ready .orb--4 .orb__disc { animation: orbit-float 7.8s ease-in-out -3s infinite; }
  .orbit.is-ready .orb--5 .orb__disc { animation: orbit-float 9s ease-in-out -1s infinite; }
  .orbit.is-ready .orb--6 .orb__disc { animation: orbit-float 8s ease-in-out -4s infinite; }
  .orbit.is-ready .orb--7 .orb__disc { animation: orbit-float 7.4s ease-in-out -2.5s infinite; }
  .orbit.is-paused .orbit__ring, .orbit.is-paused .orb__disc { animation-play-state: paused; }
  /* Hover/focus wins over the idle float so the lift reads cleanly. */
  .orbit .orb__btn:hover .orb__disc, .orbit .orb__btn:focus-visible .orb__disc { animation: none; }
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5%; } }
.program__head { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .program__head { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.program__title { margin: 0 0 1.25rem; max-width: 19ch; font-size: clamp(1.9rem, 1.25rem + 2vw, 3rem); line-height: 1.08; letter-spacing: -.02em; }
.program__title em { font-style: italic; font-weight: 400; color: var(--gold-500); }
.program__lede { margin: 0; max-width: 50ch; font-size: var(--fs-lg); line-height: 1.6; color: var(--on-dark); }
.program__lede strong { color: var(--gold-400); font-weight: 600; }
.program .btn-row { margin-top: 1.75rem; }

/* Graduate spotlight (P1-5): three columns, the middle one set lower. Every face is captioned with its graduate's
   name and cohort, legible on desktop and mobile. The portraits carry the hero wall's navy grade; on pointer devices
   hovering a face blooms it to full colour and lifts a gold ring. No autoplay — nothing moves on its own. */
.program__faces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.1vw, 16px); padding-bottom: 6%; margin: 0; list-style: none; }
.program__faces > li { margin: 0; }
.program__face { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: clamp(12px, 1.4vw, 18px); background: var(--ink-950); box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 18px 40px rgb(0 0 0 / .25); }
.program__faces > li:nth-child(3n + 2) .program__face { transform: translateY(14%); }
.program__face > img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) contrast(1.04) brightness(1.04); transition: filter .6s var(--ease); }
/* the hero wall's warm grade */
.program__face::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, #f2b33d, #a8442a); mix-blend-mode: soft-light; opacity: .5; transition: opacity .6s var(--ease); }
/* scrim: always present so the name stays legible over any photo */
.program__face::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: linear-gradient(transparent 48%, rgb(29 26 30 / .84)); transition: box-shadow .5s var(--ease); }
@media (hover: hover) {
  .program__face:hover > img { filter: none; }
  .program__face:hover::before { opacity: 0; }
  .program__face:hover::after { box-shadow: inset 0 0 0 2px var(--gold-500); }
}
.program__face figcaption { position: absolute; inset: auto 0 0; z-index: 2; display: grid; gap: 1px; padding: 0 12px 11px; color: var(--white); font-size: .75rem; line-height: 1.3; }
.program__face figcaption strong { color: var(--white); font-family: var(--font-serif); font-size: .9375rem; font-weight: 600; }
.program__face figcaption span { color: var(--gold-400); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .6875rem; }

.program__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(16px, 2vw, 24px) 0 0; padding: 0; list-style: none; }
.program__facts li { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 16px; border: 1px solid rgb(255 255 255 / .16); border-radius: 999px; background: rgb(20 30 51 / .55); font-size: .875rem; color: var(--on-dark); }
.program__facts strong { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 500; color: var(--gold-400); }

/* Pillars on the gold wave (wide) or gold path (phones) */
.pillars { margin: 0; }
/* The card: white, rounded, lifted off the navy band; the wave runs edge to edge inside it. */
.program-card {
  --card-px: clamp(20px, 4vw, 56px);
  position: relative; z-index: 1; overflow: hidden; margin-top: calc(-1 * var(--program-overlap));
  padding: clamp(28px, 4.5vw, 64px) var(--card-px) clamp(32px, 4.5vw, 60px);
  border-radius: var(--radius-lg); background: var(--white);
  box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 2px 6px rgb(20 30 51 / .08), 0 30px 70px -20px rgb(20 30 51 / .32);
}
.pillars__label { display: flex; align-items: center; gap: .75rem; margin: 0 0 clamp(28px, 3.5vw, 44px); font-family: var(--font-serif); font-size: clamp(1.4rem, 1.15rem + .9vw, 2rem); font-weight: 500; line-height: 1.15; letter-spacing: -.015em; color: var(--ink-900); }
.pillars__label::before { content: ""; flex: none; width: 34px; height: 8px; background: var(--clay-500); -webkit-mask: var(--squiggle) center / contain no-repeat; mask: var(--squiggle) center / contain no-repeat; }
/* Narrow cards: the gold rule sits above the label, so a two-line label never hangs off it. */
@media (max-width: 899px) { .pillars__label { flex-direction: column; align-items: flex-start; } }
.pillars__track { position: relative; }
.pillars__list { position: relative; display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.pillar { position: relative; min-height: 52px; padding-left: 76px; }
/* Pillar medallions: an outlined circle that matches the card (white fill, solid navy border), with the Lucide
   icon in navy inside. The gold wave (or phone path) meets the circle's edge. */
.pillar__icon {
  --medal: 52px;
  position: absolute; top: 0; left: 0; display: grid; place-items: center; width: var(--medal); height: var(--medal); border-radius: 50%;
  background: var(--clay-100); color: var(--clay-700); border: 1.5px solid var(--clay-700);
}
.pillar__icon svg { width: 58%; height: 58%; overflow: visible; }
.pillar__icon path, .pillar__icon circle, .pillar__icon rect { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar__icon .i-acc { stroke: var(--clay-700); }
.pillar__num { display: block; margin-bottom: 6px; font: 600 .75rem/1 var(--font-sans); font-variant-numeric: tabular-nums; letter-spacing: .16em; color: var(--gold-700); }
.pillar h3 { color: var(--ink-900); margin: 0 0 .4em; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); line-height: 1.2; }
.pillar p { margin: 0; max-width: 34ch; font-size: clamp(.9375rem, .9rem + .15vw, 1.0625rem); line-height: 1.55; color: var(--body); }
.pillars__wave { display: none; }
@media (min-width: 700px) and (max-width: 899px) { .pillars__list { grid-template-columns: 1fr 1fr; gap: 32px 28px; } }
/* Phones: a fine gold path runs from each medallion to the next one. */
@media (max-width: 699px) {
  .pillar:not(:last-child)::before { content: ""; position: absolute; left: 25.5px; top: 58px; bottom: -18px; width: 1.5px; border-radius: 1px; background: linear-gradient(var(--gold-500), rgb(242 179 61 / .45)); }
}
/* Wide: four across, icons on the wave's crests and troughs. */
@media (min-width: 900px) {
  .pillars__wave { display: block; position: absolute; top: 0; left: -8%; width: 116%; max-width: none; height: 96px; overflow: visible; pointer-events: none; }
  .pillars__wave path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
  .pillars__gold { stroke: var(--gold-500); stroke-width: 2; }
  .pillars__echo { stroke: var(--clay-500); stroke-width: 1; opacity: .3; }
  .pillars__track::before, .pillars__track::after {
    content: ""; position: absolute; z-index: 1; top: -8px; height: 112px; width: calc(var(--card-px) + 7%); pointer-events: none;
  }
  .pillars__track::before { left: calc(-1 * var(--card-px)); background: linear-gradient(90deg, var(--white) 30%, rgb(255 255 255 / 0)); }
  .pillars__track::after { right: calc(-1 * var(--card-px)); background: linear-gradient(270deg, var(--white) 30%, rgb(255 255 255 / 0)); }
  .pillars__list { z-index: 2; }
  .pillars__label { justify-content: center; text-align: center; }
  .pillars__label::after { content: ""; flex: none; width: 34px; height: 8px; background: var(--clay-500); -webkit-mask: var(--squiggle) center / contain no-repeat; mask: var(--squiggle) center / contain no-repeat; transform: scaleX(-1); }
  .pillars__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .pillar { min-height: 0; padding: 136px clamp(10px, 1.6vw, 24px) 0; text-align: center; }
  .pillar__icon { --medal: 68px; top: calc(24px - var(--medal) / 2); left: 50%; transform: translateX(-50%); }
  .pillar:nth-child(even) .pillar__icon { top: calc(72px - var(--medal) / 2); }
  .pillar p { margin-inline: auto; max-width: 28ch; }
}

/* Closing invitation, under the card: the statement leads, the paragraph and the next step sit beside it. */
.program__foot {
  display: grid; gap: 20px clamp(40px, 6vw, 96px); align-items: center;
  margin-top: clamp(44px, 5.5vw, 80px);
}
@media (min-width: 900px) { .program__foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.program__invite { margin: 0; max-width: 22ch; font-family: var(--font-serif); font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem); font-weight: 400; line-height: 1.18; letter-spacing: -.015em; color: var(--ink-900); }
.program__invite em { font-style: italic; color: var(--clay-700); }
.program__more p { margin: 0 0 1.5rem; max-width: 50ch; font-size: var(--fs-base); line-height: 1.6; color: var(--body); }
/* Tablets: three staggered columns under the text, with names kept (P1-5: more than one grad identifiable here too). */
@media (min-width: 700px) and (max-width: 959px) {
  .program__faces { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 4%; }
}
/* Phones: all six portraits in a two-column grid so several names stay visible (was: three faces, no captions). */
@media (max-width: 699px) {
  .program__faces { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 2%; }
  .program__faces > li:nth-child(3n + 2) .program__face { transform: none; }
  .program__face figcaption { font-size: .72rem; padding: 0 10px 9px; }
  .program__face figcaption strong { font-size: .875rem; }
  .program__facts { gap: 6px; }
  .program__facts li { padding: 7px 10px; font-size: .8125rem; }
  .program__facts strong { font-size: 1rem; }
}

/* Graduate deck (phones): site.js adds .is-deck at <=699px and turns the grid into a stacked,
   swipeable card deck. Cards fan from the centre; the active graduate sits front-and-centre in
   full colour with their name. Tap a peeking card, swipe, use the dots or arrow keys to move.
   The class is only present on phones, so the formula below never affects the tablet/desktop grid. */
.program__faces.is-deck {
  display: block; position: relative; height: clamp(300px, 88vw, 384px);
  padding: 0; margin: 2px 0 10px; overflow: hidden; touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
}
.program__faces.is-deck > li {
  position: absolute; top: 50%; left: 50%; width: 58%; margin: 0; list-style: none;
  transform:
    translate(-50%, -50%)
    translateX(calc(var(--pos, 0) * 36%))
    rotate(calc(var(--pos, 0) * 4.5deg))
    scale(calc(1 - var(--mag, 0) * 0.1));
  z-index: calc(100 - var(--mag, 0));
  opacity: calc(1 - var(--mag, 0) * 0.28);
  transition: transform .45s var(--ease), opacity .45s var(--ease);
  cursor: pointer;
}
.program__faces.is-deck > li.is-active { cursor: default; }
.program__faces.is-deck .program__face { aspect-ratio: 4 / 5; box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 28px 54px rgb(0 0 0 / .42); }
/* The active card comes forward in full colour with a gold edge; the rest stay cool and quiet. */
.program__faces.is-deck > li.is-active .program__face::before { opacity: 0; }
.program__faces.is-deck > li.is-active .program__face > img { filter: none; }
.program__faces.is-deck > li.is-active .program__face::after { box-shadow: inset 0 0 0 2px var(--gold-500); }
.program__faces.is-deck figcaption { transition: opacity .3s var(--ease); font-size: .82rem; padding: 0 14px 13px; }
.program__faces.is-deck figcaption strong { font-size: 1.0625rem; }
.program__faces.is-deck > li:not(.is-active) figcaption { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .program__faces.is-deck > li { transition: none; }
}
/* Position dots under the deck. */
.deck-dots { display: flex; justify-content: center; gap: 9px; margin: 2px 0 2px; padding: 0; }
.deck-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgb(255 255 255 / .28); transition: background-color .25s var(--ease), transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.deck-dots button[aria-current="true"] { background: var(--gold-500); transform: scale(1.25); }

/* ---------- 2027 date strip (P1-4): the four application date groups, prominent on the homepage and the Application Form page.
   Horizontal, connected markers on a line from tablet up; a vertical ladder on phones. No motion (static reveal only). */
.date-strip-sec__inner { max-width: 1040px; margin-inline: auto; text-align: center; }
.date-strip-sec__head { margin-bottom: clamp(24px, 3vw, 40px); }
.date-strip-sec__lede { margin: .5rem auto 0; max-width: 48ch; color: var(--body); font-size: var(--fs-lg); }
/* A clean, scannable schedule: every row LEADS with the milestone (what it is) in bold; its date sits to the
   right (or below on phones), lighter. Small numbered dots + row dividers keep a simple timeline feel. One
   vertical layout at every width so the "what" always reads before the "when". */
.date-strip {
  --dot: 30px;
  position: relative; list-style: none; margin: 0 auto; padding: 0; counter-reset: date-step;
  display: grid; text-align: left; max-width: 640px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.date-strip__step {
  counter-increment: date-step;
  display: grid; align-items: center; gap: 1px 16px;
  grid-template-columns: var(--dot) 1fr;
  grid-template-areas: "marker phase" "marker date";
  padding: 15px 22px;
}
.date-strip__step + .date-strip__step { border-top: 1px solid var(--line-cool); }
/* Numbered dot: gold for the open/interview bookends, navy for the two close dates. */
.date-strip__marker {
  grid-area: marker; align-self: center;
  display: grid; place-items: center; width: var(--dot); height: var(--dot); border-radius: 50%;
  background: var(--gold-500); color: var(--ink-900);
  font: 700 .8125rem/1 var(--font-sans); font-variant-numeric: tabular-nums;
}
.date-strip__marker::before { content: counter(date-step, decimal-leading-zero); }
.date-strip__step:nth-child(2) .date-strip__marker,
.date-strip__step:nth-child(3) .date-strip__marker { background: var(--clay-700); color: var(--white); }
/* The lead: the milestone label, prominent. */
.date-strip__phase { grid-area: phase; font: 600 1.0625rem/1.3 var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
/* The date, secondary. */
.date-strip__date { grid-area: date; font: 500 var(--fs-base)/1.35 var(--font-sans); color: var(--navy-800); }
.date-strip__time { display: inline; margin-left: .45em; font: 500 var(--fs-xs)/1.3 var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
/* From ~620px up, put the date on the right of its row for a tidy two-column schedule. */
@media (min-width: 620px) {
  .date-strip__step { grid-template-columns: var(--dot) 1fr auto; grid-template-areas: "marker phase date"; gap: 4px 24px; }
  .date-strip__date { justify-self: end; text-align: right; }
  .date-strip__time { display: block; margin: 2px 0 0; }
}

/* ---------- Program timeline ("What is Offered?") ---------- */
.timeline-wrap { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 960px) {
  .timeline-wrap { grid-template-columns: 1fr 2fr; }
  .timeline-wrap__head { position: sticky; top: calc(var(--header-h) + 40px); }
}
.timeline { position: relative; list-style: none; counter-reset: step; }
.timeline::before {
  content: ""; position: absolute; left: 35px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--gold-500), var(--clay-500)); border-radius: 2px; transform-origin: top;
}
.step { position: relative; padding: 0 0 clamp(36px, 4vw, 52px) 100px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  content: counter(step, decimal-leading-zero) / "";
  position: absolute; left: 0; top: -4px; display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%; background: var(--cream);
  border: 1.5px solid var(--clay-500); box-shadow: 0 6px 16px rgb(74 46 28 / .08);
  font: italic 400 1.6rem/1 var(--font-serif); color: var(--clay-700);
}
.step h3 { margin-bottom: .4em; }
.step > p { color: var(--body); max-width: 62ch; }
.step details { margin-top: 16px; max-width: 62ch; }
.step summary {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
  font: 600 .8125rem/1.4 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700);
}
.step summary::-webkit-details-marker { display: none; }
.step summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; letter-spacing: 0; transition: transform .2s var(--ease); }
.step details[open] summary::after { transform: rotate(45deg); }
.step details ul { margin-top: 14px; }
@media (max-width: 560px) {
  .timeline::before { left: 23px; }
  .step { padding-left: 68px; }
  .step::before { width: 48px; height: 48px; font-size: 1.15rem; }
}

.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: var(--fs-sm); line-height: 1.6; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5a00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat;
}
.ticks--lg li { font-size: var(--fs-base); padding-left: 34px; }
.ticks--lg li::before { width: 20px; height: 20px; background-size: 20px; top: .3em; }

/* ---------- Program details ---------- */
.facts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* ---------- Media ---------- */
.framed { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); }
.framed img { width: 100%; height: 100%; object-fit: cover; }
/* Plain photo: one radius, one soft shadow, natural proportions. */
.framed--photo { border-radius: var(--radius-photo); background: none; }
.framed--photo img { height: auto; }

/* ---------- Program overview: top ---------- */
/* Slim application-status bar, the overview (photos + text) and a three-item "at a glance" strip. */
.ov-top { padding-top: clamp(28px, 4vw, 48px); }
.ov-status {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  margin-bottom: clamp(40px, 5.5vw, 80px); padding: 10px 10px 10px 20px;
  border: 1px solid rgb(242 179 61 / .55); border-radius: 999px; background: var(--gold-100);
  font-size: var(--fs-sm); line-height: 1.5; color: var(--ink);
}
.ov-status p { flex: 1 1 320px; margin: 0; }
.ov-status strong { font-weight: 700; }
.ov-status__dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgb(242 179 61 / .28); }
.ov-status__action {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 18px;
  border-radius: 999px; background: var(--ink-900); color: var(--white); font-size: .875rem; font-weight: 600; text-decoration: none;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.ov-status__action::after { content: "\2192"; transition: transform .25s var(--ease); }
.ov-status__action:hover { background: var(--navy-800); color: var(--white); text-decoration: none; }
.ov-status__action:hover::after { transform: translateX(3px); }
.ov-status--open .ov-status__dot { background: #2f9e64; box-shadow: 0 0 0 4px rgb(47 158 100 / .22); }
.ov-status--open .ov-status__action { background: var(--gold-500); color: var(--ink-900); }
.ov-status--open .ov-status__action:hover { background: var(--gold-400); color: var(--ink-900); }
@media (prefers-reduced-motion: no-preference) {
  .ov-status__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ov-ping 2.4s var(--ease-out) infinite; }
}
@keyframes ov-ping { from { transform: scale(1); opacity: .7; } 70%, to { transform: scale(2.6); opacity: 0; } }
@media (max-width: 640px) {
  .ov-status { border-radius: 18px; padding: 14px 16px; align-items: flex-start; }
  .ov-status__dot { margin-top: 6px; }
  .ov-status p { flex-basis: calc(100% - 30px); }
  .ov-status__action { margin-left: 26px; }
}
.ov-intro .prose h2 { margin-bottom: 1rem; }
.ov-glance { display: grid; gap: 1px; margin: clamp(48px, 6vw, 80px) 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 760px) { .ov-glance { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ov-glance__item { padding: clamp(22px, 2.6vw, 32px); background: var(--paper); }
.ov-glance dt { margin-bottom: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); }
.ov-glance dd { margin: 0; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.5; color: var(--ink); }
.ov-glance dd strong { font-weight: 600; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-950); box-shadow: var(--shadow); }
.video > img, .video > iframe, .video > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  width: 100%; border: 0; cursor: pointer; color: var(--white);
  background: linear-gradient(0deg, rgb(40 26 22 / .5), rgb(40 26 22 / .06));
}
.video__play-icon {
  position: relative; display: grid; place-items: center; width: clamp(68px, 8vw, 96px); aspect-ratio: 1; border-radius: 50%;
  background: var(--gold-500); color: var(--ink-900); box-shadow: 0 14px 40px rgb(0 0 0 / .3);
  transition: transform .3s var(--ease);
}
.video__play-icon::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgb(242 179 61 / .55); transition: inset .3s var(--ease), opacity .3s; }
.video__play-icon svg { width: 34%; margin-left: 6%; fill: currentColor; }
.video__play:hover .video__play-icon { transform: scale(1.06); }
.video__play:hover .video__play-icon::after { inset: -16px; opacity: .6; }

/* ---------- Support / CTA panels ---------- */
.support-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .support-grid { grid-template-columns: 1fr 1fr; } }
.panel {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(32px, 4.5vw, 56px); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
@media (hover: hover) { .panel:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.panel h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.panel h3 { font-size: var(--fs-h3); }
.panel--ink { color: var(--on-dark); }
.panel--ink h2, .panel--ink h3, .panel--ink strong { color: var(--white); }
.panel--paper { background: var(--paper); border: 1px solid var(--line); }
/* Terracotta panel (home: Donate): the warm counterpart to the ink panels. */
.panel--clay {
  color: var(--white); isolation: isolate;
  background: radial-gradient(70% 90% at 90% 0%, rgb(242 179 61 / .14), transparent 65%), linear-gradient(160deg, #b04a2e, var(--clay-700) 55%, #8f3a24);
}
.panel--clay::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); background-size: 160px; pointer-events: none; }
.panel--clay h2, .panel--clay h3, .panel--clay strong { color: var(--white); }
.panel--clay :focus-visible { outline-color: var(--white); }
.panel__icon { width: 52px; height: auto; margin-bottom: 28px; }
.panel--paper .panel__icon { filter: brightness(0) saturate(100%) invert(15%) sepia(70%) saturate(2600%) hue-rotate(205deg) brightness(90%); }
.panel .btn { margin-top: auto; }
.panel p { margin-bottom: 2rem; }

.cta-band {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 80px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  color: var(--white);
}
.cta-band__bg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.4); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgb(29 42 69 / .96) 30%, rgb(29 42 69 / .55) 70%, rgb(168 68 42 / .45)); }
/* Meet the Flowcilitators: lighter wash so the team photo shows through, framed on the faces. */
.cta-band--photo .cta-band__bg { opacity: .55; object-position: center 22%; }
.cta-band--photo::after { background: linear-gradient(90deg, rgb(29 42 69 / .92) 25%, rgb(29 42 69 / .4) 65%, rgb(168 68 42 / .3)); }
.cta-band h2 { color: var(--white); margin: 0; max-width: 18ch; font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.025em; }

/* ---------- Award strip ---------- */
.award {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px;
  padding: clamp(24px, 3vw, 36px) 0; border-block: 1px solid var(--line);
  text-decoration: none;
}
.award:hover { text-decoration: none; }
.award:hover h2 { color: var(--navy-800); }
.award__icon { flex: none; display: grid; place-items: center; width: 72px; height: 72px; color: var(--gold-700); }
.award__icon svg { width: 72px; height: 72px; stroke-width: 1.25; }
.award h2 { flex: 1 1 360px; margin: 0; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.85rem); font-weight: 400; line-height: 1.3; color: var(--ink); transition: color .2s var(--ease); }

/* ---------- Logo walls ---------- */
.tier + .tier { margin-top: clamp(48px, 5vw, 72px); }
.tier__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tier__head h2, .tier__head h3 { margin: 0; font-size: var(--fs-h3); }
.tier__head p { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--gold-700); }
/* Logos show in full colour on white tiles. An even grid per tier: 5 across (3 for the large tiers), 3 on tablets,
   2 on phones. Each logo's size is its HTML width attribute (area-normalised); max-width keeps it inside the tile. */
.logos { --cols: 5; display: grid; gap: 14px; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); list-style: none; }
.logos--lg { --cols: 3; }
.logos li {
  display: grid; place-items: center; height: 120px; padding: 18px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgb(74 46 28 / .04);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease-out);
}
.logos--lg li { height: 160px; }
@media (hover: hover) { .logos li:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); transform: translateY(-3px); } }
.logos a { display: grid; place-items: center; width: 100%; height: 100%; }
.logos img { max-width: 100%; max-height: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 899px) { .logos { --cols: 3; } .logos--lg { --cols: 3; } }
@media (max-width: 560px) {
  .logos, .logos--lg { --cols: 2; gap: 10px; }
  .logos li { height: 96px; padding: 14px 16px; }
  .logos--lg li { height: 116px; }
}
.sponsor-wall .tier__label { margin-top: 28px; }
.sponsor-wall .tier__head + .tier__label { margin-top: 4px; }
.tier__label {
  margin: 0 0 12px; font: 600 .75rem/1.4 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700);
}

/* Sponsor page: levels read like a pricing ladder */
@media (min-width: 900px) {
  .tier--level { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
  .tier--level .tier__head { flex-direction: column; align-items: flex-start; border: 0; padding: 0; margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
}
.tier--level .tier__pledge { font-family: var(--font-serif); font-size: clamp(1.35rem, 1.15rem + .6vw, 1.75rem); font-weight: 400; line-height: 1.25; color: var(--gold-700); letter-spacing: -.01em; }
.tier--level + .tier--level { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.tier--feature { padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); color: var(--on-dark); }
.tier--feature .tier__head h2 { color: var(--white); }
.tier--feature .tier__pledge { color: var(--gold-500); }
.tier--feature .logos li { border-color: transparent; }

/* ---------- People ---------- */
.people { display: grid; gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); list-style: none; }
@media (max-width: 700px) { .people:not(.people--sm) { grid-template-columns: repeat(2, 1fr); } }
/* Flowcilitators: square photos (most sources are landscape, so a square uses more of each image and stays sharp). */
.people:not(.people--sm) .person__photo { aspect-ratio: 1 / 1; border-radius: var(--radius-photo); }
.people--sm { grid-template-columns: repeat(auto-fill, minmax(min(46%, 190px), 1fr)); }
.person__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); margin-bottom: 16px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .6s var(--ease), filter .4s var(--ease); }
/* Photos show in their original colours; a gentle zoom on hover (pointer devices only). */
@media (hover: hover) {
  .person:hover .person__photo img { transform: scale(1.03); }
}
.person h3 { font-size: 1.2rem; margin-bottom: .35em; }
.person p { font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); margin-bottom: .4em; }
.person p strong { color: var(--ink); font-weight: 600; }
.people--sm .person h3, .people--sm .person h4 { font-size: 1.05rem; }
.people--sm .person p { font-size: var(--fs-xs); }
.people--sm .person__photo { margin-bottom: 12px; }

.founder { display: grid; gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (min-width: 820px) { .founder { grid-template-columns: 320px 1fr; } }
.founder + .founder { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.founder__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-photo); overflow: hidden; box-shadow: var(--shadow); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.founder h2 { margin-bottom: .2em; }
.founder__role { font-family: var(--font-sans); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 1.5rem; line-height: 1.6; }
.social-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 1rem; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.social-link svg { width: 20px; height: 20px; }

/* ---------- Quotes ---------- */
.quote { position: relative; margin: 0; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--paper); }
.quote::before {
  content: "\201C"; content: "\201C" / ""; display: block; height: .55em; margin-bottom: 12px;
  font: italic 400 5rem/1 var(--font-serif); color: var(--clay-500);
}
.quote blockquote { margin: 0 0 24px; font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: clamp(1.0625rem, 1rem + .35vw, 1.3rem); line-height: 1.6; color: var(--ink); }
.quote figcaption { font-size: var(--fs-sm); color: var(--muted); }
.quote figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
/* Meet the Flowcilitators: an open editorial quote on the page itself (no box), with the gold mark beside it on wide screens. */
.quote--feature { position: relative; padding: 0; background: none; border-radius: 0; max-width: 980px; }
@media (min-width: 900px) { .quote--feature { padding-left: clamp(80px, 8vw, 120px); } .quote--feature::before { position: absolute; left: 0; top: -.08em; } }
.quote--feature::before { font-size: clamp(5rem, 3.5rem + 4vw, 8rem); height: .5em; margin-bottom: 16px; }
.quote--feature blockquote { color: var(--ink); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); line-height: 1.38; letter-spacing: -.01em; max-width: 40ch; margin-bottom: 28px; }
.quote--feature figcaption { color: var(--muted); letter-spacing: .02em; }
.quote--feature figcaption strong { color: var(--clay-700); font-family: var(--font-sans); font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }
/* Word-by-word rollout (site.js splits [data-words] into .qw spans). Each word lifts out of a soft blur in turn;
   the name below follows once the sentence has finished. */
.qw { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.no-js) .is-split .qw { opacity: 0; transform: translateY(.35em); filter: blur(6px); transition: opacity .5s var(--ease), transform .7s var(--ease-out), filter .6s var(--ease); transition-delay: calc(var(--w) * 20ms); }
  html:not(.no-js) .is-visible .is-split .qw { opacity: 1; transform: none; filter: none; }
  html:not(.no-js) .quote--feature.reveal:has(.is-split) figcaption { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: 1.3s; }
  html:not(.no-js) .quote--feature.reveal.is-visible figcaption { opacity: 1; transform: none; }
}
.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin-top: 40px; }

/* ---------- Accordion (details/summary) ---------- */
.accordion { border-top: 1px solid #cdbba5; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 4px; cursor: pointer; list-style: none;
  font-family: var(--font-serif); font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); color: var(--ink); line-height: 1.4;
  transition: color .2s var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  background:
    linear-gradient(var(--gold-700), var(--gold-700)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--gold-700), var(--gold-700)) center / 1.5px 12px no-repeat;
  transition: background-size .25s var(--ease), background-color .25s var(--ease);
}
.accordion details[open] > summary::after { background-size: 12px 1.5px, 1.5px 0; background-color: var(--gold-100); }
.accordion summary:hover { color: var(--clay-700); }
.accordion__body { padding: 0 4px 32px; max-width: 72ch; }
.accordion__body ul:not(.people) { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.accordion__body ul:not(.people) li { margin-bottom: .4em; }
.accordion__body a { word-break: break-word; }

.faq-group + .faq-group { margin-top: clamp(48px, 6vw, 80px); }
.faq-group h2 { font-size: .8125rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 16px; }
/* FAQ search (shown by site.js) */
.faq-search { margin-bottom: clamp(40px, 5vw, 64px); }
.faq-search__label { display: block; margin-bottom: 12px; font-family: var(--font-serif); font-size: var(--fs-h3); color: var(--ink); }
.faq-search__box { position: relative; }
.faq-search__icon { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--gold-700); pointer-events: none; }
.faq-search input {
  width: 100%; min-height: 58px; padding: 14px 20px 14px 52px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); font: inherit; font-size: var(--fs-base); color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.faq-search input::placeholder { color: var(--muted); }
.faq-search input:hover { border-color: #cdbba5; }
.faq-search input:focus { outline: none; background: var(--white); border-color: var(--navy-800); box-shadow: 0 0 0 4px rgb(0 63 135 / .12); }
.faq-search__status { margin: 10px 0 0 20px; font-size: var(--fs-sm); color: var(--muted); }
.faq-search__status:empty { display: none; }
.faq-search__empty { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 14px 0 0; padding: 14px 20px; border-radius: 14px; background: var(--paper); font-size: var(--fs-sm); color: var(--muted); }
.faq-search__empty[hidden] { display: none; }
.faq-search__empty a { font-weight: 600; color: var(--navy-800); }
.faq-search__empty a::after { content: " →"; }
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 260px 1fr; gap: 80px; } }
.faq-nav { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.faq-nav ul { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.faq-nav a { display: block; padding: 8px 18px; margin-left: -1px; border-left: 2px solid transparent; font-size: var(--fs-sm); font-weight: 500; color: var(--muted); text-decoration: none; }
.faq-nav a:hover { color: var(--ink); border-left-color: var(--gold-500); }
@media (max-width: 959px) { .faq-nav { display: none; } }

/* Graduates: cohort chips + city accordions */
/* Cohort years as a segmented control: one soft track; the chosen year sits on a raised white pill. */
.cohort-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: 36px; padding: 5px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
}
.cohort-tabs button {
  padding: 11px 20px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 600 var(--fs-sm)/1 var(--font-sans); color: var(--muted);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.cohort-tabs button:hover { color: var(--ink); }
.cohort-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgb(74 46 28 / .08), 0 4px 12px rgb(74 46 28 / .08); }
@media (max-width: 560px) { .cohort-tabs { display: flex; border-radius: 20px; } .cohort-tabs button { flex: 1 1 auto; padding-inline: 14px; } }
.cohort[hidden] { display: none; }
.cohort > h2 { font-size: var(--fs-h2); }
.city summary { font-size: clamp(1.4rem, 1.2rem + .8vw, 2rem); letter-spacing: -.015em; }
.city .accordion__body { max-width: none; padding-top: 8px; }

/* ---------- Content blocks ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 0; }
.prose ul { list-style: none; display: grid; gap: 10px; margin: 1rem 0 1.5rem; }
.prose p + ul { margin-top: .5rem; }

.values { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-top: 48px; }
.value { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; color: var(--white); isolation: isolate; display: flex; align-items: flex-end; padding: 28px; }
.value img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.value::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(36 26 24 / .86) 0%, rgb(60 36 28 / .32) 42%, transparent 65%); }
@media (hover: hover) { .value:hover img { transform: scale(1.05); } }
.value h3 { color: var(--white); margin: 0 0 .25em; font-size: 1.6rem; }
.value p { margin: 0; min-height: 3.1em; color: var(--on-dark); font-size: var(--fs-sm); line-height: 1.55; } /* two lines reserved so titles line up */

/* About Us on phones: tighten the big full-width images so the page scrolls far less.
   Values become a compact 2-up gallery; the intro/compass shrink; founder portraits sit smaller
   above their full-width bios (so the bio text doesn't get narrower and taller). */
@media (max-width: 640px) {
  .values { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
  .value { aspect-ratio: 4 / 5; padding: 14px; }
  .value h3 { font-size: 1.1rem; margin-bottom: .12em; }
  .value p { min-height: 0; font-size: .72rem; line-height: 1.4; }
  .framed--5x6 { aspect-ratio: 4 / 3; }
  .mission__art { max-width: 260px; margin-inline: auto; }
  .founder__photo { max-width: 180px; }
}

.mission { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .mission { grid-template-columns: 1fr 380px; } }
.mission__item + .mission__item { margin-top: 48px; padding-top: 48px; border-top: 1px solid rgb(255 255 255 / .14); }
.mission__item h2 { font-size: .8125rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 1.25rem; }
.mission__item p { font-family: var(--font-serif); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); line-height: 1.45; color: var(--white); font-weight: 300; }
.mission__art { max-width: 380px; margin-inline: auto; text-align: center; }
.mission__art img { margin-top: clamp(14px, 2vw, 22px); }
/* P1-8: the "Values Compass" label above the graphic. Real text on the dark mission band. */
.compass-label { font-family: var(--font-serif); font-size: clamp(1.4rem, 1.2rem + .7vw, 1.85rem); font-weight: 500; line-height: 1.1; color: var(--white); }
.compass-label__eyebrow { display: block; margin-bottom: .35em; font: 600 .75rem/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-500); }

/* ---------- Forms ----------
   Labels sit above fields; required fields carry no mark, optional ones say "(optional)".
   Fields are soft-filled at rest and turn white with a gold ring on focus. Textareas grow with their text. */
.form { display: grid; gap: 16px; }
.form--2col { grid-template-columns: 1fr; }
@media (min-width: 560px) { .form--2col { grid-template-columns: 1fr 1fr; column-gap: 16px; } .form--2col .field--full { grid-column: 1 / -1; } }
.field { min-width: 0; }
.field label, .field__label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]), .field textarea, .field select, .multi__summary {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 400 1rem/1.45 var(--font-sans); color: var(--ink);
  background: #fcf8f2; border: 1px solid #c9b9a4; border-radius: 12px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #776c62; opacity: 1; }   /* 4.8:1 on the field fill */
.field textarea { display: block; min-height: calc(1.45em * var(--rows, 3) + 26px); max-height: 320px; resize: vertical; field-sizing: content; }
.field textarea[rows="2"] { --rows: 2; }
.field textarea[rows="4"] { --rows: 4; }
.field select { appearance: none; background: #fcf8f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003f87' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat; padding-right: 44px; }
@media (hover: hover) { .field input:hover, .field textarea:hover, .field select:hover, .multi__summary:hover { border-color: #a39380; } }
.field input:focus, .field textarea:focus, .field select:focus, .multi__summary:focus-visible, .multi[open] .multi__summary {
  outline: none; background-color: var(--white); border-color: var(--navy-800); box-shadow: 0 0 0 4px rgb(242 179 61 / .35);
}
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 4px; }
.btn--submit svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
@media (hover: hover) { .btn--submit:hover svg { transform: translateX(3px); } }
@media (max-width: 559px) { .btn--submit { width: 100%; } }

/* Multi-select (checkbox list in a dropdown): works without JS; site.js only updates the summary text and closes it. */
.multi { position: relative; }
.multi__summary {
  display: flex; align-items: center; list-style: none; cursor: pointer; padding-right: 44px; color: #6b6158;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003f87' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.multi__summary::-webkit-details-marker { display: none; }
.multi.has-value .multi__summary { color: var(--ink); }
.multi[open] .multi__summary { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003f87' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E"); }
.multi__panel {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px);
  display: grid; gap: 2px; margin: 0; padding: 6px; max-height: 300px; overflow-y: auto;
  background: var(--white); border: 1px solid #ddcfbd; border-radius: 14px; box-shadow: var(--shadow);
}
.field .check { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: .9375rem; font-weight: 400; line-height: 1.4; color: var(--ink); }
@media (hover: hover) { .check:hover { background: var(--sky-100); } }
.field .check input { flex: none; width: 18px; height: 18px; min-height: 0; margin: 1px 0 0; padding: 0; border: 0; box-shadow: none; accent-color: var(--navy-800); cursor: pointer; }
.check:has(input:checked) { background: var(--sky-100); font-weight: 600; }
.form__status { font-size: var(--fs-sm); color: var(--navy-800); font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); }
/* Inline errors: text + icon (never colour alone), linked to the field with aria-describedby. */
.field__error { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0; font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; color: var(--error); }
.field__error::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; background: currentColor;
  -webkit-mask: var(--alert) center / contain no-repeat; mask: var(--alert) center / contain no-repeat;
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus { border-color: var(--error); box-shadow: 0 0 0 4px rgb(164 22 26 / .2); }
/* Honeypot: off-screen for people, filled in by naive bots; the server drops those submissions. */
.form__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
/* Turnstile widget slot (rendered later by the forms work, M9). Reserves height only once filled. */
.form__turnstile:empty { display: none; }
.form__turnstile { min-height: 65px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .6; cursor: progress; transform: none; }
.form-card { padding: clamp(24px, 4vw, 48px); background: var(--white); color: var(--body); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 24px); }
/* Jump-target cards briefly glow at the border when reached from the hero buttons (site.js adds .is-flash). */
@media (prefers-reduced-motion: no-preference) {
  .form-card.is-flash { animation: card-flash 1.7s var(--ease-out); }
}
@keyframes card-flash {
  0%, 100% { box-shadow: 0 0 0 0 rgb(242 179 61 / 0), var(--shadow-sm); border-color: var(--line); }
  12% { box-shadow: 0 0 0 4px rgb(242 179 61 / .4), var(--shadow-sm); border-color: var(--gold-500); }
  45% { box-shadow: 0 0 0 3px rgb(242 179 61 / .22), var(--shadow-sm); border-color: var(--gold-500); }
}
.form-card h2, .form-card h3, .form-card strong { color: var(--ink); }
.section--ink .form-card { border: 0; box-shadow: 0 30px 80px rgb(0 0 0 / .3); }
.form-card__title { margin: 0 0 18px; font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem); }

/* Preview flag for ?preview=open (the open/closed switch itself is at the top of this file). */

/* ---------- Form-first page hero (Connect, Become a Flowcilitator) ----------
   Title on the left, the whole form on the right, inside the first view. Phones: title, then form. */
/* Even surface: the blue glow stays top-right, no warm patch bottom-left, and the grid covers the whole band. */
.form-hero { color: var(--on-dark); }
.form-hero.bp { background: radial-gradient(60% 80% at 88% 0%, var(--warm-glow), transparent 65%), var(--ink-900); }
.form-hero.bp::before { -webkit-mask-image: linear-gradient(#000, #000); mask-image: linear-gradient(#000, #000); }
/* Connect: the hero runs straight into the footer, so the two read as one surface with a single wave.
   The hero grid fades out at its foot and the footer grid fades in, so no seam shows. */
.page--form-only .form-hero.bp::before { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.page--form-only .site-footer.bp { background: var(--ink-900); }
.page--form-only .site-footer.bp::before { -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%); }
.form-hero__inner {
  position: relative; display: grid; gap: 28px; align-items: start;
  padding-block: clamp(24px, 3.5vw, 48px) clamp(64px, 7vw, 104px);
}
@media (min-width: 960px) {
  .form-hero__inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 5vw, 88px); }
  .form-hero__text { position: sticky; top: calc(var(--header-h) + 32px); padding-top: clamp(16px, 2.5vw, 40px); }
}
.form-hero h1 { color: var(--white); margin: 0 0 .35em; font-size: clamp(2.25rem, 1.5rem + 3vw, 4.25rem); }
.form-hero__lede { max-width: 34ch; font-size: var(--fs-lg); line-height: 1.6; color: var(--on-dark); }
.form-hero .form-card--hero { padding: clamp(20px, 2.6vw, 32px); border: 0; border-radius: 20px; box-shadow: 0 1px 0 rgb(255 255 255 / .06) inset, 0 30px 80px rgb(0 0 0 / .32); }
/* Short laptop screens (e.g. 1366x768 with browser bars, about 657px tall): tighten so the Submit button stays in view. */
@media (min-width: 960px) and (max-height: 820px) {
  .form-hero__inner { padding-top: 16px; }
  .form-hero .form-card--hero { padding: 20px 26px 22px; }
  .form-hero .form-card__title { margin-bottom: 10px; font-size: 1.3rem; }
  .form-hero .form { gap: 10px; }
  .form-hero .field label, .form-hero .field__label { margin-bottom: 4px; }
  .form-hero .field input:not([type="checkbox"]), .form-hero .multi__summary { min-height: 44px; padding-block: 10px; }
  .form-hero .field textarea { --rows: 2; padding-block: 10px; }
  .form-hero .field textarea[rows="4"] { --rows: 3; }
  .form-hero .form__actions { margin-top: 2px; }
  .form-hero .btn--submit { min-height: 46px; }
}
/* Long forms on very short screens (700px tall or less): the card title is kept for screen readers only. */
@media (min-width: 960px) and (max-height: 700px) {
  .form-hero--long .form-hero__inner { padding-top: 12px; }
  .form-hero--long .form-card--hero { padding-top: 18px; }
  .form-hero--long .form-card__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.form-hero .flow--hero { height: clamp(48px, 6vw, 88px); }
/* Form at the end of a page (Become a Flowcilitator): same layout, with section spacing above it. */
.form-hero--end .form-hero__inner { padding-top: var(--section-y); }
.form-hero__title { color: var(--white); margin: 0 0 .4em; font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.025em; }
.form-hero__back { margin-top: 20px; font-size: var(--fs-sm); }
.form-hero__back a { color: var(--gold-500); font-weight: 600; }
.form-hero__back a::before { content: "↑ "; }
.form-hero__back a:hover { color: var(--white); }
@media (max-width: 959px) { .form-hero__title { order: 1; margin: 0; } .form-hero__back { order: 4; margin-top: 4px; } }
@media (min-width: 960px) and (max-height: 820px) { .form-hero--end .form-hero__inner { padding-top: var(--section-y); } }
/* Tablets and phones: title, then the form straight away; contact details move below the form. */
@media (max-width: 959px) {
  .form-hero__inner { gap: 20px; }
  .form-hero__text { display: contents; }
  .form-hero__text > * { grid-column: 1; }
  .form-hero .breadcrumb { display: none; }
  .form-hero h1 { order: 1; margin: 0; }
  .form-hero__lede { order: 2; margin: -8px 0 0; font-size: var(--fs-base); }
  .form-hero .form-card--hero { order: 3; }
  .contact-list { order: 4; margin-top: 8px; }
}

.contact-list { list-style: none; display: grid; gap: 20px; margin-top: clamp(20px, 3vw, 36px); }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgb(242 179 61 / .14); color: var(--gold-500); }
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list__label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 2px; }
.contact-list a { color: var(--white); font-weight: 500; font-size: var(--fs-lg); }
.contact-list a:hover { color: var(--sky-300); }
.contact-list__sep { margin-inline: .5em; color: var(--on-dark); }

.jump-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.jump-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px;
  font-size: .875rem; font-weight: 600; color: var(--white); text-decoration: none;
  border: 1px solid rgb(255 255 255 / .22); border-radius: 999px; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.jump-links a::after { content: ""; width: 14px; height: 14px; background: var(--gold-500); -webkit-mask: var(--arrow-down) center / contain no-repeat; mask: var(--arrow-down) center / contain no-repeat; }
.jump-links a:hover { color: var(--white); border-color: var(--gold-500); background: rgb(242 179 61 / .1); }
@media (max-width: 959px) { .jump-links { display: none; } }

/* ---------- Application form page ---------- */
.apply-lead { display: grid; gap: 28px; }

/* ---------- 404 ---------- */
.link-list { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 32px; }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-weight: 600; text-decoration: none; }
.link-list a::after { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.link-list a:hover { border-color: var(--clay-500); box-shadow: var(--shadow-sm); }

/* ---------- Footer ---------- */
.site-footer { color: var(--on-dark); font-size: var(--fs-sm); overflow: hidden; }
.site-footer a:not(.btn) { color: #f1e8dc; text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--gold-500); }
.footer__top { position: relative; display: grid; gap: 40px; padding-block: clamp(80px, 9vw, 128px) clamp(48px, 6vw, 72px); }
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.footer__brand img { width: 168px; margin-bottom: 24px; }
.footer__title { font-family: var(--font-sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500); margin: 0 0 16px; }
.footer__social { display: flex; gap: 10px; list-style: none; }
.footer__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .22); transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s; }
.site-footer .footer__social a:hover { background: var(--gold-500); color: var(--ink-900); border-color: var(--gold-500); }
.footer__social svg { width: 18px; height: 18px; }
.footer__subscribe p { max-width: 40ch; margin-bottom: 20px; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.5; color: var(--white); }
/* Footer interest-list signup: the built-in form that replaced the Mailchimp "Subscribe" link.
   Inputs keep the light fill (dark text, readable); labels/status flip to light for the dark footer. */
.form--footer { gap: 12px; max-width: 420px; }
.form--footer .field label { color: #f1e8dc; }
.form--footer .opt { color: #b5a898; }
.form--footer .form__actions { margin-top: 2px; }
.form--footer .form__status { color: var(--white); }
.form--footer .form__status.is-error { color: #ffd4d4; }
.to-top {
  position: absolute; right: var(--gutter); top: 28px;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold-500); transition: transform .25s var(--ease);
}
.site-footer a.to-top, .site-footer a.to-top:hover { color: var(--ink-900); }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / .1); padding-block: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; }
.footer__legal { margin: 0; color: #b5a898; font-size: var(--fs-xs); }
.footer__legal span { margin-inline: 8px; opacity: .5; }

/* ---------- Motion ---------- */
/* Base styles above are the finished state; motion is layered on only when allowed. */
@media (prefers-reduced-motion: no-preference) {
  html:not(.no-js) .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  html:not(.no-js) .reveal.is-visible { opacity: 1; transform: none; }

  /* Lines "draw" with a left-to-right wipe. (A pathLength dash animation breaks with vector-effect: non-scaling-stroke:
     on screens wider than the 1440px viewBox the dash ends short and the line stays cut off.) */
  html:not(.no-js) .draw { clip-path: inset(0 100% 0 0); transition: clip-path 2.4s var(--ease); }
  html:not(.no-js) .draw.is-visible { clip-path: inset(0 0 0 0); }

  /* Program pillars: the gold wave wipes in from the left when the row scrolls into view, and each pillar rises in turn. */
  html:not(.no-js) [data-draw] .pillars__wave { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--ease); }
  html:not(.no-js) [data-draw].is-visible .pillars__wave { clip-path: inset(0 0 0 0); }
  html:not(.no-js) .pillar.reveal { transition-delay: calc(var(--i, 0) * 140ms + .25s); }

  html:not(.no-js) .statement .hl { background-size: 0 .14em; transition-delay: .35s; }
  html:not(.no-js) .statement.is-visible .hl { background-size: 100% .14em; }

  /* The hero H1 and image are the LCP candidates: they are never faded in (an opacity animation delays LCP). */
  .hero .lede, .hero .btn-row, .hero .hero-status { animation: rise .9s .1s var(--ease) both; }
  /* Hero flow lines draw in from the first frame with CSS, so they never flash before JS runs. */
  .flow--hero { animation: draw 2.4s .2s var(--ease) both; }
  /* Rotating headline: the outgoing words lift away quickly (ease-in), then the incoming words rise in one after
     another (long ease-out), so the two headlines barely overlap. Opacity and transform only: no blur, which
     cost dropped frames the first time each headline appeared. */
  html:not(.no-js) .rotator .w { opacity: 0; transform: translateY(.5em); transition: opacity .3s cubic-bezier(.4, 0, 1, 1), transform .4s cubic-bezier(.4, 0, 1, 1); }
  html:not(.no-js) .rotator__item.is-leaving .w { transform: translateY(-.3em); }
  html:not(.no-js) .rotator__item:not(.is-active) { transition: visibility 0s .7s; }
  html:not(.no-js) .rotator__item.is-active .w { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(.24s + var(--d, 0s)); }
  /* Description: fades and rises in as a whole, just after the headline's first words. */
  html:not(.no-js) .rotator--lede .rotator__item { opacity: 0; transform: translateY(.5em); transition: opacity .3s cubic-bezier(.4, 0, 1, 1), transform .4s cubic-bezier(.4, 0, 1, 1), visibility 0s .7s; }
  html:not(.no-js) .rotator--lede .rotator__item.is-leaving { transform: translateY(-.3em); }
  html:not(.no-js) .rotator--lede .rotator__item.is-active { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), visibility 0s; transition-delay: .4s, .4s, 0s; }
  .rotator .w:nth-child(2) { --d: .07s; } .rotator .w:nth-child(3) { --d: .14s; } .rotator .w:nth-child(4) { --d: .21s; } .rotator .w:nth-child(5) { --d: .28s; }

  /* Timeline connector grows with scroll where supported; otherwise it is simply drawn. */
  @supports (animation-timeline: view()) {
    .timeline::before { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% cover 70%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Warmth pass additions ---------- */
/* A warm paper band with a soft clay/gold glow: used where a navy band used to sit (home: Connect & Grow). */
.section--warm {
  position: relative; isolation: isolate;
  background:
    radial-gradient(55% 70% at 100% 0%, rgb(240 164 135 / .22), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, rgb(242 179 61 / .16), transparent 70%),
    var(--paper);
}
.section--warm .form-card { border: 0; box-shadow: 0 2px 6px rgb(74 46 28 / .05), 0 30px 70px -24px rgb(74 46 28 / .28); }
.section--warm .framed { box-shadow: 0 24px 50px -18px rgb(74 46 28 / .35); }

/* Home: "In their words": real graduate quotes with their portraits. */
.voices { padding-bottom: clamp(24px, 3vw, 40px); }   /* the support panels below sit on the same cream */
.voices__title { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); }
.voices__title em { font-style: italic; font-weight: 400; color: var(--clay-700); }
.voices__list { display: grid; gap: clamp(20px, 2.5vw, 32px); }
@media (min-width: 900px) { .voices__list { grid-template-columns: 1fr 1fr; } }
.voice {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 2.4vw, 28px); align-items: start; margin: 0;
  padding: clamp(24px, 3.2vw, 40px); border-radius: var(--radius-lg); background: var(--white);
  box-shadow: var(--shadow-sm);
}
.voice__photo {
  width: clamp(80px, 7vw + 40px, 132px); aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: center 22%;
  border-radius: 999px 999px 26px 26px;   /* soft arch */
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--line), 0 14px 28px -12px rgb(74 46 28 / .4);
}
.voice blockquote {
  position: relative; margin: 0 0 18px; padding-top: 30px;
  font: italic 300 clamp(1.125rem, 1.02rem + .45vw, 1.375rem)/1.55 var(--font-serif); color: var(--ink);
}
.voice blockquote::before {
  content: "\201C"; content: "\201C" / ""; position: absolute; top: -14px; left: -4px;
  font: italic 400 4rem/1 var(--font-serif); color: var(--clay-500);
}
.voice figcaption { font-size: var(--fs-sm); line-height: 1.45; color: var(--muted); }
.voice figcaption strong { display: block; font-family: var(--font-serif); font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.voices__more { margin: clamp(24px, 3vw, 36px) 0 0; text-align: center; font-weight: 600; }
.voices__more a { color: var(--clay-700); }
.voices__more a::after { content: " \2192"; }
.voices__more a:hover { color: var(--ink); }
@media (max-width: 559px) {
  .voice { grid-template-columns: 1fr; }
  .voice__photo { width: 88px; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-lg { margin-top: clamp(36px, 4.5vw, 64px); }
.mb-lg { margin-bottom: clamp(36px, 4.5vw, 64px); }
.center { text-align: center; }
/* These replace the old inline style="" attributes, so the CSP needs no 'unsafe-inline'. */
.framed--2x1 { aspect-ratio: 2 / 1; }
.framed--3x2 { aspect-ratio: 3 / 2; }
.framed--5x6 { aspect-ratio: 5 / 6; }
.title-sm { font-size: var(--fs-h3); }
.logos--single { --cols: 1; max-width: 300px; margin-inline: auto; }
.btn-row--center { justify-content: center; }

/* ---------- Impact page (/impact/) ----------
   Moved from the standalone impact.leaderflow.org page. Everything is prefixed impact- because the site already
   uses .hero, .city, .quote and @keyframes draw. City positions are classes, not inline styles (CSP). */
.nowrap { white-space: nowrap; }
.btn--lg { min-height: 58px; padding: 16px 30px; font-size: 1rem; line-height: 1.25; text-align: left; }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--ink-900); --btn-bd: var(--white); }
.btn--white:hover { --btn-bg: var(--gold-100); --btn-fg: var(--ink-900); --btn-bd: var(--gold-100); }
.btn--download::after, .btn--heart::before { content: ""; flex: none; background: currentColor; }
.btn--download::after { width: 16px; height: 16px; -webkit-mask: var(--download) center / contain no-repeat; mask: var(--download) center / contain no-repeat; }
.btn--heart::before { width: 18px; height: 18px; -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; }
:root {
  --download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v10M4 8l4 4 4-4M3 14h10' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.5-9.4C1.2 8.4 3.2 5 6.6 5c2.1 0 3.6 1.2 4.4 2.6h2C13.8 6.2 15.3 5 17.4 5c3.4 0 5.4 3.4 4.1 6.6C19.5 16.4 12 21 12 21Z'/%3E%3C/svg%3E");
}

/* Hero */
.impact-hero { color: var(--on-dark); padding-block: clamp(36px, 5vw, 72px) clamp(96px, 10vw, 136px); }
.impact-hero__grid { position: relative; display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .impact-hero__grid { grid-template-columns: .85fr 1.15fr; } }
.impact-hero h1 { color: var(--white); font-size: clamp(2.75rem, 1.8rem + 4.2vw, 5.25rem); margin-bottom: .3em; }
.impact-hero .lede { color: var(--on-dark); max-width: 36rem; margin-bottom: 1.75rem; }
.impact-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.impact-fine { margin: 12px 0 0; font-size: .8125rem; opacity: .85; }
.impact-photo { position: relative; margin: 0; }
.impact-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-photo); box-shadow: 0 24px 60px rgb(0 0 0 / .35); }
@media (min-width: 1200px) { .impact-photo { margin-right: -40px; } }

/* Stats strip, overlapping the hero */
.impact-stats { position: relative; z-index: 1; margin-top: clamp(-72px, -6vw, -56px); }
.impact-stats dl { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; background: var(--white); border-radius: 20px; box-shadow: 0 24px 60px rgb(11 36 71 / .14); overflow: hidden; }
@media (min-width: 760px) { .impact-stats dl { grid-template-columns: repeat(4, 1fr); } }
.impact-stat { display: flex; flex-direction: column; padding: clamp(20px, 3vw, 32px); }
.impact-stat + .impact-stat { box-shadow: inset 1px 0 var(--line); }
.impact-stat dt { order: 2; font-size: .9375rem; line-height: 1.4; }
.impact-stat dd { margin: 0 0 6px; font: 500 clamp(2.25rem, 1.8rem + 1.8vw, 3.25rem)/1 var(--font-serif); color: var(--ink); letter-spacing: -.02em; }

/* Story + map */
.impact-story { padding-block: clamp(56px, 7vw, 96px); display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .impact-story { grid-template-columns: 1fr 1.15fr; } }
.impact-story h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); }
.impact-story p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); margin: 0; }
.impact-map { position: relative; isolation: isolate; margin: 0; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); color: var(--on-dark); overflow: hidden;
  background: radial-gradient(70% 80% at 80% 0%, var(--warm-glow), transparent 65%), var(--ink-900); box-shadow: 0 24px 60px rgb(74 46 28 / .22); }
.impact-map h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font: 600 .8125rem/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-500); }
.impact-map ul { list-style: none; }
.impact-map__canvas { position: relative; aspect-ratio: 1418 / 939; }
.impact-map__land { position: absolute; inset: 0; background: radial-gradient(circle, rgb(124 196 255 / .55) 1.3px, transparent 1.9px) 0 0 / 7px 7px;
  -webkit-mask: url("../img/impact/us-map.png") center / 100% 100% no-repeat; mask: url("../img/impact/us-map.png") center / 100% 100% no-repeat; }
.impact-map__arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.impact-map__arcs path { fill: none; stroke: var(--gold-500); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .75; stroke-dasharray: 1; stroke-dashoffset: 1; animation: impact-arc 1.6s var(--ease) .3s forwards; }
.impact-map__arcs path:nth-child(2) { animation-delay: .5s; }
.impact-map__arcs path:nth-child(3) { animation-delay: .7s; }
.impact-map__arcs path:nth-child(4) { animation-delay: .9s; }
@keyframes impact-arc { to { stroke-dashoffset: 0; } }
.impact-city { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.impact-city--seattle { --x: 10.44%; --y: 11.5%; --d: .4s; }
.impact-city--la { --x: 10.3%; --y: 60.28%; }
.impact-city--houston { --x: 52.89%; --y: 81.15%; --d: .8s; }
.impact-city--chicago { --x: 65.37%; --y: 37.49%; --d: 1.2s; }
.impact-city--newyork { --x: 89%; --y: 35.36%; --d: 1.6s; }
.impact-city i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 3px rgb(242 179 61 / .25), 0 0 18px 4px rgb(242 179 61 / .45); }
.impact-city i::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--gold-500); animation: impact-ping 2.4s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes impact-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.impact-city span { position: absolute; top: -10px; left: 14px; white-space: nowrap; font: 600 clamp(.75rem, .7rem + .3vw, .9375rem)/1.2 var(--font-sans); color: var(--white); text-shadow: 0 1px 8px rgb(6 22 49 / .9); }
.impact-city small { display: block; font-weight: 400; font-size: .75em; color: var(--gold-500); letter-spacing: .04em; }
.impact-city--left span { left: auto; right: 14px; text-align: right; }
/* Phones: Chicago and New York are close together, so their labels go below and above their dots. */
@media (max-width: 559px) {
  .impact-city--chicago span { top: 12px; right: auto; left: 0; transform: translateX(-50%); text-align: center; }
  .impact-city--newyork span { top: -30px; right: -6px; }
}
.impact-city--below span { top: 10px; }
@media (prefers-reduced-motion: reduce) { .impact-map__arcs path { animation: none; stroke-dashoffset: 0; } .impact-city i::after { display: none; } }

/* Homepage cities map (P1-10, round 3): the Impact map reused verbatim — same arcs-draw-in-once + infinite pin ping
   as the Impact report (the client rejected the earlier travelling-pulse version). The only homepage-specific change
   is WHEN the one-time arc draw runs: because this section is well below the fold, the draw is HELD until the figure
   scrolls into view (.reveal → .is-visible from the site's IntersectionObserver), so the draw is actually seen rather
   than finishing on page load. The ping (inherited from .impact-map) stays infinite. Draw is a transition on
   stroke-dashoffset (GPU-cheap, no JS loop), replacing the shared load-triggered @keyframes animation. */
.reach-map { width: 100%; }
/* Crisper dotted land: pin the mask to device pixels so the halftone dots don't blur when the card is scaled. */
.reach-map .impact-map__land { image-rendering: -webkit-optimize-contrast; }
/* Hold the arcs undrawn (no load-time @keyframes); draw them in once when the figure scrolls into view, staggered
   city to city like the Impact map's :nth-child delays. */
html:not(.no-js) .reach-map .impact-map__arcs path {
  animation: none; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease);
}
html:not(.no-js) .reach-map .impact-map__arcs path:nth-child(2) { transition-delay: .2s; }
html:not(.no-js) .reach-map .impact-map__arcs path:nth-child(3) { transition-delay: .4s; }
html:not(.no-js) .reach-map .impact-map__arcs path:nth-child(4) { transition-delay: .6s; }
html:not(.no-js) .reach-map.is-visible .impact-map__arcs path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  /* Hold still: arcs shown statically, no draw; pins shown but the radar ping ring removed. */
  .reach-map .impact-map__arcs path { transition: none; stroke-dashoffset: 0; }
  .reach-map .impact-city i::after { display: none; }
}

/* Standalone impact video (P1-9, lightweight): a wider, centred video than the old side-by-side split. */
/* Standalone impact video (P1-9, round 5): full-bleed player in a navy frame, with tighter whitespace than the old
   boxed-in version. The heading stays in the container; the stage is a full-width section child (sections carry no
   side padding), so it spans the screen without a 100vw hack that could cause horizontal scroll. */
.impact-feature { padding-block: clamp(40px, 5vw, 72px); }
.impact-feature .eyebrow { text-align: center; margin-bottom: clamp(20px, 2.6vw, 30px); }
/* Full-width stage on the page background (no mat); the player's own rounded frame is the container. */
.impact-feature__stage {
  padding-inline: var(--gutter);
}
.video--feature {
  max-width: 1600px; margin-inline: auto;
  border-radius: clamp(10px, 1.2vw, 16px);
  box-shadow: 0 30px 70px -24px rgb(6 22 49 / .65), 0 0 0 1px rgb(255 255 255 / .06);
}

/* Quotes */
.impact-quotes { display: grid; gap: 20px; margin-top: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.impact-quote { display: flex; flex-direction: column; margin: 0; padding: clamp(26px, 3.5vw, 36px); border-radius: 20px; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.impact-quote figcaption { order: -1; display: flex; align-items: center; gap: 16px; margin-bottom: 20px; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.impact-quote figcaption strong { display: block; color: var(--ink); font-size: 1.0625rem; }
.impact-quote figcaption img { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: center 20%; box-shadow: 0 2px 8px rgb(11 36 71 / .15); }
.impact-quote blockquote { position: relative; margin: 0; padding-top: 34px; font: 400 clamp(1.0625rem, 1rem + .35vw, 1.25rem)/1.6 var(--font-serif); color: var(--ink); }
.impact-quote blockquote::before { content: "\201C"; content: "\201C" / ""; position: absolute; top: -6px; left: -4px; font: 400 4.5rem/1 var(--font-serif); color: var(--gold-500); }

/* Closing band */
.impact-close { color: var(--on-dark); }
.impact-close__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .impact-close__grid { grid-template-columns: 1.2fr 1fr; } }
.impact-close h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); color: var(--white); }
.impact-close p { max-width: 34rem; }
.impact-close :focus-visible { outline-color: var(--sky-300); }
.impact-report-link { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold-500); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.impact-report-link::after { content: ""; display: inline-block; width: .6em; height: .6em; margin-left: .3em; vertical-align: .05em; background: var(--gold-500); -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .2s var(--ease); }
.impact-report-link:hover { color: var(--gold-500); text-decoration-thickness: 2px; }
.impact-report-link:hover::after { transform: translateX(4px); }
.impact-give { padding: clamp(26px, 3.5vw, 40px); border-radius: 20px; background: var(--white); box-shadow: 0 24px 60px rgb(0 0 0 / .3); color: var(--body); }
.impact-give h3 { margin: 0 0 10px; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); line-height: 1.15; color: var(--ink); }
.impact-give p { font-size: 1rem; margin-bottom: 1.4rem; color: var(--body); }
.impact-give :focus-visible { outline-color: var(--navy-700); }
.impact-give__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.impact-donate { box-shadow: 0 8px 24px rgb(242 179 61 / .28); }
.impact-sponsor { font-weight: 600; }


/* ---------- Short windows (e.g. Chrome with tabs + toolbar on top) ----------
   Hero sizes above scale with window WIDTH. On wide-but-short windows that pushes the end of the hero below the
   fold, so these rules also cap sizes by window HEIGHT (vh). Taller windows are unaffected. */
@media (min-width: 900px) and (max-height: 900px) {
  .hero--rotator { padding-top: clamp(24px, 4.5vh, 48px); }
  .hero--rotator h1 { font-size: clamp(2.4rem, 7.4vh, 4.6rem); margin-bottom: .3em; }
  .hero--rotator .lede { font-size: clamp(1.05rem, 2.3vh, 1.4rem); line-height: 1.55; }
  .hero--rotator .btn-row { margin-top: clamp(.9rem, 2vh, 1.75rem); }
  .hero--rotator .hero-status { margin-top: clamp(.8rem, 1.8vh, 1.5rem); }
  .hero--rotator .journey { height: clamp(80px, 13vh, 220px); margin-top: 0; }
  .page-hero__inner { min-height: 0; padding-block: clamp(20px, 3.5vh, 56px) clamp(40px, 7vh, 84px); }
  .page-hero h1 { font-size: clamp(2.25rem, 7.5vh, 4.75rem); }
  .page-hero__media { max-height: min(340px, 38vh); }
  .page-hero__media--art .apply-art { max-width: min(372px, 36vh); }
}
