/* ============================================================
   Freedom Coalition — video donation site
   ============================================================ */
:root {
  --ink: #0A1F44;
  --ink-2: #0B2545;
  --ink-3: #16315C;
  --cream: #F4F7FB;
  --cream-2: #E6EDF6;
  --paper: #FFFFFF;
  --sand: #C5D0E3;
  --mute: #4A5C78;
  --line: rgba(10, 31, 68, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --gold: #8FB3E8;
  --gold-2: #C5D4F5;
  --ember: #B22234;
  --ember-2: #D62828;
  --ok: #1f8a5a;
  --r: 22px;
  --r-sm: 12px;
  --shadow: 0 18px 50px rgba(11, 12, 16, 0.12);
  --nav-h: 76px;
  --font-d: "Syne", system-ui, sans-serif;
  --font: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.banner, main, .footer { position: relative; z-index: 1; }

/* ----- freedom flag background ----- */
.flag-bg {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.flag-bg-img {
  position: absolute;
  top: -14%; right: 0; left: 0; height: 128%;
  background: url("assets/american-flag.jpg") 58% 28% / cover no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.08);
}
.flag-bg-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 31, 68, 0.22) 0%, rgba(10, 31, 68, 0.38) 100%),
    linear-gradient(90deg, rgba(10, 31, 68, 0.42) 0%, rgba(10, 31, 68, 0.08) 52%, rgba(10, 31, 68, 0.28) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .flag-bg-img { will-change: auto; }
}
img, iframe { max-width: 100%; border: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ember); color: #fff; padding: 0.6rem 1rem; z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.wrap-narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }

