/* ─────────────────────────────────────────────────────────────────
   MO(MEN)TUM — Cinematic Campaign Site
   Dark · Bebas Neue display · Barlow Condensed body
   ───────────────────────────────────────────────────────────────── */

/* ── VARIABLES ────────────────────────────────────────────────────── */
:root {
  --bg:      #06070b;
  --bg-2:    #0d0f17;
  --bg-3:    #131624;
  --gold:    #e4c34a;
  --red:     #ff3d5a;
  --white:   #f0f2f8;
  --muted:   #8a94a8;
  --border:  rgba(255,255,255,0.08);
  --display: "Bebas Neue", Impact, sans-serif;
  --body:    "Barlow Condensed", "Arial Narrow", sans-serif;
  --tap:     48px;
  --safe-t:  env(safe-area-inset-top, 0px);
  --safe-b:  env(safe-area-inset-bottom, 0px);
  --safe-l:  env(safe-area-inset-left, 0px);
  --safe-r:  env(safe-area-inset-right, 0px);
  --nav-h:   60px;
}

/* ── RESET / BASE ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

::selection {
  background: var(--gold);
  color: #06070b;
}

body {
  font-family: var(--body);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
  overflow-x: hidden;
}

/* Film grain overlay — keeps flat surfaces from feeling cheap */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* ── TYPOGRAPHY GLOBALS ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.02em;
}

/* ── SCROLL REVEAL ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal--left {
  transform: translateX(-40px);
}
.reveal--left.is-visible {
  transform: none;
}
.reveal--scale {
  transform: scale(0.92) translateY(20px);
}
.reveal--scale.is-visible {
  transform: none;
}
.reveal--d1 { transition-delay: 0.15s; }
.reveal--d2 { transition-delay: 0.30s; }
.reveal--d3 { transition-delay: 0.45s; }
.reveal--d4 { transition-delay: 0.60s; }

/* ── NAV ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 max(1.5rem, var(--safe-r)) 0 max(1.5rem, var(--safe-l));
  padding-top: max(0px, var(--safe-t));
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px) saturate(1.3);
  background: rgba(6,7,11,0.85);
  transition: background 0.3s ease;
}

.logo {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: var(--white);
  flex-shrink: 0;
  transition: color 0.2s ease;
  text-shadow: 0 0 40px rgba(228,195,74,0.18);
}
.logo:hover { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.1rem;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.1rem;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold); }

.nav-donate {
  color: var(--red) !important;
  border: 1px solid var(--red);
  border-radius: 4px;
  padding: 0.3rem 0.75rem !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}
.nav-donate:hover {
  background: var(--red);
  color: #fff !important;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav--open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(6,7,11,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav--open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}
.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 8vw, 3.5rem);
  letter-spacing: 0.06em;
}
.nav-overlay-links a {
  padding: 0.4rem 1rem;
  opacity: 0.8;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.nav-overlay-links a:hover { color: var(--gold); opacity: 1; }
.nav-overlay-donate {
  color: var(--red) !important;
  opacity: 1 !important;
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ── SHARED CHAPTER STYLES ────────────────────────────────────────── */
.chapter {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) max(2rem, 6vw) 60px;
  position: relative;
}

/* Eyebrow label used across chapters */
.eyebrow {
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}

/* ── 1. HERO ──────────────────────────────────────────────────────── */
.chapter--hero {
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(30,26,46,0.9) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 40%, rgba(122,92,255,0.06) 0%, transparent 55%),
    var(--bg);
  min-height: 100svh;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px);
  gap: 2rem 2rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  max-width: 16ch;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  max-width: 50ch;
  margin-bottom: 1.5rem;
}
.hero-sub strong { color: var(--white); }

