/* ========================================================================
   SELF — Success Edwards Love Foundation
   Design System · v1
   Editorial · Quiet · Premium
   ======================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --burgundy: #6B1E2B;
  --burgundy-deep: #52151F;
  --burgundy-tint: #F4E9EB;
  --navy: #102A43;
  --orange: #F28C28;
  --orange-hover: #E17916;
  --off-white: #F9F8F6;
  --light-gray: #F4F4F4;
  --charcoal: #2D2D2D;
  --charcoal-soft: #555555;
  --line: rgba(45, 45, 45, 0.10);
  --line-strong: rgba(45, 45, 45, 0.18);

  /* Theme (light default) */
  --bg: var(--off-white);
  --bg-alt: var(--light-gray);
  --bg-inverse: var(--burgundy);
  --fg: var(--charcoal);
  --fg-soft: var(--charcoal-soft);
  --fg-muted: #8a8a8a;
  --card: #ffffff;
  --card-line: var(--line);
  --shadow-sm: 0 1px 2px rgba(45,45,45,.04), 0 2px 8px rgba(45,45,45,.04);
  --shadow-md: 0 2px 6px rgba(45,45,45,.05), 0 12px 32px rgba(45,45,45,.06);
  --shadow-lg: 0 4px 12px rgba(45,45,45,.06), 0 24px 60px rgba(45,45,45,.10);

  /* Type */
  --f-display: 'Poppins', system-ui, -apple-system, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --nav-h: 76px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max-w: 1360px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: .5s;
}

/* Dark mode */
html[data-theme="dark"] {
  --bg: #141210;
  --bg-alt: #1c1917;
  --bg-inverse: var(--burgundy);
  --fg: #F1EFEA;
  --fg-soft: #C8C4BB;
  --fg-muted: #8a857c;
  --card: #201d1a;
  --card-line: rgba(255,255,255,.08);
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.14);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow-md: 0 2px 6px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
  --shadow-lg: 0 4px 12px rgba(0,0,0,.35), 0 24px 60px rgba(0,0,0,.45);
}

/* ---------- Base ---------- */
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* ---------- Type scale ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--fg);
  text-wrap: balance;
}

