/* Self-hosted fonts (OFL) — replaces fonts.googleapis.com */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/oswald-400.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/oswald-600.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/oswald-700.woff2') format('woff2'); }

:root {
  --bg:        #0d1209;
  --surface:   #141a10;
  --border:    #1e2a18;
  --text:      #e4e8dc;
  --dim:       #7d8f73;
  --green:     #7aaa60;
  --green-dk:  #4a7030;
  --amber:     #c89040;
  --amber-dk:  #8a6020;
  --red:       #e84848;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Crisis banner ── */
.crisis {
  background: var(--red); color: #fff; padding: 0.55rem 1.5rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; text-align: center;
}
.crisis strong { font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; }
.crisis a { color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.crisis a:hover { text-decoration: underline; }

/* ── Site nav ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 18, 9, 0.96); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border); padding: 0.6rem 1.5rem;
}
.nav-wrap { max-width: 720px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-brand {
  font-family: 'Oswald', sans-serif; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green); text-decoration: none;
}
.nav-links { display: flex; gap: 1.25rem; }
.nav-links a {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim);
  text-decoration: none; transition: color 0.12s;
}
.nav-links a:hover { color: var(--green); }

/* ── Hero ── */
.hero { padding: 3rem 0; border-bottom: 1px solid var(--border); }
.eyebrow { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.6rem; }
.hero-name {
  font-family: 'Oswald', Impact, sans-serif; font-size: clamp(2rem, 7vw, 4rem); font-weight: 700;
  line-height: 0.95; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green); margin-bottom: 0.4rem;
}
.hero-tagline {
  font-family: 'Oswald', sans-serif; font-size: clamp(1rem, 3.5vw, 1.6rem); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.5rem;
}
.hero-body { border-left: 3px solid var(--green-dk); padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.9rem; }
.hero-body p { font-size: 1rem; color: var(--text); }
.hero-body strong { color: var(--green); }

/* ── Section ── */
.section { padding: 3rem 0; border-bottom: 1px solid var(--border); }
.section-head {
  font-family: 'Oswald', sans-serif; font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border);
}

/* ── Prose block ── */
.gap-block { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.gap-block p { font-size: 0.95rem; color: var(--text); line-height: 1.75; }
.gap-block strong { color: var(--green); }
.gap-block em { color: var(--amber); font-style: italic; }

.gap-cta {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--green-dk);
  border-radius: 6px; padding: 1rem 1.25rem; font-size: 0.9rem; color: var(--dim); line-height: 1.65;
}
.gap-cta a { color: var(--green); text-decoration: none; }
.gap-cta a:hover { text-decoration: underline; }

/* ── Who it's for (numbered list) ── */
.principles-list {
  list-style: none; counter-reset: principle; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem;
}
.principles-list li {
  counter-increment: principle; display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px; font-size: 0.9rem; color: var(--text);
}
.principles-list li::before {
  content: counter(principle); font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 700;
  color: var(--green-dk); min-width: 1.5rem;
}

/* ── Cross-link card ── */
.cross-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; text-decoration: none;
  transition: border-color 0.15s;
}
.cross-link:hover { border-color: var(--amber-dk); }
.cross-link-label { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.cross-link-title { font-size: 0.95rem; font-weight: 700; color: var(--amber); }

/* ── Footer ── */
.footer-section { padding: 2.5rem 0 3rem; }
.footer-body { font-size: 0.8rem; color: var(--dim); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-body a { color: var(--amber-dk); text-decoration: none; }
.footer-body a:hover { color: var(--amber); }
.footer-links {
  display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 0.72rem; color: var(--dim);
  letter-spacing: 0.06em; padding-top: 1rem; border-top: 1px solid var(--border);
}
.footer-links a { color: var(--dim); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--green); }

@media (max-width: 520px) {
  .nav-links { gap: 0.85rem; flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .hero-name { letter-spacing: 0.01em; }
}
