/* ==========================================================================
   Casting for Care
   Token set authored for this brand in the house structure
   (--c- / --sp- / --r- / --t- / --fw- / --ff- / --mo- / --sh- / --ly-).
   Palette sampled from the charity's own lockup: the navy of the script
   wordmark and the gold of the boat hull.
   ========================================================================== */

:root {
  /* ---- color: light ---------------------------------------------------- */
  --c-bg: #F7F3EC;            --c-surface: #FDFBF7;      --c-surface-alt: #EDE7DC;
  --c-border: #DCD4C6;        --c-border-strong: #8A7F6B;
  --c-ink: #16202B;           --c-ink-muted: #4E5C6B;    --c-ink-faint: #6F7B8A;
  --c-primary: #1C3550;       --c-primary-hover: #142639;
  --c-primary-ink: #FDFBF7;   --c-primary-wash: #E3EAF1;
  --c-accent: #F0C826;        --c-accent-hover: #FFD84A;
  --c-accent-ink: #16202B;    --c-accent-wash: #F8EBC8;
  --c-success: #1F6B45;       --c-warning: #8A5309;      --c-danger: #A81E19;  --c-info: #1C3550;

  /* Elevation aliases. In light mode a card is LIGHTER than its band; in dark
     mode the surface ladder inverts, so the same two roles trade places. The
     components read these, which keeps web.md 5.2 true in both modes. */
  --c-band-alt: var(--c-surface-alt);
  --c-card: var(--c-surface);
  --c-card-border: var(--c-border);

  /* the deep band: navy in BOTH modes, so it needs roles that do not flip */
  --c-deep: #1C3550;          --c-deep-ink: #F1EEE8;
  --c-deep-muted: #B4C0CE;    --c-deep-border: #33506E;

  /* channel forms, for tints and scrims. No new colour is introduced by these:
     each one is the channel triplet of the role directly above it. */
  --c-deep-rgb: 28 53 80;
  --c-deep-ink-rgb: 241 238 232;
  --c-shadow-rgb: 22 32 43;

  /* ---- space ----------------------------------------------------------- */
  --sp-0: 0;    --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  /* ---- radius ---------------------------------------------------------- */
  --r-none: 0; --r-sm: 4px; --r-md: 6px; --r-lg: 10px; --r-xl: 16px; --r-full: 9999px;

  /* ---- type ------------------------------------------------------------ */
  --ff-display: Fraunces, ui-serif, Georgia, "Times New Roman", serif;
  --ff-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --t-micro-size: 11px;  --t-micro-line: 1.4;  --t-micro-track: 0.08em;
  --t-caption-size: 13px;--t-caption-line: 1.5;--t-caption-track: 0;
  --t-body-size: 16px;   --t-body-line: 1.6;   --t-body-track: 0;
  --t-lead-size: 19px;   --t-lead-line: 1.55;  --t-lead-track: -0.005em;
  --t-h3-size: 22px;     --t-h3-line: 1.35;    --t-h3-track: -0.01em;
  --t-h2-size: 30px;     --t-h2-line: 1.25;    --t-h2-track: -0.015em;
  --t-h1-size: 44px;     --t-h1-line: 1.12;    --t-h1-track: -0.02em;
  --t-display-size: 68px;--t-display-line: 1.02;--t-display-track: -0.03em;

  --fw-light: 300; --fw-regular: 400; --fw-medium: 500;
  --fw-semibold: 600; --fw-bold: 700; --fw-black: 900;

  /* ---- motion ---------------------------------------------------------- */
  --mo-instant: 100ms cubic-bezier(0.2, 0, 0, 1);
  --mo-fast:    160ms cubic-bezier(0.2, 0, 0, 1);
  --mo-base:    240ms cubic-bezier(0.2, 0, 0, 1);
  --mo-slow:    420ms cubic-bezier(0.16, 1, 0.3, 1);
  --mo-stagger: 60ms;

  /* ---- shadow ---------------------------------------------------------- */
  --sh-sm: 0 1px 2px rgb(var(--c-shadow-rgb) / 0.06);
  --sh-md: 0 2px 8px rgb(var(--c-shadow-rgb) / 0.08);
  --sh-lg: 0 12px 32px -8px rgb(var(--c-shadow-rgb) / 0.18);

  /* ---- layout ---------------------------------------------------------- */
  --ly-prose: 58ch;        --ly-content: 1200px;
  --ly-topnav: 76px;
  --ly-touch: 44px;        --ly-input-font: 16px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-bg: #0C1219;          --c-surface: #131C26;     --c-surface-alt: #1B2733;
    --c-border: #28343F;      --c-border-strong: #67788A;
    --c-ink: #E9EAE5;         --c-ink-muted: #A3ADB7;   --c-ink-faint: #6E7A86;
    --c-primary: #8FB3D4;     --c-primary-hover: #A9C6E0;
    --c-primary-ink: #0C1219; --c-primary-wash: #16232F;
    --c-accent: #F1CB3D;      --c-accent-hover: #F7DA6B;
    --c-accent-ink: #0C1219;  --c-accent-wash: #2A2211;
    --c-success: #5CC48E;     --c-warning: #E0A94A;     --c-danger: #F08079; --c-info: #8FB3D4;

    --c-band-alt: var(--c-surface);
    --c-card: var(--c-surface-alt);
    --c-card-border: var(--c-border-strong);

    --c-deep: #16222F;        --c-deep-ink: #E9EAE5;
    --c-deep-muted: #9CA9B6;  --c-deep-border: #2F3F4F;

    --c-deep-rgb: 22 34 47;
    --c-deep-ink-rgb: 233 234 229;
    --c-shadow-rgb: 0 0 0;

    --sh-sm: 0 1px 2px rgb(var(--c-shadow-rgb) / 0.40);
    --sh-md: 0 2px 8px rgb(var(--c-shadow-rgb) / 0.48);
    --sh-lg: 0 12px 32px -8px rgb(var(--c-shadow-rgb) / 0.60);
  }
}

