/* ============ TOKENS ============ */
:root {
  --navy: #0b1f3a;
  --navy-deep: #071527;
  --navy-soft: #16305a;
  --cream: #f5f1e8;
  --paper: #ece5d6;
  --ink: #1a1a1a;
  --ink-muted: #5b5a55;
  --line: #d8d0bf;
  --brass: #b48a3c;
  --brass-soft: #d9b66a;
  --signal: #9e1b1b;
  --signal-hover: #7f1414;
  --white: #ffffff;

  --font-display: 'DM Serif Display', 'Georgia', serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --radius: 4px;
  --shadow: 0 10px 30px rgba(7, 21, 39, .18);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6;
  color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0 0 var(--space-4); letter-spacing: -.01em; }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); }
p { margin: 0 0 var(--space-4); }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: min(1160px, 100% - 2 * var(--space-6)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--space-6)); }
.center { text-align: center; max-width: 760px; margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brass); color: var(--ink); padding: var(--space-2) var(--space-4); z-index: 100; }
.skip:focus { left: var(--space-4); top: var(--space-4); }

.eyebrow {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-soft); margin-bottom: var(--space-4);
}
.eyebrow--dark { color: var(--brass); }
.lede { font-size: var(--text-lg); line-height: 1.5; color: var(--ink-muted); max-width: 62ch; }
.lede--light { color: rgba(245, 241, 232, .82); }
.center .lede { margin-inline: auto; }
.section--navy h2, .section--navy h3 { color: var(--cream); }
.section--navy p { color: rgba(245, 241, 232, .82); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); letter-spacing: .01em;
  padding: .85em 1.6em; border-radius: var(--radius); border: 2px solid transparent; text-decoration: none;
  cursor: pointer; transition: transform .25s var(--ease), background .2s, box-shadow .25s var(--ease); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--brass-soft); outline-offset: 3px; }
.btn--primary { background: var(--signal); color: var(--white); box-shadow: 0 6px 20px rgba(158, 27, 27, .35); }
.btn--primary:hover { background: var(--signal-hover); box-shadow: 0 10px 28px rgba(158, 27, 27, .4); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(245, 241, 232, .45); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(245, 241, 232, .08); }
.btn--dark { background: var(--navy); color: var(--cream); }
.btn--dark:hover { background: var(--navy-soft); }
.btn--sm { padding: .6em 1.2em; font-size: var(--text-xs); }
.btn--lg { font-size: var(--text-base); padding: .95em 1.9em; }
.btn--xl { font-size: var(--text-lg); padding: 1em 2em; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(7, 21, 39, .85); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 241, 232, .08); color: var(--cream);
  transition: background .3s;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 68px; }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--cream); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1; }
.nav__links { display: none; gap: var(--space-8); font-size: var(--text-sm); font-weight: 600; }
.nav__links a { text-decoration: none; color: rgba(245, 241, 232, .8); }
.nav__links a:hover { color: var(--cream); }
@media (min-width: 880px) { .nav__links { display: flex; } }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 92vh; display: grid; align-content: end; color: var(--cream);
  background: var(--navy-deep); overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 21, 39, .55) 0%, rgba(7, 21, 39, .35) 40%, rgba(7, 21, 39, .92) 100%);
}
.hero__inner { padding-block: clamp(var(--space-24), 14vh, var(--space-32)) var(--space-12); max-width: 900px; }
.hero__title { font-size: var(--text-3xl); margin-bottom: var(--space-6); text-wrap: balance; }
.hero__title em { font-style: italic; color: var(--brass-soft); }
.hero__sub { font-size: var(--text-lg); line-height: 1.5; color: rgba(245, 241, 232, .85); max-width: 60ch; margin-bottom: var(--space-8); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-10); }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8); font-size: var(--text-sm); color: rgba(245, 241, 232, .8); }
.hero__trust li { display: flex; align-items: center; gap: var(--space-2); }
.hero__trust li::before { content: ''; width: 8px; height: 8px; background: var(--brass); flex: none; }
.hero__trust strong { color: var(--cream); }
.hero__countdown {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap;
  border-top: 1px solid rgba(245, 241, 232, .15); padding-block: var(--space-5); margin-top: var(--space-4);
}
.hero__cd-label { font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 241, 232, .65); }
.hero__cd-time { font-family: var(--font-display); font-size: var(--text-xl); color: var(--brass-soft); font-variant-numeric: tabular-nums; }

