/* ==========================================================================
   Maria Cristina Foundation: design system (2026 redesign)

   Modelled on the charities the white paper cites as precedents:
   - charity: water: warm cream canvas, light display serif, a donation card
     inside the hero, the "100% of your donation" callout, proof panel,
     "Ready to take action?" card rail, newsletter panel, quiet light footer.
   - Room to Read: full-bleed photo bands with alternating text panels.
   - Himalayan Trust: founder-quote origin block, "become a regular giver".
   - Pencils of Promise: impact counters with a "last updated" stamp.

   Palette: Indigo Night (ink), Raspberry (heritage butterfly), Dawn Gold
   (summit sunrise, primary call to action), Glacier (heritage cyan),
   Snow/Cream (paper). Type: Manrope throughout (self-hosted variable font):
   medium-weight headlines, light numerals, sentence-case controls, open
   tracking on small capitals. Minimal and quiet; colour does the shouting.
   Theme: dark by default; light when <html data-theme="light"> (toggle in header).
   ========================================================================== */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  /* --ink is the main text colour (it flips in dark mode); --night is the fixed brand
     indigo for always-dark panels and for text on gold or white chips. */
  --ink: #1E1A4A;
  --night: #1E1A4A;
  --ink-2: #2B2662;
  --ink-deep: #15123A;
  --ink-soft: #4A4670;
  --stone: #5E5A78;
  --raspberry: #C21D58;
  --raspberry-bright: #E0306A;
  --raspberry-tint: #FBE8EE;
  --gold: #F4A93B;
  --gold-bright: #FFBE4D;
  --gold-deep: #E0801F;
  --gold-tint: #FDF1DC;
  --glacier: #5CC6E0;
  --glacier-tint: #E4F5FA;
  --snow: #FFFDF8;
  --cream: #FAF3E4;
  --cream-2: #F4EAD5;
  --paper: #FFFFFF;
  --line: #E9E1D1;
  --line-dark: rgba(255, 255, 255, .14);
  --rasp-text: #C21D58;
  --btn-ink-bg: #1E1A4A;
  --btn-ink-fg: #FFFFFF;
  --header-bg: rgba(255, 255, 255, .97);
  --band-light-fade: 250, 243, 228;

  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(30, 26, 74, .06), 0 6px 18px rgba(30, 26, 74, .07);
  --shadow-lg: 0 2px 6px rgba(30, 26, 74, .08), 0 22px 50px rgba(30, 26, 74, .16);
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--snow); color: var(--ink);
  font: 400 17px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--rasp-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--raspberry-bright); }
:focus-visible { outline: 3px solid var(--glacier); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--night); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.022em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.18rem, 1.7vw, 1.38rem); line-height: 1.25; font-weight: 600; letter-spacing: -.012em; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
h1 em, h2 em { font-style: normal; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.26rem); line-height: 1.55; color: var(--ink-soft); font-weight: 400; text-wrap: pretty; }
.serif-italic { font-style: italic; font-weight: 500; }
.eyebrow {
  display: inline-block; margin-bottom: 1rem;
  font: 600 .72rem/1.2 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft);
}
.on-dark .eyebrow, .bg-ink .eyebrow { color: var(--gold); }
.muted { color: var(--stone); }
.small { font-size: .88rem; }
.center { text-align: center; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .6); }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-fade { background: linear-gradient(var(--cream), var(--snow)); }
.bg-ink { background: var(--night); color: #fff; }
.bg-ink .lead, .bg-ink .muted { color: rgba(255,255,255,.78); }
.bg-gold-tint { background: var(--gold-tint); }
.bg-rasp-tint { background: var(--raspberry-tint); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-bottom: 0; }

/* Topographic contour texture for dark sections */
.contours { position: relative; isolation: isolate; overflow: hidden; }
.contours::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .09; pointer-events: none;
  background: url("../img/contours.svg") center / 1100px auto repeat;
}

