/* =====================================================================
   APT Landing Page - COL Financial
   Advocacies & Partnerships Team

   One family (the platform system face), COL's palette spent with intent:
   white ground, navy as the committed brand color in three full-bleed
   bands (numbers, contact, footer), amber only on the primary action.
   ===================================================================== */

/* ----------------------------- Tokens ----------------------------- */
:root {
  /* COL Financial palette (fixed identity) */
  --col-navy:   #004482;
  --col-blue:   #006AB4;
  --col-sky:    #00ADE9;
  --col-cyan:   #1DD5E6;
  --col-amber:  #F6AD42;
  --col-orange: #F29A45;
  --col-yellow: #FFD966;
  --col-ice:    #DAEBF1;
  --col-fog:    #F2F5FF;
  --col-footer: #002255;

  /* Semantic surfaces and ink */
  --bg:         #FFFCF5;          /* white with a hint of cream */
  --bg-2:       #F7F3E9;          /* quiet cream ground for alternate sections */
  --bg-3:       #EFEADF;          /* hover state of cream controls */
  --bg-navy:    var(--col-navy);
  --bg-deep:    var(--col-footer);
  --ink:        #0E1B2E;          /* navy-tinted near-black */
  --ink-2:      #56637A;          /* secondary text, 5.6:1 on white */
  --ink-3:      #8A94A6;          /* tertiary, large text only */
  --line:       rgba(14, 27, 46, 0.10);
  --line-strong: rgba(14, 27, 46, 0.18);
  --on-navy:    #FFFFFF;
  --on-navy-2:  rgba(255, 255, 255, 0.72);
  --line-navy:  rgba(255, 255, 255, 0.16);

  /* Type: the platform system font, hierarchy from weight + size + leading */
  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --text-hero:  clamp(2.75rem, 6.4vw, 5.5rem);
  --text-h2:    clamp(2rem, 4.3vw, 3.375rem);
  --text-h3:    clamp(1.375rem, 2vw, 1.75rem);
  --text-lead:  clamp(1.125rem, 1.5vw, 1.375rem);
  --text-body:  1.0625rem;
  --text-small: 0.9375rem;
  --text-stat:  clamp(3rem, 7vw, 5.75rem);
  --text-quote: clamp(1.625rem, 3vw, 2.5rem);

  /* Layout */
  --maxw: 1140px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 10vw, 8.5rem);
  --radius: 24px;
  --radius-sm: 16px;
  --radius-pill: 980px;
  --nav-h: 56px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 640ms;

  /* Z scale */
  --z-nav: 100;
  --z-menu: 110;
  --z-modal: 200;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--col-sky);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------- Utilities --------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--wide { max-width: 1520px; }

.section { padding: var(--section) 0; }

.section-title {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--ink);
  max-width: 36ch;
}

.section-sub {
  font-size: var(--text-lead);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 44ch;
  margin-top: 1rem;
}
.section-sub a { color: var(--col-blue); }
.section-sub a:hover { text-decoration: underline; text-underline-offset: 3px; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 60ch;
}

/* --------------------------- Buttons --------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--col-amber);
  color: var(--ink);
}
.btn-primary:hover { background: #F7B655; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

.btn-sm { min-height: 36px; padding: 0 1rem; font-size: 0.9375rem; }
.btn-lg { min-height: 56px; padding: 0 2rem; font-size: 1.0625rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--col-blue);
  padding: 0.25rem 0;
  transition: transform var(--dur-fast) var(--ease-out), color var(--dur-fast);
}
.link-arrow span { transition: transform var(--dur) var(--ease-out); display: inline-block; }
.link-arrow:hover span { transform: translateX(3px); }
.link-arrow:hover { color: var(--col-navy); }
.link-arrow:active { transform: scale(0.98); }

/* Pill selectors (filters, story tabs) */
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-2);
  transition: background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.pill:hover { background: var(--bg-3); }
.pill:active { transform: scale(0.96); }
.pill.is-active { background: var(--ink); color: #fff; }

.round-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  color: var(--ink);
  transition: background-color var(--dur-fast), transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
}
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { background: var(--bg-3); }
.round-btn:active { transform: scale(0.94); }
.round-btn[disabled] { opacity: 0.35; cursor: default; }

