/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 0, 0, 0.25);
}

a:hover {
  text-decoration-color: var(--accent);
  color: var(--accent);
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f6f2e9;
  --paper-2: #fbf8f0;
  --ink: #14110f;
  --ink-2: #5a544c;
  --rule: rgba(20, 17, 15, 0.14);
  --accent: #b3271d;
  --accent-2: #2c4a36;
  --warn-bg: #f0d7d3;

  --serif: "Newsreader", "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 233, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}

.brand .mark {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--accent);
  display: inline-block;
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-2);
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
}

.nav .cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.nav .cta:hover {
  background: #911f17;
  color: #fff;
}

@media (max-width: 720px) {
  .nav .nav-link {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 9vw, 96px) 0 clamp(40px, 8vw, 80px);
  border-bottom: 1px solid var(--rule);
}

.hero .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

@media (max-width: 880px) {
  .hero .grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: clamp(44px, 7.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 18px 0 24px;
}

.hero h1 .em {
  font-style: italic;
  color: var(--accent);
}

.hero .lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.55;
}

.hero-card {
  background: var(--ink);
  color: #f3ede1;
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(closest-side, rgba(179, 39, 29, 0.55), transparent 70%);
  pointer-events: none;
}

.hero-card .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 237, 225, 0.65);
  margin-bottom: 8px;
}

.hero-card .countdown {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.hero-card .countdown .num {
  color: #fff;
}

.hero-card .meta {
  font-size: 14px;
  color: rgba(243, 237, 225, 0.75);
  margin-bottom: 20px;
}

.hero-card .when {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 16px 0 4px;
}

.hero-card .where {
  font-size: 14px;
  color: rgba(243, 237, 225, 0.8);
  margin-bottom: 22px;
}

.hero-card .actions {
  display: grid;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.08s ease, background 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #d12e22;
  color: #fff;
}

.btn-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn .arrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  opacity: 0.85;
}

/* ---------- Section primitives ---------- */
section {
  padding: clamp(56px, 9vw, 110px) 0;
  border-bottom: 1px solid var(--rule);
}

.section-head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: baseline;
  margin-bottom: clamp(28px, 4vw, 48px);
}

@media (max-width: 720px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.section-head .num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  border-top: 1px solid var(--ink);
  padding-top: 10px;
  align-self: start;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0;
}

.section-head h2 em {
  font-style: italic;
  color: var(--accent);
}

.section-intro {
  max-width: 62ch;
  font-size: 18px;
  color: var(--ink-2);
  margin: 0 0 3rem 148px;
}

@media (max-width: 720px) {
  .section-intro {
    margin-left: 0;
  }
}

/* ---------- Facts grid ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

@media (max-width: 880px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fact {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}

.fact .n {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 6px;
}

.fact .u {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  margin-bottom: 14px;
}

.fact .d {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}

/* ---------- Map ---------- */
.map-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 880px) {
  .map-block {
    grid-template-columns: 1fr;
  }
}

.map-frame {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 14px;
}

.map-frame img {
  border-radius: 6px;
  width: 100%;
  height: auto;
}

.map-caption {
  font-size: 13px;
  color: var(--ink-2);
  padding: 12px 4px 0;
  font-style: italic;
}

.legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.legend li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  align-items: start;
}

.legend .swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  margin-top: 5px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.legend .label {
  font-weight: 600;
  margin-bottom: 2px;
}

.legend .desc {
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------- Harm list ---------- */
.harms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}

@media (max-width: 720px) {
  .harms {
    grid-template-columns: 1fr;
  }
}

.harm {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding-right: 28px;
}

.harm:nth-child(odd) {
  border-right: 1px solid var(--rule);
  padding-left: 0;
}

.harm:nth-child(even) {
  padding-left: 28px;
}

@media (max-width: 720px) {
  .harm:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }
  .harm:nth-child(even) {
    padding-left: 0;
  }
}

.harm .idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.1em;
  padding-top: 6px;
}

.harm h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.harm p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ---------- Law block ---------- */
.law {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

@media (max-width: 880px) {
  .law {
    grid-template-columns: 1fr;
  }
}

.law .test {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px;
}

.law .test h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.test ol {
  margin: 0;
  padding-left: 1.1em;
  display: grid;
  gap: 14px;
}

.test ol li::marker {
  color: var(--accent);
  font-weight: 700;
}

.test li b {
  display: block;
  margin-bottom: 2px;
}

.law .verdict {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 400;
}

.law .verdict .strike {
  color: var(--accent);
}

.law .verdict p + p {
  margin-top: 1em;
}

.law .citations {
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
}

@media (max-width: 720px) {
  .timeline {
    grid-template-columns: 110px 1fr;
  }
}

.timeline .row {
  display: contents;
}

.timeline .when {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ink-2);
}

.timeline .what {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.timeline .what h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.timeline .what p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

.timeline .what.now h4::after {
  content: "Happening now";
  display: inline-block;
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  transform: translateY(-2px);
}

/* ---------- Action cards ---------- */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 880px) {
  .actions-grid {
    grid-template-columns: 1fr;
  }
}

.act {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.act .step {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 18px;
}

.act h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 10px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.act p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}

.act .meta {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 18px;
  border-top: 1px dashed var(--rule);
  padding-top: 14px;
}

.act .meta div + div {
  margin-top: 4px;
}

.act .btn {
  margin-top: auto;
}

/* ---------- Footer ---------- */
footer {
  padding: 60px 0 80px;
  background: #0e0c0b;
  color: #d8cfbf;
}

footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

@media (max-width: 880px) {
  footer .grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(216, 207, 191, 0.55);
  margin: 0 0 14px;
  font-weight: 600;
}

footer p,
footer li {
  font-size: 14.5px;
  color: rgba(216, 207, 191, 0.85);
  line-height: 1.55;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

footer a {
  color: #f3ede1;
  text-decoration-color: rgba(243, 237, 225, 0.3);
}

footer a:hover {
  color: #fff;
  text-decoration-color: var(--accent);
}

footer .colophon {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
  color: #f3ede1;
  letter-spacing: -0.01em;
}

footer .smallprint {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(216, 207, 191, 0.18);
  font-size: 12.5px;
  color: rgba(216, 207, 191, 0.6);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Sticky mobile bottom CTA ---------- */
.mobile-cta {
  display: none;
}

@media (max-width: 720px) {
  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 60;
    background: var(--accent);
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  }
}