/* manual toggle wins over the OS preference */
[data-theme="dark"] {
  --c-bg: #0C1219;          --c-surface: #131C26;     --c-surface-alt: #1B2733;
  --c-border: #28343F;      --c-border-strong: #67788A;
  --c-ink: #E9EAE5;         --c-ink-muted: #A3ADB7;   --c-ink-faint: #6E7A86;
  --c-primary: #8FB3D4;     --c-primary-hover: #A9C6E0;
  --c-primary-ink: #0C1219; --c-primary-wash: #16232F;
  --c-accent: #F1CB3D;      --c-accent-hover: #F7DA6B;
  --c-accent-ink: #0C1219;  --c-accent-wash: #2A2211;
  --c-success: #5CC48E;     --c-warning: #E0A94A;     --c-danger: #F08079; --c-info: #8FB3D4;

  --c-band-alt: var(--c-surface);
  --c-card: var(--c-surface-alt);
  --c-card-border: var(--c-border-strong);

  --c-deep: #16222F;        --c-deep-ink: #E9EAE5;
  --c-deep-muted: #9CA9B6;  --c-deep-border: #2F3F4F;

  --c-deep-rgb: 22 34 47;
  --c-deep-ink-rgb: 233 234 229;
  --c-shadow-rgb: 0 0 0;

  --sh-sm: 0 1px 2px rgb(var(--c-shadow-rgb) / 0.40);
  --sh-md: 0 2px 8px rgb(var(--c-shadow-rgb) / 0.48);
  --sh-lg: 0 12px 32px -8px rgb(var(--c-shadow-rgb) / 0.60);
}

/* type steps down on narrow viewports; the ladder keeps its shape */
@media (max-width: 899px) {
  :root {
    --t-display-size: 46px; --t-h1-size: 34px; --t-h2-size: 26px;
    --t-h3-size: 20px;      --t-lead-size: 18px;
    --ly-topnav: 64px;
  }
}
@media (max-width: 639px) {
  :root {
    --t-display-size: 36px; --t-h1-size: 28px; --t-h2-size: 23px;
    --t-lead-size: 17px;
  }
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--ff-body);
  font-size: var(--t-body-size);
  line-height: var(--t-body-line);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-optical-sizing: auto;
  font-weight: var(--fw-semibold);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

:where(button, [role="button"], a, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* on the navy bands, and over the hero's navy scrim, a navy ring would vanish */
.band--deep :where(button, a, summary):focus-visible,
.site-nav :where(button, a):focus-visible,
.hero :where(button, a):focus-visible {
  outline-color: var(--c-accent);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--sp-4); top: var(--sp-2);
  z-index: 60;
  transform: translateY(-200%);
  background: var(--c-surface);
  color: var(--c-ink);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--t-caption-size);
  font-weight: var(--fw-medium);
  text-decoration: none;
}
.skip-link:focus-visible { transform: translateY(0); }

/* ==========================================================================
   Shared editorial primitives
   ========================================================================== */

.shell {
  width: 100%;
  max-width: var(--ly-content);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
@media (min-width: 900px) { .shell { padding-inline: var(--sp-7); } }

.band { padding-block: var(--sp-9); }
@media (max-width: 899px) { .band { padding-block: var(--sp-8); } }

.band--alt  { background: var(--c-band-alt); }
.band--deep { background: var(--c-deep); color: var(--c-deep-ink); }
.band--warm { background: var(--c-accent-wash); }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  line-height: var(--t-micro-line);
  letter-spacing: var(--t-micro-track);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin: 0 0 var(--sp-4);
}
.band--deep .eyebrow { color: var(--c-deep-muted); }
/* the hero eyebrow runs the full measure on narrow screens, so it reaches the
   bright side of the photo; muted does not clear 4.5:1 out there */
.hero .eyebrow { color: var(--c-deep-ink); }

.h2 {
  font-size: var(--t-h2-size);
  line-height: var(--t-h2-line);
  letter-spacing: var(--t-h2-track);
}

.lede {
  font-size: var(--t-lead-size);
  line-height: var(--t-lead-line);
  letter-spacing: var(--t-lead-track);
  color: var(--c-ink-muted);
  max-width: 54ch;
}
.band--deep .lede { color: var(--c-deep-muted); }

.prose { max-width: var(--ly-prose); }
.prose > p + p { margin-top: var(--sp-5); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--ly-touch);
  padding: 0 var(--sp-5);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--ff-body);
  font-size: var(--t-caption-size);
  font-weight: var(--fw-semibold);
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--mo-fast), border-color var(--mo-fast),
              color var(--mo-fast), transform var(--mo-instant);
}
.btn:active { transform: translateY(1px); }

.btn--gold {
  background: var(--c-accent);
  color: var(--c-accent-ink);
  border-color: var(--c-accent-ink);
}
.btn--gold:hover { background: var(--c-accent-hover); }

.btn--ghost {
  background: transparent;
  color: var(--c-deep-ink);
  border-color: rgb(var(--c-deep-ink-rgb) / 0.6);
}
.btn--ghost:hover {
  background: rgb(var(--c-deep-ink-rgb) / 0.12);
  border-color: var(--c-deep-ink);
}

.btn--outline {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-border-strong);
}
.btn--outline:hover { background: var(--c-surface); border-color: var(--c-ink); }

.btn--lg { min-height: 52px; padding-inline: var(--sp-6); font-size: var(--t-body-size); }

/* ==========================================================================
   Sticky nav
   ========================================================================== */

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--c-deep-ink);
  border-bottom: 1px solid transparent;
  transition: background-color var(--mo-base), border-color var(--mo-base);
}
/* a soft top scrim keeps the links legible while the bar is transparent */
.site-nav::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 200px;
  pointer-events: none;
  /* weighted toward the bar itself: the link row has to clear 4.5:1 against
     the brightest part of the hero photo it can sit over */
  background: linear-gradient(to bottom,
    rgb(var(--c-deep-rgb) / 0.80) 0%,
    rgb(var(--c-deep-rgb) / 0.55) 45%,
    rgb(var(--c-deep-rgb) / 0) 100%);
  transition: opacity var(--mo-base);
}
.site-nav.is-solid {
  background: var(--c-deep);
  border-bottom-color: var(--c-deep-border);
}
.site-nav.is-solid::before { opacity: 0; }

