/* ============================================================
   EXODUS51 — We Free Slaves
   Design system: warm ink, kiln brick, sun-bleached cream.
   Type: Archivo (grotesque, display) + Fraunces (editorial serif)
   ============================================================ */

:root {
  --ink: #1b1510;
  --coal: #241c15;
  --coal-2: #2e241b;
  --paper: #faf6ee;
  --cream: #f3ecdf;
  --sand: #e7dcc7;
  --brick: #b0492c;
  --brick-deep: #8e3620;
  --clay: #c8a97e;
  --white: #ffffff;
  --line: rgba(27, 21, 16, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --muted: rgba(27, 21, 16, 0.68);
  --muted-light: rgba(255, 255, 255, 0.72);
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --wrap: 1200px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 2px;
}

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

html { scroll-padding-top: 90px; }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style-position: inside; }

::selection { background: var(--brick); color: var(--white); }

/* ---------- Typography ---------- */

h1, h2, h3, h4 { line-height: 1.04; font-weight: 900; letter-spacing: -0.015em; text-wrap: balance; }
sup.tm { font-size: 0.32em; font-weight: 800; vertical-align: 1.35em; letter-spacing: 0; }

.display {
  font-size: clamp(3rem, 11vw, 8.5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

.h-xl { font-size: clamp(2.4rem, 5.5vw, 4.5rem); text-transform: uppercase; }
.h-lg { font-size: clamp(1.9rem, 4vw, 3.1rem); text-transform: uppercase; }
.h-md { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }

.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: 0; }
.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brick);
  margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 2.2rem; height: 2px; background: var(--brick); }
.kicker.on-dark { color: var(--clay); }
.kicker.on-dark::before { background: var(--clay); }
.kicker.centered { justify-content: center; }
.kicker.centered::after { content: ""; width: 2.2rem; height: 2px; background: var(--brick); }
.kicker.centered.on-dark::after { background: var(--clay); }

.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.on-dark .lead, .lead.on-dark { color: var(--muted-light); }

