:root {
  --ink: #1b1f23;
  --ink-soft: #4a5259;
  --paper: #fbfaf7;
  --paper-raised: #ffffff;
  --line: #dcd7cc;
  --lake: #1f5c7a;      /* Lake Michigan blue-teal */
  --lake-deep: #123c50;
  --flag-red: #a4292f;  /* used sparingly, for emphasis only */
  --gold: #b98a2e;
  --radius: 4px;
  --maxw: 980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: "Spectral", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.5em;
}

a { color: var(--lake-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--flag-red); }

p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* Header / nav */
header.site {
  border-bottom: 3px solid var(--ink);
  background: var(--paper-raised);
}
header.site .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.brand {
  font-family: "Spectral", serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand small {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}
nav.primary a {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  margin-left: 1.5rem;
}
nav.primary a:first-child { margin-left: 0; }
nav.primary a:hover { color: var(--lake); }

/* Hero */
.hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}
.hero .kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lake);
  margin-bottom: 0.75rem;
}
.hero h1 { font-size: 2.4rem; max-width: 30ch; }
.hero .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-top: 0.75rem;
}

/* Section headers */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.4rem;
  margin: 3rem 0 1.25rem;
}
.section-head h2 { font-size: 1.5rem; margin: 0; }
.section-head .note { font-size: 0.85rem; color: var(--ink-soft); }

/* Stat grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.stat-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-top: 3px solid var(--lake);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
}
.stat-card .value {
  font-family: "Spectral", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.stat-card .label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}
.stat-card .cite {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--line);
}
.stat-card .cite a { color: var(--ink-soft); }

.narrative { max-width: 68ch; }
.narrative p { color: var(--ink); }

.callout {
  background: #f0ebe0;
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  max-width: 68ch;
  margin: 1.5rem 0;
}

/* Article TOC */
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.9rem;
  background: var(--paper-raised);
}
.toc-item .pillar {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lake);
}
.toc-item h3 { font-size: 1.15rem; margin: 0.3rem 0 0.3rem; }
.toc-item .status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #e7e2d5;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.toc-item p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0; }

/* Footer */
footer.site {
  border-top: 3px solid var(--ink);
  margin-top: 4rem;
  padding: 2rem 0 3rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
footer.site .sources-list {
  columns: 2;
  column-gap: 2rem;
  padding: 0;
  margin: 0.75rem 0 1.5rem;
  list-style: none;
}
footer.site .sources-list li { margin-bottom: 0.4rem; break-inside: avoid; }
footer.site .disclaimer { max-width: 68ch; }

@media (max-width: 560px) {
  .hero h1 { font-size: 1.9rem; }
  footer.site .sources-list { columns: 1; }
}