.site-nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--ly-topnav);
}

/* the lockup: badge plus wordmark. The badge alone is illegible at nav scale,
   so the name is set in the display face beside it and carries the identity. */
.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  flex: 0 0 auto;
  min-height: var(--ly-touch);
  text-decoration: none;
  color: var(--c-deep-ink);
  padding: var(--sp-1);
  margin-left: calc(var(--sp-1) * -1);
}
.site-nav__mark { width: 44px; height: 44px; flex: 0 0 auto; }

.site-nav__word {
  font-family: var(--ff-display);
  font-optical-sizing: auto;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

@media (max-width: 899px) {
  .site-nav__mark { width: 40px; height: 40px; }
  .site-nav__word { font-size: 19px; }
}
@media (max-width: 359px) {
  .site-nav__word { font-size: 17px; }
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-left: auto;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--ly-touch);
  padding: 0 var(--sp-3);
  border-radius: var(--r-md);
  font-size: var(--t-caption-size);
  font-weight: var(--fw-medium);
  color: var(--c-deep-muted);
  text-decoration: none;
  transition: color var(--mo-fast), background-color var(--mo-fast);
}
.site-nav__link:hover { color: var(--c-deep-ink); background: rgb(var(--c-deep-ink-rgb) / 0.08); }
.site-nav__link[aria-current="page"] { color: var(--c-deep-ink); }

.site-nav__cta { margin-left: var(--sp-3); }

.site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--ly-touch);
  height: var(--ly-touch);
  margin-left: auto;
  background: transparent;
  border: 1px solid rgb(var(--c-deep-ink-rgb) / 0.55);
  border-radius: var(--r-md);
  color: var(--c-deep-ink);
  cursor: pointer;
  transition: background-color var(--mo-fast), border-color var(--mo-fast);
}
.site-nav__toggle:hover { background: rgb(var(--c-deep-ink-rgb) / 0.10); }
.site-nav__toggle svg { width: 20px; height: 20px; }
.site-nav__toggle .icon-close { display: none; }
.site-nav__toggle[aria-expanded="true"] .icon-close { display: block; }
.site-nav__toggle[aria-expanded="true"] .icon-menu { display: none; }

@media (max-width: 899px) {
  .site-nav__toggle { display: inline-flex; }
  .site-nav__panel {
    display: none;
    position: absolute;
    inset: calc(var(--ly-topnav) + var(--sp-2)) var(--sp-5) auto var(--sp-5);
    background: var(--c-deep);
    border: 1px solid var(--c-deep-border);
    border-radius: var(--r-lg);
    padding: var(--sp-3);
    box-shadow: var(--sh-lg);
  }
  .site-nav__panel.is-open { display: block; }
  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-1);
    margin-left: 0;
  }
  .site-nav__link { padding: 0 var(--sp-4); }
  .site-nav__cta { margin: var(--sp-3) 0 0; width: 100%; }
}

@media (min-width: 900px) {
  .site-nav__panel {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: flex-end;
  }
}

/* six destinations, a CTA and a wordmark do not fit a 900px bar at full
   metrics, so the row tightens rather than wrapping or clipping */
@media (min-width: 900px) and (max-width: 1099px) {
  .site-nav__inner { padding-inline: var(--sp-5); gap: var(--sp-4); }
  .site-nav__word { font-size: 18px; }
  .site-nav__links { gap: 0; }
  .site-nav__link { padding: 0 var(--sp-2); }
  .site-nav__cta { margin-left: var(--sp-2); padding-inline: var(--sp-4); }
}

/* ==========================================================================
   1. Hero
   ========================================================================== */

/* the cap matters: on a very tall window an uncapped 100svh hero becomes a
   wall of empty sky with the text stranded near the fold. Capped, the block
   stays composed at any aspect ratio. */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(100svh, 1000px);
  padding-block: calc(var(--ly-topnav) + var(--sp-8)) var(--sp-9);
  color: var(--c-deep-ink);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgb(var(--c-deep-rgb) / 0.93) 0%,
      rgb(var(--c-deep-rgb) / 0.80) 40%,
      rgb(var(--c-deep-rgb) / 0.42) 74%,
      rgb(var(--c-deep-rgb) / 0.28) 100%),
    linear-gradient(to top,
      rgb(var(--c-deep-rgb) / 0.62) 0%,
      rgb(var(--c-deep-rgb) / 0) 52%);
}

/* on narrow screens the copy sits over the whole frame, not just the left
   third, so the scrim becomes bottom-weighted instead of side-weighted */
@media (max-width: 899px) {
  .hero__media img { object-position: 45% 50%; }
  .hero__media::after {
    background: linear-gradient(to top,
      rgb(var(--c-deep-rgb) / 0.90) 0%,
      rgb(var(--c-deep-rgb) / 0.85) 62%,
      rgb(var(--c-deep-rgb) / 0.60) 88%,
      rgb(var(--c-deep-rgb) / 0.48) 100%);
  }
}

.hero__inner { position: relative; width: 100%; }

.hero__title {
  font-size: var(--t-display-size);
  line-height: var(--t-display-line);
  letter-spacing: var(--t-display-track);
  font-weight: var(--fw-light);
  max-width: 15ch;
  margin: 0 0 var(--sp-6);
}
.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.hero__line > span { display: block; }

.hero__lede {
  font-size: var(--t-lead-size);
  line-height: var(--t-lead-line);
  letter-spacing: var(--t-lead-track);
  color: var(--c-deep-ink);
  max-width: 48ch;
  margin-bottom: var(--sp-7);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.hero__scroll {
  position: absolute;
  right: var(--sp-7);
  bottom: var(--sp-7);
  display: none;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-deep-muted);
}
.hero__scroll span { display: block; width: 56px; height: 1px; background: var(--c-deep-muted); }
@media (min-width: 1200px) { .hero__scroll { display: flex; } }

