:root {
  --ink: #14120e;
  --ink-2: #2a261c;
  --paper: #f3ead8;
  --paper-2: #e9dcc3;
  --cream: #faf6eb;
  --yellow: #e3f24a;
  --yellow-ink: #3a3f0a;
  --red: #d21f1f;
  --muted: #6d6758;
  --line: #d4c4a4;
  --max: 1120px;
  --nav-h: 4.25rem;
  --radius: 2px;
  --shadow: 0 18px 40px rgba(20, 18, 14, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Figtree", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(227, 242, 74, 0.18), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 240px);
  line-height: 1.55;
  font-size: 1.05rem;
  min-height: 100%;
}

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

a {
  color: inherit;
}

a:hover {
  color: var(--red);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--ink);
  color: var(--yellow);
  padding: 0.6rem 0.9rem;
  z-index: 100;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 235, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0b0d18;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-2);
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--ink);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: var(--ink);
  color: var(--yellow);
  border: 0;
  padding: 0.45rem 0.7rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.8rem;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 5.1rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.lede {
  font-size: 1.2rem;
  max-width: 42rem;
  color: var(--ink-2);
}

.hero {
  padding: 3.2rem 0 2.4rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.4rem;
  align-items: end;
}

.hero-copy p {
  max-width: 40rem;
}

.hero-art {
  position: relative;
  padding: 0 0.4rem 1.8rem 0;
}

code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.86em;
  background: var(--paper-2);
  padding: 0.05em 0.28em;
}

.hero-art img {
  width: 100%;
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
}

.stamp {
  position: absolute;
  right: -0.6rem;
  bottom: -0.8rem;
  rotate: -12deg;
  border: 4px solid var(--red);
  color: var(--red);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0.35rem 0.7rem;
  background: rgba(250, 246, 235, 0.86);
  font-size: 1.1rem;
}

.mark {
  display: inline-block;
  background: var(--yellow);
  box-shadow: inset 0 -0.55em 0 rgba(210, 31, 31, 0.18);
  padding: 0 0.12em;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 0.75rem 1.05rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--yellow);
}

.btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}

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

.btn.ghost:hover {
  background: var(--ink);
  color: var(--yellow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ink);
  background: var(--cream);
}

.stat {
  padding: 1.1rem 1rem 1.2rem;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat span {
  font-size: 0.88rem;
  color: var(--muted);
}

.section {
  padding: 4.2rem 0;
}

.section.band {
  background: var(--ink);
  color: var(--cream);
}

.section.band .muted,
.section.band .kicker {
  color: #b7b09d;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.4rem;
  align-items: start;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card-grid.quad {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--cream);
  border: 1px solid var(--ink);
  padding: 1.15rem 1.15rem 1.3rem;
  min-height: 100%;
}

.card .label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.45rem;
}

.quote {
  border-left: 4px solid var(--yellow);
  padding: 0.2rem 0 0.2rem 1rem;
  margin: 1rem 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.25;
}

.quote cite {
  display: block;
  margin-top: 0.6rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.claim {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.claim:last-child {
  border-bottom: 1px solid var(--line);
}

.false-pill {
  align-self: start;
  border: 2px solid var(--red);
  color: var(--red);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  padding: 0.35rem 0.45rem;
  text-align: center;
  rotate: -8deg;
}

.said,
.found {
  margin: 0.35rem 0 0.7rem;
}

.said {
  color: var(--muted);
}

.found strong {
  background: var(--yellow);
}

.sources a,
.inline a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--ink);
  background: var(--cream);
}

.table-hint {
  display: none;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.45rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

th {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--yellow);
}

td.bad {
  background: rgba(210, 31, 31, 0.08);
}

td.good {
  background: rgba(227, 242, 74, 0.35);
}

.exhibit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.exhibit figure {
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--cream);
}

.exhibit img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.exhibit figcaption {
  padding: 0.8rem 0.95rem 1rem;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.person {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.person img {
  width: 100%;
  border: 1px solid var(--ink);
}

.receipt {
  background: var(--cream);
  border: 1px dashed var(--ink);
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}

.receipt p {
  margin: 0.4rem 0;
}

ol.long {
  padding-left: 1.2rem;
}

ol.long li {
  margin: 0.7rem 0;
}

.site-footer {
  border-top: 1px solid var(--ink);
  padding: 2rem 0 3rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--ink);
}

.fine {
  max-width: 48rem;
}

.card a,
.sources a,
ol.long a {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .hero,
  .split,
  .person,
  .exhibit,
  .card-grid,
  .card-grid.quad {
    grid-template-columns: 1fr;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    inset: var(--nav-h) 0 auto;
    background: var(--cream);
    border-bottom: 1px solid var(--ink);
    padding: 1rem 1.2rem 1.2rem;
    flex-direction: column;
    gap: 0.85rem;
  }

  .nav-links.open {
    display: flex;
  }

  .claim {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .false-pill {
    width: 5.6rem;
    rotate: -7deg;
    margin-bottom: 0.2rem;
  }
}

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

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  h1 {
    font-size: 2.15rem;
  }

  .table-hint {
    display: block;
  }
}

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

  .stamp {
    rotate: -8deg;
  }
}