/* ============ SECTIONS ============ */
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--cream); }

.split { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1.1fr .9fr; gap: var(--space-20); } }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media figcaption { font-family: var(--font-display); font-style: italic; font-size: var(--text-base); color: var(--ink-muted); margin-top: var(--space-4); }
.bullets { list-style: none; display: grid; gap: var(--space-4); margin-bottom: var(--space-6); }
.bullets li { padding-left: var(--space-6); position: relative; }
.bullets li::before { content: ''; position: absolute; left: 0; top: .6em; width: 12px; height: 3px; background: var(--brass); }
.bullets--tight { gap: var(--space-2); }

/* Planks */
.planks { list-style: none; display: grid; gap: var(--space-4); margin-block: var(--space-12); }
@media (min-width: 720px) { .planks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .planks { grid-template-columns: repeat(4, 1fr); } }
.plank {
  position: relative; border: 1px solid rgba(245, 241, 232, .15); padding: var(--space-8) var(--space-6) var(--space-6);
  background: rgba(245, 241, 232, .03); transition: border-color .3s, background .3s;
}
.plank:hover { border-color: var(--brass); background: rgba(245, 241, 232, .06); }
.plank__num { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--brass); line-height: 1; display: block; margin-bottom: var(--space-4); }
.plank h3 { font-size: var(--text-lg); }
.plank p { font-size: var(--text-sm); margin: 0; }

/* Steps */
.steps { display: grid; gap: var(--space-8); margin-top: var(--space-12); }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-10); } }
.step { border-top: 3px solid var(--navy); padding-top: var(--space-6); }
.step__num { font-family: var(--font-display); color: var(--brass); font-size: var(--text-xl); display: block; margin-bottom: var(--space-2); }
.step h3 { font-size: var(--text-xl); }
.step p { color: var(--ink-muted); margin: 0; }