/* ==========================================================================
   2. Narrative, and the signature: the cast line
   ========================================================================== */

.narrative__head .h2 {
  font-size: var(--t-h1-size);
  line-height: var(--t-h1-line);
  letter-spacing: var(--t-h1-track);
  max-width: 24ch;   /* measured in the display face, not the wrapper's body face */
}

/* the signature element: a gold line cast across the page, drawn on scroll */
.cast {
  margin-block: var(--sp-6) var(--sp-7);
}
.cast svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.cast__path {
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.cast__hook {
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
@media (max-width: 639px) { .cast { margin-block: var(--sp-5) var(--sp-6); } }

.narrative__cols {
  display: grid;
  gap: var(--sp-7);
  align-items: start;
}
@media (min-width: 900px) {
  .narrative__cols { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--sp-8); }
}

.narrative__body p { color: var(--c-ink-muted); }
.narrative__body p:first-child { color: var(--c-ink); font-size: var(--t-lead-size); line-height: var(--t-lead-line); }
.narrative__body strong { color: var(--c-ink); font-weight: var(--fw-semibold); }

.figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 5;
}
.figure img {
  position: absolute;
  inset: -9% 0;
  width: 100%;
  height: 118%;
  object-fit: cover;
}
.figure figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-6) var(--sp-5) var(--sp-4);
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-deep-ink);
  background: linear-gradient(to top, rgb(var(--c-deep-rgb) / 0.86), rgb(var(--c-deep-rgb) / 0));
}
@media (max-width: 899px) { .figure { aspect-ratio: 16 / 10; } }

/* ==========================================================================
   3. Support pillars
   ========================================================================== */

.pillars__head { margin-bottom: var(--sp-8); }
.pillars__head .h2 { max-width: 34ch; }
.pillars__head .lede { margin-top: var(--sp-5); }

.pillars__grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .pillars__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.pillar {
  min-width: 0;
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5) var(--sp-7);
}
.pillar__icon {
  width: 24px;
  height: 24px;
  color: var(--c-primary);
  margin-bottom: var(--sp-6);
}
.pillar__num {
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  color: var(--c-ink-muted);   /* faint fails 4.5:1 in dark; this is real text */
  display: block;
  margin-bottom: var(--sp-2);
}
.pillar h3 {
  font-size: var(--t-h3-size);
  line-height: var(--t-h3-line);
  letter-spacing: var(--t-h3-track);
  margin-bottom: var(--sp-3);
}
.pillar p { color: var(--c-ink-muted); }

.pillars__note {
  margin-top: var(--sp-7);
  color: var(--c-ink-muted);
  max-width: 58ch;
}

/* ==========================================================================
   4. Advocates
   ========================================================================== */

.advocates__head {
  display: grid;
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
}
@media (min-width: 900px) {
  .advocates__head { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--sp-8); align-items: start; }
}

/* Eleven marks, laid out as full-bleed ruled rows at every width: four, four
   and three on desktop, threes and a two on tablet, twos on phones. Each row
   spans the whole rail, so the hairline grid never ends in a ragged gap. */
.advocates__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--c-deep-border);
  border-left: 1px solid var(--c-deep-border);
}
.advocates__grid > li:last-child { grid-column: 1 / -1; }

@media (min-width: 640px) {
  .advocates__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .advocates__grid > li { grid-column: span 2; }              /* three per row */
  .advocates__grid > li:nth-child(n+10) { grid-column: span 3; }  /* closing pair */
}

@media (min-width: 900px) {
  .advocates__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .advocates__grid > li { grid-column: span 3; }              /* four per row */
  .advocates__grid > li:nth-child(n+9) { grid-column: span 4; }   /* closing three */
}

.advocates__grid > li { display: flex; min-width: 0; }

.advocate {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: var(--sp-5) var(--sp-4);
  border-right: 1px solid var(--c-deep-border);
  border-bottom: 1px solid var(--c-deep-border);
  text-decoration: none;
}
/* two caps, not one: a tall mark and a wide mark then land on comparable
   optical weight instead of one filling the cell and the other vanishing */
.advocate img {
  width: auto;
  max-width: 150px;
  max-height: 76px;
  object-fit: contain;
  opacity: 0.9;
}
/* Without JS this is the whole interaction. With JS, GSAP owns opacity and
   scale on these, so the CSS transition would fight the tween. */
html:not(.js) .advocate img { transition: opacity var(--mo-fast); }
html:not(.js) @media (max-width: 899px) { .advocate img { max-width: 132px; max-height: 66px; } }
/* two marks per row still have to fit a 320px phone once the rail padding
   and the cell padding are taken out */
@media (max-width: 479px) {
  .advocate { padding: var(--sp-4) var(--sp-3); min-height: 112px; }
  .advocate img { max-width: 104px; max-height: 54px; }
}
@media (min-width: 900px) { .advocate { min-height: 148px; } }

/* ==========================================================================
   5. Take action
   ========================================================================== */

.action__grid {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 900px) {
  .action__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: var(--sp-9); }
}

.action h2 {
  font-size: var(--t-h1-size);
  line-height: var(--t-h1-line);
  letter-spacing: var(--t-h1-track);
  max-width: 18ch;
  margin-bottom: var(--sp-5);
}
.action p { color: var(--c-ink-muted); max-width: 46ch; margin-bottom: var(--sp-7); }
.action__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.action__figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
}
.action__figure img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   6. Footer
   ========================================================================== */

.site-footer { padding-block: var(--sp-8) var(--sp-7); }

.site-footer__top {
  display: grid;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--c-deep-border);
}
@media (min-width: 900px) {
  .site-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-9); align-items: start; }
}

.site-footer__brand img { width: 84px; height: 84px; margin-bottom: var(--sp-5); }
.site-footer__tagline {
  font-family: var(--ff-display);
  font-optical-sizing: auto;
  font-size: var(--t-h3-size);
  line-height: var(--t-h3-line);
  letter-spacing: var(--t-h3-track);
  font-weight: var(--fw-medium);
  max-width: 20ch;
}