/* ----------------------------- Nav ----------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  background: transparent;
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.nav--scrolled,
.nav.menu-open {
  background: rgba(255, 252, 245, 0.8);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--line);
}
@supports not (backdrop-filter: blur(1px)) {
  .nav--scrolled, .nav.menu-open { background: var(--bg); }
}
@media (prefers-reduced-transparency: reduce) {
  .nav--scrolled, .nav.menu-open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo { display: inline-flex; align-items: center; height: 100%; }
.nav-logo-img { height: 38px; width: auto; }
.nav-logo-text { display: none; font-size: 1.0625rem; letter-spacing: -0.01em; color: var(--col-navy); }
.nav-logo-text strong { font-weight: 800; }
.nav-logo.no-logo .nav-logo-text { display: inline; }

.nav-links { display: flex; gap: 0.25rem; }
.nav-link {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-pill);
  opacity: 0.82;
  transition: opacity var(--dur-fast), background-color var(--dur-fast);
}
.nav-link:hover, .nav-link.active { opacity: 1; }
.nav-link.active { background: rgba(14, 27, 46, 0.06); }

.nav-right { display: flex; align-items: center; gap: 0.5rem; }
.nav-cta--secondary { box-shadow: inset 0 0 0 1.5px rgba(14, 27, 46, 0.22); }
@media (max-width: 1120px) { .nav-cta--secondary { display: none; } }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  border-radius: 50%;
}
.nav-toggle-bar {
  position: absolute;
  left: 11px;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out);
}
.nav-toggle-bar:nth-child(1) { top: 15px; }
.nav-toggle-bar:nth-child(2) { top: 23px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* Mobile sheet: drops from the bar, exits the way it came */
.nav-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: var(--z-menu);
  padding: 0.5rem var(--gutter) 1.5rem;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px rgba(14, 27, 46, 0.25);
  transform-origin: top center;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.nav-menu[hidden] { display: block; opacity: 0; transform: translateY(-8px); pointer-events: none; }
.nav-menu-list { padding: 0.5rem 0 1rem; }
.nav-menu-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}
.nav-menu-actions { display: grid; gap: 0.6rem; }
.nav-menu-cta { width: 100%; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}
@media (min-width: 881px) {
  .nav-menu { display: none !important; }
}

/* ----------------------------- Hero ----------------------------- */
.hero {
  --hero-maxw: 1440px;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 2rem;
  overflow: hidden;
}
.hero .container { max-width: var(--hero-maxw); }

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--ink);
  hanging-punctuation: first;
}
.hero-accent { color: var(--col-blue); }

/* Attribution: who said it, directly under the quote */
.hero-by {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
  font-size: 1rem;
  line-height: 1.4;
}
.hero-by-name { font-weight: 700; color: var(--ink); }
.hero-by-role { color: var(--ink-2); }

.hero-sub {
  margin-top: 1.75rem;
  font-size: var(--text-lead);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 34ch;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Collage: three columns of real talks, each looping vertically without end
   (a duplicated set makes the loop seamless), cropped top and bottom by a
   soft mask and bleeding off the right edge so the movement reads as
   continuing past the frame. Sized to the viewport so the hero is one screen. */
.hero-collage {
  --collage-h: clamp(520px, calc(100dvh - var(--nav-h) - 4rem), 860px);
  --collage-gap: 12px;
  position: relative;
  height: var(--collage-h);
  margin-right: calc(-1 * max(var(--gutter), (100vw - var(--hero-maxw)) / 2 + var(--gutter)));
  display: grid;
  grid-template-columns: 1fr 1.05fr 0.85fr;
  gap: var(--collage-gap);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}

.collage-col { position: relative; }
.collage-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  animation: collage-up var(--speed, 60s) linear infinite;
}
.collage-col:nth-child(1) .collage-track { --speed: 66s; }
.collage-col--lead .collage-track { --speed: 84s; animation-name: collage-down; }
.collage-col--peek .collage-track { --speed: 72s; }
.hero-collage:hover .collage-track { animation-play-state: paused; }

.collage-set {
  display: flex;
  flex-direction: column;
  gap: var(--collage-gap);
  padding-bottom: var(--collage-gap);   /* keeps the seam identical to a gap */
}
.collage-set img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-2);
  flex: 0 0 auto;
}
.collage-set img:nth-child(1) { aspect-ratio: 4 / 5; }
.collage-set img:nth-child(2) { aspect-ratio: 4 / 3; }
.collage-set img:nth-child(3) { aspect-ratio: 4 / 5; }
.collage-set img:nth-child(4) { aspect-ratio: 4 / 5; }
.collage-set img:nth-child(5) { aspect-ratio: 4 / 3; }
.collage-set img:nth-child(6) { aspect-ratio: 4 / 5; }

/* Each column starts at its own offset so the rows never line up */
.collage-col:nth-child(1) { transform: translateY(-9%); }
.collage-col--lead { transform: translateY(-3%); }
.collage-col--peek { transform: translateY(-15%); }

@keyframes collage-up   { to { transform: translateY(-50%); } }
@keyframes collage-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-sub { max-width: 40ch; }
  .hero-collage {
    --collage-h: clamp(380px, 58vh, 520px);
    grid-template-columns: 1fr 1fr;
  }
  .collage-col--peek { display: none; }
}