/* Skip link */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--night); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Buttons (charity: water style: square-ish, uppercase, gold primary) ---------- */
.btn {
  --bg: var(--gold); --fg: var(--night); --bg-h: var(--gold-bright);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.7em; border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font: 600 .95rem/1.1 var(--font-body); letter-spacing: .005em; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { color: var(--fg); background: var(--bg-h); border-color: var(--bg-h); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(224, 128, 31, .25); }
.btn-gold { --bg: var(--gold); --fg: var(--night); --bg-h: var(--gold-bright); }
.btn-rasp { --bg: var(--raspberry); --fg: #fff; --bg-h: var(--raspberry-bright); }
.btn-rasp:hover { box-shadow: 0 8px 20px rgba(194, 29, 88, .28); }
.btn-ink { --bg: var(--btn-ink-bg); --fg: var(--btn-ink-fg); --bg-h: var(--btn-ink-bg); }
.btn-ink:hover { opacity: .9; }
.btn-ink:hover { box-shadow: 0 8px 20px rgba(30, 26, 74, .25); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bg-h: var(--ink); border-color: currentColor; }
.btn-ghost:hover { color: var(--snow); box-shadow: none; border-color: var(--ink); }
.on-dark .btn-ghost, .bg-ink .btn-ghost, .band-dark .btn-ghost, .split-hero .btn-ghost, .photo-hero .btn-ghost, .band:not(.band-light) .btn-ghost { --fg: #fff; --bg-h: #fff; }
.on-dark .btn-ghost:hover, .bg-ink .btn-ghost:hover, .band-dark .btn-ghost:hover, .split-hero .btn-ghost:hover, .photo-hero .btn-ghost:hover, .band:not(.band-light) .btn-ghost:hover { color: var(--night); border-color: #fff; }
.btn-sm { padding: .72em 1.2em; font-size: .86rem; }
.btn-lg { padding: 1.05em 2.1em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }
.link-arrow {
  font: 600 .95rem/1.2 var(--font-body); letter-spacing: 0; color: var(--ink);
  text-decoration: none; display: inline-flex; gap: .5em; align-items: center; padding: 6px 0 4px;
  border-bottom: 2px solid var(--gold);
}
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover::after { transform: translateX(3px); }
.on-dark .link-arrow, .bg-ink .link-arrow { color: #fff; }
.icon-play { width: 1.05em; height: 1.05em; }

/* ---------- Header (white bar, small caps nav, gold Donate) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--header-bg);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(30, 26, 74, .07); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 500 1.18rem/1 var(--font-display); letter-spacing: -.006em; }
.brand-sub { font: 500 .54rem/1 var(--font-body); letter-spacing: .42em; color: var(--rasp-text); margin-top: 6px; }
.site-footer .brand { color: var(--ink); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0 auto; padding: 0; }
.nav a.nav-link, .nav .nav-drop > button {
  display: block; padding: 10px 12px; color: var(--ink); text-decoration: none;
  font: 500 .93rem/1 var(--font-body); letter-spacing: 0; background: none; border: 0; cursor: pointer;
}
.nav a.nav-link:hover, .nav .nav-drop > button:hover { color: var(--rasp-text); }
.nav-drop { position: relative; }
.nav-drop > button::after { content: ""; display: inline-block; margin-left: 7px; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: translateY(-3px) rotate(45deg); }
.nav-menu {
  position: absolute; top: calc(100% + 14px); left: -12px; min-width: 310px; padding: 10px; list-style: none; margin: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop.open .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: block; padding: 12px 14px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.nav-menu a:hover { background: var(--cream); }
.nav-menu strong { display: block; font-size: .95rem; }
.nav-menu span { display: block; font-size: .82rem; color: var(--stone); line-height: 1.4; margin-top: 2px; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .nav-monthly { font: 500 .93rem/1 var(--font-body); letter-spacing: 0; color: var(--ink); text-decoration: none; padding: 10px 14px 10px 0; border-right: 1px solid var(--line); }
.nav-cta .nav-monthly:hover { color: var(--rasp-text); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 6px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: auto; position: relative; transition: .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Active page */
body[data-page="promise"] [data-nav="promise"],
body[data-page="students"] [data-nav="students"],
body[data-page="summit"] [data-nav="campaigns"],
body[data-page="everest"] [data-nav="campaigns"],
body[data-page="basecamp"] [data-nav="campaigns"],
body[data-page="involved"] [data-nav="campaigns"],
body[data-page="transparency"] [data-nav="transparency"],
body[data-page="about"] [data-nav="about"] { color: var(--rasp-text); box-shadow: inset 0 -2px 0 var(--gold); }

@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch;
    padding: 20px var(--gutter) 40px; overflow-y: auto; gap: 0;
    opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; visibility: hidden;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; margin: 0; }
  .nav a.nav-link, .nav .nav-drop > button { font-size: .9rem; padding: 18px 4px; width: 100%; text-align: left; border-bottom: 1px solid var(--line); }
  .nav-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; background: transparent; display: none; }
  .nav-drop.open .nav-menu { display: block; }
  .nav-cta { margin: 24px 0 0; flex-direction: column; align-items: stretch; }
  .nav-cta .nav-monthly { border: 1px solid var(--ink); text-align: center; padding: 1em; border-radius: var(--radius-sm); }
  .nav-cta .btn { width: 100%; padding: 1.1em; }
  body[data-page] [data-nav] { box-shadow: none; }
}

/* ---------- Home hero: photo + donation card (charity: water / Room to Read) ---------- */
.hero-give { position: relative; isolation: isolate; color: #fff; overflow: hidden; min-height: min(calc(100vh - var(--header-h)), 820px); display: flex; align-items: center; }
.hero-give .hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-give .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-give::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21, 18, 58, .55) 0%, rgba(21, 18, 58, .28) 38%, rgba(21, 18, 58, 0) 60%); }
.hero-give .wrap { padding-block: clamp(40px, 6vw, 72px); }
.hero-give-inner { max-width: 460px; text-align: center; }
.hero-give h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: .55em; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-give h1 em { color: var(--gold-bright); }
.hero-caption { position: absolute; right: var(--gutter); bottom: 18px; font-size: .76rem; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,.5); max-width: 360px; text-align: right; }
.hero-film { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: #fff; text-decoration: none; font: 500 .98rem/1 var(--font-body); letter-spacing: 0; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero-film span.ring { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; }
.hero-film:hover { color: var(--gold-bright); }
@media (max-width: 760px) {
  .hero-give { display: block; min-height: 0; color: var(--ink); }
  .hero-give .hero-media { position: relative; height: 56vw; min-height: 260px; }
  .hero-give::after { display: none; }
  .hero-give .wrap { padding-block: 0 32px; margin-top: -40px; }
  .hero-give-inner { max-width: none; }
  .hero-give h1 { color: var(--ink); text-shadow: none; font-size: 2rem; margin-top: 64px; }
  .hero-give h1 em { color: var(--rasp-text); }
  .hero-give .quick-give { margin-top: -6px; }
  .hero-caption { position: static; color: var(--stone); text-shadow: none; text-align: center; max-width: none; margin-top: 14px; }
  .hero-film { color: var(--ink); text-shadow: none; }
  .hero-film span.ring { border-color: var(--ink); }
}

/* Quick give card (home hero, Base Camp hero) */
.quick-give { background: var(--paper); color: var(--ink); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 22px; text-align: left; }
.qg-freq { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 16px; }
.qg-freq button { border: 0; padding: 10px; border-radius: var(--radius-sm); background: none; color: var(--stone); font: 600 .88rem/1 var(--font-body); letter-spacing: 0; cursor: pointer; border-bottom: 2px solid var(--line); border-radius: 0; }
.qg-freq button[aria-pressed="true"] { background: var(--gold); color: var(--night); border-radius: 999px; border-bottom-color: var(--gold); }
.qg-label { font: 600 .66rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; display: block; }
.qg-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.qg-amounts button, .qg-other { padding: 13px 6px; border-radius: 10px; border: 1.5px solid var(--cream-2); background: var(--cream); color: var(--ink); font: 700 1rem/1 var(--font-body); cursor: pointer; text-align: center; transition: .12s; }
.qg-amounts button small { font-size: .62rem; font-weight: 600; color: var(--stone); letter-spacing: .02em; }
.qg-amounts button:hover { border-color: var(--gold); }
.qg-amounts button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
.qg-amounts button[aria-pressed="true"] small { color: var(--night); }
.qg-other { grid-column: 1 / -1; font-weight: 600; font-size: .92rem; width: 100%; min-width: 0; }
.qg-other::placeholder { color: var(--stone); }
.qg-other:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.qg-impact { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; line-height: 1.45; color: var(--ink-soft); margin: 14px 0 16px; min-height: 2.9em; }
.qg-impact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--rasp-text); margin-top: 1px; }
.quick-give .btn { width: 100%; }
.qg-foot { font-size: .74rem; color: var(--stone); text-align: center; margin: 10px 0 0; }