.site-footer__contact { display: grid; gap: var(--sp-2); justify-items: start; }
/* inline-flex so the phone and mail links reach the 44px target height */
.site-footer__contact > p > a {
  display: inline-flex;
  align-items: center;
  min-height: var(--ly-touch);
  color: var(--c-deep-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--c-deep-border);
}
.site-footer__contact > p > a:hover { border-bottom-color: var(--c-accent); }
.site-footer__contact address {
  font-style: normal;
  color: var(--c-deep-muted);
  line-height: var(--t-body-line);
}

.site-footer__social { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: var(--ly-touch);
  padding: 0 var(--sp-3);
  border: 1px solid var(--c-deep-border);
  border-radius: var(--r-full);
  font-size: var(--t-caption-size);
  color: var(--c-deep-muted);
  text-decoration: none;
  transition: color var(--mo-fast), border-color var(--mo-fast);
}
.site-footer__social a:hover { color: var(--c-deep-ink); border-color: var(--c-deep-ink); }
.site-footer__social svg { width: 16px; height: 16px; }

.site-footer__legal {
  display: grid;
  gap: var(--sp-3);
  padding-top: var(--sp-6);
  font-size: var(--t-caption-size);
  line-height: var(--t-caption-line);
  color: var(--c-deep-muted);
}
.site-footer__legal em { display: block; max-width: 68ch; }
@media (min-width: 900px) {
  .site-footer__legal { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--sp-7); }
}

/* ==========================================================================
   7. Page hero: the compact photo band every subpage opens with.
      Roughly half a screen, never a full one, so the page's first section
      is always in view under it.
   ========================================================================== */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(52vh, 520px);
  padding-block: calc(var(--ly-topnav) + var(--sp-7)) var(--sp-7);
  color: var(--c-deep-ink);
  overflow: hidden;
  isolation: isolate;
  background: var(--c-deep);
}
@media (max-width: 899px) {
  .page-hero { min-height: min(56vh, 460px); padding-block: calc(var(--ly-topnav) + var(--sp-6)) var(--sp-6); }
}

.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgb(var(--c-deep-rgb) / 0.92) 0%,
      rgb(var(--c-deep-rgb) / 0.74) 46%,
      rgb(var(--c-deep-rgb) / 0.40) 100%),
    linear-gradient(to top,
      rgb(var(--c-deep-rgb) / 0.68) 0%,
      rgb(var(--c-deep-rgb) / 0) 60%);
}
@media (max-width: 899px) {
  .page-hero__media::after {
    background: linear-gradient(to top,
      rgb(var(--c-deep-rgb) / 0.90) 0%,
      rgb(var(--c-deep-rgb) / 0.80) 60%,
      rgb(var(--c-deep-rgb) / 0.55) 100%);
  }
}

.page-hero__inner { position: relative; width: 100%; }
.page-hero .eyebrow { color: var(--c-deep-ink); }

.page-hero__title {
  font-size: var(--t-h1-size);
  line-height: var(--t-h1-line);
  letter-spacing: var(--t-h1-track);
  font-weight: var(--fw-light);
  max-width: 18ch;
  margin: 0;
}
.page-hero__lede {
  font-size: var(--t-lead-size);
  line-height: var(--t-lead-line);
  letter-spacing: var(--t-lead-track);
  color: var(--c-deep-ink);
  max-width: 52ch;
  margin-top: var(--sp-5);
}

.page-hero :where(a, button):focus-visible { outline-color: var(--c-accent); }

/* the masked line used by the h1 reveal on every subpage */
.line-mask { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.line-mask > span { display: block; }

/* ==========================================================================
   8. Editorial primitives shared by the subpages
   ========================================================================== */

/* the signature: a short brass rule. One per page, above the block that
   carries the page's voice. */
.rule-gold {
  width: 72px;
  height: 2px;
  border: 0;
  margin: 0 0 var(--sp-5);
  background: var(--c-accent);
}

.link {
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--c-border-strong);
  transition: text-decoration-color var(--mo-fast);
}
.link:hover { text-decoration-color: var(--c-accent); }
.band--deep .link { color: var(--c-deep-ink); text-decoration-color: var(--c-deep-muted); }

.two-col { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--sp-8); }
}

.section-head { margin-bottom: var(--sp-7); }
.section-head .h2 { max-width: 26ch; }
.section-head .lede { margin-top: var(--sp-4); }

/* a statement line: the display face at h1 scale, used once or twice per page */
.statement {
  font-family: var(--ff-display);
  font-optical-sizing: auto;
  font-size: var(--t-h1-size);
  line-height: var(--t-h1-line);
  letter-spacing: var(--t-h1-track);
  font-weight: var(--fw-light);
  max-width: 22ch;
  text-wrap: balance;
}

.note {
  border-left: 2px solid var(--c-border-strong);
  padding-left: var(--sp-5);
  color: var(--c-ink-muted);
  font-size: var(--t-caption-size);
  line-height: 1.7;
  max-width: 52ch;
}

.pullquote {
  margin: var(--sp-8) 0;
  padding: 0;
  max-width: 26ch;
}
.pullquote p {
  font-family: var(--ff-display);
  font-optical-sizing: auto;
  font-size: var(--t-h1-size);
  line-height: var(--t-h1-line);
  letter-spacing: var(--t-h1-track);
  font-weight: var(--fw-light);
}
.pullquote figcaption {
  margin-top: var(--sp-4);
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-ink-muted);
}
.band--deep .pullquote figcaption { color: var(--c-deep-muted); }