/* Hero entrance (once, on load) */
.js .hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise var(--dur-slow) var(--ease-out-expo) forwards; }
.js .hero-title { animation-delay: 60ms; }
.js .hero-by { animation-delay: 150ms; }
.js .hero-sub { animation-delay: 240ms; }
.js .hero-actions { animation-delay: 330ms; }
.js .collage-col { opacity: 0; animation: collage-in 1100ms var(--ease-out-expo) forwards; }
.js .collage-col:nth-child(1) { animation-delay: 120ms; --from: -3%; --to: -9%; }
.js .collage-col--lead { animation-delay: 60ms; --from: 3%; --to: -3%; }
.js .collage-col--peek { animation-delay: 220ms; --from: -9%; --to: -15%; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { to { opacity: 1; transform: none; } }
@keyframes collage-in {
  from { opacity: 0; transform: translateY(var(--from)); }
  to   { opacity: 1; transform: translateY(var(--to)); }
}

/* ----------------------------- Impact ----------------------------- */
.impact {
  background: var(--bg-navy);
  color: var(--on-navy);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat { display: flex; flex-direction: column; gap: 0.5rem; }
.stat + .stat { padding-left: 2rem; border-left: 1px solid var(--line-navy); }

.stat-num {
  font-size: var(--text-stat);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: var(--col-amber);
}
.stat-label { font-size: 1rem; color: var(--on-navy-2); }

@media (max-width: 900px) {
  .impact-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .stat + .stat { padding-left: 0; padding-top: 1.75rem; border-left: 0; border-top: 1px solid var(--line-navy); }
}

/* ----------------------------- About ----------------------------- */
.about-head { display: grid; gap: 1.5rem; }
.about-head .section-title { max-width: 36ch; }

.promise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.promise { padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.promise-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 0.5rem; }
.promise p { color: var(--ink-2); max-width: 32ch; }

.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.about-shot { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 3; }
.about-shot--wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.about-shot img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 720px) {
  .promise-list { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-collage { grid-template-columns: 1fr; }
  .about-shot--wide { aspect-ratio: 4 / 3; }
}

/* ----------------------------- Flagship ----------------------------- */
.flagship { background: var(--bg-2); }

.flagship-list { border-top: 1px solid var(--line-strong); }
.flagship-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 1.5rem 3rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line-strong);
}
.flagship-logo { height: 56px; width: auto; max-width: 240px; margin-bottom: 0.9rem; }
.flagship-name { font-size: var(--text-h3); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.flagship-tag { margin-top: 0.4rem; color: var(--ink-2); font-size: var(--text-small); }
.flagship-body { display: grid; gap: 0.75rem; justify-items: start; }
.flagship-body p { color: var(--ink); max-width: 52ch; }
.flagship-foot { margin-top: 2.5rem; }

@media (max-width: 720px) {
  .flagship-row { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* ----------------------------- Programs ----------------------------- */
.seg-wrap {
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.seg-wrap::-webkit-scrollbar { display: none; }

.seg {
  position: relative;
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--bg-2);
  isolation: isolate;
}
.seg-indicator {
  position: absolute;
  top: 4px; left: 0;
  height: calc(100% - 8px);
  width: 0;
  border-radius: var(--radius-pill);
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(14, 27, 46, 0.12), 0 4px 12px rgba(14, 27, 46, 0.06);
  transition: transform var(--dur) var(--ease-out), width var(--dur) var(--ease-out);
  z-index: 0;
}
.seg-tab {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
  min-height: 38px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.seg-tab:hover { color: var(--ink); }
.seg-tab:active { transform: scale(0.97); }
.seg-tab.is-active { color: var(--ink); font-weight: 600; }

.panels { margin-top: 2rem; }
.panel[hidden] { display: none; }
.panel.is-active { animation: fade var(--dur) var(--ease-out); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.program {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}
.program-main {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  display: grid;
  gap: 1rem;
  align-content: start;
}
.level {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  width: max-content;
}
.level-1 { background: rgba(0, 173, 233, 0.14); color: #005B8C; }
.level-2 { background: rgba(246, 173, 66, 0.22); color: #7A4A05; }
.level-3 { background: rgba(0, 106, 180, 0.12); color: var(--col-navy); }
.level-4 { background: rgba(0, 68, 130, 0.14); color: var(--col-navy); }

.program-title { font-size: var(--text-h3); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.program-desc { color: var(--ink); max-width: 58ch; }

.program-goals {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}
.program-goals-label { font-size: 0.8125rem; color: var(--ink-2); margin-bottom: 0.6rem; }
.program-goals-list { display: grid; gap: 0.5rem; font-size: 1rem; font-weight: 500; line-height: 1.4; }
.program-goals-list li { padding-left: 1.25rem; position: relative; }
.program-goals-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--col-blue);
}

.program-aside {
  background: var(--bg-navy);
  color: var(--on-navy);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  min-height: 260px;
}
.program-aside-label { font-size: 0.9375rem; color: var(--on-navy-2); }
.program-aside-who { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }

.programs-foot {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}
.programs-foot-text { display: grid; gap: 0.6rem; max-width: 52ch; }
.programs-foot-lead { font-size: var(--text-lead); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.programs-foot-alt { font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); }
.programs-foot-alt strong { color: var(--col-blue); font-weight: 600; }

@media (max-width: 760px) {
  .program { grid-template-columns: 1fr; }
  .program-aside { min-height: 0; }
}

/* Program graphics: one small chart per talk in the navy panel */
.program-aside { justify-content: space-between; gap: 1.5rem; }
.program-graphic { width: 100%; height: auto; max-height: 220px; overflow: visible; }
.program-graphic .g-axis { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.5; }
.program-graphic .g-wick { stroke: rgba(255, 255, 255, 0.45); stroke-width: 2; stroke-linecap: round; }
.program-graphic .g-up { fill: var(--col-amber); }
.program-graphic .g-down { fill: rgba(255, 255, 255, 0.85); }
.program-graphic .g-soft { fill: rgba(0, 173, 233, 0.55); }
.program-graphic .g-trend { fill: none; stroke: var(--col-sky); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.program-graphic .g-trend--thin { stroke-width: 2; opacity: 0.8; }
.program-graphic .g-ring-track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 22; }
.program-graphic .g-ring { fill: none; stroke-width: 22; }
.program-graphic .g-ring-a { stroke: var(--col-sky); }
.program-graphic .g-ring-b { stroke: rgba(255, 255, 255, 0.85); }
.program-graphic .g-ring-c { stroke: var(--col-amber); }
.program-graphic .g-dot-a { fill: var(--col-amber); }
.program-graphic .g-dot-b { fill: rgba(255, 255, 255, 0.85); }
.program-graphic .g-dot-c { fill: var(--col-sky); }
.program-graphic .g-dot-soft { fill: rgba(255, 255, 255, 0.22); }
.program-graphic .g-label { fill: var(--on-navy-2); font-size: 15px; }
.program-graphic .g-value { fill: var(--on-navy); font-size: 15px; font-weight: 700; }
.program-graphic .g-cross { stroke: rgba(246, 173, 66, 0.35); stroke-width: 1.5; stroke-dasharray: 4 5; }
.program-graphic .g-lens { fill: none; stroke: var(--col-amber); stroke-width: 3; }
.program-graphic .g-tile-a { fill: var(--col-sky); }
.program-graphic .g-tile-b { fill: var(--col-amber); }
.program-graphic .g-tile-c { fill: rgba(255, 255, 255, 0.85); }
.program-graphic .g-tile-d { fill: rgba(255, 255, 255, 0.28); }

/* Entrance: each chart draws itself when its tab opens */
.program-graphic .g-draw { stroke-dasharray: 1; }
.panel.is-active .g-draw { animation: g-draw 1.1s var(--ease-out) 0.15s both; }
.panel.is-active .g-ring { animation: g-fade 0.7s var(--ease-out) both; }
.panel.is-active .g-ring-b { animation-delay: 0.12s; }
.panel.is-active .g-ring-c { animation-delay: 0.24s; }
.panel.is-active .g-grow, .panel.is-active .program-graphic .g-bar { transform-box: fill-box; transform-origin: bottom; animation: g-grow 0.7s var(--ease-out) both; }
.panel.is-active .program-graphic .g-bar:nth-of-type(2n) { animation-delay: 0.06s; }
.panel.is-active .program-graphic .g-bar:nth-of-type(3n) { animation-delay: 0.12s; }
.panel.is-active .g-pop { transform-box: fill-box; transform-origin: center; animation: g-pop 0.6s var(--ease-out) 0.35s both; }
@keyframes g-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes g-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes g-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes g-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }

/* ----------------------------- Partners ----------------------------- */
.partners { background: var(--bg-2); }

.seal-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem 1.75rem;
  margin-top: 1rem;
}
.seal { display: grid; grid-template-rows: auto auto 1fr; justify-items: center; align-content: start; text-align: center; gap: 1.25rem; }
.seal img { height: clamp(130px, 12vw, 215px); width: auto; max-width: 100%; object-fit: contain; }
.seal-name {
  font-size: clamp(1.125rem, 1.3vw, 1.375rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--col-navy);
  max-width: 20ch;
  text-wrap: balance;
}

.seal-foot {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}
.seal-foot-text {
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.seal-press {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.9rem;
  margin-top: -0.6rem;
  font-size: 0.8125rem;
}
.seal-press a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: color var(--dur-fast); }
.seal-press a:hover { color: var(--col-blue); text-decoration-color: currentColor; }

.orgs-head {
  margin-top: clamp(4rem, 8vw, 6.5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-strong);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.orgs-title { font-size: var(--text-h2); font-weight: 700; letter-spacing: -0.028em; line-height: 1.06; max-width: 36ch; }
.orgs-sub { margin-top: 1rem; font-size: var(--text-lead); line-height: 1.45; color: var(--ink-2); max-width: 44ch; }

/* Logo carousel: one continuous right-to-left loop, duplicated set for the
   seam, faded at both edges, paused on hover. Each entry is a name card, not
   a caption: the organization in ink, its school beneath. */
.org-marquee {
  overflow: hidden;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.org-marquee { display: grid; gap: 1rem; }
.org-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: org-scroll 160s linear infinite;
}
/* Second row runs the other way, offset so its cards never line up with row one */
.org-track--reverse { animation-name: org-scroll-reverse; animation-duration: 184s; }
.org-marquee:hover .org-track { animation-play-state: paused; }
@keyframes org-scroll { to { transform: translateX(-50%); } }
@keyframes org-scroll-reverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.org-set { display: flex; gap: 1rem; padding-right: 1rem; }
.org {
  width: 184px;
  padding: 1.1rem 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  gap: 0.25rem;
}
.org img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: 0.5rem;
}
.org-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}
.org-school {
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--ink-2);
  text-wrap: balance;
}

.orgs-foot {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}
.orgs-foot-copy { display: grid; gap: 0.5rem; max-width: 30ch; }
.orgs-foot-text {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}
.orgs-foot-sub { font-size: var(--text-lead); color: var(--ink-2); }

@media (max-width: 1100px) {
  .seal-list { grid-template-columns: repeat(3, 1fr); }
}

/* ----------------------------- Portfolio ----------------------------- */
.portfolio .section-head { margin-bottom: 2rem; }
.portfolio .section-title { max-width: 36ch; }

.gallery-wrap { position: relative; }

.gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* Track runs nearly edge to edge: a short inset on the left, bleeding
     off the right, while the heading above keeps the text column */
  padding-left: max(var(--gutter), 6.5vw);
  padding-right: var(--gutter);
  scroll-padding-left: max(var(--gutter), 6.5vw);
}
.gallery::-webkit-scrollbar { display: none; }

.shot {
  flex: 0 0 auto;
  width: min(72vw, 520px);
  scroll-snap-align: start;
}
.shot.hidden { display: none; }
.shot-btn {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}
.shot-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.shot-btn:hover img { transform: scale(1.03); }
.shot-btn:active img { transform: scale(0.995); }
.shot figcaption { margin-top: 0.75rem; font-size: var(--text-small); color: var(--ink-2); }
.shot-quote { display: grid; gap: 0.2rem; }
.shot-quote q { font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--ink); quotes: "\201C" "\201D"; }
.shot-by { font-size: 0.8125rem; color: var(--ink-2); }