.display-xl {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(48px, 9vw, 132px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.display-lg {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.display-md {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.display-sm {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.body-lg { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: var(--fg-soft); text-wrap: pretty; }
.body { font-size: 17px; line-height: 1.65; color: var(--fg-soft); text-wrap: pretty; }
.body-sm { font-size: 15px; line-height: 1.6; color: var(--fg-soft); }

.eyebrow {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--burgundy);
}

/* ---------- Layout primitives ---------- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

section { padding: clamp(72px, 10vw, 160px) 0; position: relative; }
section.tight { padding: clamp(48px, 6vw, 96px) 0; }

.section-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 760px; }
.section-head .body-lg { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px) scale(1.02); }
.btn:active { transform: translateY(0) scale(0.99); }

.btn-primary { background: var(--orange); color: var(--charcoal); }
.btn-primary:hover { background: var(--orange-hover); box-shadow: 0 8px 24px rgba(242,140,40,.28); }

.btn-dark { background: var(--charcoal); color: var(--off-white); }
.btn-dark:hover { background: #000; }
html[data-theme="dark"] .btn-dark { background: var(--off-white); color: var(--charcoal); }

.btn-burgundy { background: var(--burgundy); color: #fff; }
.btn-burgundy:hover { background: var(--burgundy-deep); }

.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--fg); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-lg { padding: 18px 34px; font-size: 16px; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--fg);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color .3s, border-color .3s;
}
.btn-link:hover { color: var(--burgundy); border-color: var(--burgundy); }
.btn-link .arrow { transition: transform .3s var(--ease); }
.btn-link:hover .arrow { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
}
.nav-logo .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--burgundy);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 15px;
  letter-spacing: .02em;
}
.nav-logo .name { display: flex; flex-direction: column; line-height: 1; }
.nav-logo .name small { font-family: var(--f-body); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); margin-top: 4px; }
.logo-img { height: 40px; width: auto; display: block; }
.nav-logo .logo-img { height: 40px; }
.footer-brand .logo-img { height: 56px; }
.logo-dark-img { display: none; }
.nav.on-dark:not(.solid) .logo-light-img { display: none; }
.nav.on-dark:not(.solid) .logo-dark-img { display: block; }
html[data-theme="dark"] .logo-light-img { display: none; }
html[data-theme="dark"] .logo-dark-img { display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--burgundy); }
.nav-links a.active { color: var(--burgundy); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center;
  color: var(--fg);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--line); }

.nav.solid {
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}

.nav.on-dark:not(.solid) { color: #fff; }
.nav.on-dark:not(.solid) .nav-links a { color: rgba(255,255,255,.85); }
.nav.on-dark:not(.solid) .nav-links a:hover { color: #fff; }
.nav.on-dark:not(.solid) .icon-btn { color: #fff; }
.nav.on-dark:not(.solid) .icon-btn:hover { background: rgba(255,255,255,.12); }
.nav.on-dark:not(.solid) .nav-logo .mark { background: #fff; color: var(--burgundy); }
.nav.on-dark:not(.solid) .nav-logo .name small { color: rgba(255,255,255,.6); }
.nav.on-dark:not(.solid) .btn-dark { background: #fff; color: var(--charcoal); }

.mobile-toggle { display: none; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-grid; }
  .nav-actions .btn:not(.btn-primary) { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  padding: 18px 0;
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:hover { color: var(--burgundy); }
.mobile-menu .actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Hero (homepage) ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,15,12,.15) 0%, rgba(20,15,12,.25) 40%, rgba(20,15,12,.75) 100%);
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-content {
  position: relative; z-index: 1;
  width: 100%;
  padding-bottom: clamp(48px, 8vw, 96px);
}
.hero-content .wrap { display: flex; flex-direction: column; gap: 32px; }
.hero-eyebrow {
  font-family: var(--f-body); font-weight: 500; font-size: 12px;
  letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  display: inline-flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: rgba(255,255,255,.7); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .body-lg { color: rgba(255,255,255,.9); max-width: 52ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.hero-meta {
  position: absolute; z-index: 1;
  right: var(--gutter); bottom: clamp(48px, 8vw, 96px);
  color: rgba(255,255,255,.7);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
@media (max-width: 780px) { .hero-meta { display: none; } }

/* Scroll hint */
.scroll-hint {
  position: absolute; z-index: 1; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.scroll-hint .line { width: 1px; height: 40px; background: rgba(255,255,255,.4); animation: scrollLine 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease);
}
.card.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

/* Program cards grid (What We Do) */
.programs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.program {
  background: var(--bg);
  padding: 40px 32px 36px;
  display: flex; flex-direction: column; gap: 20px;
  min-height: 260px;
  transition: background .3s var(--ease);
  position: relative;
}
.program:hover { background: var(--card); }
.program .num { font-family: var(--f-display); font-size: 12px; font-weight: 600; color: var(--fg-muted); letter-spacing: .04em; }
.program h3 { font-size: 22px; letter-spacing: -0.015em; }
.program p { font-size: 14px; color: var(--fg-soft); line-height: 1.55; }
.program .icon {
  width: 40px; height: 40px;
  color: var(--burgundy);
  margin-bottom: 4px;
}
.program::after {
  content: "→";
  position: absolute;
  right: 32px; bottom: 32px;
  font-family: var(--f-body); font-weight: 300; font-size: 18px;
  color: var(--fg-muted);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s, transform .3s;
}
.program:hover::after { opacity: 1; transform: translateX(0); }

@media (max-width: 980px) { .programs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .programs { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 64px);
}
.stat {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}
.stat .num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.stat .num .suffix { color: var(--burgundy); }
.stat .label {
  font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-muted);
}
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.1fr; }
.split.reverse > *:first-child { order: 2; }
.split-media {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-gray);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-content { display: flex; flex-direction: column; gap: 24px; max-width: 52ch; }
@media (max-width: 880px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > *:first-child { order: 0; }
}

/* ---------- LTCD Chapter section (burgundy) ---------- */
.chapter {
  background: var(--burgundy);
  color: #fff;
}
.chapter .eyebrow { color: rgba(255,255,255,.85); }
.chapter .eyebrow::before { background: rgba(255,255,255,.7); }
.chapter h2, .chapter h3 { color: #fff; }
.chapter .body-lg, .chapter .body { color: rgba(255,255,255,.85); }
.chapter .stat { border-top-color: rgba(255,255,255,.2); }
.chapter .stat .num { color: #fff; }
.chapter .stat .num .suffix { color: var(--orange); }
.chapter .stat .label { color: rgba(255,255,255,.6); }

.chapter .ltcd-date {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--orange);
  margin-top: 20px;
  margin-bottom: 20px;
}
.chapter .ways-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
  margin-top: clamp(40px, 6vw, 64px);
  margin-bottom: clamp(40px, 6vw, 64px);
  max-width: 720px;
}
.chapter .way {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.chapter .way .num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.chapter .way h4 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #fff;
}
@media (max-width: 640px) {
  .chapter .ways-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Gallery (masonry) ---------- */
.masonry {
  column-count: 4;
  column-gap: 16px;
}
.masonry .tile {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light-gray);
  position: relative;
}
.masonry .tile img { width: 100%; display: block; transition: transform .6s var(--ease); }
.masonry .tile:hover img { transform: scale(1.04); }
.masonry .tile .caption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .04em;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.masonry .tile:hover .caption { opacity: 1; transform: translateY(0); }
@media (max-width: 1080px) { .masonry { column-count: 3; } }
@media (max-width: 720px) { .masonry { column-count: 2; } }
@media (max-width: 440px) { .masonry { column-count: 1; } }

/* ---------- Stories carousel ---------- */
.stories-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.story {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex; flex-direction: column;
  gap: 24px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story blockquote {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-wrap: pretty;
}
.story blockquote::before { content: "\201C"; display: block; font-family: var(--f-display); font-size: 56px; line-height: .5; color: var(--burgundy); margin-bottom: 12px; }
.story .who { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.story .who .avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--light-gray); overflow: hidden; flex-shrink: 0; }
.story .who .name { font-weight: 600; font-size: 15px; }
.story .who .role { font-size: 13px; color: var(--fg-muted); letter-spacing: .02em; }

@media (max-width: 980px) { .stories-row { grid-template-columns: 1fr; } }

/* ---------- Get involved ---------- */
.involved {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.involved-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  aspect-ratio: 3/4;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.involved-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.involved-card .icon-lg { color: var(--burgundy); width: 44px; height: 44px; flex-shrink: 0; }
.involved-card svg.icon-lg { width: 44px; height: 44px; }
.program svg.icon { width: 40px; height: 40px; }
.involved-card h3 { font-size: 28px; letter-spacing: -0.02em; }
.involved-card p { font-size: 14px; color: var(--fg-soft); line-height: 1.55; }
.involved-card .go { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--burgundy); }
.involved-card .go .arrow { transition: transform .3s var(--ease); }
.involved-card:hover .go .arrow { transform: translateX(4px); }

@media (max-width: 980px) { .involved { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .involved { grid-template-columns: 1fr; } .involved-card { aspect-ratio: auto; } }

/* ---------- Donation banner ---------- */
.donate-band {
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(56px, 8vw, 112px) clamp(32px, 6vw, 96px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.donate-band h2 { color: #fff; max-width: 14ch; }
.donate-band .body-lg { color: rgba(255,255,255,.75); max-width: 40ch; }
.donate-band .amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.amount-pill {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-family: var(--f-display); font-weight: 600; font-size: 16px;
  transition: background .2s, border-color .2s, transform .2s;
}
.amount-pill:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }
.amount-pill.active { background: var(--orange); border-color: var(--orange); }
.donate-band .btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 880px) { .donate-band { grid-template-columns: 1fr; } }

/* ---------- Partners marquee ---------- */
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 80px;
  padding-right: 80px;
  animation: marquee 40s linear infinite;
  flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.partner-logo {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--fg-muted);
  white-space: nowrap;
  opacity: .7;
  transition: opacity .3s, color .3s;
  display: inline-flex; align-items: center; gap: 10px;
}
.partner-logo:hover { opacity: 1; color: var(--fg); }
.partner-logo .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--burgundy); }

/* ---------- News cards ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.news-card {
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .3s var(--ease);
}
.news-card:hover { transform: translateY(-4px); }
.news-card .media {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light-gray);
}
.news-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .media img { transform: scale(1.04); }
.news-card .meta { display: flex; gap: 12px; align-items: center; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); }
.news-card .meta .country { color: var(--burgundy); font-weight: 600; }
.news-card h3 { font-size: 22px; letter-spacing: -0.015em; }
.news-card p { font-size: 15px; color: var(--fg-soft); }
@media (max-width: 880px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.newsletter {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 8vw, 112px) 0;
}
.newsletter .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter h2 { max-width: 14ch; }
.newsletter form {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  background: var(--card);
  align-items: center;
}
.newsletter input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  padding: 12px 8px;
  font-size: 15px;
}
.newsletter input::placeholder { color: var(--fg-muted); }
@media (max-width: 880px) { .newsletter .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-alt);
  padding: 96px 0 40px;
  color: var(--fg-soft);
}
html[data-theme="dark"] .footer { background: #0d0b0a; }
.footer .top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; max-width: 340px; }
.footer-brand .nav-logo { color: var(--fg); }
.footer-brand p { font-size: 14px; }
.footer-col h4 {
  font-family: var(--f-body);
  font-weight: 600; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--fg); transition: color .2s; }
.footer-col a:hover { color: var(--burgundy); }
.footer .bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--fg-muted);
  flex-wrap: wrap; gap: 16px;
}
.footer .socials { display: flex; gap: 10px; }
.footer .socials a {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--fg);
  transition: background .2s, color .2s, border-color .2s;
}
.footer .socials a:hover { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
@media (max-width: 880px) { .footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .top { grid-template-columns: 1fr; } }

/* ---------- Sub-page hero ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 clamp(64px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { max-width: 18ch; margin-bottom: 24px; }
.page-hero .body-lg { max-width: 60ch; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-muted);
}
.form-field input, .form-field textarea, .form-field select {
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color .2s;
  font-family: var(--f-body);
  outline: none;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--burgundy); }
.form-field textarea { min-height: 140px; resize: vertical; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- LTCD hero variation ---------- */
.ltcd-hero {
  background: var(--burgundy);
  color: #fff;
  padding: calc(var(--nav-h) + 96px) 0 96px;
  position: relative;
  overflow: hidden;
}
.ltcd-hero h1 { color: #fff; }
.ltcd-hero .eyebrow { color: rgba(255,255,255,.85); }
.ltcd-hero .eyebrow::before { background: rgba(255,255,255,.7); }
.ltcd-hero .date {
  font-family: var(--f-display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  color: var(--orange);
  letter-spacing: .02em;
}

/* ---------- Utility ---------- */
.divider { height: 1px; background: var(--line); margin: 0 auto; max-width: var(--max-w); }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 560ms; }

/* ---------- World map ---------- */
.world-map-wrap {
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 980px) { .world-map-wrap { grid-template-columns: 1fr; } }
.world-map svg { width: 100%; height: auto; display: block; }
.world-map .country {
  fill: var(--fg);
  opacity: .15;
  transition: opacity .2s, fill .2s;
  cursor: pointer;
}
.world-map .country.active { opacity: 1; fill: var(--burgundy); }
.world-map .country.active:hover { fill: var(--orange); }
.map-legend { display: flex; flex-direction: column; gap: 16px; }
.map-legend .country-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: color .2s;
}
.map-legend .country-item:hover, .map-legend .country-item.active { color: var(--burgundy); }
.map-legend .country-item .name { font-family: var(--f-display); font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.map-legend .country-item .meta { font-size: 12px; color: var(--fg-muted); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Donation page ---------- */
.donate-shell {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 980px) { .donate-shell { grid-template-columns: 1fr; } }
.donate-panel {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 48px);
  position: sticky; top: calc(var(--nav-h) + 24px);
}
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-alt);
  border-radius: 999px;
  margin-bottom: 32px;
}
.tab {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--fg-soft);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.tab.active { background: var(--card); color: var(--fg); box-shadow: var(--shadow-sm); }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.amount-btn {
  padding: 20px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--f-display); font-weight: 700; font-size: 22px;
  color: var(--fg);
  transition: border-color .2s, background .2s, color .2s;
  background: var(--bg);
}
.amount-btn:hover { border-color: var(--fg); }
.amount-btn.active { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }

.impact-note {
  padding: 20px;
  background: var(--burgundy-tint);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--burgundy-deep);
  margin-top: 24px;
}
html[data-theme="dark"] .impact-note { background: rgba(107,30,43,.25); color: #f4d7dc; }
.impact-note strong { display: block; font-family: var(--f-display); font-size: 16px; margin-bottom: 4px; }

/* Prayer, volunteer forms — general large form container */
.form-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
}

/* Sponsor child grid */
.child-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .child-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .child-grid { grid-template-columns: 1fr; } }
.child-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.child-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.child-card .media { aspect-ratio: 4/5; background: var(--light-gray); }
.child-card .media img { width: 100%; height: 100%; object-fit: cover; }
.child-card .info { padding: 24px; }
.child-card h3 { font-size: 22px; margin-bottom: 4px; }
.child-card .place { font-size: 13px; color: var(--fg-muted); letter-spacing: .04em; margin-bottom: 16px; }
.child-card .bio { font-size: 14px; color: var(--fg-soft); margin-bottom: 20px; line-height: 1.5; }
.child-card .row { display: flex; justify-content: space-between; align-items: center; }
.child-card .amount { font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.child-card .amount small { font-family: var(--f-body); font-weight: 400; font-size: 12px; color: var(--fg-muted); letter-spacing: .04em; margin-left: 4px; }

/* Gallery filter */
.gallery-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px; }
.gallery-filter button {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-soft);
  transition: all .2s;
}
.gallery-filter button:hover { border-color: var(--fg); color: var(--fg); }
.gallery-filter button.active { background: var(--charcoal); color: var(--off-white); border-color: var(--charcoal); }
html[data-theme="dark"] .gallery-filter button.active { background: var(--off-white); color: var(--charcoal); border-color: var(--off-white); }

/* Big page CTA */
.cta-band {
  background: var(--burgundy);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 88px);
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 20px; }
.cta-band .body-lg { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 32px; }
.cta-band .btn-row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