/* ---------- Page heroes ---------- */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(21, 18, 58, .82) 0%, rgba(21, 18, 58, .5) 42%, rgba(21, 18, 58, .05) 75%), linear-gradient(0deg, rgba(21, 18, 58, .6) 0%, transparent 45%);
}
.hero-content { padding-block: clamp(100px, 14vw, 160px) clamp(56px, 8vw, 96px); max-width: 600px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { color: var(--gold-bright); }
.hero .lead { color: rgba(255,255,255,.9); max-width: 600px; margin-bottom: 2rem; }

/* Photo hero for inner pages (Room to Read style) */
.photo-hero { position: relative; isolation: isolate; color: #fff; min-height: clamp(380px, 58vh, 580px); display: flex; align-items: flex-end; overflow: hidden; }
.photo-hero > img, .photo-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21, 18, 58, .7) 0%, rgba(21, 18, 58, .35) 50%, rgba(21, 18, 58, 0) 75%), linear-gradient(0deg, rgba(21, 18, 58, .75) 0%, rgba(21, 18, 58, .2) 55%, rgba(21, 18, 58, 0) 100%); }
.photo-hero .wrap { padding-block: clamp(48px, 7vw, 80px); }
.photo-hero h1 { max-width: 820px; margin-bottom: .3em; }
.photo-hero .lead { color: rgba(255,255,255,.9); max-width: 640px; margin-bottom: 0; }
.photo-hero .eyebrow { color: var(--gold-bright); }
.photo-hero .btn-row { margin-top: 26px; }
.photo-credit { position: absolute; right: var(--gutter); bottom: 14px; font-size: .72rem; color: rgba(255,255,255,.7); }

.page-hero { padding-block: clamp(64px, 9vw, 112px) clamp(40px, 6vw, 72px); background: var(--cream); }
.page-hero.bg-ink { background: var(--night); padding-bottom: clamp(64px, 9vw, 110px); }
.page-hero.bg-gold-tint { background: var(--gold-tint); }
.page-hero .lead { max-width: 680px; }
.page-hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.page-hero-split img { border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .page-hero-split { grid-template-columns: 1fr; } .page-hero-split img { aspect-ratio: 4 / 3; } }

/* Split hero: photo half + dark panel (charity: water "The Spring") */
.split-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(calc(100vh - var(--header-h)), 760px); background: var(--ink-deep); color: #fff; }
.split-hero-media { position: relative; overflow: hidden; }
.split-hero-media img, .split-hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-hero-body { padding: clamp(40px, 6vw, 80px) clamp(24px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.split-hero-body h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); }
.split-hero-body .lead { color: rgba(255,255,255,.82); font-size: 1.02rem; max-width: 520px; margin-inline: auto; }
.split-hero-body .quick-give { max-width: 440px; margin: 18px auto 0; width: 100%; }
.split-hero-body .eyebrow { color: var(--gold); }
@media (max-width: 900px) { .split-hero { grid-template-columns: 1fr; } .split-hero-media { min-height: 62vw; } }

/* ---------- 100% callout (charity: water) ---------- */
.hundred { display: flex; align-items: center; gap: 18px; max-width: 560px; margin: 32px auto 0; padding: 20px 26px; background: var(--cream); border: 1px solid var(--cream-2); border-radius: var(--radius-sm); text-align: left; font-size: .95rem; line-height: 1.5; }
.hundred strong.pct { font: 300 2.4rem/1 var(--font-display); color: var(--rasp-text); flex-shrink: 0; }
.hundred p { margin: 0; }
.bg-ink .hundred { background: rgba(255,255,255,.06); border-color: var(--line-dark); }
.bg-ink .hundred strong.pct { color: var(--gold); }

.promise-strip { background: var(--gold); color: var(--night); }
.promise-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; padding-block: 16px; flex-wrap: wrap; text-align: center; }
.promise-strip .big { font: 300 1.9rem/1 var(--font-display); }
.promise-strip p { margin: 0; font-size: .98rem; }
.promise-strip a { color: var(--night); font-weight: 700; }

/* ---------- Pill tabs over a photo (charity: water "Because clean water changes everything") ---------- */
.why { position: relative; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); background: var(--night); }
.why-pills { position: absolute; z-index: 2; top: 20px; left: 0; right: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 0 16px; }
.why-pills button { border: 0; border-radius: 999px; padding: 9px 14px; background: rgba(255,255,255,.94); color: var(--night); font: 600 .88rem/1 var(--font-body); letter-spacing: 0; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.why-pills button[aria-selected="true"] { background: var(--gold); color: var(--night); }
.why-panel { position: relative; aspect-ratio: 16 / 8.2; }
.why-panel[hidden] { display: none; }
.why-panel img { width: 100%; height: 100%; object-fit: cover; }
.why-card { position: absolute; right: 24px; bottom: 24px; max-width: 330px; background: var(--paper); padding: 20px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); font-size: .92rem; line-height: 1.5; }
.why-card p { margin: 0 0 12px; }
.why-card .link-arrow { font-size: .68rem; }
@media (max-width: 760px) {
  .why-panel { aspect-ratio: auto; }
  .why-panel img { aspect-ratio: 4 / 3; height: auto; }
  .why-pills { position: static; padding: 14px; background: var(--night); }
  .why-card { position: static; max-width: none; border-radius: 0; box-shadow: none; }
}