/* the two-rail editorial column: a mono marker on the left, prose on the right */
.rail {
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 900px) {
  .rail { grid-template-columns: 140px minmax(0, 1fr); gap: var(--sp-7); align-items: start; }
}
.rail + .rail { margin-top: var(--sp-8); }
.rail__marker {
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  line-height: var(--t-micro-line);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-ink-muted);
  padding-top: 0.5em;
}
@media (min-width: 900px) { .rail__marker { border-top: 1px solid var(--c-border-strong); padding-top: var(--sp-3); } }
.rail__body { max-width: var(--ly-prose); }
.rail__body > * + * { margin-top: var(--sp-5); }
.rail__body p { color: var(--c-ink-muted); }
.rail__body strong { color: var(--c-ink); font-weight: var(--fw-semibold); }
.rail__body h2 {
  font-size: var(--t-h2-size);
  line-height: var(--t-h2-line);
  letter-spacing: var(--t-h2-track);
  color: var(--c-ink);
}
.rail__body .lead-p { color: var(--c-ink); font-size: var(--t-lead-size); line-height: var(--t-lead-line); }

/* ==========================================================================
   9. People: the board and trustee cards
   ========================================================================== */

.people {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-7); } }

/* the perspective the pointer tilt is rotated inside. The tilt itself is
   JavaScript, gated on a fine pointer and no reduced-motion preference, and
   it is applied to these portrait cards only. */
.person { min-width: 0; perspective: 800px; }

.person__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--c-surface-alt);
  margin-bottom: var(--sp-5);
}

@media (hover: hover) and (pointer: fine) {
  .person__frame { transition: box-shadow var(--mo-base); }
  .person:hover .person__frame { box-shadow: var(--sh-lg); }
}
.person__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 30%);
}

/* the trustee with no portrait gets a monogram plate, not an empty box */
.person__monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--c-primary-wash);
  font-family: var(--ff-display);
  font-optical-sizing: auto;
  font-size: var(--t-display-size);
  font-weight: var(--fw-light);
  color: var(--c-primary);
}

.person__name {
  font-size: var(--t-h3-size);
  line-height: var(--t-h3-line);
  letter-spacing: var(--t-h3-track);
  margin-bottom: var(--sp-2);
}
.person__role {
  display: block;
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  line-height: var(--t-micro-line);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-bottom: var(--sp-4);
}
.person__bio { color: var(--c-ink-muted); font-size: var(--t-caption-size); line-height: 1.7; }
.person__bio > p + p { margin-top: var(--sp-3); }

.people-group + .people-group { margin-top: var(--sp-9); }
.people-group__head { margin-bottom: var(--sp-7); }
.people-group__head h3 {
  font-size: var(--t-h2-size);
  line-height: var(--t-h2-line);
  letter-spacing: var(--t-h2-track);
}

/* ==========================================================================
   10. CTA band
   ========================================================================== */

.cta-band__inner {
  display: grid;
  gap: var(--sp-6);
  align-items: end;
}
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--sp-9); }
}
.cta-band h2 {
  font-size: var(--t-h1-size);
  line-height: var(--t-h1-line);
  letter-spacing: var(--t-h1-track);
  font-weight: var(--fw-light);
  max-width: 18ch;
}
.cta-band p { margin-top: var(--sp-5); max-width: 46ch; }
.band--deep .cta-band p { color: var(--c-deep-muted); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ==========================================================================
   11. Objectives: the mission plate
   ========================================================================== */

.mission__inner { display: grid; gap: var(--sp-6); }
@media (min-width: 900px) {
  .mission__inner { grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr); gap: var(--sp-8); align-items: start; }
}
.mission blockquote {
  margin: 0;
  font-family: var(--ff-display);
  font-optical-sizing: auto;
  font-size: var(--t-h1-size);
  line-height: 1.22;
  letter-spacing: var(--t-h1-track);
  font-weight: var(--fw-light);
  max-width: 24ch;
}

.support-list { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); }
.support-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: baseline;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-border);
}
.support-list__num {
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  color: var(--c-ink-muted);
}

/* ==========================================================================
   12. Events
   ========================================================================== */

.event {
  display: grid;
  gap: var(--sp-6);
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 900px) {
  .event { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); gap: 0; align-items: stretch; }
}

/* the flyer is a text image, so it is shown whole rather than cropped to fill */
.event__figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6) var(--sp-5);
  background: var(--c-surface-alt);
}
.event__figure img {
  width: auto;
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: var(--r-sm);
}
@media (max-width: 899px) { .event__figure img { max-height: 480px; } }

.event__body { padding: var(--sp-6) var(--sp-5) var(--sp-7); }
@media (min-width: 900px) { .event__body { padding: var(--sp-8) var(--sp-7); align-self: center; } }

.event__title {
  font-size: var(--t-h1-size);
  line-height: var(--t-h1-line);
  letter-spacing: var(--t-h1-track);
  font-weight: var(--fw-light);
  margin-bottom: var(--sp-5);
}
.event__meta { margin: 0 0 var(--sp-6); display: grid; gap: var(--sp-4); }
.event__meta > div {
  display: grid;
  gap: var(--sp-1);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c-border);
}
.event__meta dt {
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-ink-muted);
}
.event__meta dd { margin: 0; color: var(--c-ink); }
.event__note { color: var(--c-ink-muted); font-size: var(--t-caption-size); line-height: 1.7; max-width: 46ch; }

.events__count {
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-bottom: var(--sp-5);
}

/* ==========================================================================
   13. News
   ========================================================================== */

.story + .story { margin-top: var(--sp-9); padding-top: var(--sp-9); border-top: 1px solid var(--c-border); }

.story__head { margin-bottom: var(--sp-6); max-width: 46ch; }
.story__kicker {
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-bottom: var(--sp-3);
}
.story__title {
  font-size: var(--t-h2-size);
  line-height: var(--t-h2-line);
  letter-spacing: var(--t-h2-track);
}
.story__body { display: grid; gap: var(--sp-6); }
@media (min-width: 900px) {
  .story__body { grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr); gap: var(--sp-8); align-items: start; }
}
.story__body p { color: var(--c-ink-muted); }
.story__body > .prose > p + p { margin-top: var(--sp-4); }

