:root {
  --ink: #14181c;
  --ink-soft: #4a535c;
  --paper: #f6f5f1;
  --card: #ffffff;
  --line: #d9d6cd;
  --accent: #0a7d5a;
  --accent-soft: #e3f1ea;
  --warn: #8a5a00;
  --max: 1180px;
  --serif: "Source Serif 4","Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter",-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); }

/* ---------- Claim header ---------- */
.claim {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
}
.kicker {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 18px;
}
.claim h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 5.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  max-width: 18ch;
}
.claim h1 em {
  font-style: normal;
  color: var(--accent);
  border-bottom: 4px solid var(--accent-soft);
}
.dek {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 20px;
}
.claim-meta {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}
.claim-meta strong { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 0; }
.hero-figure {
  margin: 0;
  position: relative;
  max-width: 100%;
}
.hero-figure img {
  display: block;
  width: 100%;
  height: clamp(320px, 52vh, 560px);
  object-fit: cover;
}
.hero-figure figcaption {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 24px;
  align-items: center;
}
.hero-who {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  grid-column: 1 / -1;
  line-height: 1.1;
}
.hero-what {
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-cta {
  justify-self: end;
  grid-row: 2;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.hero-cta:hover { background: #086149; }

/* ---------- Section headings ---------- */
section { padding: 64px 0; }
section h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.section-dek {
  color: var(--ink-soft);
  max-width: 64ch;
  margin: 0 0 32px;
  font-size: 16px;
}

/* ---------- Exhibit wall ---------- */
.exhibits { border-bottom: 1px solid var(--line); }
.wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.exhibit {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
}
.exhibit.wide { grid-column: 1 / -1; }
.exhibit h3 {
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 4px;
  font-weight: 700;
}
.exhibit .takeaway {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 600;
}
.exhibit .takeaway b { color: var(--accent); font-weight: 700; }
.exhibit .chart { width: 100%; }
.exhibit .chart svg { display: block; width: 100%; height: auto; }
.exhibit .source {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.exhibit .source a { color: var(--ink-soft); }
.exhibit .source strong { color: var(--ink); }

/* chart primitives */
.axis-line { stroke: #b9b5aa; stroke-width: 1; }
.grid-line { stroke: #e7e4db; stroke-width: 1; }
.axis-label { fill: #6a7178; font-size: 11px; font-family: var(--sans); }
.bar { fill: var(--accent); }
.bar-muted { fill: #9ec9b8; }
.line-path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.dot { fill: var(--accent); }
.dot-label { fill: var(--ink); font-size: 11px; font-weight: 700; font-family: var(--sans); }

/* ---------- Spotlight ---------- */
.spotlight { background: var(--accent-soft); border-bottom: 1px solid var(--line); }
.spotlight-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}
.spotlight-figure {
  font-family: var(--serif);
  font-size: clamp(56px, 11vw, 128px);
  line-height: 0.95;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin: 0;
}
.spotlight-figure .unit {
  display: block;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 12px;
  font-weight: 700;
}
.spotlight-copy p { margin: 0 0 14px; font-size: 17px; }
.spotlight-copy .source { font-size: 13px; color: var(--ink-soft); }

/* ---------- Not found ---------- */
.notfound { border-bottom: 1px solid var(--line); }
.gaps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.gaps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--warn);
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 15px;
}
.gaps li strong { display: block; margin-bottom: 4px; }
.gaps li span { color: var(--ink-soft); font-size: 13.5px; }

/* ---------- Road strip ---------- */
.road { border-bottom: 1px solid var(--line); }
.road-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.road-strip figure { margin: 0; }
.road-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.road-strip figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ---------- Caveats footer ---------- */
.caveats {
  padding: 56px 0 72px;
  background: var(--ink);
  color: #e8e6df;
}
.caveats h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 0 0 20px;
  font-weight: 600;
  color: #fff;
}
.caveats ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
}
.caveats li {
  font-size: 14px;
  color: #c9c6bd;
  border-top: 1px solid #333a41;
  padding-top: 12px;
}
.caveats li strong { color: #fff; display: block; margin-bottom: 3px; }
.colophon {
  margin: 32px 0 0;
  font-size: 12.5px;
  color: #8f8c84;
}
.colophon code { color: #c9c6bd; }

@media (max-width: 860px) {
  .wall, .gaps, .caveats ul { grid-template-columns: 1fr; }
  .spotlight-card { grid-template-columns: 1fr; }
  .road-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-figure figcaption { grid-template-columns: 1fr; }
  .hero-cta { justify-self: start; grid-row: auto; }
}
@media (max-width: 520px) {
  .road-strip { grid-template-columns: 1fr; }
  .road-strip img { height: 200px; }
}