/* Hero stats row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  max-width: 28rem;
  margin-bottom: 1.5rem;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0,0,0,0.3);
}
.hero-stat-num {
  font-family: var(--display);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  letter-spacing: 0.05em;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
}

/* Fundraising bar */
.fundraising {
  max-width: 36rem;
  margin-bottom: 1.5rem;
}
.fundraising-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.fundraising-pct {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.fundraising-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  border: 1px solid var(--border);
}
.fundraising-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transition: width 0.9s cubic-bezier(0.25,1,0.5,1);
}
.fundraising-note {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.fundraising-note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Hero CTAs */
.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* Stat source */
.stat-source {
  font-size: 0.8rem;
  color: rgba(138,148,168,0.6);
  margin-top: 0.5rem;
}

/* Hero interactive map */
.hero-map-live {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hero-map-live .map-shell {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.hero-map-live #map {
  height: 70vh;
  min-height: 450px;
  max-height: 700px;
  width: 100%;
}
.hero-chips-label {
  margin-bottom: 0.3rem;
}
.hero-summary-grid {
  margin-top: 0.25rem;
}

/* Scroll indicator */
.chapter--hero::after {
  content: "↓";
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 1.2rem;
  opacity: 0.5;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 767px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-map-live #map {
    height: 50vh;
    min-height: 300px;
    max-height: 450px;
  }
  h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }
}

/* ── 125 REASONS TICKER ──────────────────────────────────────────── */
.ticker-125 {
  overflow: hidden;
  padding: 1rem 0;
  background: rgba(255,61,90,0.04);
  border-top: 1px solid rgba(255,61,90,0.1);
  border-bottom: 1px solid rgba(255,61,90,0.1);
}
.ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: tickerScroll 120s linear infinite;
}
.ticker-item {
  font-family: var(--body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  font-style: italic;
  letter-spacing: 0.02em;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── COUNTDOWN ───────────────────────────────────────────────────── */
.countdown {
  max-width: 36rem;
  margin-bottom: 1.5rem;
}
.countdown-label {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.countdown-grid {
  display: flex;
  gap: 0.75rem;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0,0,0,0.3);
}
.countdown-num {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.countdown-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
}

/* ── 2. THE NUMBER ────────────────────────────────────────────────── */
.chapter--number {
  background:
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(228,195,74,0.04) 0%, transparent 65%),
    var(--bg-2);
  align-items: center;
  text-align: center;
}

.number-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.number-giant {
  font-family: var(--display);
  font-size: clamp(18vw, 22vw, 240px);
  line-height: 0.85;
  color: var(--gold);
  letter-spacing: -0.01em;
  text-shadow:
    0 0 80px rgba(228,195,74,0.25),
    0 0 160px rgba(228,195,74,0.1);
  margin-bottom: 0.2em;
  user-select: none;
}

.number-line {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

.number-lines {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.number-reveal-line {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.05em;
  color: var(--muted);
}
.number-reveal-line:last-child { color: var(--white); }

.number-source {
  font-size: 0.75rem;
  color: rgba(138,148,168,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── ROUTE FUNDRAISER ─────────────────────────────────────────────── */
.chapter--route-fund {
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(74,222,128,0.04) 0%, transparent 60%),
    var(--bg);
}
.route-fund-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.route-fund-heading {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  margin-bottom: 1rem;
}
.route-fund-lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 50ch;
  margin-bottom: 2rem;
}
.route-fund-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}
.route-fund-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.route-fund-stat-num {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #4ade80;
  letter-spacing: 0.02em;
  line-height: 1;
}
.route-fund-stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.route-fund-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
.route-fund-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.rf-map-wrap {
  position: relative;
  max-width: 320px;
  width: 100%;
}
.rf-gb-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.5));
}
.rf-fill-overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(180deg, rgba(74,222,128,0.2) 0%, rgba(74,222,128,0.08) 100%);
  mix-blend-mode: screen;
  transition: height 1.2s cubic-bezier(0.25,1,0.5,1);
  pointer-events: none;
}
.rf-route-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.route-fund-map-caption {
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .route-fund-inner { grid-template-columns: 1fr; }
  .route-fund-map { order: -1; }
}
@media (max-width: 480px) {
  .route-fund-stats { flex-direction: column; gap: 1rem; }
}

/* ── 3. THE STORY ─────────────────────────────────────────────────── */
.chapter--story {
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(122,92,255,0.06) 0%, transparent 70%),
    var(--bg);
  justify-content: center;
  padding-top: max(var(--nav-h), 5rem);
  padding-bottom: 5rem;
}

