/* =========================================================================
   Connections for Heroes — Design System
   Single stylesheet for the whole site.
   Sections: 1 Tokens · 2 Reset · 3 Typography · 4 Layout · 5 Buttons
             6 Header/Nav · 7 Hero · 8 Stats · 9 Cards · 10 Stories
             11 Forms · 12 Footer · 13 Utilities · 14 Motion/A11y
   ========================================================================= */

/* ---------- 1. TOKENS ---------------------------------------------------- */
:root {
  /* Core palette */
  --navy-900: #08182c;
  --navy-800: #0d2340;
  --navy-700: #143054;
  --navy-600: #1d4270;
  --navy-100: #e3e9f1;

  --red-600: #b3122b;   /* valor red — accents, alerts, small fills */
  --red-500: #c8102e;   /* primary CTA */
  --red-400: #e0344f;

  --gold-500: #c08a2e;  /* AA-safe gold on white */
  --gold-400: #d9a441;  /* highlights on dark */
  --gold-300: #f0c877;

  --ink-900: #14181d;   /* body text */
  --ink-700: #38414d;
  --ink-500: #5b6675;   /* muted text (AA on white) */
  --ink-300: #a8b1bd;
  --line:    #dfe4ea;

  --paper:   #ffffff;
  --paper-2: #f5f7fa;   /* alternating section band */
  --paper-3: #eef1f6;

  /* Type */
  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3:  clamp(1.9rem, 1.55rem + 1.7vw, 2.8rem);
  --step-4:  clamp(2.4rem, 1.8rem + 3vw, 4rem);
  --step-5:  clamp(2.9rem, 1.9rem + 5vw, 5.6rem);

  /* Space + shape */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-1: 0 1px 2px rgba(8,24,44,.06), 0 2px 8px rgba(8,24,44,.06);
  --shadow-2: 0 4px 12px rgba(8,24,44,.09), 0 12px 32px rgba(8,24,44,.10);
  --wrap: 1200px;
  --wrap-narrow: 760px;
  --header-h: 76px;
}

/* ---------- 2. RESET ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-600); }
button { font: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }

/* Visible focus for every interactive element (WCAG 2.4.7) */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-900); color: #fff; padding: .75rem 1.25rem;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- 3. TYPOGRAPHY ------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 var(--sp-4);
  color: var(--navy-900);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 var(--sp-4); max-width: 68ch; }
.lead { font-size: var(--step-1); color: var(--ink-700); line-height: 1.55; }

.eyebrow {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red-600);
  margin: 0 0 var(--sp-3);
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--gold-500); }
.on-dark .eyebrow { color: var(--gold-300); }
.eyebrow.is-centered { justify-content: center; }

.section-head { max-width: 780px; margin-bottom: var(--sp-7); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head.is-centered p { margin-inline: auto; }

/* ---------- 4. LAYOUT ---------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: var(--sp-9) 0; }
.section--tight { padding: var(--sp-8) 0; }
.section--alt { background: var(--paper-2); }
.section--navy { background: var(--navy-900); }
.section--navy-grad {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 60%, #1a3a63 100%);
}
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p, .on-dark li { color: #d6dfea; }
/* Buttons carry their own colours. Without :not(.btn) this rule outranks
   .btn--gold / .btn--ghost and repaints every button inside a dark section
   pale gold — which puts gold-300 text on a gold-400 button at 1.4:1. */
.on-dark a:not(.btn) { color: var(--gold-300); }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
/* auto-fill keeps empty tracks, so a short roster (the advisory board's one card)
   stays card-width instead of stretching across the row. */
.grid-4--fill { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
/* A true two-up. The grid-N classes above are auto-fit, so .grid-2 becomes three
   or four columns at desktop width — use this when exactly two per row is the
   point, e.g. cards whose headings are full sentences. */
.grid-2up { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-2up { grid-template-columns: repeat(2, 1fr); } }
.split { display: grid; gap: var(--sp-7); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr .85fr; } }
.split--top { align-items: start; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-2); width: 100%; }

