*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #141210;
  --text: #ece7de;
  --muted: #9a9084;
  --quiet: #6f675e;
  --border: rgba(196, 176, 148, 0.18);
  --card: #1d1a17;
  --accent: #c4a574;
  --info: #8ab0d4;
  --warn-border: rgba(196, 165, 116, 0.45);
  --warn-bg: #221c14;
  --code-bg: rgba(196, 165, 116, 0.1);
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Zen Kaku Gothic New", "Segoe UI", system-ui, sans-serif;
}

.page {
  width: min(820px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: lowercase;
  font-size: 0.78rem;
}

.eyebrow a {
  color: var(--muted);
  text-decoration: none;
}

.eyebrow a:hover {
  color: var(--accent);
}

h1 {
  margin: 0 0 1.35rem;
  font-family: Fraunces, serif;
  font-weight: 650;
  font-size: clamp(1.85rem, 4.4vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h2 {
  margin: 0 0 0.85rem;
  font-family: Fraunces, serif;
  font-weight: 650;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

h3 {
  margin: 1.35rem 0 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
}

section {
  margin: 2.1rem 0 0;
}

.shot {
  margin: 0 0 0.85rem;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #111;
}

.shot figcaption,
.lede,
.lede-tight,
p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 1.02rem;
}

.shot figcaption {
  margin-top: 0.65rem;
  color: var(--quiet);
  font-size: 0.84rem;
  line-height: 1.45;
}

.lede {
  margin: 0.35rem 0 0;
}

.lede-tight {
  margin: 0 0 0.4rem;
}

section p + p,
.findings p + p {
  margin-top: 0.9rem;
}

code {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-size: 0.84em;
  color: var(--text);
  background: var(--code-bg);
  padding: 0.07em 0.32em;
  border-radius: 3px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

.stat {
  padding: 0.9rem 0.95rem 0.95rem;
  background: var(--card);
  border: 1px solid var(--border);
}

.stat__value {
  display: block;
  font-family: Fraunces, serif;
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat--info .stat__value {
  color: var(--info);
}

.stat__label {
  display: block;
  margin-top: 0.4rem;
  color: var(--quiet);
  font-size: 0.78rem;
  line-height: 1.35;
}

hr {
  margin: 2.1rem 0 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.callout {
  margin: 1.5rem 0 0;
  padding: 1rem 1.1rem 1.05rem;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
}

.callout strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: Fraunces, serif;
  font-weight: 650;
  font-size: 1.02rem;
  color: var(--text);
}

.callout p {
  color: var(--muted);
  font-size: 0.98rem;
}

.sources {
  margin: 2.2rem 0 0;
  color: var(--quiet);
  font-size: 0.82rem;
  line-height: 1.5;
}

.credit {
  margin: 2.4rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.credit a,
.sources a {
  color: var(--accent);
  text-decoration: none;
}

.credit a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 700px) {
  .page {
    width: min(820px, calc(100% - 1.6rem));
    padding-top: 2.4rem;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h3 {
    margin-top: 1.15rem;
  }
}
