/* ============================================================
   IT WASN'T YOUR FAULT — shared stylesheet
   Palette:
     --navy      #1B2A4A  (headers, nav, footer, strong text)
     --navy-soft #2C3E5C  (body copy on light backgrounds)
     --paper     #FAF8F4  (page background)
     --paper-dim #F1ECE2  (alternating section background)
     --gold      #C9A15A  (accent only — dividers, links, small marks)
     --gold-dim  #E4D2A8  (gold background tint, used sparingly)
   Type:
     Display / headings: 'Fraunces', serif — warm, human, unhurried
     Body: 'Source Serif 4', serif — legible at large sizes
     Nav / labels / small UI: 'Inter', sans-serif — quiet utility voice
   Signature element: the "horizon" divider — a thin gold line with a
   soft radial glow, used between sections. It stands for the line
   between darkness and daylight: the moment silence ends.
   ============================================================ */

:root {
  --navy: #1B2A4A;
  --navy-soft: #2C3E5C;
  --paper: #FAF8F4;
  --paper-dim: #F1ECE2;
  --gold: #C9A15A;
  --gold-dim: #E4D2A8;
  --max-width: 780px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--navy-soft);
}

body {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.2em; }

a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 64px 0; }
section.dim { background: var(--paper-dim); }

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

header.site-header {
  background: var(--navy);
  color: #fff;
}

.nav-bar {
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand:hover { color: var(--gold-dim); }
.brand strong { font-weight: 600; }

nav.primary-nav {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0;
  padding: 0;
}

nav.primary-nav a {
  color: #EDEBE4;
  text-decoration: none;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}
nav.primary-nav a:hover,
nav.primary-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-bar.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-bar.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-bar.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-bar { flex-wrap: wrap; }
  .nav-toggle { display: flex; }

  nav.primary-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-bar.nav-open nav.primary-nav {
    max-height: 480px;
  }
  nav.primary-nav ul {
    flex-direction: column;
    gap: 2px;
    padding: 18px 0 6px;
  }
  nav.primary-nav a {
    display: block;
    padding: 10px 2px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

/* ---------- Crisis strip (footer, sitewide) ---------- */

.crisis-strip {
  background: var(--gold-dim);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  text-align: center;
  padding: 12px 20px;
}
.crisis-strip a { color: var(--navy); font-weight: 600; }
.crisis-strip strong { font-weight: 700; }

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 96px 0 88px;
  background-size: cover;
  background-position: center;
}

/* dark overlay so white text stays readable over the illustration */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.72) 0%, rgba(15,23,42,0.5) 55%, rgba(15,23,42,0.35) 100%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

/* Homepage hero — full sunrise-through-trees illustration */
.hero--home {
  background-image: url('images/hero-sunrise.svg');
  padding: 120px 0 108px;
}

/* Interior page hero — quieter cropped dawn-glow echo */
.hero--page {
  background-image: url('images/horizon-glow.svg');
  padding: 76px 0 68px;
}

.hero h1 {
  color: #fff;
  max-width: 640px;
}

.hero .lede {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--gold-dim);
  margin-bottom: 22px;
}

.hero .sub {
  max-width: 560px;
  font-size: 1.15rem;
  color: #EDEBE4;
}

/* horizon rule — used between sections as the recurring signature */
.horizon {
  position: relative;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0;
}
.horizon::after {
  content: "";
  position: absolute;
  top: -3px; left: 50%;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 3px;
  display: inline-block;
  border: 1.5px solid var(--gold);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-dim); color: var(--navy); }

.btn-ghost {
  background: transparent;
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--gold-dim); }

/* ---------- Content blocks ---------- */

.statement {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  font-weight: 500;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 32px 0;
}

ul.plain { padding-left: 1.2em; }
ul.plain li { margin-bottom: 0.5em; }

.card {
  background: #fff;
  border: 1px solid #E7E1D4;
  border-radius: 4px;
  padding: 28px 30px;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 0.3em; }
.card .meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}

.pill-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  background: var(--paper-dim);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 2px;
  color: var(--navy-soft);
}

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

form.simple-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
}
form.simple-form label {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
form.simple-form input,
form.simple-form select,
form.simple-form textarea {
  width: 100%;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  padding: 11px 14px;
  border: 1.5px solid #D9D2BF;
  border-radius: 3px;
  background: #fff;
  color: var(--navy-soft);
}
form.simple-form textarea { min-height: 160px; resize: vertical; }
form.simple-form .hint {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: #6b6552;
  margin-top: -10px;
}
form.simple-form button {
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 3px;
  cursor: pointer;
}
form.simple-form button:hover { background: var(--gold); color: var(--navy); }

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

footer.site-footer {
  background: var(--navy);
  color: #C9C4B4;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  padding: 40px 0 30px;
}
footer.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
footer.site-footer nav ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
footer.site-footer a { color: #C9C4B4; text-decoration: none; }
footer.site-footer a:hover { color: var(--gold-dim); }
footer .tagline { color: var(--gold-dim); font-family: 'Fraunces', serif; font-size: 1rem; margin-bottom: 6px; }

/* ---------- Utility ---------- */

.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.disclaimer {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  background: #fff;
  border: 1px solid #E7E1D4;
  border-radius: 4px;
  padding: 18px 22px;
  color: #6b6552;
}