.gallery-nav {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.gallery-btns { display: flex; gap: 0.5rem; margin-left: auto; }

.gallery-sub {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-strong);
}
.gallery-sub-title { font-size: var(--text-h3); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.gallery-sub-text { margin-top: 0.5rem; color: var(--ink-2); max-width: 56ch; }
.gallery-empty { color: var(--ink-2); }

/* ----------------------------- Stories ----------------------------- */
.stories { background: var(--bg-2); }
.story-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem 1.5rem;
  align-items: start;
}
.story-card { display: grid; gap: 0.75rem; justify-items: start; align-content: start; }
.story-page-btn {
  display: block;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -24px rgba(14, 27, 46, 0.35);
  margin-bottom: 0.5rem;
  transition: transform var(--dur) var(--ease-out);
}
/* Only the top of the magazine page shows: the portrait and the headline.
   The body and the name stay behind the click. */
.story-page-btn img { width: 100%; height: auto; aspect-ratio: 988 / 400; object-fit: cover; object-position: top; }
.story-page-btn:hover { transform: translateY(-3px); }
.story-quote {
  margin: 0;
  font-size: clamp(1.0625rem, 1.2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}
.story-quote::before { content: "\201C"; }
.story-quote::after { content: "\201D"; }
.story-by { display: grid; gap: 0.1rem; }
.story-name { font-weight: 600; font-size: var(--text-small); }
.story-role { color: var(--ink-2); font-size: 0.8125rem; line-height: 1.35; }
.story-card .link-arrow { font-size: var(--text-small); }

@media (max-width: 1100px) {
  .story-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-card { justify-items: center; text-align: center; max-width: 420px; margin-inline: auto; }
  .story-by { justify-items: center; }
}

/* ----------------------------- Open an account ----------------------------- */
.account-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}

