:root {
  color-scheme: dark;
  --ink: #15120f;
  --paper: #fff7ed;
  --paper-dim: #fed7aa;
  --muted: #b6a69b;
  --line: rgba(255, 247, 237, 0.18);
  --orange: #f97316;
  --red: #ef4444;
  --green: #10b981;
  --blue: #38bdf8;
  --pink: #f472b6;
  --bg: #120f0c;
  --panel: #1d1712;
  --panel-2: #251c15;
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 0%, rgba(249, 115, 22, 0.16), transparent 32rem),
    linear-gradient(180deg, #120f0c 0%, #19120d 52%, #100d0b 100%);
  color: var(--paper);
}

a {
  color: inherit;
}

code {
  overflow-wrap: anywhere;
  color: #fde68a;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 15, 12, 0.82);
  backdrop-filter: blur(16px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: #101010;
  object-fit: cover;
  box-shadow: 4px 4px 0 #000;
}

.nav {
  flex-wrap: wrap;
  gap: 2px;
}

.nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100svh - 68px);
  padding: 64px 5vw 44px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.metric-label,
.tag {
  color: #fdba74;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7.1vw, 106px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  color: #e8d9cc;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 2px solid var(--paper);
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 5px 5px 0 #000;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 #000;
}

.button.primary {
  background: var(--orange);
  color: var(--ink);
}

.button.secondary {
  background: #261d16;
  color: var(--paper);
}

.legal-chip {
  display: inline-flex;
  max-width: 100%;
  margin-top: 22px;
  padding: 10px 12px;
  border: 1px solid rgba(253, 186, 116, 0.42);
  border-radius: var(--radius);
  background: rgba(249, 115, 22, 0.12);
  color: #ffedd5;
  font-size: 14px;
  font-weight: 800;
}

.hero-art {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 247, 237, 0.24);
  border-radius: var(--radius);
  background: #21150f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #1b130e;
}

.metric-band article {
  min-height: 168px;
  padding: 26px 28px;
  border-right: 1px solid var(--line);
}

.metric-band article:last-child {
  border-right: 0;
}

.metric-band strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--paper);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 0.98;
}

.metric-band span:last-child {
  color: var(--muted);
  line-height: 1.4;
}

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--orange);
  color: var(--ink);
}

.ticker-track {
  display: flex;
  width: max-content;
  min-height: 44px;
  align-items: center;
  gap: 44px;
  padding-left: 100%;
  animation: ticker 38s linear infinite;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes ticker {
  to {
    transform: translateX(-100%);
  }
}

.section {
  padding: 82px 5vw;
}

.intro-grid,
.section-heading,
.wallet-web,
.callout {
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: 42px;
  align-items: start;
}

.copy-block {
  color: #e7d6c7;
  font-size: 19px;
  line-height: 1.6;
}

.photo-wall {
  border-top: 1px solid var(--line);
  background: #1a120d;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 32px auto 0;
}

.photo-card {
  position: relative;
  min-height: 348px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 247, 237, 0.2);
  border-radius: var(--radius);
  background: var(--panel-2);
  box-shadow: 8px 8px 0 #000;
}

.photo-card.wide {
  grid-column: span 2;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 236px;
  object-fit: cover;
}

.profile-card img {
  height: 236px;
  image-rendering: auto;
}

.photo-card figcaption {
  padding: 16px;
}

.photo-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.15;
}

.photo-card span {
  display: block;
  color: #d9c5b3;
  font-size: 14px;
  line-height: 1.4;
}

.photo-card a {
  font-weight: 900;
  text-underline-offset: 3px;
}

.timeline-section {
  background: #fff7ed;
  color: var(--ink);
}

.timeline-section .section-kicker {
  color: #9a3412;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1600px;
  margin: 34px auto 0;
  overflow-x: auto;
  padding-bottom: 14px;
}

.timeline-item {
  min-height: 272px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 6px 6px 0 #000;
}

.timeline-item.hot {
  background: #ffedd5;
}

.timeline-item time {
  display: block;
  margin-bottom: 16px;
  color: #9a3412;
  font-weight: 900;
}

.timeline-item p {
  min-height: 92px;
  color: #3f342b;
  line-height: 1.45;
}

.timeline-item a,
.receipt-card a {
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.aerodrome-post {
  border-top: 1px solid rgba(21, 18, 15, 0.14);
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.14), transparent 34rem),
    #fff7ed;
  color: var(--ink);
}