/* click to load: no third-party request happens until the button is pressed */
.facade {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--c-surface-alt);
}
.facade img, .facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.facade__btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  width: 100%;
  background: rgb(var(--c-deep-rgb) / 0.32);
  border: 0;
  color: var(--c-deep-ink);
  cursor: pointer;
  transition: background-color var(--mo-fast);
}
.facade__btn:hover { background: rgb(var(--c-deep-rgb) / 0.48); }
.facade__btn svg { width: 64px; height: 64px; }
.facade__label {
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
}
.facade__note {
  margin-top: var(--sp-3);
  font-size: var(--t-caption-size);
  color: var(--c-ink-muted);
}

.clip {
  display: block;
  border: 1px solid var(--c-card-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-card);
  text-decoration: none;
  transition: border-color var(--mo-fast), box-shadow var(--mo-fast);
}
.clip:hover { border-color: var(--c-border-strong); box-shadow: var(--sh-md); }
.clip img { width: 100%; height: auto; }
.clip__foot {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-ink-muted);
  border-top: 1px solid var(--c-border);
}
.clip__foot svg { width: 14px; height: 14px; flex: 0 0 auto; }

/* ==========================================================================
   14. Contribute
   ========================================================================== */

.give__grid { display: grid; gap: var(--sp-7); align-items: start; }
@media (min-width: 900px) {
  .give__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); gap: var(--sp-9); }
}
.give__copy > p { color: var(--c-ink-muted); }
.give__copy > p + p { margin-top: var(--sp-5); }
.give__copy .lead-p { color: var(--c-ink); font-size: var(--t-lead-size); line-height: var(--t-lead-line); }

.give__panel {
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5) var(--sp-7);
  box-shadow: var(--sh-sm);
}
@media (min-width: 900px) { .give__panel { padding: var(--sp-7) var(--sp-6) var(--sp-8); } }
.give__panel h2 {
  font-size: var(--t-h3-size);
  line-height: var(--t-h3-line);
  letter-spacing: var(--t-h3-track);
  margin-bottom: var(--sp-3);
}
.give__panel p { color: var(--c-ink-muted); font-size: var(--t-caption-size); line-height: 1.7; }
.give__panel .btn { width: 100%; margin-block: var(--sp-5) var(--sp-4); }
.give__links { display: grid; gap: var(--sp-2); margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--c-border); }
.give__links a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: var(--ly-touch);
  font-size: var(--t-caption-size);
  color: var(--c-ink);
}
.give__links svg { width: 14px; height: 14px; flex: 0 0 auto; }

.triptych {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
  margin-top: var(--sp-8);
}
@media (min-width: 700px) { .triptych { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.triptych li {
  min-width: 0;
  padding-top: var(--sp-4);
  border-top: 2px solid var(--c-deep-border);
}
.triptych h3 {
  font-size: var(--t-h3-size);
  line-height: var(--t-h3-line);
  letter-spacing: var(--t-h3-track);
  font-weight: var(--fw-medium);
  margin-bottom: var(--sp-2);
}
.triptych p { color: var(--c-deep-muted); font-size: var(--t-caption-size); line-height: 1.7; }

.wordmark-line {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  font-family: var(--ff-display);
  font-optical-sizing: auto;
  font-size: var(--t-h2-size);
  line-height: 1.2;
  font-weight: var(--fw-light);
}

/* ==========================================================================
   15. Contact and the application form
   ========================================================================== */

.contact__grid { display: grid; gap: var(--sp-7); align-items: start; }
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: var(--sp-9); }
}

.detail + .detail { margin-top: var(--sp-6); }
.detail__label {
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-bottom: var(--sp-2);
}
.detail address { font-style: normal; line-height: 1.7; }
.detail a {
  display: inline-flex;
  align-items: center;
  min-height: var(--ly-touch);
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-border-strong);
  transition: text-decoration-color var(--mo-fast);
}
.detail a:hover { text-decoration-color: var(--c-accent); }
.detail__sub { font-size: var(--t-caption-size); color: var(--c-ink-muted); }

.social-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: var(--ly-touch);
  padding: 0 var(--sp-3);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-full);
  font-size: var(--t-caption-size);
  color: var(--c-ink);
  text-decoration: none;
  transition: background-color var(--mo-fast), border-color var(--mo-fast);
}
.social-row a:hover { background: var(--c-surface); border-color: var(--c-ink); }
.social-row svg { width: 16px; height: 16px; }

.form-card {
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5) var(--sp-7);
}
@media (min-width: 900px) { .form-card { padding: var(--sp-7) var(--sp-6) var(--sp-8); } }
.form-card > h2 {
  font-size: var(--t-h2-size);
  line-height: var(--t-h2-line);
  letter-spacing: var(--t-h2-track);
  margin-bottom: var(--sp-3);
}
.form-card__intro { color: var(--c-ink-muted); font-size: var(--t-caption-size); line-height: 1.7; margin-bottom: var(--sp-6); }

.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset + .fieldset { margin-top: var(--sp-6); padding-top: var(--sp-6); border-top: 1px solid var(--c-border); }
.fieldset > legend {
  padding: 0;
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-bottom: var(--sp-4);
}

.field-row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .field-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.field-row + .field-row { margin-top: var(--sp-4); }

.field { display: grid; min-width: 0; }
.field > label {
  font-size: var(--t-caption-size);
  font-weight: var(--fw-medium);
  color: var(--c-ink);
  margin-bottom: var(--sp-1);
}
.field .req { color: var(--c-ink-muted); font-weight: var(--fw-regular); }
.field input {
  min-height: var(--ly-touch);
  padding: 0 var(--sp-3);
  font-family: var(--ff-body);
  font-size: var(--ly-input-font);
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  transition: border-color var(--mo-fast);
  width: 100%;
}
.field input::placeholder { color: var(--c-ink-faint); }
.field input:focus { border-color: var(--c-primary); }
.field__help { margin-top: var(--sp-1); font-size: var(--t-caption-size); color: var(--c-ink-muted); }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-border);
}
.form-notice {
  display: none;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--c-border-strong);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--r-md);
  background: var(--c-surface);
  font-size: var(--t-caption-size);
  line-height: 1.6;
  color: var(--c-ink);
  max-width: 46ch;
}
/* without JS nothing can intercept the submit, so the notice is simply
   always visible: the page never implies the form is wired up */