.measure { max-width: 68ch; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */

.container { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.container.narrow { max-width: 880px; }
.container.wide { max-width: 1400px; }

section { position: relative; }
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section.tight { padding-block: clamp(3rem, 6vw, 5rem); }

.bg-dark { background: var(--ink); color: var(--white); }
.bg-coal { background: var(--coal); color: var(--white); }
.bg-cream { background: var(--cream); }
.bg-brick { background: var(--brick); color: var(--white); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split.wide-gap { gap: clamp(3rem, 7vw, 7rem); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.1rem; font-size: 1.125rem; color: var(--muted); }
.bg-dark .section-head p, .bg-coal .section-head p { color: var(--muted-light); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.btn-primary { background: var(--brick); color: var(--white); }
.btn-primary:hover { background: var(--brick-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); clip-path: none; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-ghost.on-dark { color: var(--white); border-color: var(--white); }
.btn-ghost.on-dark:hover { background: var(--white); color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 800; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--brick); text-decoration: none;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: border-color 0.18s ease;
}
.text-link:hover { border-color: var(--brick); }
.text-link::after { content: "→"; transition: transform 0.18s ease; }
.text-link:hover::after { transform: translateX(4px); }
.text-link.on-dark { color: var(--clay); }
.text-link.on-dark:hover { border-color: var(--clay); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem var(--pad);
  max-width: 1440px;
  margin: 0 auto;
}
.site-header.scrolled { background: rgba(27, 21, 16, 0.97); box-shadow: 0 1px 0 var(--line-light); }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--white); }
.brand img { height: 42px; width: 42px; }
.brand .brand-name { font-weight: 900; font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase; }
.brand .brand-name span { color: var(--clay); }

.main-nav { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a {
  color: var(--white); text-decoration: none;
  font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { border-color: var(--brick); }

.nav-drop { position: relative; }
.nav-drop > a::after { content: " ▾"; font-size: 0.7em; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 0.6rem); left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--paper); color: var(--ink);
  min-width: 190px; padding: 0.6rem 0;
  opacity: 0; visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 18px 40px rgba(27, 21, 16, 0.22);
}
/* invisible bridge so the cursor can travel from trigger to menu without closing it */
.nav-drop-menu::before { content: ""; position: absolute; top: -0.8rem; left: 0; right: 0; height: 0.8rem; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop-menu a { display: block; color: var(--ink); padding: 0.55rem 1.3rem; border: none; }
.nav-drop-menu a:hover { background: var(--cream); color: var(--brick); border: none; }

.header-cta { display: flex; align-items: center; gap: 1.4rem; }
.header-cta .btn { padding: 0.7rem 1.5rem; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; position: relative; z-index: 130;
}
.nav-toggle span {
  display: block; width: 26px; height: 2.5px; background: var(--white);
  margin: 5.5px auto; transition: transform 0.25s ease, opacity 0.25s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 120;
  background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--pad) 3rem;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
  overflow-y: auto;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }
.mobile-nav a {
  color: var(--white); text-decoration: none;
  font-size: clamp(1.7rem, 6vw, 2.4rem); font-weight: 900; text-transform: uppercase;
  padding: 0.55rem 0; border-bottom: 1px solid var(--line-light);
}
.mobile-nav a:hover { color: var(--clay); }
.mobile-nav a.sub { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.1em; padding-left: 1.4rem; color: var(--muted-light); }
.mobile-nav .btn { margin-top: 2rem; align-self: flex-start; }

@media (max-width: 1080px) {
  .main-nav, .header-cta .hide-mobile { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 520px) {
  .site-header .header-inner { gap: 0.6rem; padding: 0.8rem 1rem; }
  .brand img { height: 34px; width: 34px; }
  .brand .brand-name { font-size: 0.95rem; }
  .header-cta { gap: 0.5rem; }
  .header-cta .btn { padding: 0.6rem 0.9rem; font-size: 0.72rem; letter-spacing: 0.1em; white-space: nowrap; }
}

/* Mobile hero: compact stats so the opening breathes */
@media (max-width: 640px) {
  .hero { padding-top: 5.5rem; }
  .hero-inner { padding-bottom: 1.8rem; }
  .hero-stats { flex-wrap: nowrap; gap: 1.2rem; margin-bottom: 1.1rem; align-items: flex-end; }
  .hero-stat { flex: 1; }
  .hero-stat .num { font-size: 1.55rem; }
  .hero-stat .lbl { font-size: 0.58rem; letter-spacing: 0.14em; margin-top: 0.3rem; }
  .hero h1 { margin-bottom: 0.9rem; }
  .hero-foot { gap: 1.3rem; }
  .hero-foot p { font-size: 0.98rem; }
  .hero-foot .btn { padding: 0.85rem 1.5rem; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  padding-top: 7rem;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Video ---------- */

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line-light);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-caption { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--muted-light); }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(27,21,16,0.5) 0%, rgba(27,21,16,0.12) 35%, rgba(27,21,16,0.45) 68%, rgba(27,21,16,0.92) 100%);
}
.hero-inner { width: 100%; padding-bottom: clamp(2.5rem, 6vh, 5rem); }
.hero-stats {
  display: flex; justify-content: space-between; gap: 2rem;
  margin-bottom: clamp(1.5rem, 4vh, 3rem);
  flex-wrap: wrap;
}
.hero-stat .num { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 900; letter-spacing: -0.01em; line-height: 1; }
.hero-stat .lbl { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-light); margin-top: 0.5rem; }
.hero h1 { margin-bottom: 1.2rem; }
.hero-tagline {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); margin-bottom: 1.2rem;
}
.hero-verse {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--clay);
  margin-bottom: 2rem;
}
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 2.5rem; flex-wrap: wrap; }
.hero-foot p { max-width: 46ch; font-size: 1.1rem; color: rgba(255,255,255,0.88); }