.aerodrome-post .section-kicker {
  color: #0369a1;
}

.post-context {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 32px auto 0;
}

.x-callout,
.coincidence-panel,
.post-note {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 6px 6px 0 #000;
}

.x-callout {
  padding: 24px;
}

.x-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 4px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.x-callout p {
  color: #3f342b;
  font-size: 18px;
  line-height: 1.5;
}

.coincidence-panel {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.coincidence-panel div {
  padding: 20px 22px;
  border-bottom: 2px solid var(--ink);
}

.coincidence-panel div:last-child {
  border-bottom: 0;
  background: #bae6fd;
}

.coincidence-panel span {
  display: block;
  margin-bottom: 6px;
  color: #075985;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.coincidence-panel strong {
  display: block;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.post-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 20px 22px;
  color: #2f261f;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}

.receipt-lab {
  background: #16110d;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1180px;
  margin: 32px auto 22px;
}

.filter-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 247, 237, 0.28);
  border-radius: var(--radius);
  background: #251c15;
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.receipt-card,
.verdict-card {
  padding: 22px;
  border: 1px solid rgba(255, 247, 237, 0.18);
  border-radius: var(--radius);
  background: var(--panel);
}

.receipt-card {
  min-height: 258px;
  display: flex;
  flex-direction: column;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.receipt-card.is-hidden {
  display: none;
}

.receipt-card p {
  flex: 1;
  color: #ddcab9;
  line-height: 1.48;
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(249, 115, 22, 0.14);
}

.wallet-web {
  overflow: hidden;
}

.web-diagram {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.web-diagram::before {
  content: "";
  position: absolute;
  inset: 18% 10%;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(239, 68, 68, 0.85) 8% 9%, transparent 9% 100%),
    linear-gradient(30deg, transparent 0 28%, rgba(239, 68, 68, 0.75) 28% 29%, transparent 29% 100%),
    linear-gradient(150deg, transparent 0 32%, rgba(239, 68, 68, 0.75) 32% 33%, transparent 33% 100%);
  opacity: 0.5;
  pointer-events: none;
}

.node {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 142px;
  place-items: center;
  padding: 20px;
  border: 2px solid rgba(255, 247, 237, 0.34);
  border-radius: var(--radius);
  background: #211912;
  color: var(--paper);
  font-size: clamp(23px, 2.5vw, 34px);
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  box-shadow: 7px 7px 0 #000;
}

.node span {
  color: var(--muted);
  font-size: 15px;
}

.primary-node {
  background: var(--orange);
  color: var(--ink);
}

.primary-node span {
  color: #3a2415;
}

.verdict {
  background: #fff7ed;
  color: var(--ink);
}

.verdict .section-kicker {
  color: #9a3412;
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 32px auto 0;
}

.verdict-card {
  border: 2px solid var(--ink);
  color: var(--ink);
  box-shadow: 6px 6px 0 #000;
}

.verdict-card.proven {
  background: #bbf7d0;
}

.verdict-card.supported {
  background: #bae6fd;
}

.verdict-card.unproven {
  background: #fecdd3;
}

.verdict-card ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.48;
}

.verdict-card li + li {
  margin-top: 10px;
}

.callout {
  text-align: center;
}

.callout p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: #e7d6c7;
  font-size: 20px;
  line-height: 1.5;
}

.source-shelf {
  border-top: 1px solid var(--line);
  background: #17110d;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 28px auto 0;
}

.source-grid a {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 16px;
  border: 1px solid rgba(255, 247, 237, 0.18);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
}

.source-grid a:hover,
.source-grid a:focus-visible {
  border-color: var(--orange);
}

.footer {
  padding: 28px 5vw 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.footer p {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .hero,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 360px;
  }

  .metric-band,
  .receipt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-grid,
  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .verdict-grid {
    grid-template-columns: 1fr;
  }

  .post-context {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .nav a {
    padding: 8px 0;
  }

  .hero,
  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-art,
  .hero-art img {
    min-height: 300px;
  }

  .metric-band,
  .receipt-grid,
  .photo-grid,
  .source-grid,
  .web-diagram {
    grid-template-columns: 1fr;
  }

  .photo-card.wide {
    grid-column: span 1;
  }

  .metric-band article {
    min-height: 132px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .web-diagram::before {
    display: none;
  }

  .ticker-track {
    animation-duration: 30s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track {
    animation: none;
    padding-left: 18px;
  }

  .button,
  .receipt-card {
    transition: none;
  }
}