/* ---------- Full-bleed photo bands (Room to Read) ---------- */
.band { position: relative; isolation: isolate; min-height: clamp(420px, 52vw, 600px); display: flex; align-items: center; overflow: hidden; color: #fff; }
.band > img, .band > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21, 18, 58, .78) 0%, rgba(21, 18, 58, .42) 40%, rgba(21, 18, 58, 0) 66%); }
.band.band-right::after { background: linear-gradient(270deg, rgba(21, 18, 58, .78) 0%, rgba(21, 18, 58, .42) 40%, rgba(21, 18, 58, 0) 66%); }
.band-body { max-width: 440px; padding-block: 56px; }
.band.band-right .band-body { margin-left: auto; }
.band h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.band p { color: rgba(255,255,255,.9); font-size: 1.04rem; }
.band .btn { margin-top: 10px; }
.band-source { opacity: .8; font-size: .88rem; margin-top: 14px; }
.band-light { color: var(--ink); }
.band-light::after { background: linear-gradient(90deg, rgba(var(--band-light-fade), .94) 0%, rgba(var(--band-light-fade), .7) 38%, rgba(var(--band-light-fade), 0) 62%); }
.band-light.band-right::after { background: linear-gradient(270deg, rgba(var(--band-light-fade), .94) 0%, rgba(var(--band-light-fade), .7) 38%, rgba(var(--band-light-fade), 0) 62%); }
.band-light p { color: var(--ink-soft); }
@media (max-width: 760px) {
  .band, .band.band-right { display: block; min-height: 0; color: var(--ink); }
  .band > img, .band > video { position: relative; height: auto; aspect-ratio: 4 / 3; }
  .band::after { display: none; }
  .band-body { max-width: none; padding-block: 32px 44px; }
  .band p { color: var(--ink-soft); }
  .band-source { opacity: 1; color: var(--stone) !important; }
  .band:not(.band-light) .btn-ghost { --fg: var(--ink); --bg-h: var(--ink); }
}

/* ---------- Origin quote (Himalayan Trust "It all began when...") ---------- */
.origin { background: var(--ink-deep); color: #fff; }
/* Butterfly watermark: the mark, very faint, behind story and call-to-action panels */
.origin, .cta-band { position: relative; isolation: isolate; }
.origin::after, .cta-band::after { content: ""; position: absolute; z-index: -1; pointer-events: none; background: url("../brand/mcf-mark-mono.svg") center / contain no-repeat; filter: invert(1); opacity: .05; }
.origin::after { width: 420px; height: 420px; right: -60px; bottom: -80px; transform: rotate(-12deg); }
.cta-band::after { width: 300px; height: 300px; right: -40px; top: -50px; transform: rotate(10deg); opacity: .08; }
.origin-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.origin-photo { position: relative; }
.origin-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); border: 6px solid var(--glacier); }
.origin-photo figcaption { margin-top: 12px; font-size: .82rem; color: rgba(255,255,255,.65); }
.origin-quotes .eyebrow { color: var(--glacier); display: block; text-align: center; }
.origin-quotes blockquote { margin: 0 0 30px; font: 400 clamp(1.25rem, 2.3vw, 1.7rem)/1.42 var(--font-display); letter-spacing: -.012em; text-align: center; }
.origin-quotes blockquote:last-of-type { margin-bottom: 26px; }
.origin-quotes .btn-row { justify-content: center; }
@media (max-width: 860px) { .origin-grid { grid-template-columns: 1fr; } .origin-photo { max-width: 340px; margin-inline: auto; } }

/* ---------- Impact counters (Pencils of Promise) ---------- */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.counters > div { padding: 26px 16px; text-align: center; border-left: 1px solid var(--ink); }
.counters > div:first-child { border-left: 0; }
.counters strong { display: block; font: 300 clamp(2.4rem, 4.6vw, 3.6rem)/1 var(--font-display); margin-bottom: 8px; }
.counters span { font-size: .86rem; font-weight: 700; line-height: 1.35; display: block; }
.counters-meta { text-align: right; font-size: .76rem; color: var(--stone); margin-top: 8px; }
@media (max-width: 760px) { .counters { grid-template-columns: 1fr 1fr; } .counters > div:nth-child(3) { border-left: 0; } .counters > div:nth-child(n+3) { border-top: 1px solid var(--ink); } }

/* ---------- Proof panel (charity: water dashboard) ---------- */
.proof-section { background: linear-gradient(var(--ink-deep) 0 62%, var(--cream) 62% 100%); color: #fff; }
.proof-section .section-head .lead { color: rgba(255,255,255,.8); }
.proof { background: #221E52; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.proof-top { display: flex; align-items: stretch; flex-wrap: wrap; border-bottom: 1px solid var(--line-dark); }
.proof-id { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 14px; padding: 18px 22px; }
.proof-id img { width: 42px; height: 42px; }
.proof-id strong { display: block; font: 600 1.15rem/1.1 var(--font-display); }
.proof-id small { font-size: .74rem; color: rgba(255,255,255,.6); }
.proof-num { padding: 16px 24px; border-left: 1px solid var(--line-dark); text-align: center; min-width: 120px; }
.proof-num strong { display: block; font: 300 1.6rem/1.1 var(--font-display); }
.proof-num > span { font-size: .72rem; color: rgba(255,255,255,.65); }
.proof-body { display: grid; grid-template-columns: 340px 1fr; min-height: 420px; }
.proof-list { background: var(--paper); color: var(--ink); margin: 24px; border-radius: var(--radius-sm); align-self: start; overflow: hidden; }
.proof-list h3 { margin: 0; padding: 18px 20px; background: var(--night); color: #fff; font: 500 1rem/1.4 var(--font-body); }
.proof-list ul { list-style: none; margin: 0; padding: 0; }
.proof-list li { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: .92rem; }
.proof-list li b { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.proof-list li .flag { width: 26px; height: 18px; border-radius: 2px; flex-shrink: 0; background: var(--cream-2); display: grid; place-items: center; font-size: .58rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.proof-list .proof-caption { padding: 12px 20px 16px; font-size: .76rem; color: var(--stone); border-top: 1px solid var(--line); margin: 0; }
.proof-map { position: relative; overflow: hidden; }
.proof-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 900px) { .proof-body { grid-template-columns: 1fr; } .proof-map { min-height: 300px; } .proof-list { margin: 16px; } .proof-num { flex: 1; min-width: 90px; padding-inline: 10px; } }

/* ---------- Action rail (charity: water "Ready to take action?") ---------- */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 3 * 20px) / 4)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 18px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-card { position: relative; scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; color: #fff; box-shadow: var(--shadow); isolation: isolate; }
.rail-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.rail-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(21,18,58,.65) 0%, rgba(21,18,58,0) 50%); }
.rail-card:hover img { transform: scale(1.04); }
.rail-label { margin: 16px; display: inline-flex; align-items: center; gap: 10px; background: rgba(21,18,58,.82); padding: 8px 14px 8px 8px; border-radius: 40px; font: 600 .66rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.rail-label i { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--night); display: grid; place-items: center; flex-shrink: 0; font-style: normal; }
.rail-label i svg { width: 16px; height: 16px; }
.rail-card .sticker { position: absolute; top: 14px; left: 14px; background: var(--paper); color: var(--ink); font: 600 .62rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; padding: 7px 10px; border-radius: 3px; transform: rotate(-6deg); box-shadow: var(--shadow); }
.rail-nav { display: flex; justify-content: center; gap: 22px; margin-top: 14px; }
.rail-nav button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--ink); font-size: 1.6rem; line-height: 1; }
.rail-nav button:disabled { color: var(--line); cursor: default; }
@media (max-width: 760px) { .rail { grid-auto-columns: 74%; } }