.tier-list {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}
.tier {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: var(--radius);
  background: var(--bg-2);
  display: grid;
  gap: 0.35rem;
  align-content: start;
}
.tier--featured {
  background: var(--bg-navy);
  color: var(--on-navy);
  padding: clamp(2rem, 3vw, 2.75rem);
  box-shadow: 0 28px 56px -28px rgba(0, 34, 85, 0.55);
}
.tier--featured .tier-name { font-size: 1.5rem; }
.tier--featured .tier-amount { font-size: clamp(2.5rem, 4vw, 3.5rem); }
.tier-name { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
.tier-label { margin-top: 1rem; font-size: 0.8125rem; color: var(--ink-2); }
.tier--featured .tier-label { color: var(--on-navy-2); }
.tier-amount {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--col-navy);
  font-variant-numeric: tabular-nums;
}
.tier--featured .tier-amount { color: var(--col-amber); }
.tier-desc { margin-top: 0.75rem; font-size: var(--text-small); line-height: 1.45; color: var(--ink-2); }
.tier--featured .tier-desc { color: var(--on-navy-2); }
.tier-features {
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
  display: grid;
  gap: 0.5rem;
  font-size: var(--text-small);
  line-height: 1.4;
}
.tier--featured .tier-features { border-top-color: var(--line-navy); }
.tier-features li { padding-left: 1.25rem; position: relative; }
.tier-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--col-blue);
}
.tier--featured .tier-features li::before { background: var(--col-amber); }