/* ----- example banner ----- */
.banner {
  position: relative;
  background: rgba(10, 31, 68, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
  letter-spacing: 0.01em;
}
.banner:after {
  content: "";
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #0A1F44 0%, #B22234 40%, #FFFFFF 50%, #B22234 60%, #0A1F44 100%);
}
.banner code { font-size: 0.86em; background: rgba(0,0,0,.08); padding: 0.05em 0.35em; border-radius: 4px; }

/* ----- sticky nav ----- */
.header {
  position: sticky; top: 0; z-index: 80;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
}
.header .bar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo img {
  height: 54px; width: auto; display: block;
  filter: drop-shadow(0 2px 8px rgba(10, 31, 68, 0.35));
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  text-decoration: none; font-weight: 500; font-size: 0.92rem;
  padding: 0.45rem 0.8rem; border-radius: 999px; opacity: 0.82;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.is-active { opacity: 1; }
.nav-cta { margin-left: 8px; }
.menu-btn {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
}
.menu-btn span, .menu-btn span:before, .menu-btn span:after {
  display: block; width: 22px; height: 2px; background: currentColor; position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-btn span:before, .menu-btn span:after {
  content: ""; position: absolute; left: 0;
}
.menu-btn span:before { top: -7px; }
.menu-btn span:after { top: 7px; }
.menu-btn.is-open span { background: transparent; }
.menu-btn.is-open span:before { top: 0; transform: rotate(45deg); }
.menu-btn.is-open span:after { top: 0; transform: rotate(-45deg); }

/* dark nav over hero */
.page-home .header, .header.is-dark {
  background: transparent; color: var(--cream);
}
.page-home .header.is-scrolled, .header.is-dark.is-scrolled, .header.is-light {
  background: rgba(244, 247, 251, 0.72);
  color: var(--ink);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 1px 0 var(--line);
}
.page-home .header .nav-links a:hover,
.header.is-dark .nav-links a:hover { background: rgba(255,255,255,.08); }
.page-home .header.is-scrolled .nav-links a:hover,
.header.is-light .nav-links a:hover,
.header.is-dark.is-scrolled .nav-links a:hover { background: rgba(11,12,16,.06); }
.page-home .header.is-scrolled .nav-links a.is-active,
.header.is-light .nav-links a.is-active,
.header.is-dark.is-scrolled .nav-links a.is-active { background: rgba(11,12,16,.08); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 70;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 32px 48px; transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer a {
  display: block; text-decoration: none;
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(2rem, 8vw, 3.2rem); letter-spacing: -0.04em;
  line-height: 1.15; padding: 0.2em 0;
  transform: translateY(12px); opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
}
.drawer.is-open a { transform: none; opacity: 1; }
.drawer.is-open a:nth-child(1) { transition-delay: 0.05s; }
.drawer.is-open a:nth-child(2) { transition-delay: 0.1s; }
.drawer.is-open a:nth-child(3) { transition-delay: 0.15s; }
.drawer.is-open a:nth-child(4) { transition-delay: 0.2s; }
.drawer.is-open a:nth-child(5) { transition-delay: 0.25s; }
.drawer a:hover { color: var(--gold); }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border: 0; cursor: pointer;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  border-radius: 999px; padding: 0.9rem 1.35rem;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-ember {
  background: var(--ember); color: #fff;
  box-shadow: 0 10px 24px rgba(178, 34, 52, 0.32);
}
.btn-ember:hover { background: var(--ember-2); }
.btn-gold {
  background: var(--ember); color: #fff;
  box-shadow: 0 10px 24px rgba(226, 179, 54, 0.28);
}
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost {
  background: transparent; color: currentColor;
  border: 1px solid currentColor;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.header.is-light .btn-ghost,
.header.is-scrolled .btn-ghost,
.page-home .header.is-scrolled .btn-ghost {
  border-color: var(--ink); color: var(--ink);
}
.header.is-light .btn-ghost:hover,
.header.is-scrolled .btn-ghost:hover { background: rgba(11,12,16,.06); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ----- typography ----- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
  margin: 0 0 1rem;
}
.eyebrow:before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}
h1, h2, .display {
  font-family: var(--font-d); font-weight: 800;
  letter-spacing: -0.045em; line-height: 0.98; margin: 0;
}
.lede { font-size: 1.15rem; color: var(--mute); max-width: 46ch; }

/* ----- hero ----- */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 31, 68, 0.18) 0%, rgba(10, 31, 68, 0.12) 45%, rgba(10, 31, 68, 0.78) 100%);
  color: var(--cream);
  min-height: calc(100vh - 42px);
  display: flex; align-items: flex-end;
  margin-top: calc(-1 * var(--nav-h));
  padding: calc(var(--nav-h) + 8rem) 0 5.5rem;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 31, 68, 0.68) 0%, rgba(10, 31, 68, 0.32) 46%, rgba(10, 31, 68, 0.08) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-grid:after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #0A1F44 0%, #B22234 35%, #FFFFFF 50%, #B22234 65%, #0A1F44 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-logo {
  display: block;
  width: min(540px, 92%);
  height: auto;
  margin: 0 0 1.5rem;
  filter: drop-shadow(0 10px 28px rgba(10, 31, 68, 0.5));
}
.hero h1 {
  font-size: clamp(3.1rem, 8.4vw, 7.2rem);
  max-width: 14ch;
  margin-bottom: 1.4rem;
  text-shadow: 0 6px 40px rgba(10, 31, 68, 0.55);
}
.hero h1.war-headline {
  font-size: clamp(3.15rem, 8vw, 6.8rem);
  max-width: 12ch;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-shadow:
    0 2px 0 rgba(10, 31, 68, 0.45),
    0 8px 36px rgba(10, 31, 68, 0.7),
    0 0 40px rgba(10, 31, 68, 0.35);
}
.hero .lede { color: var(--sand); font-size: 1.35rem; margin: 0 0 2.2rem; max-width: none; white-space: pre-line; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ----- page hero (inner pages) ----- */
.page-hero {
  background: linear-gradient(180deg, rgba(10, 31, 68, 0.22) 0%, rgba(10, 31, 68, 0.18) 50%, rgba(10, 31, 68, 0.78) 100%);
  color: var(--cream);
  margin-top: calc(-1 * var(--nav-h));
  padding: calc(var(--nav-h) + 8rem) 0 4.2rem;
  position: relative; overflow: hidden;
}
.page-hero:before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 31, 68, 0.66) 0%, rgba(10, 31, 68, 0.28) 50%, rgba(10, 31, 68, 0.1) 100%);
}
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; margin-bottom: 1rem; text-shadow: 0 6px 40px rgba(10, 31, 68, 0.55); }
.page-hero h1.war-headline {
  font-size: clamp(3.15rem, 8vw, 6.35rem);
  max-width: 15ch;
  margin-bottom: 1.15rem;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-shadow:
    0 2px 0 rgba(10, 31, 68, 0.45),
    0 8px 36px rgba(10, 31, 68, 0.7),
    0 0 40px rgba(10, 31, 68, 0.35);
}
.headline-war {
  font-family: "Black Ops One", var(--font-d), system-ui, sans-serif;
  font-weight: 400;
  color: #D62828;
  font-size: 1.28em;
  letter-spacing: 0.06em;
  display: inline-block;
  line-height: 0.9;
  text-shadow:
    0 0 22px rgba(214, 40, 40, 0.75),
    0 0 48px rgba(214, 40, 40, 0.45),
    0 4px 16px rgba(10, 31, 68, 0.65);
}
.page-hero .lede { color: var(--sand); margin: 0; }
.page-hero:after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #0A1F44 0%, #B22234 35%, #FFFFFF 50%, #B22234 65%, #0A1F44 100%);
  pointer-events: none;
}