/* ---------- Testimonials (The Spring) ---------- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 30px 26px; text-align: center; font-size: .95rem; line-height: 1.6; display: flex; flex-direction: column; }
.voice p { flex: 1; }
.voice cite { font: 600 .7rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; font-style: normal; }
@media (max-width: 860px) { .voices { grid-template-columns: 1fr; } }

/* ---------- Newsletter panel (charity: water "Add impact to your inbox") ---------- */
.inbox { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; background: var(--paper); border-radius: var(--radius-sm); padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); }
.inbox-intro { display: flex; gap: 18px; align-items: center; }
.inbox-intro svg { width: 56px; height: 56px; flex-shrink: 0; }
.inbox-intro h2 { font-size: 1.5rem; margin: 0 0 4px; }
.inbox-intro p { margin: 0; color: var(--ink-soft); }
.inbox .label { font: 600 .66rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.inbox .field { margin-bottom: 12px; }
@media (max-width: 860px) { .inbox { grid-template-columns: 1fr; } }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-wide { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .grid-2, .grid-3, .grid-4, .split, .split-wide { grid-template-columns: 1fr; } }

.media-frame { position: relative; }
.media-frame img { border-radius: var(--radius-sm); width: 100%; object-fit: cover; box-shadow: var(--shadow-lg); }
.media-frame .badge-float {
  position: absolute; left: -18px; bottom: 28px; background: var(--paper); color: var(--ink); border-radius: var(--radius-sm);
  padding: 16px 20px; box-shadow: var(--shadow-lg); max-width: 270px; font-size: .88rem; line-height: 1.45;
}
.badge-float strong { display: block; font: 300 1.8rem/1.1 var(--font-display); color: var(--rasp-text); }
@media (max-width: 760px) { .media-frame .badge-float { left: 12px; } }

/* Photo mosaic (K2 gallery, speaking) */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(150px, 17vw, 230px); gap: 10px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--cream-2); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic figure:hover img { transform: scale(1.03); }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: .76rem; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; } .mosaic figure:first-child { grid-column: span 2; grid-row: auto; } }