.story-inner {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.story-act {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.story-line {
  font-family: var(--body);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--muted);
  line-height: 1.5;
}
.story-line--bold {
  color: var(--white);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}
.story-line--muted { color: var(--muted); }

.story-lead-in {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
}

.the-quote {
  position: relative;
  margin: 0;
  padding: 2rem 0 2rem 1.5rem;
  border-left: 3px solid var(--gold);
}
.the-quote::before {
  content: "\201C";
  position: absolute;
  top: -0.3em;
  left: 1.2rem;
  font-family: Georgia, serif;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 1;
  color: var(--gold);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.the-quote p {
  position: relative;
  z-index: 1;
  font-family: var(--body);
  font-style: italic;
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
}

.story-attr {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  font-style: italic;
}

.story-act--shift {
  padding: 2rem;
  background: var(--bg-3);
  border-radius: 4px;
  border-left: 3px solid rgba(255,255,255,0.06);
  gap: 0.8rem;
}
.story-shift-label {
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.story-shift-line {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  line-height: 1.5;
}
.story-shift-line em { color: rgba(255,255,255,0.4); font-style: italic; }
.story-shift-break {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
}
.story-shift-question {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gold);
  font-weight: 600;
  line-height: 1.4;
}

/* ── 4. WHY MOMENTUM ─────────────────────────────────────────────── */
.chapter--why {
  background: var(--bg-2);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.why-heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.why-body p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 52ch;
}
.why-body p:last-child { margin-bottom: 0; }

/* 5 B's list */
.five-bs {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-top: 2rem;
  list-style: none;
}
.five-bs li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: color 0.2s ease;
}
.five-bs li:hover .b-word { color: var(--white); }
.b-word {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: var(--muted);
  transition: color 0.2s ease;
}
.b-letter { color: var(--gold); }
.b-desc {
  font-size: 0.88rem;
  color: rgba(138, 148, 168, 0.7);
  line-height: 1.4;
  padding-left: 0.1em;
  letter-spacing: 0.02em;
}
.b-desc em { color: rgba(228, 195, 74, 0.6); font-style: normal; }

@media (max-width: 767px) {
  .why-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .five-bs { padding-top: 0; }
}

/* ── 5. THE RUN ───────────────────────────────────────────────────── */
.chapter--run {
  background:
    radial-gradient(ellipse 60% 50% at 50% 80%, rgba(255,61,90,0.04) 0%, transparent 60%),
    var(--bg);
}

.run-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.run-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.run-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.run-num {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: 0.02em;
  line-height: 0.9;
  color: var(--white);
  display: block;
}

.run-label {
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.run-desc {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 72ch;
  margin-bottom: 2.5rem;
}

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

.run-story-card {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s ease;
}
.run-story-card:hover { border-color: rgba(228,195,74,0.3); }

.run-story-label {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.run-story-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 767px) {
  .run-stats { grid-template-columns: repeat(2, 1fr); }
  .run-story-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .run-stats { grid-template-columns: 1fr; }
}

/* ── 5b. STRAVA ──────────────────────────────────────────────────── */
.chapter--strava {
  background:
    radial-gradient(ellipse 70% 50% at 50% 60%, rgba(252,82,0,0.04) 0%, transparent 65%),
    var(--bg-2);
  min-height: auto;
  padding-bottom: 4rem;
}
.strava-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.strava-heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  margin-bottom: 0.75rem;
}
.strava-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 55ch;
  margin-bottom: 2rem;
}
.strava-feed {
  margin-bottom: 2rem;
}
.strava-recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.strava-activity {
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.strava-activity:hover {
  border-color: rgba(252,82,0,0.3);
  transform: translateY(-2px);
}
.strava-act-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.strava-act-type {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fc5200;
}
.strava-act-date {
  font-size: 0.75rem;
  color: var(--muted);
}
.strava-act-name {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--white);
}
.strava-act-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}
@media (max-width: 767px) {
  .strava-recent-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .strava-recent-grid { grid-template-columns: 1fr; }
}
.strava-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.strava-cta {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.strava-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-color: #fc5200 !important;
  color: #fc5200 !important;
}
.strava-profile-btn:hover {
  background: rgba(252,82,0,0.1) !important;
}
.strava-stats-row {
  display: flex;
  gap: 1.5rem;
}
.strava-mini-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.strava-mini-num {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.strava-mini-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
@media (max-width: 640px) {
  .strava-cta { flex-direction: column; align-items: flex-start; }
}

/* ── 6. THE ROUTE ─────────────────────────────────────────────────── */
.chapter--map {
  background: var(--bg-2);
  min-height: auto;
  padding-bottom: 3rem;
}

.route-header {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  width: 100%;
}

.route-heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  margin-bottom: 0.75rem;
}