/* ----- sections ----- */
.section { padding: 5.5rem 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  flex-wrap: wrap; margin-bottom: 2.4rem;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 14ch; }
.section-dark {
  background: rgba(10, 31, 68, 0.78);
  color: var(--cream);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
}
.section-paper {
  background: linear-gradient(180deg, rgba(255,255,255,0.52) 0%, rgba(255,255,255,0.78) 22%, rgba(255,255,255,0.86) 100%);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.section-cream {
  background: linear-gradient(180deg, rgba(244,247,251,0.48) 0%, rgba(244,247,251,0.76) 24%, rgba(244,247,251,0.86) 100%);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

/* ----- stats ----- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--r); overflow: hidden;
}
.stat {
  background: rgba(11, 37, 69, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.8rem 1.4rem;
  position: relative;
}
.stat b {
  display: block; font-family: var(--font-d); font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.04em; color: var(--gold);
  line-height: 1;
}
.stat span { display: block; margin-top: 0.45rem; color: var(--sand); font-size: 0.95rem; }
.ph {
  display: inline-block; margin-left: 8px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #fff;
  background: var(--ember); padding: 0.15rem 0.4rem; border-radius: 4px;
  vertical-align: middle;
}

/* ----- video grid / cards ----- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 12px 40px rgba(10, 31, 68, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.58);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.player {
  position: relative; aspect-ratio: 16/9;
  background: #0b1220 center/cover no-repeat;
  cursor: pointer; border: 0; width: 100%; padding: 0; display: block;
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(1);
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--ember); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform 0.3s var(--ease), background 0.2s;
}
.card:hover .play, .player:hover .play { transform: translate(-50%,-50%) scale(1.08); }
.play:after {
  content: ""; border-left: 18px solid #fff;
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
  margin-left: 4px;
}
.tag, .cat {
  position: absolute; top: 12px; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.22rem 0.5rem; border-radius: 6px;
}
.tag { left: 12px; background: var(--ember); color: #fff; }
.cat { right: 12px; background: rgba(7,8,13,.72); color: var(--cream); backdrop-filter: blur(8px); }
.body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.body h3 {
  font-family: var(--font-d); font-weight: 700; letter-spacing: -0.03em;
  font-size: 1.22rem; line-height: 1.2; margin: 0;
}
.body p { margin: 0; color: var(--mute); font-size: 0.95rem; flex: 1; }

/* ----- how it works ----- */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.step-card {
  background: rgba(11, 37, 69, 0.52);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r); padding: 1.8rem 1.5rem 2rem;
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(178, 34, 52, 0.55); }
.step-n {
  font-family: var(--font-d); font-weight: 800; font-size: 3rem;
  letter-spacing: -0.06em; color: var(--gold); line-height: 1; margin-bottom: 1rem;
}
.step-card h3 { font-family: var(--font-d); margin: 0 0 0.6rem; font-size: 1.35rem; letter-spacing: -0.03em; }
.step-card p { margin: 0; color: var(--sand); }

/* light step cards on how-it-works page */
.step-card.light {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-color: rgba(255, 255, 255, 0.6); color: var(--ink);
}
.step-card.light p { color: var(--mute); }

/* ----- about values ----- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.5rem; }
.value {
  padding: 1.6rem 1.4rem; border-top: 2px solid var(--ember);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.value h3 { font-family: var(--font-d); margin: 0 0 0.5rem; font-size: 1.2rem; letter-spacing: -0.03em; }
.value p { margin: 0; color: var(--mute); }

/* ----- browse by category ----- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.cat-tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  background: rgba(255, 255, 255, 0.8); color: var(--ink);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 16px;
  padding: 1.15rem 1.05rem 1rem;
  text-decoration: none;
  min-height: 112px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.cat-tile:hover {
  transform: translateY(-4px);
  border-color: var(--ember);
  box-shadow: var(--shadow);
}
.cat-tile h3 {
  font-family: var(--font-d); font-weight: 700;
  font-size: 1.05rem; letter-spacing: -0.03em;
  line-height: 1.2; margin: 0;
}
.cat-tile .count { font-size: 0.82rem; color: var(--mute); font-weight: 500; }

.empty { text-align: center; color: var(--mute); padding: 3rem 1rem; }
#library { scroll-margin-top: calc(var(--nav-h) + 0.5rem); }
.library-intro { margin: 0 0 3.2rem; }
.combat-title {
  font-family: "Black Ops One", var(--font-d), system-ui, sans-serif;
  font-weight: 400;
  color: #D62828;
  font-size: clamp(2.55rem, 7vw, 4.6rem);
  letter-spacing: 0.06em;
  line-height: 0.95;
  margin: 0 0 1.15rem;
  text-shadow: none;
}
.combat-row { display: flex; align-items: center; gap: 2rem; margin: 0 0 1.15rem; flex-wrap: wrap; }
.combat-row .combat-title { margin: 0; flex: 0 0 auto; }
.combat-note { font-family: "Outfit", system-ui, sans-serif; font-weight: 700; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.22; color: #0B1F4A; width: 28rem; margin: 0; text-align: right; border-right: 6px solid #D62828; padding-right: 1.1rem; }
#videos .wrap { position: relative; }
@media (min-width: 900px) { #videos .combat-note { position: absolute; top: 0; right: 0; } }
.combat-box {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  padding: 2.15rem 2.5rem 2.25rem;
  box-shadow: 0 12px 40px rgba(10, 31, 68, 0.08);
  width: 100%;
  max-width: none;
}
.combat-box p {
  margin: 0;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1.7;
  font-weight: 400;
}
.cat-section {
  margin: 0 0 3.6rem;
  padding-top: 0.4rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.cat-section:last-child { margin-bottom: 0; }
.cat-section-head {
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(178, 34, 52, 0.28);
}
.cat-section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  max-width: none;
  color: var(--ink);
}
.cat-section-head .cat-tagline {
  margin: 0.45rem 0 0;
  max-width: 52ch;
  color: var(--mute);
  font-size: 1.05rem;
}

/* ----- forms ----- */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--mute); }
.form input, .form textarea, .form select {
  border: 1px solid rgba(10, 31, 68, 0.16); background: rgba(255, 255, 255, 0.86);
  border-radius: var(--r-sm); padding: 0.8rem 0.95rem; outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,12,16,.08); }