/* Book covers (rendered by tools/build_site.py) */
.book figcaption { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.book-author { font-size: .8rem; color: var(--stone); }
.book .chips { justify-content: center; }
.book-links { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; }
.book-link { font-size: .84rem; font-weight: 600; color: var(--rasp-text); text-decoration: none; padding: 4px 0; }
.book-link:hover { text-decoration: underline; }
/* Spam honeypot on forms: hidden from people, filled in by bots */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Book covers */
.books { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: end; }
.books figure { margin: 0; text-align: center; }
.books img { margin: 0 auto 10px; max-height: 220px; width: auto; mix-blend-mode: multiply; }
.books figcaption { font-size: .82rem; line-height: 1.35; color: var(--ink-soft); }
.books figcaption strong { display: block; color: var(--ink); font-size: .9rem; }
@media (max-width: 860px) { .books { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .books { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: clamp(24px, 3vw, 34px); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform .2s, box-shadow .2s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.card-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-img > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-img .card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card-img .card-body .link-arrow { margin-top: auto; align-self: flex-start; }
.bg-ink .card { background: var(--ink-2); border-color: var(--line-dark); color: #fff; }
.icon-badge { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: var(--raspberry-tint); color: var(--rasp-text); }
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.gold { background: var(--gold-tint); color: var(--gold-deep); }
.icon-badge.glacier { background: var(--glacier-tint); color: #1C8FAE; }
.icon-badge.ink { background: var(--cream-2); color: var(--ink); }
.card.center .icon-badge { margin-inline: auto; }
.tag { display: inline-block; padding: 6px 10px; border-radius: 999px; background: var(--cream); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.tag-live { background: #FFE9EF; color: var(--rasp-text); }
.tag-live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--raspberry); margin-right: 7px; vertical-align: 1px; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 30px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font: 300 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-display); color: var(--ink); margin-bottom: 8px; }
.stat-num small { font-size: .5em; }
.stat p { margin: 0; color: var(--stone); font-size: .95rem; line-height: 1.45; }
.bg-ink .stats, .bg-ink .stat { border-color: var(--line-dark); }
.bg-ink .stat-num { color: var(--gold); }
.bg-ink .stat p { color: rgba(255,255,255,.75); }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Bridge (expedition → talk → scholarships) ---------- */
.bridge { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 16px; }
.bridge-step { background: var(--paper); border-radius: var(--radius-sm); padding: 30px 28px; border: 1px solid var(--line); text-align: left; }
.bridge-step .num { font: 300 3rem/1 var(--font-display); color: var(--rasp-text); margin-bottom: 12px; }
.bridge-step:last-child { background: var(--night); color: #fff; border-color: var(--night); }
.bridge-step:last-child .num { color: var(--gold); }
.bridge-step h3 { font-size: 1.3rem; }
.bridge-step p { margin: 0; color: var(--stone); font-size: .95rem; }
.bridge-step:last-child p { color: rgba(255,255,255,.78); }
.bridge-arrow { display: grid; place-items: center; color: var(--gold-deep); }
.bridge-arrow svg { width: 34px; }
@media (max-width: 900px) { .bridge { grid-template-columns: 1fr; } .bridge-arrow svg { transform: rotate(90deg); } }

/* ---------- Quote ---------- */
.quote { font: 400 clamp(1.4rem, 2.6vw, 1.95rem)/1.35 var(--font-display); letter-spacing: -.015em; margin: 0 0 1.2rem; }
.quote::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--gold); font-style: normal; margin-bottom: .2em; }
.quote-cite { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.bg-ink .quote-cite { color: rgba(255,255,255,.65); }

/* ---------- Timeline ---------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--raspberry)); }
.timeline li { display: grid; grid-template-columns: 100px 1fr; gap: 40px; padding-bottom: 38px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 112px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--raspberry); }
.timeline .year { font: 300 1.5rem/1.2 var(--font-display); text-align: right; color: var(--rasp-text); }
.timeline h3 { font-size: 1.25rem; margin-bottom: .3em; }
.timeline p { margin: 0; color: var(--stone); }
.bg-ink .timeline li::before { background: var(--night); border-color: var(--gold); }
.bg-ink .timeline .year { color: var(--gold); }
.bg-ink .timeline p { color: rgba(255,255,255,.75); }
@media (max-width: 640px) {
  .timeline::before { left: 7px; } .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 34px; }
  .timeline li::before { left: 0; } .timeline .year { text-align: left; font-size: 1.2rem; }
}

/* ---------- Campaign / progress ---------- */
.progress { height: 12px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.bg-ink .progress, .on-dark .progress { background: rgba(255, 255, 255, .12); }
.progress > span { display: block; height: 100%; width: var(--p, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--raspberry-bright)); transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.progress-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: .92rem; }
.progress-meta strong { font: 300 1.5rem/1 var(--font-display); }

.tracker { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--night); color: #fff; box-shadow: var(--shadow-lg); }
.tracker-map { position: relative; min-height: 420px; background: linear-gradient(#2B2662, #141137); }
.tracker-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tracker-panel { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.tracker-readouts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.readout { background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: 6px; padding: 14px 16px; }
.readout span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.readout strong { font: 300 1.55rem/1.1 var(--font-display); color: #fff; }
.readout strong small { font-size: .6em; color: rgba(255,255,255,.7); }
@media (max-width: 900px) { .tracker { grid-template-columns: 1fr; } .tracker-map { min-height: 320px; } }

/* ---------- Tiers (Base Camp) ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 30px 28px; display: flex; flex-direction: column; }
.tier.featured { border: 2px solid var(--gold); box-shadow: var(--shadow-lg); }
.tier .flag { position: absolute; top: -12px; left: 26px; background: var(--gold); color: var(--night); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 3px; }
.tier-name { font: 600 .72rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: 14px; }
.tier-price { font: 300 3rem/1 var(--font-display); margin-bottom: 4px; }
.tier-price small { font: 600 1rem var(--font-body); color: var(--stone); }
.tier p { color: var(--stone); font-size: .96rem; }
.tier .btn { margin-top: auto; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- Checklist ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0801F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.bg-ink .checks li::before { background-color: rgba(244,169,59,.18); }

/* ---------- Student story ---------- */
.story-card { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--paper); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.story-card img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.story-card .story-body { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.story-card .quote { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.story-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 760px) { .story-card { grid-template-columns: 1fr; } .story-card img { min-height: 240px; aspect-ratio: 3/2; } }

/* ---------- Press ---------- */
.press { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 44px; }
.press a { padding: 6px 0; font: 500 1.2rem/1 var(--font-display); color: var(--stone); text-decoration: none; letter-spacing: -.01em; opacity: .85; transition: .15s; }
.press a:hover { color: var(--ink); opacity: 1; }
.press a.caps { font: 600 .95rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--radius-sm); padding: clamp(36px, 6vw, 72px); background: var(--night) url("../img/night-range.jpg") center 70% / cover; color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21,18,58,.9), rgba(21,18,58,.55)); }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); font-size: 1.1rem; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-weight: 700; font-size: .9rem; }
.input, .select, .textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper);
  font: 500 1rem/1.3 var(--font-body); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(92, 198, 224, .3); }
.textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .input { flex: 1; min-width: 220px; }
.bg-ink .input { background: rgba(255,255,255,.08); border-color: var(--line-dark); color: #fff; }
.bg-ink .input::placeholder { color: rgba(255,255,255,.55); }
.form-note { font-size: .8rem; color: var(--stone); margin-top: 10px; }
.form-success { display: none; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--glacier-tint); color: var(--ink); font-weight: 600; margin-top: 12px; }
.form-success.show { display: block; }

/* ---------- Donate widget ---------- */
.donate-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .donate-layout { grid-template-columns: 1fr; } }
.donate-box { background: var(--paper); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: clamp(22px, 3.5vw, 40px); border: 1px solid var(--line); color: var(--ink); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 22px; }
.seg button { border: 0; border-bottom: 2px solid var(--line); background: none; padding: 13px; font: 600 .88rem/1 var(--font-body); letter-spacing: 0; color: var(--stone); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--night); border-color: var(--gold); border-radius: 999px; }
.currency { display: flex; gap: 6px; margin-bottom: 16px; }
.currency button { flex: 1; padding: 8px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper); font: 700 .86rem var(--font-body); color: var(--stone); cursor: pointer; }
.currency button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.amounts button { padding: 16px 8px; border-radius: 10px; border: 1.5px solid var(--cream-2); background: var(--cream); font: 500 1.35rem/1 var(--font-display); color: var(--ink); cursor: pointer; transition: .12s; }
.amounts button:hover { border-color: var(--gold); }
.amounts button[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: var(--night); }
.impact-line { min-height: 54px; display: flex; gap: 12px; align-items: center; background: var(--gold-tint); border-radius: var(--radius-sm); padding: 12px 16px; font-size: .95rem; margin: 6px 0 20px; }
.impact-line svg { flex-shrink: 0; width: 26px; height: 26px; color: var(--gold-deep); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); margin-bottom: 14px; cursor: pointer; font-size: .92rem; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--raspberry); flex-shrink: 0; }
.check strong { display: block; font-size: .98rem; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .82rem; color: var(--stone); margin-top: 14px; }
.secure svg { width: 16px; height: 16px; }