.signup {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
}
.signup-qr { width: 180px; height: auto; border-radius: var(--radius-sm); }
.signup-text { font-size: var(--text-small); color: var(--ink-2); max-width: 22ch; }
.signup .btn { width: 100%; }
.signup-link { font-weight: 600; color: var(--col-blue); }
.signup-link:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .account-grid { grid-template-columns: 1fr; }
  .signup { max-width: 420px; margin-inline: auto; width: 100%; }
}
@media (max-width: 900px) {
  .tier-list { grid-template-columns: 1fr; }
}

/* ----------------------------- Team ----------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem clamp(2rem, 4vw, 4.5rem);
}
.team .section-sub { max-width: 58ch; }
.member-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  margin-bottom: 1.25rem;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.member-initials {
  display: none;
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 700; color: var(--col-navy);
}
.member-photo.no-photo .member-initials { display: flex; }
.member-name { font-size: clamp(1.25rem, 1.5vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; }
.member-role { color: var(--ink-2); font-size: 1rem; margin-top: 0.2rem; }
.member-bio { margin-top: 0.85rem; color: var(--ink); max-width: 36ch; }

@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .member-photo { max-width: 320px; }
}

/* ----------------------------- Annual reports ----------------------------- */
.reports { background: var(--bg-navy); color: var(--on-navy); }
.reports .section-title { color: var(--on-navy); }
.reports .section-sub { color: var(--on-navy-2); max-width: 52ch; }

.report-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3rem clamp(1.5rem, 3vw, 3.5rem);
}
.report { display: grid; gap: 0.4rem; align-content: start; justify-items: start; }
.report-cover {
  width: 100%;
  aspect-ratio: 636 / 900;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.12);
  margin-bottom: 0.85rem;
  transition: transform var(--dur) var(--ease-out);
}
.report:hover .report-cover { transform: translateY(-3px); }
.report-year { font-size: clamp(1.5rem, 1.8vw, 1.875rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-top: 0.25rem; }
.report-stat { font-size: 1rem; font-weight: 600; color: var(--col-amber); }
.report-snippet { font-size: var(--text-small); line-height: 1.5; color: var(--on-navy-2); max-width: 30ch; }
.link-arrow--light { color: var(--on-navy); margin-top: 0.35rem; }
.link-arrow--light:hover { color: var(--col-amber); }

.report-form {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-navy);
  display: grid;
  gap: 1.25rem;
}
.report-form-title { font-size: var(--text-h3); font-weight: 600; letter-spacing: -0.02em; }
.report-form-sub { margin-top: 0.35rem; color: var(--on-navy-2); max-width: 52ch; }
.report-form-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}
.field { display: grid; gap: 0.4rem; min-width: 160px; }
.field--grow { flex: 1 1 260px; }
.field-label { font-size: 0.875rem; font-weight: 600; color: var(--on-navy); }
.field-input {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 0;
  border-radius: 14px;
  min-height: 48px;
  padding: 0 1rem;
  width: 100%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.field-input::placeholder { color: var(--ink-2); }
.field-input:focus-visible { outline: 2px solid var(--col-amber); outline-offset: 2px; }
select.field-input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.report-submit { min-height: 48px; }
.field-error { color: #FFD3B0; font-size: var(--text-small); }
.report-form-done { color: var(--on-navy-2); font-size: var(--text-small); max-width: 60ch; }
.report-form-done a { color: var(--on-navy); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .report-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .report-list { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .report { justify-items: center; text-align: center; }
  .report-form-fields { flex-direction: column; align-items: stretch; }
  .field { min-width: 0; }
}

/* ----------------------------- FAQ ----------------------------- */
.faq { background: var(--bg-2); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem 3rem;
  align-items: start;
}
.faq-head { position: sticky; top: calc(var(--nav-h) + 2rem); }

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color var(--dur-fast);
}
.faq-q:hover { color: var(--col-navy); }
.faq-plus {
  position: relative;
  flex: 0 0 auto;
  width: 22px; height: 22px;
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out);
}
.faq-plus::before { left: 3px; right: 3px; top: 10px; height: 2px; }
.faq-plus::after { top: 3px; bottom: 3px; left: 10px; width: 2px; }
.faq-item.open .faq-plus::after { transform: scaleY(0); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease-out);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { padding-bottom: 1.25rem; color: var(--ink-2); max-width: 60ch; }

@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
  .faq-head { position: static; }
}