.form-note { color: var(--mute); font-size: 0.9rem; }
.form-ok { color: var(--ok); font-weight: 600; }
.form-err { color: var(--ember); font-weight: 600; }
.mailto { color: var(--ember); font-weight: 600; }

/* ----- footer ----- */
.footer {
  background: rgba(10, 31, 68, 0.88);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  color: var(--sand);
  padding: 3.4rem 0 2rem; font-size: 0.92rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
  padding-bottom: 2.2rem; border-bottom: 1px solid var(--line-dark);
}
.footer .logo { color: var(--cream); margin-bottom: 0.8rem; }
.footer h4 { color: var(--cream); margin: 0 0 0.8rem; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer a { color: var(--sand); text-decoration: none; display: block; padding: 0.2rem 0; }
.footer a:hover { color: var(--gold); }
.tax {
  margin-top: 1.4rem; font-size: 0.82rem; color: var(--sand);
  max-width: 80ch; line-height: 1.5;
}
.tax .ph { margin-left: 0; margin-right: 6px; }

/* ----- donate modal / mock ----- */
.overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(7, 8, 13, 0.72);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.overlay.is-open { opacity: 1; pointer-events: auto; }
.modal {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  color: var(--ink);
  width: min(460px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease);
}
.overlay.is-open .modal { transform: none; }
.modal-head {
  display: flex; justify-content: space-between; align-items: start; gap: 12px;
  padding: 1.3rem 1.3rem 0.6rem;
}
.modal-head h3 { font-family: var(--font-d); font-size: 1.35rem; letter-spacing: -0.03em; margin: 0; }
.modal-head p { margin: 0.3rem 0 0; color: var(--mute); font-size: 0.9rem; }
.icon-x {
  background: var(--cream-2); border: 0; width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.2rem; line-height: 1;
}
.icon-x:hover { background: #d5deea; }
.mock-flag {
  background: #E8EEF6; color: var(--ink);
  font-size: 0.8rem; line-height: 1.4;
  padding: 0.7rem 1.3rem; border-top: 1px solid #C5D0E3; border-bottom: 1px solid #C5D0E3;
}
.mock-body { padding: 1.1rem 1.3rem 1.5rem; }
.amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0.4rem 0 0.9rem; }
.amt {
  border: 1px solid var(--line); background: var(--cream); border-radius: 10px;
  padding: 0.7rem 0.2rem; cursor: pointer; font-weight: 700; text-align: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.amt.is-on, .amt:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.custom-amt { margin-bottom: 0.9rem; }
.iframe-wrap {
  min-height: 520px; display: flex; justify-content: center;
  padding: 0 8px 16px;
}
.iframe-wrap iframe { width: 100%; max-width: 425px; min-height: 640px; border: 0; }

/* ----- reveal ----- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* ----- report (private) ----- */
.report-body { background: var(--cream); padding: 2rem 0 4rem; }
.report-top {
  background: var(--ink); color: var(--cream); padding: 1.2rem 0;
}
.report-top a { color: var(--gold); text-decoration: none; font-weight: 600; }
.panel {
  background: rgba(255, 255, 255, 0.88); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px; margin-bottom: 22px;
}
.drop { border: 2px dashed #b8c4d6; border-radius: var(--r); padding: 28px; text-align: center; color: var(--mute); }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 16px; }
.opts label { font-size: 0.8rem; color: var(--mute); display: flex; flex-direction: column; gap: 4px; }
.kpis { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.kpi { flex: 1; min-width: 150px; background: var(--cream-2); border-radius: 12px; padding: 14px; }
.kpi b { display: block; font-family: var(--font-d); font-size: 1.6rem; letter-spacing: -0.03em; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.65rem 0.6rem; border-bottom: 1px solid var(--line); }
th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--mute); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tfoot td { font-weight: 800; border-top: 2px solid var(--ink); }
.note { color: var(--mute); font-size: 0.85rem; }
.hidden { display: none !important; }

/* ----- contact split ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.aside-card {
  background: rgba(10, 31, 68, 0.72);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  color: var(--cream);
  border-radius: var(--r); padding: 2rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.aside-card h3 { font-family: var(--font-d); margin: 0 0 0.6rem; letter-spacing: -0.03em; }
.aside-card p, .aside-card a { color: var(--sand); }
.aside-card a { color: var(--gold); }

/* ----- utilities ----- */
.prose p { color: var(--mute); font-size: 1.08rem; max-width: 62ch; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

@media (max-width: 980px) {
  .grid, .steps-grid, .values, .stats, .footer-grid, .split, .cat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .grid, .steps-grid, .values, .footer-grid, .split, .stats, .cat-grid {
    grid-template-columns: 1fr;
  }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding: 8.2rem 0 4rem; }
  .hero-logo { width: min(360px, 96%); margin-bottom: 1.15rem; }
  .logo img { height: 48px; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
  .hero h1.war-headline { font-size: clamp(2.85rem, 13vw, 4.6rem); }
  .page-hero h1.war-headline { font-size: clamp(2.85rem, 13vw, 4.6rem); }
  .combat-title { font-size: clamp(1.85rem, 10vw, 3.2rem); letter-spacing: 0.04em; }
  .combat-box { padding: 1.45rem 1.35rem 1.55rem; border-radius: 18px; }
  .combat-box p { font-size: 1.15rem; line-height: 1.65; }
  .library-intro { margin-bottom: 2.4rem; }
  .section { padding: 3.6rem 0; }
  .amts { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

.ballot-fineprint { font-size: 0.95rem !important; color: var(--mute); margin: 0.6rem 0 1.4rem !important; }

.combat-box .btn { margin-top: 1.2rem; }
.combat-box .ballot-fineprint + .btn { margin-top: 0; }