.route-intro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 60ch;
}
.route-intro strong { color: var(--white); }

.map-route-status {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.4rem 0;
  letter-spacing: 0.08em;
}

.map-layout {
  display: block;
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  width: 100%;
}

.map-shell {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #09090e;
}

/* #map height now set via .hero-map-live #map */

.map-aside {
  margin-bottom: 1rem;
}

.route-hover-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}

.route-hover-kicker {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.route-hover-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.route-hover-meta {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.4rem;
}

.route-hover-note {
  font-size: 0.85rem;
  color: rgba(138,148,168,0.7);
  font-style: italic;
}

.route-panel-reset {
  display: block;
  margin-top: 1rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.85rem;
  padding: 0.45rem 0.75rem;
  border-radius: 5px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.route-panel-reset:hover { border-color: var(--gold); color: var(--gold); }

.route-chips-label {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 1100px;
  margin: 0 auto 0.6rem;
  width: 100%;
  display: block;
}

.route-chips-wrap {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.route-chips-wrap::-webkit-scrollbar { height: 4px; }
.route-chips-wrap::-webkit-scrollbar-track { background: transparent; }
.route-chips-wrap::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.route-chips {
  display: flex;
  gap: 0.5rem;
  padding: 0.25rem 0;
  width: max-content;
}

.route-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 60px;
  padding: 0.4rem 0.6rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--body);
  transition: border-color 0.2s ease, background 0.2s ease;
  color: var(--white);
}
.route-chip:hover { border-color: rgba(228,195,74,0.4); background: rgba(228,195,74,0.06); }
.route-chip.is-active {
  border-color: var(--gold);
  background: rgba(228,195,74,0.1);
}
.route-chip--full { min-width: 80px; }

.route-chip-day {
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  line-height: 1;
}
.route-chip-meta {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.route-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.route-summary-card {
  padding: 1rem 1.25rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.route-summary-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.route-summary-num {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--gold);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .map-aside { margin-bottom: 0.75rem; }
}

@media (max-width: 640px) {
  .route-summary-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── 7. FUND ──────────────────────────────────────────────────────── */
.chapter--fund {
  background: var(--bg);
}

.fund-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.fund-heading {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  margin-bottom: 1.5rem;
}

.fund-intro {
  max-width: 65ch;
  margin-bottom: 2rem;
}
.fund-intro p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.fund-intro p:last-child { margin-bottom: 0; }
.fund-bold { color: var(--white) !important; font-weight: 600; }

.fund-progress-wrap {
  margin-bottom: 2.5rem;
  max-width: 540px;
}
.fund-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.fund-progress-target {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--white);
}
.fund-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  border: 1px solid var(--border);
}
.fund-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transition: width 0.9s cubic-bezier(0.25,1,0.5,1);
}
.fund-overflow-note {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Fund stages */
.fund-stages {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.fund-stage {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}
.fund-stage:last-child { border-bottom: none; }
.fund-stage--active { background: rgba(228,195,74,0.04); border-left: 3px solid var(--gold); }
.fund-stage--funded { opacity: 0.55; }
.fund-stage--funded .fund-stage-num { color: var(--gold); }
.fund-stage--locked { opacity: 0.4; }

.fund-stage-marker { display: flex; align-items: flex-start; padding-top: 0.1rem; }
.fund-stage-num {
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  line-height: 1;
}
.fund-stage--active .fund-stage-num { color: var(--gold); }

.fund-stage-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.fund-stage-title { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--white); letter-spacing: 0.03em; }
.fund-stage-amount {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  flex-shrink: 0;
}
.fund-stage-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.6; margin-bottom: 0.75rem; }
.fund-stage-items { display: flex; flex-direction: column; gap: 0.25rem; }
.fund-stage-items li { font-size: 0.85rem; color: rgba(138,148,168,0.7); padding-left: 1rem; position: relative; }
.fund-stage-items li::before { content: "—"; position: absolute; left: 0; color: var(--gold); opacity: 0.5; }

.fund-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.fund-cta-note { font-size: 0.9rem; color: var(--muted); max-width: 48ch; }