/* Provenance caption under an AI-generated image. Temporary: when a real
   photograph replaces an image, delete its <p class="img-note"> with it, and
   delete these rules once the last one is gone.
   --ink-500 is the muted grey measured for AA on white and on --paper-2, which
   is every surface these captions sit on. Do not lighten it. */
.img-note {
  font-size: .78rem; line-height: 1.45; font-style: italic;
  color: var(--ink-500); margin: .6rem 0 0; max-width: 60ch;
}
/* Inside a card the caption sits between the media box and .card__body, so it
   has to supply the body's own side padding or it runs to the card edge. */
.card > .img-note { margin: 0; padding: .6rem var(--sp-5) 0; }

/* ---------- 5. BUTTONS --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .85rem 1.6rem; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--red-500); color: #fff; }
.btn--primary:hover { background: var(--red-600); color: #fff; }
.btn--gold { background: var(--gold-400); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-300); color: var(--navy-900); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--sm { font-size: .92rem; padding: .55rem 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-row.is-centered { justify-content: center; }

.textlink {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--red-600); text-decoration: none;
  display: inline-flex; align-items: center; gap: .4rem;
}
.textlink::after { content: "→"; transition: transform .18s ease; }
.textlink:hover::after { transform: translateX(4px); }
.on-dark .textlink { color: var(--gold-300); }

/* ---------- 6. HEADER / NAV --------------------------------------------- */
.utility-bar {
  background: var(--navy-900); color: #cfd9e6; font-size: .85rem;
  padding: .4rem 0;
}
.utility-bar .wrap { display: flex; justify-content: flex-end; gap: 1.25rem; align-items: center; }
.utility-bar a { color: #cfd9e6; text-decoration: none; }
.utility-bar a:hover { color: #fff; text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: var(--sp-4); flex-wrap: nowrap;
}
.site-header .header-cta { flex: none; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-width: 0; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 3.2vw, 1.28rem);
  text-transform: uppercase; letter-spacing: .04em; color: var(--navy-900);
}
.brand__name .amp { color: var(--red-600); }
.brand__tag { font-size: .7rem; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-500); }

.nav { display: none; }
@media (min-width: 1040px) { .nav { display: flex; align-items: center; gap: .25rem; } }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--navy-800);
  text-decoration: none; padding: .6rem .55rem; border-radius: var(--radius);
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--red-600); background: var(--paper-2); }
.nav__link[aria-current="page"] { color: var(--red-600); box-shadow: inset 0 -3px 0 var(--red-500); }
.nav__panel {
  position: absolute; top: calc(100% + .35rem); left: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2); padding: .5rem; display: none;
}
.nav__panel[data-open="true"] { display: block; }
.nav__panel a {
  display: block; padding: .55rem .75rem; border-radius: var(--radius);
  text-decoration: none; color: var(--navy-800); font-weight: 600; font-size: .98rem;
}
.nav__panel a small { display: block; font-weight: 400; color: var(--ink-500); font-size: .82rem; }
.nav__panel a:hover { background: var(--paper-2); color: var(--red-600); }

.header-cta { display: flex; align-items: center; gap: .5rem; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem; background: none;
  border: 2px solid var(--navy-800); border-radius: var(--radius);
  padding: .5rem .8rem; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--navy-800); cursor: pointer;
}
@media (min-width: 1040px) { .nav-toggle { display: none; } }
@media (max-width: 620px) {
  .header-cta .btn--donate-header { display: none; }
  .brand__tag { display: none; }
  .brand__mark { width: 36px; height: 36px; }
  .site-header .wrap { gap: .5rem; }
}
@media (max-width: 460px) {
  .header-cta .btn--outline { display: none; }
  .nav-toggle { padding: .5rem .65rem; }
}