.page-hero {
  position: relative; isolation: isolate;
  min-height: 62vh;
  display: flex; align-items: flex-end;
  color: var(--white);
  padding-top: 8rem;
}
.page-hero .hero-inner { padding-bottom: clamp(2.5rem, 5vh, 4rem); }
.page-hero .lead { color: rgba(255,255,255,0.88); margin-top: 1.2rem; }

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--brick);
  color: var(--paper);
  white-space: nowrap;
  border-block: 1px solid rgba(0,0,0,0.12);
}
.marquee-track { display: inline-flex; align-items: center; height: 5.5rem; animation: marquee 56s linear infinite; }
.marquee .mq-face {
  width: 6.5rem; height: 100%; flex: none;
  border-radius: 0; object-fit: cover; object-position: center 22%;
  margin-right: 3.2rem;
}
.marquee span {
  font-weight: 900; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.28em;
  padding-inline: 1.6rem;
}
.marquee span::after { content: "✦"; margin-left: 3.2rem; font-size: 0.8em; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats band ---------- */

.stat-band { border-block: 1px solid var(--line-light); }
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat-grid > div { padding: clamp(2rem, 4vw, 3.4rem) 1rem; border-right: 1px solid var(--line-light); }
.stat-grid > div:last-child { border-right: none; }
.stat-grid .num { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 900; line-height: 1; color: var(--white); }
.stat-grid .num em { font-style: normal; color: var(--clay); }
.stat-grid .lbl { margin-top: 0.7rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-light); }
@media (max-width: 860px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid > div:nth-child(2) { border-right: none; }
  .stat-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
}

/* ---------- Cards / pillars ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
@media (max-width: 960px) { .card-grid { grid-template-columns: 1fr; } }

.pillar-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(27,21,16,0.14); }
.pillar-card .card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.pillar-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pillar-card:hover .card-media img { transform: scale(1.05); }
.pillar-card .card-body { padding: 1.8rem 1.8rem 2rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
.pillar-card .card-tag { font-size: 1rem; font-weight: 900; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brick); }
.pillar-card h3 { font-size: 1.45rem; text-transform: uppercase; }
.pillar-card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.pillar-card .text-link { margin-top: 0.4rem; }

/* ---------- Numbered steps ---------- */

.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 2rem 1.9rem 2.1rem;
  background: var(--white);
  border: 1px solid var(--line);
}
.step .step-num {
  font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 900; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brick);
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.25rem; text-transform: uppercase; margin-bottom: 0.7rem; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Timeline (Freedom Model) ---------- */

.timeline { position: relative; margin-top: 1rem; }
.timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 27px;
  width: 2px; background: linear-gradient(to bottom, var(--brick), var(--clay));
}
.phase { position: relative; padding: 0 0 clamp(2.2rem, 5vw, 3.4rem) 84px; }
.phase:last-child { padding-bottom: 0; }
.phase-marker {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--clay);
  font-weight: 900; font-size: 1.15rem;
  border: 2px solid var(--brick);
  border-radius: 50%;
}
.phase h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); text-transform: uppercase; margin-bottom: 0.7rem; padding-top: 0.6rem; }
.phase p { color: var(--muted); max-width: 62ch; }
.phase ul { margin-top: 0.8rem; list-style: none; }
.phase ul li { position: relative; padding-left: 1.5rem; margin-bottom: 0.45rem; color: var(--muted); }
.phase ul li::before { content: "—"; position: absolute; left: 0; color: var(--brick); font-weight: 700; }
.phase .phase-note { margin-top: 1rem; font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--ink); }
@media (max-width: 640px) {
  .timeline::before { left: 21px; }
  .phase { padding-left: 64px; }
  .phase-marker { width: 44px; height: 44px; font-size: 1rem; }
}

/* ---------- Bar chart ---------- */