.fund-breakdown { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.fund-breakdown-toggle {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s ease;
  user-select: none;
  list-style: none;
  display: block;
}
.fund-breakdown-toggle:hover { color: var(--white); }
.fund-breakdown-toggle::-webkit-details-marker { display: none; }
.fund-breakdown-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.fund-breakdown-table td { padding: 0.5rem 1.25rem; border-top: 1px solid var(--border); color: var(--muted); }
.fund-breakdown-table td:last-child { text-align: right; }
.fund-breakdown-total td {
  color: var(--white);
  font-weight: 700;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--gold);
}

/* ── 8. LISTEN ────────────────────────────────────────────────────── */
.chapter--listen {
  background: var(--bg-2);
  min-height: 80svh;
}

.listen-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.listen-heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  margin-bottom: 0.75rem;
}

.listen-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 2rem;
}

.listen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.media-heading {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.media-caption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  min-height: 1.5em;
}

.spotify-embed-wrap {
  margin-bottom: 0.75rem;
  border-radius: 12px;
  overflow: hidden;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-3);
  margin-bottom: 0.75rem;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.embed-fallback {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 1rem;
  max-width: 30ch;
}

.text-link {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  transition: opacity 0.2s ease;
}
.text-link:hover { opacity: 0.75; }

@media (max-width: 767px) {
  .listen-grid { grid-template-columns: 1fr; }
}

/* ── 9. FOLLOW ────────────────────────────────────────────────────── */
.chapter--follow {
  background: var(--bg);
}

.follow-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* ── CREW ─────────────────────────────────────────────────────────── */
.chapter--crew {
  background: var(--bg-2);
}

.crew-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.crew-heading {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 5rem);
  color: var(--white);
  line-height: 1;
  margin: 0.3em 0 0.5em;
}

.crew-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.crew-roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.crew-role {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.crew-role-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.75rem;
}

.crew-role-title {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
}

.crew-role-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.crew-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.crew-cta-copy {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

.follow-heading {
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.95;
  margin-bottom: 0.75rem;
}

.follow-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 55ch;
  margin-bottom: 2rem;
}