.form-notice.is-shown,
html:not(.js) .form-notice { display: flex; }
.form-notice svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; color: var(--c-ink-muted); }

/* ==========================================================================
   16. Document page (accessibility statement), document rows, legal print
   ========================================================================== */

.doc { max-width: var(--ly-prose); }
.doc > * + * { margin-top: var(--sp-5); }
.doc h2 {
  margin-top: var(--sp-8);
  font-size: var(--t-h2-size);
  line-height: var(--t-h2-line);
  letter-spacing: var(--t-h2-track);
}
.doc p { color: var(--c-ink-muted); }
.doc .lead-p { color: var(--c-ink); font-size: var(--t-lead-size); line-height: var(--t-lead-line); }
.doc ul { display: grid; gap: var(--sp-3); }
.doc ul li { position: relative; padding-left: var(--sp-5); color: var(--c-ink-muted); }
.doc ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 1px;
  background: var(--c-border-strong);
}
.doc strong { color: var(--c-ink); font-weight: var(--fw-semibold); }
.doc a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }

.docs { display: grid; gap: var(--sp-2); margin-top: var(--sp-6); }
.doc-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: var(--ly-touch);
  padding: var(--sp-2) var(--sp-4);
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  border-radius: var(--r-md);
  color: var(--c-ink);
  text-decoration: none;
  transition: border-color var(--mo-fast);
}
.doc-row:hover { border-color: var(--c-border-strong); }
.doc-row svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--c-ink-muted); }
.doc-row__name { flex: 1 1 auto; min-width: 0; font-size: var(--t-caption-size); }
.doc-row__tag {
  flex: 0 0 auto;
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-ink-muted);
}

.legal-band { padding-block: var(--sp-7); border-top: 1px solid var(--c-border); }
.legal-print {
  font-size: var(--t-caption-size);
  line-height: 1.7;
  color: var(--c-ink-muted);
  max-width: 88ch;
}
.legal-print + .legal-print { margin-top: var(--sp-3); }

/* ==========================================================================
   17. 404
   ========================================================================== */

.notfound { padding-block: calc(var(--ly-topnav) + var(--sp-9)) var(--sp-9); }
.notfound__code {
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-deep-muted);
  margin-bottom: var(--sp-5);
}
.notfound h1 {
  font-size: var(--t-h1-size);
  line-height: var(--t-h1-line);
  letter-spacing: var(--t-h1-track);
  font-weight: var(--fw-light);
  max-width: 18ch;
}
.notfound p { margin-top: var(--sp-5); max-width: 46ch; color: var(--c-deep-muted); }
.notfound__links { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-7); }

/* ==========================================================================
   Footer: the demo disclosure
   ========================================================================== */

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-6);
  margin-top: var(--sp-5);
}

.site-footer__links { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: var(--ly-touch);
  padding-right: var(--sp-3);
  font-size: var(--t-caption-size);
  color: var(--c-deep-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-deep-border);
  transition: text-decoration-color var(--mo-fast);
}
.site-footer__links a:hover { text-decoration-color: var(--c-accent); }

/* a link that has nowhere to go yet says so in its own label, so nobody
   follows it expecting a document */
.pending {
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-deep-muted);
  text-decoration: none;
}

.site-footer__demo {
  font-family: var(--ff-mono);
  font-size: var(--t-micro-size);
  line-height: 1.6;
  letter-spacing: var(--t-micro-track);
  text-transform: uppercase;
  color: var(--c-deep-muted);
  margin: 0;
}
.site-footer__demo a {
  color: var(--c-deep-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-deep-border);
}
.site-footer__demo a:hover { text-decoration-color: var(--c-accent); }

/* ==========================================================================
   Dark mode media treatment
   ========================================================================== */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero__media img,
  :root:not([data-theme="light"]) .figure img,
  :root:not([data-theme="light"]) .action__figure img,
  :root:not([data-theme="light"]) .page-hero__media img,
  :root:not([data-theme="light"]) .person__frame img,
  :root:not([data-theme="light"]) .event__figure img,
  :root:not([data-theme="light"]) .facade img,
  :root:not([data-theme="light"]) .clip img { filter: brightness(0.92); }
}
[data-theme="dark"] .hero__media img,
[data-theme="dark"] .figure img,
[data-theme="dark"] .action__figure img,
[data-theme="dark"] .page-hero__media img,
[data-theme="dark"] .person__frame img,
[data-theme="dark"] .event__figure img,
[data-theme="dark"] .facade img,
[data-theme="dark"] .clip img { filter: brightness(0.92); }

/* ==========================================================================
   Motion: initial states, only when JS is running
   ========================================================================== */

.js .hero__line > span { transform: translateY(105%); }
.js .hero__eyebrow,
.js .hero__lede,
.js .hero__actions { opacity: 0; }
.js .pillar { opacity: 0; transform: translateY(var(--sp-5)); }
.js .cast__hook { opacity: 0; }

/* subpages: the shorter entrance. The h1 is masked, its companions fade. */
.js .line-mask > span { transform: translateY(105%); }
.js .page-hero .eyebrow,
.js .page-hero__lede { opacity: 0; }
/* the one batched scroll act each subpage is allowed */
.js [data-reveal] { opacity: 0; transform: translateY(var(--sp-5)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .stagger > * { opacity: 1; transform: none; }
  [class*="skeleton"] { animation: none !important; background: var(--c-surface-alt); }
  .parallax, [data-motion="transform"] { transform: none !important; }

  .js .hero__line > span,
  .js .hero__eyebrow,
  .js .hero__lede,
  .js .hero__actions,
  .js .pillar,
  .js .line-mask > span,
  .js .page-hero .eyebrow,
  .js .page-hero__lede,
  .js [data-reveal] { opacity: 1; transform: none; }

  /* opacity only: the hook's transform is its position in the SVG, not motion */
  .js .cast__hook { opacity: 1; }

  /* the story photo's drift is GSAP-only, but pin the element down regardless */
  [data-parallax] { transform: none !important; }
}