.chart { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(0.8rem, 2vw, 1.6rem); align-items: end; height: 320px; margin-top: 3rem; }
.chart .bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.chart .bar .fill {
  width: 100%;
  background: linear-gradient(to top, var(--brick-deep), var(--brick));
  height: 0;
  transition: height 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  min-height: 4px;
}
.chart .bar.freed-visible .fill { height: var(--h); }
.chart .bar .val { font-weight: 900; font-size: clamp(0.95rem, 2vw, 1.3rem); margin-bottom: 0.6rem; color: var(--white); }
.chart .bar .yr { margin-top: 0.8rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; color: var(--muted-light); }
.chart .bar.ytd .fill { background: linear-gradient(to top, #97794b, var(--clay)); }

/* ---------- Quote / scripture blocks ---------- */

.scripture {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.35;
  text-wrap: balance;
}
.scripture-cite {
  display: block; margin-top: 1.6rem;
  font-family: var(--font-sans); font-style: normal;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clay);
}

.pullquote {
  border-left: 3px solid var(--brick);
  padding-left: 1.6rem;
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.45;
  margin-block: 2rem;
}

/* ---------- Photo treatments ---------- */

.photo-frame { position: relative; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(27,21,16,0.1); pointer-events: none;
}
.photo-frame.offset-brick::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  background: var(--brick); z-index: -1;
}
.photo-frame.offset-clay::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  background: var(--clay); z-index: -1;
}
@media (max-width: 860px) {
  .photo-frame.offset-brick, .photo-frame.offset-clay { margin-right: 1.4rem; }
}
.photo-caption { margin-top: 0.9rem; font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; letter-spacing: 0; color: var(--muted); }
.bg-dark .photo-caption, .bg-coal .photo-caption { color: var(--muted-light); }

.full-photo { position: relative; height: clamp(340px, 60vh, 620px); isolation: isolate; }
.full-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.full-photo .overlay-quote {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,21,16,0.82), rgba(27,21,16,0.1) 60%);
  display: flex; align-items: flex-end;
  color: var(--white);
}
.full-photo .overlay-quote .container { padding-bottom: clamp(2rem, 5vh, 3.5rem); }

/* ---------- Story cards ---------- */

.story-card {
  background: var(--coal); color: var(--white);
  text-decoration: none;
  display: flex; flex-direction: column;
  border: 1px solid var(--line-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.story-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,0.4); }
.story-card .card-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--coal-2); }
.story-card .card-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform 0.6s ease, filter 0.6s ease; }
.story-card:hover .card-media img { transform: scale(1.04); filter: grayscale(0.4) contrast(1.02); }
.story-card .card-body { padding: 1.7rem 1.7rem 2rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.story-card h3 { font-size: 1.3rem; text-transform: uppercase; }
.story-card p { color: var(--muted-light); font-size: 0.96rem; flex: 1; }

/* ---------- Accordion (FAQ) ---------- */

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0.25rem;
  font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.25rem);
  transition: color 0.15s ease;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--brick); }
.accordion summary .acc-icon {
  flex: none; width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 50%;
  font-size: 1.15rem; font-weight: 400; line-height: 1;
  transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}
.accordion details[open] summary .acc-icon { transform: rotate(45deg); background: var(--brick); border-color: var(--brick); color: var(--white); }
.accordion .acc-body { padding: 0 0.25rem 1.7rem; color: var(--muted); max-width: 72ch; }

/* Dark accordion */
.bg-dark .accordion, .bg-coal .accordion { border-color: var(--line-light); }
.bg-dark .accordion details, .bg-coal .accordion details { border-color: var(--line-light); }
.bg-dark .accordion summary .acc-icon, .bg-coal .accordion summary .acc-icon { border-color: var(--white); }
.bg-dark .accordion .acc-body, .bg-coal .accordion .acc-body { color: var(--muted-light); }
.bg-dark .accordion summary:hover, .bg-coal .accordion summary:hover { color: var(--clay); }

/* ---------- Give / donate ---------- */