.mobile-nav {
  display: none; border-top: 1px solid var(--line); background: #fff;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-nav[data-open="true"] { display: block; }
@media (min-width: 1040px) { .mobile-nav { display: none !important; } }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary,
.mobile-nav > .wrap > a {
  display: block; padding: .95rem 0; font-family: var(--font-display);
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--navy-900); cursor: pointer; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-nav details a { display: block; padding: .55rem 0 .55rem 1rem; text-decoration: none; color: var(--ink-700); }
.mobile-nav .btn { margin: 1rem 0; }

/* ---------- 7. HERO ------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 820px);
  display: grid; align-items: center;
  background: var(--navy-900);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--navy-900); }
.hero__media video, .hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
/* Poster sits behind both buffers; buffers cross-fade over it. */
.hero__poster { position: absolute; inset: 0; }
.hero__buffer {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .85s ease;
  will-change: opacity;
}
.hero__buffer.is-active { opacity: 1; }
/* The incoming clip fades in above the outgoing one; see goTo() in site.js. */
.hero__buffer.is-front { z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__buffer { display: none; }
}
/* Dual-layer scrim: vertical for legibility + directional for depth */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,17,31,.72) 0%, rgba(6,17,31,.42) 38%, rgba(6,17,31,.80) 100%),
    linear-gradient(90deg, rgba(6,17,31,.70) 0%, rgba(6,17,31,.15) 65%);
}
.hero__inner { padding: calc(var(--sp-9) + 1rem) 0 var(--sp-9); max-width: 760px; }
.hero h1 {
  color: #fff; font-size: var(--step-5); text-transform: uppercase;
  letter-spacing: -0.01em; text-shadow: 0 2px 24px rgba(0,0,0,.45);
  margin-bottom: var(--sp-4);
}
.hero h1 em { font-style: normal; color: var(--gold-300); display: block; }
.hero__sub {
  color: #e7edf5; font-size: var(--step-1); max-width: 54ch;
  text-shadow: 0 1px 12px rgba(0,0,0,.5); margin-bottom: var(--sp-6);
}
.hero__ribbon {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(200,16,46,.92); color: #fff;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; font-size: .85rem; padding: .4rem .9rem;
  border-radius: 3px; margin-bottom: var(--sp-5);
}
/* The stat band overlaps the bottom of the hero by 3.5rem (.stat-band--offset).
   The hero is an isolated stacking context, so z-index cannot lift these
   controls above it — they have to clear the overlap geometrically or they
   become unclickable. Keep this value above the stat band's negative margin. */
.hero__scenes {
  position: absolute; bottom: 5rem; right: 0; left: 0; z-index: 2;
}
.hero__scenes .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.scene-dots { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
/* The button is a 22px-tall touch target; the visible bar is a pseudo-element,
   so seven dots stay tappable on a phone without looking heavy. */
.scene-dots button {
  width: clamp(18px, 4vw, 30px); height: 22px;
  border: 0; padding: 0; background: none; cursor: pointer;
  display: grid; align-content: center;
}
.scene-dots button::before {
  content: ""; display: block; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.35); transition: background-color .2s ease;
}
.scene-dots button[aria-pressed="true"]::before { background: var(--gold-400); }
.hero__videoctl {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(8,24,44,.6); border: 1px solid rgba(255,255,255,.35);
  color: #fff; border-radius: 999px; padding: .4rem .85rem; cursor: pointer;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
}
.hero__videoctl:hover { background: rgba(8,24,44,.85); }

/* Compact page hero for interior pages */
.page-hero {
  position: relative; isolation: isolate; background: var(--navy-900);
  padding: var(--sp-8) 0 var(--sp-7); overflow: hidden;
}
/* The hero art is a real <img>, not a custom property holding a url().
   Chromium resolves a relative url() inside var() against the stylesheet that
   *references* the variable — site.css — so `assets/img/x.svg` declared inline
   on the page resolved to assets/css/assets/img/x.svg and 404'd on every
   interior page. An <img src> always resolves against the document, which also
   keeps working from file:// previews. */
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1; opacity: .30;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(8,24,44,.92) 0%, rgba(8,24,44,.62) 100%);
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #d6dfea; font-size: var(--step-1); max-width: 60ch; }