/* ---------- Accordion / FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 700 1.12rem/1.35 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 1.7rem/1 var(--font-body); color: var(--rasp-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 22px; color: var(--ink-soft); }

/* ---------- Tables / finance ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table th, .table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--stone); font-weight: 600; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.chart { width: 100%; }
.chart .bar-in { fill: var(--ink); }
.chart .bar-out { fill: var(--gold); }
.chart .bar-tbc { fill: none; stroke: var(--stone); stroke-dasharray: 4 4; stroke-width: 1.5; }
.chart text { font: 600 12px var(--font-body); fill: var(--stone); }
.chart line { stroke: var(--line); }
.legend { display: flex; gap: 20px; flex-wrap: wrap; font-size: .88rem; color: var(--stone); margin-top: 10px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: flow; }
.flow > div { padding: 24px 22px 24px 0; border-top: 3px solid var(--line); position: relative; }
.flow > div::before { counter-increment: flow; content: counter(flow, decimal-leading-zero); display: block; font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; color: var(--rasp-text); margin: 18px 0 10px; }
.flow > div:first-child { border-top-color: var(--gold); }
.flow h3 { font-size: 1.2rem; }
.flow p { color: var(--stone); font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; gap: 0 20px; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* ---------- Calculator (Your Everest) ---------- */
.calc { background: var(--paper); border-radius: var(--radius-sm); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.calc-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.calc-modes button { padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font: 600 .88rem/1 var(--font-body); letter-spacing: 0; color: var(--stone); cursor: pointer; }
.calc-modes button[aria-pressed="true"] { background: var(--gold); color: var(--night); border-color: var(--gold); }
.calc-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.calc-result div { background: var(--cream); border-radius: var(--radius-sm); padding: 18px; }
.calc-result strong { display: block; font: 300 2rem/1.1 var(--font-display); color: var(--rasp-text); }
.calc-result span { font-size: .88rem; color: var(--stone); }
input[type="range"] { width: 100%; accent-color: var(--raspberry); height: 28px; }
@media (max-width: 640px) { .calc-result { grid-template-columns: 1fr; } }

.mountain-progress { position: relative; }
.mountain-progress svg { width: 100%; height: auto; }

/* ---------- Chapters / cities ---------- */
.city { position: relative; border-radius: var(--radius-sm); padding: 28px; background: var(--night); color: #fff; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.city::before { content: attr(data-code); position: absolute; top: 14px; right: 18px; font: 300 4.6rem/1 var(--font-display); color: rgba(255,255,255,.1); z-index: -1; }
.city h3 { margin-bottom: .2em; }
.city p { margin: 0; color: rgba(255,255,255,.94); font-size: .93rem; }
.city:nth-child(2) { background: var(--raspberry); }
.city:nth-child(3) { background: #2C6E83; }
.city:nth-child(4) { background: var(--ink-2); }

/* ---------- Footer (light, charity: water style) ---------- */
.site-footer { background: var(--cream); color: var(--ink-soft); padding-top: clamp(56px, 7vw, 80px); font-size: .92rem; border-top: 1px solid var(--cream-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
.site-footer h4 { color: var(--ink); font-size: .88rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--rasp-text); }
.footer-mid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--cream-2); margin-top: 48px; padding-top: 28px; }
.footer-hundred { color: var(--ink); font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badges span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--cream-2); background: var(--paper); border-radius: 4px; font-size: .74rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.badges svg { width: 18px; height: 18px; color: var(--rasp-text); }
.footer-legal a { display: inline-block; padding: 4px 0; }
.footer-legal { padding-block: 22px 30px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .78rem; color: var(--stone); }
.socials { display: flex; gap: 6px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.socials a:hover { background: var(--gold); color: var(--night); }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Video ---------- */
.video-card { position: relative; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.video-card video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

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

/* ---------- Donation channels (rendered by tools/build_channels.py) ---------- */
.channel-card { display: flex; flex-direction: column; gap: 4px; }
.channel-card h3 { margin: 6px 0 .3em; }
.channel-card .link-arrow { margin-top: auto; align-self: flex-start; }
.channel-card[data-status="placeholder"] { background: var(--cream); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font: 600 .62rem/1 var(--font-body); letter-spacing: .12em; padding: 5px 7px; border-radius: 3px; background: var(--cream-2); color: var(--ink-soft); }
.bank-details { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 8px; font-size: .88rem; }
.bank-details dt { font-weight: 700; }
.bank-details dd { margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.feeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 22px; }
.feeds:not(:has(.feed-embed)) { margin-top: 0; }
.feed-embed iframe { width: 100%; min-height: 420px; border: 0; border-radius: var(--radius-sm); }
.portal-note { margin-top: 22px; }
.channel-live iframe { width: 100%; border: 0; }

/* Plug-in slot: a dashed spec box for an unconnected integration. Hidden from visitors; shown in Review mode. */
.plugin-slot { display: none; }
.review .plugin-slot {
  display: block; margin-top: 16px; padding: 16px 18px; border-radius: 6px; text-align: left;
  border: 2px dashed #D9A400; background: repeating-linear-gradient(135deg, rgba(255, 214, 0, .1) 0 10px, rgba(255, 214, 0, .04) 10px 20px);
  color: var(--ink); font-size: .84rem; line-height: 1.5;
}
.review .plugin-slot.tbc-block { outline: 0; }
.plugin-slot p { margin: 0 0 8px; }
.plugin-slot ul { margin: 0 0 8px; padding-left: 18px; }
.plugin-slot code { font-size: .78rem; background: rgba(0, 0, 0, .07); padding: 1px 5px; border-radius: 3px; }
.plugin-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plugin-chip { font: 600 .6rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; background: #FFD84D; color: #3A2E00; padding: 5px 7px; border-radius: 3px; }
.plugin-note, .plugin-foot { color: var(--stone); font-size: .78rem; }
.plugin-foot { margin: 0 !important; }
.bg-ink .plugin-slot, .on-dark .plugin-slot { color: #fff; }
.bg-ink .plugin-slot code, .on-dark .plugin-slot code { background: rgba(255, 255, 255, .12); }

/* ==========================================================================
   Review mode: highlights every placeholder or unconfirmed fact.
   Toggle with the floating button, or ?review=0 / ?review=1.
   ========================================================================== */
.tbc { background: none; color: inherit; }
.review .tbc {
  background: rgba(255, 214, 0, .38); box-shadow: 0 0 0 2px rgba(255, 196, 0, .5); border-radius: 3px;
  cursor: help; text-decoration: none;
}
.review .bg-ink .tbc, .review .hero .tbc, .review .on-dark .tbc, .review .cta-band .tbc, .review .tracker .tbc, .review .photo-hero .tbc, .review .band:not(.band-light) .tbc, .review .origin .tbc, .review .split-hero-body > .tbc, .review .proof-top .tbc { background: rgba(255, 214, 0, .3); color: #FFF3B0; }
.review .tbc-block { outline: 2px dashed rgba(230, 170, 0, .9); outline-offset: 6px; border-radius: 6px; }
.review-toggle {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(0,0,0,.12); background: #FFF6C7; color: #4A3B00;
  font: 700 .8rem/1 var(--font-body); box-shadow: var(--shadow); cursor: pointer;
}
.review-toggle .dot { width: 9px; height: 9px; border-radius: 50%; background: #B0A060; }
.review .review-toggle .dot { background: #E0A800; box-shadow: 0 0 0 3px rgba(224,168,0,.25); }
.review-toggle .count { background: rgba(0,0,0,.08); padding: 3px 7px; border-radius: 999px; }
@media print { .review-toggle, .site-header, .nav-toggle { display: none !important; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(0deg, rgba(21, 18, 58, .94) 0%, rgba(21, 18, 58, .72) 55%, rgba(21, 18, 58, .25) 100%); }
  .hero-content { padding-top: 220px; }
}
.nav-open { overflow: hidden; }
.split > *, .grid > *, .donate-layout > * { min-width: 0; }
.amounts .btn { white-space: normal; text-align: center; text-transform: none; letter-spacing: 0; font-weight: 600; }
@media (max-width: 900px) { .tracker-map { min-height: 0; } .tracker-map svg { position: static; height: auto; } }

/* ==========================================================================
   Dark theme (the default). Light theme applies when <html data-theme="light">,
   set by the header toggle and remembered in localStorage ("mcf-theme").
   Only tokens change, plus a few components that sit on fixed light colours.
   Always-dark panels (--night) and photos stay as they are.
   ========================================================================== */
html:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #ECE9F7;
    --ink-soft: #C9C5E0;
    --stone: #A9A5C4;
    --snow: #100E25;
    --cream: #1A1736;
    --cream-2: #2C2853;
    --paper: #1E1A40;
    --line: #36315F;
    --gold-tint: rgba(244, 169, 59, .14);
    --glacier-tint: rgba(92, 198, 224, .14);
    --raspberry-tint: rgba(224, 48, 106, .18);
    --rasp-text: #FF8DB2;
    --btn-ink-bg: #F4EFE3;
    --btn-ink-fg: #1E1A4A;
    --header-bg: rgba(16, 14, 37, .96);
    --band-light-fade: 16, 14, 37;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .3);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 22px 50px rgba(0, 0, 0, .45);
  }
html:not([data-theme="light"]) .site-header { border-bottom-color: var(--line); }
html:not([data-theme="light"]) .bg-ink, html:not([data-theme="light"]) .page-hero.bg-ink, html:not([data-theme="light"]) .bridge-step:last-child, html:not([data-theme="light"]) .tracker, html:not([data-theme="light"]) .city:nth-child(1), html:not([data-theme="light"]) .city:nth-child(4) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
html:not([data-theme="light"]) .origin, html:not([data-theme="light"]) .split-hero, html:not([data-theme="light"]) .proof-section { --ink-deep: #0B0A1C; }
html:not([data-theme="light"]) .proof-section { background: linear-gradient(#0B0A1C 0 62%, var(--cream) 62% 100%); }
html:not([data-theme="light"]) .books img { mix-blend-mode: normal; background: #fff; padding: 8px; border-radius: 4px; }
html:not([data-theme="light"]) .tag-live { background: rgba(224, 48, 106, .18); }
html:not([data-theme="light"]).review .tbc { color: #FFF3B0; }
html:not([data-theme="light"]) .review-toggle { color: #4A3B00; }
html:not([data-theme="light"]).review .plugin-slot code { background: rgba(255, 255, 255, .1); }
html:not([data-theme="light"]) .media-frame img, html:not([data-theme="light"]) .story-card img, html:not([data-theme="light"]) .rail-card img, html:not([data-theme="light"]) .mosaic img { filter: brightness(.94); }
html:not([data-theme="light"]) img[src$=".svg"] { filter: none; }


/* Theme-aware logo mark and the theme toggle */
.mark-light { display: none; }
html[data-theme="light"] .mark-light { display: block; }
html[data-theme="light"] .mark-dark { display: none; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
html:not([data-theme="light"]) .theme-toggle .sun { display: block; }
html:not([data-theme="light"]) .theme-toggle .moon { display: none; }
@media (max-width: 1140px) { .nav-cta .theme-toggle { width: 100%; border-radius: 999px; height: 48px; } }