.follow-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.follow-link {
  display: grid;
  grid-template-columns: 40px 1fr 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.follow-link:hover {
  border-color: rgba(228,195,74,0.4);
  background: rgba(228,195,74,0.03);
  transform: translateX(4px);
}

.follow-link-icon {
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.follow-link:hover .follow-link-icon { color: var(--gold); }

.follow-link-label {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.follow-link-handle {
  font-size: 0.9rem;
  color: var(--muted);
}

.follow-link-arrow {
  color: var(--muted);
  font-size: 1.2rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.follow-link:hover .follow-link-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

.follow-donate-block {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
}

.follow-donate-copy {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.follow-donate-block .btn {
  margin: 0 auto 0.75rem;
  display: inline-block;
}

@media (max-width: 640px) {
  .follow-link {
    grid-template-columns: 36px 1fr auto;
  }
  .follow-link-handle { display: none; }
}

/* ── BUTTONS ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  min-height: var(--tap);
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 24px rgba(255,61,90,0.3);
}
.btn-primary:hover {
  background: #ff5570;
  box-shadow: 0 8px 32px rgba(255,61,90,0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

.btn-large {
  padding: 0.8rem 1.8rem;
  font-size: 1.2rem;
}

.btn-small {
  padding: 0.4rem 0.85rem;
  font-size: 0.95rem;
  min-height: 38px;
}

/* ── FOOTER ───────────────────────────────────────────────────────── */
.footer {
  padding: 3rem max(2rem, 6vw) calc(2rem + var(--safe-b));
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.footer-brand {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.footer-line {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
}

.footer-stat {
  font-size: 0.75rem;
  color: rgba(138,148,168,0.5);
  margin-bottom: 0.5rem;
}

.footer-line--sub {
  font-size: 0.8rem;
  max-width: 50ch;
  margin: 0 auto 0.85rem;
  line-height: 1.5;
}
.footer-line--sub a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--gold); }
.footer-dot { color: rgba(138,148,168,0.3); }

.footer-legal {
  font-size: 0.7rem;
  color: rgba(138,148,168,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-tag {
  font-size: 0.85rem;
  color: rgba(138,148,168,0.4);
}

.nav-portal {
  color: var(--gold) !important;
  border: 1px solid rgba(228,195,74,0.3);
  border-radius: 4px;
  padding: 0.3rem 0.75rem !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

/* ── DONATE MODAL ────────────────────────────────────────────────── */
.modal-card--donate { max-width: 520px; }
.donate-modal-lead { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.5; }

.donate-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1.25rem; }
.donate-amt-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
  padding: 0.75rem 0.5rem; border: 1px solid var(--border); border-radius: 8px;
  background: transparent; color: var(--white); font-family: var(--display);
  font-size: 1.3rem; letter-spacing: 0.04em; cursor: pointer; transition: all 0.2s ease;
}
.donate-amt-btn:hover { border-color: rgba(228,195,74,0.4); background: rgba(228,195,74,0.06); }
.donate-amt-btn.is-selected { border-color: var(--gold); background: rgba(228,195,74,0.12); color: var(--gold); }
.donate-amt-btn--gold.is-selected { border-color: var(--gold); background: rgba(228,195,74,0.15); }
.donate-amt-sub { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

.donate-custom { margin-bottom: 1rem; }
.donate-custom-label { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.4rem; display: block; }
.donate-custom-wrap { display: flex; align-items: center; gap: 0; }
.donate-custom-prefix {
  padding: 0.6rem 0.75rem; background: var(--bg-3); border: 1px solid var(--border);
  border-right: none; border-radius: 6px 0 0 6px; color: var(--muted); font-size: 1rem;
}
.donate-custom-input {
  flex: 1; padding: 0.6rem 0.75rem; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 0 6px 6px 0; color: var(--white); font-family: var(--body); font-size: 1rem;
  outline: none; -moz-appearance: textfield;
}
.donate-custom-input::-webkit-outer-spin-button,
.donate-custom-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.donate-custom-input:focus { border-color: var(--gold); }

.donate-fields { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.donate-field {
  padding: 0.6rem 0.75rem; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 6px; color: var(--white); font-family: var(--body); font-size: 0.95rem; outline: none;
}
.donate-field::placeholder { color: var(--muted); }
.donate-field:focus { border-color: var(--gold); }

.donate-submit { width: 100%; margin-bottom: 0.75rem; }
.donate-note { font-size: 0.75rem; color: var(--muted); text-align: center; line-height: 1.4; }

/* ── DONOR FEED ──────────────────────────────────────────────────── */
.donor-feed-wrap {
  position: fixed; bottom: max(1rem, var(--safe-b, 0px)); left: max(1rem, var(--safe-l, 0px));
  z-index: 100; max-width: 320px; width: 100%;
}
.donor-feed { display: flex; flex-direction: column; gap: 0.5rem; }
.donor-feed-item {
  padding: 0.6rem 0.85rem; background: rgba(6,7,11,0.92); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 8px;
  animation: donorSlideIn 0.4s ease;
}
@keyframes donorSlideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
.donor-feed-name { font-family: var(--display); font-size: 0.9rem; color: var(--gold); letter-spacing: 0.06em; }
.donor-feed-amount { font-size: 0.85rem; color: var(--white); }
.donor-feed-message { font-size: 0.8rem; color: var(--muted); font-style: italic; margin-top: 0.15rem; }
.donor-feed-time { font-size: 0.7rem; color: rgba(138,148,168,0.5); }

@media (max-width: 480px) {
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }
  .donor-feed-wrap { max-width: 260px; }
}

/* ── LEAFLET MAP CUSTOMISATION ────────────────────────────────────── */
.leaflet-container {
  background: #09090e !important;
  font-family: var(--body);
}
.leaflet-control-attribution {
  background: rgba(6,7,11,0.7) !important;
  color: var(--muted) !important;
  font-size: 0.65rem !important;
}
.leaflet-control-attribution a { color: var(--gold) !important; }
.leaflet-control-zoom a {
  background: var(--bg-3) !important;
  color: var(--white) !important;
  border-color: var(--border) !important;
}
.leaflet-control-zoom a:hover { background: rgba(255,255,255,0.1) !important; }
.leaflet-popup-content-wrapper {
  background: var(--bg-3) !important;
  color: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5) !important;
}
.leaflet-popup-tip { background: var(--bg-3) !important; }

/* ── UTILITY ──────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .chapter {
    padding-left: max(1.5rem, 4vw);
    padding-right: max(1.5rem, 4vw);
  }
}

@media (max-width: 767px) {
  .chapter--number { text-align: center; }
  .number-giant {
    font-size: clamp(28vw, 38vw, 260px);
  }
  .chapter--story { text-align: left; }
  .follow-donate-block {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .chapter {
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 40px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .run-stats { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .fund-stage { grid-template-columns: 48px 1fr; }
  .follow-donate-block .btn { width: 100%; }
}

/* ── EMAIL UPDATES ────────────────────────────────────────────────── */
.chapter--updates {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.updates-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.updates-heading {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
  margin: 0 0 1rem;
}
.updates-lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 2.4rem;
}
.updates-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}
.updates-fields {
  display: flex;
  gap: 0.6rem;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.updates-input {
  flex: 1 1 180px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  padding: 0 1rem;
  height: 48px;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.updates-input::placeholder { color: var(--muted); }
.updates-input:focus {
  border-color: var(--gold);
}
.updates-submit {
  height: 48px;
  padding: 0 2rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.updates-btn-loading { display: none; }
.updates-submit.is-loading .updates-btn-text { display: none; }
.updates-submit.is-loading .updates-btn-loading { display: inline; }
.updates-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  opacity: 0.7;
}
.updates-success {
  padding: 2rem;
  text-align: center;
}
.updates-success-line {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--gold);
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}
.updates-success-sub {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
}
.updates-error {
  color: var(--red);
  font-size: 0.95rem;
  margin-top: 0.6rem;
}
.updates-error a {
  color: var(--gold);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .updates-fields {
    flex-direction: column;
    gap: 0.5rem;
  }
  .updates-input,
  .updates-submit {
    width: 100%;
    flex: none;
  }
}

/* ── MODALS ────────────────────────────────────────────────────────── */
.modal-open { overflow: hidden; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,7,11,0.92);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; transition: opacity 0.25s ease;
}
.modal-overlay.is-open { opacity: 1; }
.modal-overlay[hidden] { display: none !important; }
.modal-card {
  position: relative; background: var(--bg-2); border: 1px solid var(--gold);
  border-radius: 12px; padding: 2.5rem 2rem; width: 100%; max-width: 460px;
  transform: translateY(28px); transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.is-open .modal-card { transform: translateY(0); }
.modal-close {
  position: absolute; top: 0.9rem; right: 0.9rem;
  background: none; border: none; color: var(--muted); font-size: 1.1rem;
  cursor: pointer; padding: 0.3rem 0.6rem; line-height: 1; transition: color 0.2s;
}
.modal-close:hover { color: var(--white); }
.modal-eyebrow {
  font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 0.5rem;
}
.modal-heading {
  font-family: var(--display); font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: var(--white); letter-spacing: 0.02em; margin: 0 0 0.75rem; line-height: 1;
}
.modal-lead { color: var(--muted); font-size: 1rem; line-height: 1.5; margin: 0 0 1.5rem; }
.modal-form { display: flex; flex-direction: column; gap: 0.7rem; }
.modal-input {
  background: var(--bg-3); border: 1px solid var(--border); border-radius: 6px;
  color: var(--white); font-family: var(--body); font-size: 1rem;
  padding: 0 1rem; height: 48px; outline: none; transition: border-color 0.2s; width: 100%;
}
.modal-input::placeholder { color: var(--muted); }
.modal-input:focus { border-color: var(--gold); }
.modal-submit { height: 48px; width: 100%; margin-top: 0.3rem; }
.modal-btn-loading { display: none; }
.modal-submit.is-loading .modal-btn-text { display: none; }
.modal-submit.is-loading .modal-btn-loading { display: inline; }
.modal-note { font-size: 0.8rem; color: var(--muted); opacity: 0.7; margin: 0; text-align: center; }
.modal-success { text-align: center; padding: 1rem 0; }
.modal-success-line {
  font-family: var(--display); font-size: 3rem; color: var(--gold);
  letter-spacing: 0.04em; margin: 0 0 0.5rem;
}
.modal-success-sub { color: var(--muted); font-size: 1.05rem; margin: 0 0 1.2rem; }
.modal-book-btn { width: 100%; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; }
.modal-success-note { color: var(--muted); font-size: 0.85rem; margin: 0; opacity: 0.7; }
.modal-error { color: var(--red); font-size: 0.9rem; text-align: center; margin-top: 0.5rem; }
.modal-error a { color: var(--gold); text-decoration: underline; }
/* Share modal */
.modal-card--share { text-align: center; max-width: 420px; }
.share-modal-eyebrow {
  font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 0.3rem;
}
.share-modal-heading {
  font-family: var(--display); font-size: clamp(3rem, 8vw, 5rem);
  color: var(--white); letter-spacing: 0.02em; margin: 0 0 0.75rem; line-height: 0.9;
}
.share-modal-lead { color: var(--muted); font-size: 1rem; line-height: 1.5; margin: 0 0 1.75rem; }
.share-modal-buttons { display: flex; flex-direction: column; gap: 0.7rem; }
.share-btn-whatsapp {
  background: #25D366 !important; border-color: #25D366 !important; color: #000 !important;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.share-btn-whatsapp:hover { background: #1db954 !important; border-color: #1db954 !important; }

/* ── HERO PULSE ─────────────────────────────────────────────────────── */
.hero-pulse {
  font-size: 1rem; color: var(--gold); font-family: var(--body);
  letter-spacing: 0.01em; margin: 0 0 1.2rem; line-height: 1.45; opacity: 0.85;
}

/* ── NUMBER ACTIONS ─────────────────────────────────────────────────── */
.number-cta-line {
  font-size: 1.1rem; color: var(--muted); line-height: 1.55;
  margin: 1.5rem auto 0; max-width: 540px; text-align: center;
}
.number-cta-line strong { color: var(--white); }
.number-actions {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; margin-top: 2rem;
}

/* ── WHY CTA ─────────────────────────────────────────────────────────── */
.why-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
@media (max-width: 767px) { .why-cta { justify-content: flex-start; } }

/* ── FINAL CTA ───────────────────────────────────────────────────────── */
.chapter--final-cta {
  background: var(--bg); text-align: center; border-top: 1px solid var(--border);
}
.final-cta-inner { max-width: 680px; margin: 0 auto; }
.final-number {
  font-family: var(--display);
  font-size: clamp(28vw, 32vw, 260px);
  line-height: 0.8; color: var(--red); opacity: 0.12;
  margin: 0 0 -2rem; user-select: none; pointer-events: none;
}
.final-lines { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 2rem; }
.final-line {
  font-family: var(--display); font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  letter-spacing: 0.04em; color: var(--white); line-height: 1.1;
}
.final-statement {
  font-family: var(--display); font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  color: var(--muted); letter-spacing: 0.02em; margin: 0 0 1rem;
}
.final-sub { font-size: 1.1rem; color: var(--muted); line-height: 1.55; margin: 0 0 2.5rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.final-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.btn-xl { font-size: 1.2rem; padding: 0 2.5rem; height: 56px; }
.final-note { color: var(--muted); font-size: 0.9rem; margin: 0 0 1rem; }
@media (max-width: 600px) {
  .final-cta-buttons { flex-direction: column; align-items: stretch; }
  .btn-xl { width: 100%; justify-content: center; }
  .number-actions { flex-direction: column; align-items: center; }
  .modal-card { padding: 2rem 1.25rem; }
}

/* ── NAV FOLLOW ─────────────────────────────────────────────────────── */
.nav-follow {
  background: none; border: 1px solid var(--border); color: var(--muted);
  font-family: var(--body); font-size: 0.85rem; letter-spacing: 0.04em;
  padding: 0 0.9rem; height: 32px; border-radius: 4px; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.nav-follow:hover { border-color: var(--gold); color: var(--white); }
.nav-overlay-follow {
  background: none; border: none; color: var(--white);
  font-family: var(--body); font-size: 1.5rem; font-weight: 600;
  letter-spacing: 0.02em; cursor: pointer; padding: 0.5rem 0; text-align: left;
  text-transform: uppercase;
}

/* ── REDUCED MOTION ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left,
  .reveal--scale,
  .fundraising-bar,
  .fund-bar {
    transition: none !important;
    animation: none !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .chapter--hero::after { animation: none !important; }
}