/* Offer / value stack */
.offer { background: var(--white); border: 1px solid var(--line); padding: clamp(var(--space-8), 5vw, var(--space-16)); max-width: 900px; margin-inline: auto; box-shadow: var(--shadow); position: relative; }
.offer::before { content: ''; position: absolute; inset: 0; border: 1px solid var(--brass); margin: 8px; pointer-events: none; opacity: .5; }
.offer__head { text-align: center; margin-bottom: var(--space-10); }
.offer__head .lede { margin-inline: auto; }
.stack { list-style: none; display: grid; gap: var(--space-5); margin-bottom: var(--space-10); }
.stack__item { display: grid; grid-template-columns: 32px 1fr; gap: var(--space-4); align-items: start; padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.stack__item:last-child { border-bottom: 0; }
.stack__check { width: 32px; height: 32px; display: grid; place-items: center; background: var(--navy); color: var(--brass-soft); font-weight: 700; font-size: var(--text-base); }
.stack__item strong { display: block; font-size: var(--text-lg); font-family: var(--font-display); font-weight: 400; margin-bottom: var(--space-1); }
.stack__item span:not(.stack__check) { color: var(--ink-muted); font-size: var(--text-sm); }
.offer__foot { text-align: center; background: var(--cream); padding: var(--space-6); }
.offer__foot p { color: var(--ink); }

/* Guarantee */
.guarantee { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 880px) { .guarantee { grid-template-columns: 200px 1fr; gap: var(--space-16); } }
.guarantee__seal { width: 160px; margin-inline: auto; }
@media (min-width: 880px) { .guarantee__seal { width: 200px; } }

/* Donate */
.donate { display: grid; gap: var(--space-10); align-items: start; }
@media (min-width: 960px) { .donate { grid-template-columns: 1fr 1fr; gap: var(--space-16); } }
.donate__form, .lead__form { background: var(--white); border: 1px solid var(--line); padding: clamp(var(--space-6), 4vw, var(--space-10)); box-shadow: var(--shadow); }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--navy); margin-bottom: var(--space-5); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: var(--space-3); font-weight: 700; font-size: var(--text-sm); color: var(--navy); }
.seg span em { display: block; font-style: normal; font-weight: 600; font-size: var(--text-xs); color: var(--brass); }
.seg input:checked + span { background: var(--navy); color: var(--cream); }
.seg input:checked + span em { color: var(--brass-soft); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-bottom: var(--space-4); }
.amounts label { position: relative; }
.amounts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.amounts span { display: block; text-align: center; padding: var(--space-4) var(--space-2); border: 2px solid var(--line); font-family: var(--font-display); font-size: var(--text-lg); color: var(--navy); transition: border-color .2s, background .2s; }
.amounts input:checked + span { border-color: var(--signal); background: rgba(158, 27, 27, .06); }
.amounts input:focus-visible + span { outline: 3px solid var(--brass-soft); }
.field { display: grid; gap: var(--space-1); margin-bottom: var(--space-4); }
.field label { font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.field input { font: inherit; padding: var(--space-3) var(--space-4); border: 2px solid var(--line); border-radius: var(--radius); width: 100%; }
.field input:focus { outline: none; border-color: var(--navy); }
.field--money { grid-template-columns: auto 1fr; align-items: center; gap: var(--space-2); }
.field--money span { font-family: var(--font-display); font-size: var(--text-lg); }
.fineprint { font-size: var(--text-xs); color: var(--ink-muted); line-height: 1.5; margin-top: var(--space-4); margin-bottom: 0; }
.form__msg { font-size: var(--text-sm); font-weight: 600; color: var(--navy); min-height: 1.5em; margin: var(--space-3) 0 0; }
.form__msg.is-error { color: var(--signal); }

/* Lead */
.lead { display: grid; gap: var(--space-10); align-items: center; }
@media (min-width: 960px) { .lead { grid-template-columns: 1.1fr .9fr; gap: var(--space-16); } }

/* FAQ */
.faq { display: grid; gap: var(--space-2); margin-block: var(--space-10); }
.faq details { background: var(--white); border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: var(--space-5) var(--space-6); font-weight: 700; font-size: var(--text-base); list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-display); color: var(--brass); font-size: var(--text-xl); line-height: 1; flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 var(--space-6) var(--space-6); color: var(--ink-muted); margin: 0; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(245, 241, 232, .75); padding-block: var(--space-16) var(--space-10); font-size: var(--text-sm); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-8); padding-bottom: var(--space-10); border-bottom: 1px solid rgba(245, 241, 232, .1); margin-bottom: var(--space-8); }
.footer__brand { display: flex; gap: var(--space-4); align-items: center; color: var(--cream); }
.footer__brand strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--text-lg); }
.footer__brand span { font-size: var(--text-xs); color: rgba(245, 241, 232, .6); }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; }
.footer__links a { text-decoration: none; color: rgba(245, 241, 232, .75); }
.footer__links a:hover { color: var(--cream); }
.disclaimer { font-size: var(--text-xs); color: rgba(245, 241, 232, .6); line-height: 1.6; }
.disclaimer strong { color: var(--cream); }
.disclaimer a { color: rgba(245, 241, 232, .75); }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  background: var(--navy-deep); color: var(--cream); padding: var(--space-3) var(--space-5); border-top: 1px solid rgba(245, 241, 232, .12);
  transform: translateY(100%); transition: transform .35s var(--ease); font-weight: 600; font-size: var(--text-sm);
}
.sticky-cta.is-visible { transform: translateY(0); }
@media (min-width: 880px) { .sticky-cta { display: none; } }

/* Reveal */
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
.reveal {  transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* 3-up mission grid */
@media (min-width: 1080px) { .planks--3 { grid-template-columns: repeat(3, 1fr); } }
.planks--3 .plank p { font-size: var(--text-base); }
