:root {
  --red: #c1272d;
  --red-deep: #8d1820;
  --green: #006233;
  --green-deep: #06261a;
  --gold: #e4c98a;
  --gold-deep: #8d6b2f;
  --sand: #f6f0e6;
  --paper: #fbf8f3;
  --ink: #14211b;
  --muted: #5d6c63;
  --line: rgba(20, 33, 27, 0.14);
  --display: "Syne", "Avenir Next", sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
  --shadow: 0 24px 60px rgba(6, 38, 26, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0;
}
p { margin: 0; }
.sr, .skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip:focus {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  background: white;
  padding: 0.6rem 0.8rem;
}

.star { width: 0.9rem; height: 0.9rem; fill: var(--green); flex: none; }
.star-brand { width: 1.35rem; height: 1.35rem; fill: var(--red); }
.kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker.light { color: var(--gold); }
.kicker .star { fill: currentColor; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.flagbar { display: grid; grid-template-columns: 1.4fr 1fr; height: 4px; }
.flagbar span:first-child { background: var(--red); }
.flagbar span:last-child { background: var(--green); }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand em {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 520;
  font-size: 0.82rem;
  letter-spacing: 0;
  color: var(--green);
}
.nav-desk { display: flex; gap: 0.3rem; }
.nav-desk a, .nav-mobile a {
  text-decoration: none;
  font-weight: 560;
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}
.nav-desk a[aria-current="page"] { background: #e7f3ec; color: var(--green); }
.header-tools { display: flex; align-items: center; gap: 0.45rem; }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.langs a { text-decoration: none; padding: 0.35rem 0.55rem; font-size: 0.78rem; font-weight: 650; }
.langs a[aria-current="true"] { background: var(--ink); color: var(--sand); }
.sound, .burger, .text-btn {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 0.8rem;
  cursor: pointer;
}
.sound[aria-pressed="true"] { background: var(--green-deep); color: var(--sand); border-color: transparent; }
.burger { width: 44px; height: 44px; padding: 0; display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span:not(.sr) { display: block; width: 18px; height: 1.5px; background: var(--ink); }
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0.4rem 1rem 1rem;
  border-top: 1px solid var(--line);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a { padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--line); border-radius: 0; }

.hero, .band, .journal, .pledge, .page-hero, .essay, .petition-layout, .house-grid, .voices, .stats, .page-cards {
  width: min(1180px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-top: 0.8rem;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  min-height: min(920px, calc(100svh - 5.5rem));
  border-radius: 28px;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(0, 98, 51, 0.55), transparent 60%),
    radial-gradient(520px 320px at 100% 100%, rgba(193, 39, 45, 0.38), transparent 55%),
    var(--green-deep);
  color: var(--sand);
}
.hero h1 { font-size: clamp(3.1rem, 7vw, 6.6rem); max-width: 9ch; }
.hero h1 em, .gate-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 520;
  letter-spacing: -0.03em;
  color: #ffb4b0;
}
.lede { max-width: 42rem; font-size: 1.08rem; color: inherit; }
.hero .lede { color: rgba(246, 240, 230, 0.84); margin: 1.2rem 0 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 620;
  cursor: pointer;
}
.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: var(--red-deep); }
.btn-line { background: transparent; color: var(--sand); border-color: rgba(246, 240, 230, 0.4); }
.btn-line:hover { background: rgba(255, 255, 255, 0.06); }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { background: var(--green-deep); }
.hero-frame { margin: 0; }
.hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: rgba(246, 240, 230, 0.75);
}
.hero-frame strong { font-family: var(--serif); font-weight: 520; font-style: italic; color: var(--gold); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); margin: 1.2rem 0; }
.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.8rem 0;
  animation: drift 32s linear infinite;
  font-family: var(--display);
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}
.marquee span::before { content: "✦"; color: var(--red); margin-right: 2rem; }
@keyframes drift { to { transform: translateX(-50%); } }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0.5rem 0 1rem;
}
.stats article {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.stats strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.05em;
}
.stats span { color: var(--muted); font-size: 0.92rem; }

.band { padding: 2rem 0 3rem; }
.section-head { margin-bottom: 1.4rem; }
.section-head h2, .page-hero h1, .essay h1, .petition-copy h1, .page-hero.narrow h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  max-width: 16ch;
}
.section-head.split { display: flex; justify-content: space-between; gap: 1rem; align-items: end; }
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.chapter {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 240px;
  padding: 1.1rem;
  text-decoration: none;
  border-radius: 22px;
  background: white;
  border: 1px solid var(--line);
}
.chapter span { font-family: var(--serif); font-style: italic; color: var(--red); }
.chapter h3 { font-size: 1.45rem; }
.chapter p { color: var(--muted); font-size: 0.95rem; }
.chapter:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow); }

.journal { padding-bottom: 3rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  min-height: 100%;
}
.card h3, .card h2 { font-size: 1.45rem; }
.card h3 a, .card h2 a { text-decoration: none; }
.card h3 a:hover, .card h2 a:hover { color: var(--red); }
.card p { color: var(--muted); }
.card-meta { display: flex; justify-content: space-between; gap: 0.5rem; color: var(--gold-deep); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 650; }
.text-link { color: var(--green); font-weight: 620; text-underline-offset: 0.2rem; }