.give-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2.5vw, 2rem); }
@media (max-width: 760px) { .give-cards { grid-template-columns: 1fr; } }
.give-card {
  background: var(--white); border: 1px solid var(--line);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: flex; flex-direction: column; gap: 0.9rem;
}
.give-card.featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.give-card .amount { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; line-height: 1; }
.give-card .amount small { font-size: 0.35em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.give-card .amount .accent { color: var(--brick); }
.give-card.featured .amount .accent { color: var(--clay); }
.give-card p { color: var(--muted); flex: 1; }
.give-card.featured p { color: var(--muted-light); }
.give-card .btn { align-self: flex-start; margin-top: 0.5rem; }

.mail-box {
  border: 1px dashed var(--line); padding: 1.6rem 1.8rem;
  font-size: 1rem; line-height: 1.7;
}
.bg-dark .mail-box, .bg-coal .mail-box { border-color: var(--line-light); }

/* ---------- Progress bar (land fund) ---------- */

.progress-wrap { margin-top: 1.6rem; }
.progress-labels { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.progress-track { height: 14px; background: rgba(255,255,255,0.14); overflow: hidden; }
.progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(to right, var(--brick-deep), var(--brick), var(--clay));
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.freed-visible .progress-fill { width: var(--w); }

/* ---------- Forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.45rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-sans); font-size: 1rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brick); }
.field textarea { min-height: 160px; resize: vertical; }

.newsletter-form { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 240px;
  font-family: var(--font-sans); font-size: 1rem;
  padding: 0.95rem 1.1rem;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid var(--line-light);
  color: var(--white);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { outline: none; border-color: var(--clay); }

/* ---------- CTA band ---------- */

.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); text-transform: uppercase; margin-bottom: 1.4rem; }
.cta-band p { max-width: 56ch; margin: 0 auto 2.4rem; color: var(--muted-light); font-size: 1.15rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--white); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--muted-light); font-size: 0.95rem; max-width: 34ch; margin-top: 1.1rem; }
.footer-tagline { font-size: 0.72rem !important; font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase; color: var(--clay) !important; }
.footer-col h4 { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--clay); margin-bottom: 1.1rem; }
.footer-col a { display: block; color: var(--muted-light); text-decoration: none; padding-block: 0.32rem; font-size: 0.95rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-legal {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.8rem;
  font-size: 0.84rem; color: rgba(255,255,255,0.5);
}

/* ---------- Reveal animations ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.freed-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .chart .bar .fill { transition: none; height: var(--h); }
  .progress-fill { transition: none; width: var(--w); }
}

/* ---------- Before / After ---------- */

.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
@media (max-width: 720px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-item { position: relative; margin: 0; border: 1px solid var(--line); }
.ba-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; }
.ba-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 1;
  background: var(--ink); color: var(--white);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.45rem 0.9rem;
}
.ba-tag.after { background: var(--brick); }

/* ---------- Story article ---------- */

.article { max-width: 720px; margin: 0 auto; }
.article > p { margin-bottom: 1.4rem; font-size: 1.125rem; line-height: 1.8; }
.article .opener::first-letter {
  font-family: var(--font-serif);
  font-size: 3.4em; font-weight: 600; line-height: 0.8;
  float: left; padding-right: 0.12em; padding-top: 0.08em;
  color: var(--brick);
}
.article-meta { display: flex; gap: 1.2rem; align-items: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }

.next-story { border: 1px solid var(--line); padding: 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; text-decoration: none; color: var(--ink); transition: background-color 0.2s ease; flex-wrap: wrap; }
.next-story:hover { background: var(--cream); }
.next-story .nxt-label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brick); }
.next-story h3 { font-size: 1.4rem; text-transform: uppercase; margin-top: 0.4rem; }

/* ---------- Misc ---------- */

.checklist { list-style: none; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: 0.7rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brick); font-weight: 900; }
.bg-dark .checklist li::before, .bg-coal .checklist li::before { color: var(--clay); }

.big-fact { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.big-fact:last-child { border-bottom: 1px solid var(--line); }
.big-fact .num { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; line-height: 1; color: var(--brick); }
.big-fact .lbl { color: var(--muted); max-width: 40ch; }
.bg-dark .big-fact, .bg-coal .big-fact { border-color: var(--line-light); }
.bg-dark .big-fact .num, .bg-coal .big-fact .num { color: var(--clay); }
.bg-dark .big-fact .lbl, .bg-coal .big-fact .lbl { color: var(--muted-light); }

.eyebrow-rule { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 2.6rem; }
.eyebrow-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.bg-dark .eyebrow-rule::after, .bg-coal .eyebrow-rule::after { background: var(--line-light); }
.eyebrow-rule .kicker { margin-bottom: 0; }