.breadcrumbs { font-size: .85rem; color: #b9c6d6; margin-bottom: var(--sp-4); }
.breadcrumbs a { color: #b9c6d6; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--gold-300); }

/* ---------- 8. STATS ----------------------------------------------------- */
.stat-band { background: var(--navy-900); color: #fff; padding: var(--sp-7) 0; }
.stat-band--offset { margin-top: -3.5rem; position: relative; z-index: 5;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.stats { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.stat__num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem);
  line-height: 1; color: var(--gold-300); display: block; letter-spacing: -0.01em;
}
.stat__label {
  display: block; margin-top: .5rem; font-size: .95rem; letter-spacing: .06em;
  text-transform: uppercase; color: #cfdaea; font-family: var(--font-display); font-weight: 600;
}
.stat__num.is-pending { color: #7f93ab; letter-spacing: .05em; }
.is-pending-cell { color: var(--ink-500); font-variant-numeric: tabular-nums; }
.pending-note {
  border: 1px dashed var(--ink-300); border-radius: var(--radius);
  padding: .9rem 1.1rem; color: var(--ink-500); font-size: .95rem; background: var(--paper-2);
}
.on-dark .pending-note { border-color: rgba(255,255,255,.28); color: #b9c6d6; background: rgba(255,255,255,.04); }
.stat__note { display: block; font-size: .8rem; color: #9fb0c5; margin-top: .2rem; text-transform: none; letter-spacing: 0; }

/* ---------- 9. CARDS ----------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--navy-100); }
.card__media { position: relative; aspect-ratio: 16 / 10; background: var(--paper-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__tag {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--navy-900); color: var(--gold-300);
  font-family: var(--font-display); font-weight: 700; font-size: .75rem;
  letter-spacing: .12em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 3px;
}
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: var(--step-1); margin-bottom: .6rem; }
.card__body p { font-size: .98rem; color: var(--ink-700); flex: 1; }
.card__body .textlink { margin-top: var(--sp-3); }
.card--icon { text-align: left; padding: var(--sp-6); }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--navy-100); display: grid; place-items: center;
  margin-bottom: var(--sp-4); color: var(--navy-700);
}
.card__icon svg { width: 28px; height: 28px; }

/* Full-width intake CTA that follows the homepage program grid. Kept out of
   the grid so six program cards form a clean 2x3 instead of stranding a
   seventh tile alone on a third row. */
.intake-band {
  margin-top: var(--sp-6);
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-7);
  display: grid; gap: var(--sp-5); align-items: center;
}
@media (min-width: 880px) { .intake-band { grid-template-columns: 1.5fr auto; } }
.intake-band h3 { margin-bottom: .5rem; font-size: var(--step-2); }
.intake-band p { margin-bottom: 0; }

.pathway {
  display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  box-shadow: var(--shadow-2);
}
.pathway__col {
  padding: var(--sp-6); display: flex; flex-direction: column; gap: .5rem;
  background: var(--navy-800); color: #fff;
  border-right: 1px solid rgba(255,255,255,.12);
}
.pathway__col:last-child { border-right: 0; }
.pathway__col:nth-child(2) { background: var(--navy-700); }
.pathway__col:nth-child(3) { background: var(--navy-600); }
.pathway__col h3 { color: #fff; font-size: var(--step-1); margin-bottom: .25rem; }
.pathway__col p { color: #d3ddea; font-size: .96rem; flex: 1; }
.pathway__col .btn { margin-top: var(--sp-3); align-self: flex-start; }

/* ---------- 10. STORIES / QUOTES ---------------------------------------- */
.quote {
  background: #fff; border-left: 5px solid var(--red-500);
  padding: var(--sp-6); border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-1); height: 100%;
  display: flex; flex-direction: column;
}
.quote blockquote { margin: 0 0 var(--sp-4); font-size: 1.08rem; color: var(--ink-900); flex: 1; }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after  { content: "\201D"; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.quote__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy-900); }
.quote__role { font-size: .85rem; color: var(--ink-500); }

.story-feature {
  display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-2); background: var(--navy-900);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .story-feature { grid-template-columns: 1.05fr .95fr; } }
.story-feature__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.story-feature__body { padding: var(--sp-7); align-self: center; }

/* ---------- 11. FORMS ---------------------------------------------------- */
.field { margin-bottom: var(--sp-4); }
.field label, .fieldset-legend {
  display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; color: var(--ink-900);
}
.field .hint { font-size: .85rem; color: var(--ink-500); margin: .2rem 0 .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; font: inherit; font-size: 1rem;
  border: 1px solid var(--ink-300); border-radius: var(--radius); background: #fff; color: var(--ink-900);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-600); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--red-600); background: #fff5f6;
}
.field .error { color: var(--red-600); font-size: .86rem; margin-top: .3rem; display: none; font-weight: 600; }
.field .error[data-show="true"] { display: block; }
.req { color: var(--red-600); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); margin: 0 0 var(--sp-5); }
legend { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); padding: 0 .5rem; color: var(--navy-900); }
.checkline { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; }
.checkline input { width: auto; margin-top: .3rem; flex: none; }
.checkline label { margin: 0; font-weight: 400; font-size: .96rem; }
.form-note { font-size: .88rem; color: var(--ink-500); }
.form-status {
  padding: var(--sp-4); border-radius: var(--radius); margin-bottom: var(--sp-4);
  display: none; font-weight: 600;
}
.form-status[data-show="true"] { display: block; }
.form-status--ok { background: #e8f4ec; border-left: 4px solid #1d7a45; color: #0f4c2a; }
.form-status--err { background: #fdecee; border-left: 4px solid var(--red-600); color: #7d0c1e; }

/* Donation widget */
.donate-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  padding: var(--sp-6); border-top: 5px solid var(--red-500);
}
.donate-toggle { display: flex; background: var(--paper-3); border-radius: 999px; padding: 4px; margin-bottom: var(--sp-5); }
.donate-toggle button {
  flex: 1; border: 0; background: none; padding: .6rem 1rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-700); cursor: pointer;
}
.donate-toggle button[aria-pressed="true"] { background: var(--navy-800); color: #fff; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: var(--sp-4); }
.amount-grid button {
  border: 2px solid var(--line); background: #fff; border-radius: var(--radius);
  padding: .8rem .4rem; cursor: pointer; font-family: var(--font-display);
  font-weight: 700; font-size: 1.25rem; color: var(--navy-900);
}
.amount-grid button:hover { border-color: var(--navy-600); }
/* Monthly-only tiers are toggled with the `hidden` attribute; grid items need
   this explicitly or the UA default loses to the rule above. */
.amount-grid button[hidden] { display: none; }
.amount-grid button[aria-pressed="true"] { border-color: var(--red-500); background: #fff4f5; color: var(--red-600); }
.impact-line {
  background: var(--paper-2); border-radius: var(--radius); padding: .8rem 1rem;
  font-size: .95rem; color: var(--ink-700); margin-bottom: var(--sp-4);
  border-left: 3px solid var(--gold-500); min-height: 3.2rem;
}
.impact-line strong { color: var(--navy-900); }

/* Newsletter */
.newsletter-form { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 560px; }
.newsletter-form input { flex: 1 1 240px; padding: .8rem .9rem; border-radius: var(--radius); border: 1px solid transparent; font: inherit; }

/* ---------- 12. FOOTER --------------------------------------------------- */
.footer-cta { background: var(--red-500); color: #fff; padding: var(--sp-7) 0; }
.footer-cta .wrap { display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: center; justify-content: space-between; }
.footer-cta h2 { color: #fff; margin: 0 0 .3rem; font-size: var(--step-2); }
.footer-cta p { color: #ffe4e8; margin: 0; }

.site-footer { background: var(--navy-900); color: #b9c6d6; padding: var(--sp-8) 0 var(--sp-5); font-size: .95rem; }
.site-footer h3 {
  color: #fff; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--sp-4);
}
.site-footer a { color: #b9c6d6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__tag { color: #8b9cb1; }
.social-row { display: flex; gap: .6rem; margin-top: var(--sp-4); }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; color: #fff;
}
.social-row a:hover { background: #fff; color: var(--navy-900); }
.social-row svg { width: 18px; height: 18px; fill: currentColor; }
.trust-row { display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: center; margin-top: var(--sp-6); }
.trust-badge {
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius);
  padding: .6rem .9rem; font-size: .8rem; color: #cfdaea; line-height: 1.3;
}
.trust-badge strong { display: block; color: #fff; font-family: var(--font-display); letter-spacing: .05em; text-transform: uppercase; }
.legal-bar {
  border-top: 1px solid rgba(255,255,255,.15); margin-top: var(--sp-6); padding-top: var(--sp-4);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; color: #8b9cb1;
}
.legal-bar nav { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- 13. UTILITIES ------------------------------------------------ */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.list-check { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: grid; gap: .7rem; }
.list-check li { position: relative; padding-left: 1.7rem; max-width: 68ch; }
.cost-varies { color: var(--red-600); font-weight: 700; margin-right: .1rem; }

.list-check li::before {
  content: "✔"; position: absolute; left: 0; top: 0;
  color: var(--gold-500); font-weight: 700; line-height: 1.65;
}
.on-dark .list-check li::before { color: var(--gold-300); }

.demo-bar {
  background: var(--gold-300); color: #3a2a06; font-size: .85rem; padding: .5rem 0;
  text-align: center; font-weight: 600;
}
.demo-bar button {
  background: none; border: 1px solid rgba(58,42,6,.4); border-radius: 3px;
  margin-left: .75rem; padding: .1rem .5rem; cursor: pointer; font-size: .78rem;
}

.event-row {
  display: grid; gap: var(--sp-4); align-items: center; padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--line); grid-template-columns: 1fr;
}
@media (min-width: 760px) { .event-row { grid-template-columns: 96px 1fr auto; } }
.event-date {
  background: var(--navy-900); color: #fff; border-radius: var(--radius);
  text-align: center; padding: .6rem .4rem; width: 96px;
}
.event-date .m { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--gold-300); }
.event-date .d { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; font-weight: 700; }
.event-row h3 { margin-bottom: .25rem; font-size: var(--step-1); }
.event-row p { margin: 0; font-size: .95rem; color: var(--ink-500); }

.table-wrap { overflow-x: auto; }
table.finance { width: 100%; border-collapse: collapse; font-size: .97rem; }
table.finance caption { text-align: left; font-size: .9rem; color: var(--ink-500); padding-bottom: .6rem; }
table.finance th, table.finance td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-align: left; }
table.finance th { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; color: var(--navy-900); }
table.finance td:last-child, table.finance th:last-child { text-align: right; }

.meter { background: var(--paper-3); border-radius: 999px; height: 12px; overflow: hidden; }
.meter > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); }

/* Shared six-step process list. Used identically on Our Programs and on
   Home Renovations so the process reads the same wherever it appears. */
.process-list { display: grid; gap: 1.35rem; padding-left: 1.4rem; margin: 0 0 var(--sp-5); }
.process-list > li { padding-left: .35rem; }
.process-list > li::marker {
  font-family: var(--font-display); font-weight: 700; color: var(--red-600); font-size: 1.15em;
}
.process-list > li > strong {
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .01em;
  color: var(--navy-900); display: block; margin-bottom: .15rem;
}
.process-list ul { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .5rem; }
.process-list ul li { position: relative; padding-left: 1.1rem; color: var(--ink-700); font-size: .97rem; }
.process-list ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500);
}

/* Awaiting-content placeholder. Keeps a section's shape and its promise
   visible while the real material is still being gathered. */
.awaiting {
  border: 2px dashed #7f8a99; border-radius: var(--radius-lg);   /* 3.26:1 on paper-2 */
  padding: var(--sp-7) var(--sp-6); text-align: center; background: var(--paper-2);
}
.awaiting__tag {
  display: inline-block; background: var(--navy-100); color: var(--navy-700);
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; padding: .3rem .8rem;
  border-radius: 3px; margin-bottom: var(--sp-4);
}
/* Cards are column flex containers, so a default-stretch inline-block chip
   would span the full card width. Pin it to the start instead. */
.card .awaiting__tag { align-self: flex-start; margin-bottom: 0; }

/* Two-column document list. The single-column .list-check looks stranded across
   a 1200px wrap, and these sections are deliberately full width.
   NOT `columns: 2` — .list-check is already `display: grid`, and CSS
   multi-column has no effect on a grid container. Extra columns on the existing
   grid is the fix, and it also keeps reading order left-to-right. The 68ch cap
   on .list-check li has to be relaxed or each item stays narrow. */
@media (min-width: 760px) {
  .list-check--2col { grid-template-columns: 1fr 1fr; column-gap: var(--sp-8); }
  .list-check--2col li { max-width: 54ch; }
}

/* Sitewide tax-status notice in the footer. Counsel-required, so it has to be
   legible rather than buried: 1px gold rule above it, #c9d4e2 body text on
   navy-900 at 8.9:1, and it sits above the copyright line where people look
   for legal footnotes. Drops to full width on narrow screens. */
.tax-notice {
  border-top: 1px solid rgba(217,164,65,.45);
  padding-top: var(--sp-5);
  margin-top: var(--sp-6);
}
.tax-notice p {
  margin: 0; max-width: 95ch;
  font-size: .86rem; line-height: 1.6; color: #c9d4e2;
}
.tax-notice strong {
  display: block; margin-bottom: .3rem;
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  font-size: .8rem; color: var(--gold-300);
}
.tax-notice a { color: var(--gold-300); }
.tax-notice a:hover { color: #fff; }

.person-role {
  font-weight: 700; color: var(--navy-700); margin-bottom: .5rem;
  font-size: .95rem;
}

/* A held slot — reads as deliberately open rather than missing.
   ink-500 on white is 4.6:1, so it stays legible as a heading. The .on-dark
   heading rules outrank this one, hence the explicit dark-surface override. */
.is-pending-name { color: var(--ink-500); font-style: italic; }
.on-dark .is-pending-name, .on-dark h2.is-pending-name { color: #b9c6d6; }

/* Document download lists (volunteer handbook, release forms) */
.doc-links { list-style: none; margin: auto 0 0; padding: 0; }
.doc-links li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem;
  padding: .6rem 0; border-top: 1px solid var(--line);
}
.doc-links li:first-child { border-top: 0; padding-top: 1rem; }
.doc-links a {
  font-family: var(--font-display); font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; font-size: .92rem; color: var(--red-600);
}
.doc-links a::after { content: " ↓"; }
/* The on-screen form opens a page rather than downloading a file, so it gets an
   arrow that points onward instead of down. */
.doc-links a:not([download])::after { content: " →"; }
.doc-meta { font-size: .8rem; color: var(--ink-500); }
.awaiting h3 { font-size: var(--step-1); margin-bottom: .6rem; }
.awaiting p { color: var(--ink-500); margin-inline: auto; max-width: 56ch; }
.awaiting p:last-child { margin-bottom: 0; }
.on-dark .awaiting {
  border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05);
}
.on-dark .awaiting__tag { background: rgba(255,255,255,.12); color: var(--gold-300); }
.on-dark .awaiting p { color: #b9c6d6; }

.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; background: #fff;
}
.faq summary {
  cursor: pointer; padding: 1rem 1.1rem; font-family: var(--font-display);
  font-weight: 700; font-size: 1.12rem; color: var(--navy-900); list-style-position: inside;
}
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details > div { padding: 1rem 1.1rem; }
.faq details > div p:last-child { margin-bottom: 0; }

.badge-note {
  display: inline-block; background: var(--navy-100); color: var(--navy-700);
  border-radius: 999px; padding: .25rem .8rem; font-size: .82rem; font-weight: 600;
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 14. MOTION / A11Y ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .utility-bar, .mobile-nav, .footer-cta, .hero__media, .demo-bar { display: none !important; }
  body { color: #000; }
}

/* Long-form policy text (privacy.html). Headings need air above them or the
   sections run together; global headings carry only a bottom margin. */
.legal-doc h2 { font-size: var(--step-2); margin-top: var(--sp-7); }
.legal-doc h3 { font-size: var(--step-1); margin-top: var(--sp-6); }
.legal-doc .badge-note + h2 { margin-top: var(--sp-5); }