.pledge {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 1rem;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
}
.pledge img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.pledge figcaption { margin-top: 0.5rem; color: var(--muted); font-size: 0.85rem; }
.pledge .lede { margin: 1rem 0; color: var(--ink); }
.note { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.2rem; }

.page-hero { padding: 2.5rem 0 1rem; }
.page-hero .lede { margin-top: 1rem; color: var(--muted); }
.page-hero.narrow { max-width: 820px; }
.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.3rem; }
.filters a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
}
.filters a.is-on { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.page-cards { padding-bottom: 3rem; }
.empty { color: var(--muted); padding: 1rem 0 2rem; }

.essay { max-width: 760px; padding: 2.5rem 0 1rem; }
.essay h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); max-width: 18ch; }
.essay-date { margin: 1rem 0; color: var(--gold-deep); font-size: 0.92rem; }
.essay-lead { font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; margin-bottom: 1.2rem; }
.essay p + p { margin-top: 1rem; }
.source { margin-top: 2rem; color: var(--muted); font-size: 0.92rem; }
.related h2 { font-size: 2rem; margin-bottom: 1rem; }

.petition-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 2.2rem 0 1rem;
  align-items: start;
}
.petition-copy .lede { margin: 1rem 0; color: var(--muted); }
.count { display: flex; flex-direction: column; margin: 1.2rem 0; }
.count strong {
  font-family: var(--sans);
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: clamp(3.5rem, 8vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--red);
}
.petition-panel, .house-grid article, .voice {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.petition-panel { padding: 1.1rem; }
form { display: grid; gap: 0.85rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
label span { display: block; font-size: 0.86rem; font-weight: 620; margin-bottom: 0.35rem; }
label em { font-style: normal; color: var(--muted); font-weight: 500; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red); }
small, .form-error, .check-error { color: var(--red); font-size: 0.82rem; }
.form-error { margin: 0 0 0.8rem; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; }
.check input { width: 1.1rem; height: 1.1rem; min-height: 0; margin-top: 0.2rem; }
.check span { font-weight: 450; }
.privacy { color: var(--muted); font-size: 0.85rem; }
.hp { position: absolute; left: -10000px; height: 0; overflow: hidden; }
.success { padding: 0.4rem; }
.success h2 { font-size: 2.2rem; margin-bottom: 0.6rem; }
.success p { margin-bottom: 1rem; color: var(--muted); }
.voices { padding-bottom: 3rem; }
.voices-track {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
}
.voice { flex: 0 0 min(320px, 82vw); scroll-snap-align: start; padding: 1rem; }
.voice-name { display: flex; gap: 0.45rem; align-items: center; }
.flag { font-size: 1.25rem; line-height: 1; }
.voice-place, .voice-msg { color: var(--muted); font-size: 0.92rem; margin-top: 0.35rem; }

.house-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding-bottom: 3rem;
}
.house-grid article { padding: 1.2rem; }
.house-grid h2 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.house-grid p { color: var(--muted); }

.site-footer {
  background: var(--green-deep);
  color: var(--sand);
  padding: 2.5rem 0 1.2rem;
}
.footer-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.footer-line { max-width: 36ch; margin: 0.8rem 0; }
.footer-label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.site-footer a { display: block; color: var(--sand); text-decoration: none; margin: 0.25rem 0; }
.site-footer a:hover { text-decoration: underline; }
.footer-end {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(246, 240, 230, 0.15);
  color: rgba(246, 240, 230, 0.7);
  font-family: var(--serif);
  font-style: italic;
}
.text-btn { color: var(--sand); border-color: rgba(246, 240, 230, 0.3); }

.gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  background: #03150e;
  color: var(--sand);
  overflow: hidden;
}
.gate.is-hidden { display: none; }
.gate.is-leaving { opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
#gate-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.gate-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 21, 14, 0.05), rgba(3, 21, 14, 0.78) 62%);
}
.gate-copy {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  padding: clamp(1.25rem, 4vw, 3.2rem);
  padding-bottom: clamp(1.4rem, 4vh, 2.6rem);
}
.gate-title {
  font-family: var(--display);
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 0.94;
  font-size: clamp(2.35rem, 5.6vw, 4.8rem);
  max-width: 12ch;
  margin: 0 0 0.8rem;
}
.gate-lede { color: rgba(246, 240, 230, 0.82); margin-bottom: 1.3rem; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
body.has-gate { overflow: hidden; }
html.gate-seen .gate { display: none; }
html.gate-seen body.has-gate { overflow: auto; }

@media (max-width: 980px) {
  .nav-desk { display: none; }
  .burger { display: flex; }
  .hero, .chapters, .cards, .pledge, .petition-layout, .house-grid, .stats, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 0; align-items: start; }
  .section-head.split { flex-direction: column; align-items: start; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand em { display: none; }
  .sound { width: 44px; padding: 0; font-size: 0; }
  .sound::before { content: "♪"; font-size: 1rem; }
  .hero { margin-inline: 0.5rem; border-radius: 20px; }
  .stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .chapter { transition: none; }
  .gate-copy { animation: none; }
}