/* ----------------------------- Contact ----------------------------- */
.contact {
  background: var(--bg-navy);
  color: var(--on-navy);
  padding: clamp(6rem, 12vw, 10rem) 0;
}
.contact-title {
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.contact-body {
  margin-top: 1.5rem;
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--on-navy-2);
  max-width: 40ch;
}
.contact-actions {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
}
.contact-email {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--on-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: border-color var(--dur-fast);
}
.contact-email:hover { border-color: #fff; }

/* ----------------------------- Footer ----------------------------- */
.footer {
  background: var(--bg-deep);
  color: var(--on-navy);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-navy);
}
.footer-logo { display: inline-flex; align-items: center; }
.footer-logo-img { height: 44px; width: auto; }
.footer-logo-text { display: none; font-size: 1.125rem; letter-spacing: -0.01em; }
.footer-logo-text strong { font-weight: 800; }
.footer-logo.no-logo .footer-logo-text { display: inline; }
.footer-tagline { margin-top: 0.5rem; color: var(--on-navy-2); }
.footer-head { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.75rem; }
.footer-links { display: grid; gap: 0.35rem; }
.footer-links a, .footer-email { color: var(--on-navy-2); transition: color var(--dur-fast); }
.footer-links a:hover, .footer-email:hover { color: #fff; }
.footer-note { margin-top: 0.75rem; color: var(--on-navy-2); font-size: var(--text-small); max-width: 32ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--on-navy-2);
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ----------------------------- Lightbox ----------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  width: 100vw; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.lightbox::backdrop {
  background: rgba(6, 18, 36, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.lightbox[open] { display: grid; place-items: center; animation: lb-in var(--dur) var(--ease-out); }
.lightbox[open]::backdrop { animation: lb-fade var(--dur) var(--ease-out); }
.lightbox.closing { animation: lb-out var(--dur) var(--ease-in-out) forwards; }
.lightbox.closing::backdrop { animation: lb-fade var(--dur) var(--ease-in-out) reverse forwards; }

@keyframes lb-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes lb-out { to { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox-figure {
  max-width: min(92vw, 1000px);
  max-height: 92dvh;
  overflow: auto;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.5);
}
.lightbox-img { width: 100%; height: auto; }
.lightbox-cap { padding: 0.9rem 1.25rem; font-size: var(--text-small); color: var(--ink-2); background: #fff; }
.lightbox-cap:empty { display: none; }

.lightbox-close {
  position: fixed;
  top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: grid; place-items: center;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast);
}
.lightbox-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lightbox-close:hover { background: #fff; }
.lightbox-close:active { transform: scale(0.94); }

/* ----------------------------- Reveal ----------------------------- */
/* Content is visible by default; the .js class scopes the hidden state so
   crawlers and no-JS clients never lose content. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out-expo), transform var(--dur-slow) var(--ease-out-expo);
  transition-delay: calc(var(--reveal-i, 0) * 60ms);
}
.js [data-reveal="photo"] { transform: scale(1.03); }
.js [data-reveal].visible { opacity: 1; transform: none; }

/* ----------------------------- Mobile ----------------------------- */
/* Under 880px the page reads as a single centered column: headlines,
   copy, and actions align to the middle, photos go full width. */
@media (max-width: 880px) {
  :root { --section: clamp(4rem, 12vw, 5.5rem); }

  .hero { padding-top: calc(var(--nav-h) + 1.5rem); padding-bottom: 0; min-height: 0; }
  .hero-grid { gap: 2rem; }
  .hero-copy { text-align: center; }
  .hero-title { max-width: 12ch; margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-by { justify-content: center; }
  .hero-actions { justify-content: center; flex-direction: column; gap: 1rem; }
  .hero-actions .btn { width: min(100%, 320px); }
  .hero-collage {
    margin-inline: calc(-1 * var(--gutter));
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  }

  .section-head, .about-head, .faq-head, .orgs-head { text-align: center; }
  .section-title, .section-sub, .lead, .about-head .section-title, .orgs-title, .orgs-sub { margin-inline: auto; }
  .section-head--row { justify-content: center; }
  .section-head--row .pills { justify-content: center; }

  .stat { text-align: center; }

  .promise { text-align: center; }
  .promise p { margin-inline: auto; }

  .flagship-row { text-align: center; }
  .flagship-logo { margin-inline: auto; }
  .flagship-body { justify-items: center; }
  .flagship-body p { margin-inline: auto; }
  .flagship-foot { text-align: center; }

  .seg-wrap { display: flex; justify-content: flex-start; }
  .program-main { text-align: left; }
  .programs-foot { justify-content: center; text-align: center; }

  .orgs-foot, .seal-foot { justify-content: center; text-align: center; flex-direction: column; }

  .gallery-nav { justify-content: center; }
  .gallery-btns { margin-left: 0; }

  .story-tabs { justify-content: center; }
  .story-text { justify-items: center; text-align: center; }
  .story-quote { margin-inline: auto; }
  .story-page { margin-inline: auto; }

  .member { text-align: center; }
  .member-photo { margin-inline: auto; }
  .member-bio { margin-inline: auto; }

  .contact-copy { text-align: center; }
  .contact-title, .contact-body { margin-inline: auto; }
  .contact-actions { justify-content: center; flex-direction: column; }
  .contact-actions .btn { width: min(100%, 320px); }

  .footer-grid { text-align: center; }
  .footer-note { margin-inline: auto; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.5rem, 12.5vw, 3rem); }
  .stat-num { font-size: clamp(2.75rem, 14vw, 3.5rem); }
  .hero-collage { --collage-h: clamp(340px, 52vh, 440px); }
  .seal-list { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .seal img { height: 140px; }
  .org { width: 156px; padding: 1rem 0.85rem; }
  .org img { width: 60px; height: 60px; }
  .shot { width: 82vw; }
}

/* --------------------------- Reduced motion --------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .hero-copy > * { opacity: 1; transform: none; animation: none; }
  .js .collage-col { opacity: 1; animation: none; }
  .collage-track { animation: none; }
  .org-track { animation: none; }
  .btn:active, .pill:active, .seg-tab:active, .round-btn:active, .link-arrow:active { transform: none; opacity: 0.8; }
  .shot-btn:hover img { transform: none; }
  .gallery { scroll-behavior: auto; }
}

@media (prefers-contrast: more) {
  .nav--scrolled, .nav.menu-open, .nav-menu { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pill, .seg { box-shadow: inset 0 0 0 1px var(--line-strong); }
}

@media print {
  .nav, .nav-menu, .lightbox, .gallery-btns { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ======================= TRAVEL AGENCY TOURS ======================= */
.immersion .section-title { max-width: 18ch; }
.immersion .section-sub { max-width: 52ch; }
.immersion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.immersion-shot { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 3; }
.immersion-shot img { width: 100%; height: 100%; object-fit: cover; }

.immersion-list { display: grid; gap: 0.75rem; margin-top: 1.75rem; }
.immersion-list li { padding-top: 0.75rem; border-top: 1px solid var(--line); color: var(--ink-2); }
.immersion-list strong { color: var(--ink); font-weight: 600; }

.immersion-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  list-style: none;
  padding: 0;
}
.immersion-steps li { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 600; line-height: 1.35; }
.immersion-step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--col-navy);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
}

.immersion-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-navy);
  color: #fff;
}
.immersion-facts { flex: 1; display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.immersion-facts dt { font-size: var(--text-small); color: rgba(255, 255, 255, 0.72); }
.immersion-facts dd { font-weight: 600; }

@media (max-width: 1000px) {
  .immersion-steps { grid-template-columns: 1fr 1fr; }
  .immersion-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .immersion-grid { grid-template-columns: 1fr; }
  .immersion-steps { grid-template-columns: 1fr; gap: 0.875rem; }
  .immersion-facts { display: grid; grid-template-columns: 1fr 1fr; }
}
