/* =========================================================================
   Our Worst Ally — investigative-archive theme
   Bold editorial masthead + striking hero, clean light reading surface.
   Display: Oswald (condensed). Body: Spectral (serif). Fast, mostly no-JS.
   ========================================================================= */

:root {
  --max-content: 44rem;   /* reading measure */
  --max-wide: 70rem;      /* hero / grids / lists */

  --ink: #15120e;         /* near-black, warm */
  --ink-soft: #423c34;
  --ink-faint: #6f685d;
  --paper: #f4f1ea;       /* warm paper background */
  --surface: #ffffff;
  --rule: #ddd7ca;

  --noir: #120f0c;        /* dark band background */
  --noir-2: #1c1813;
  --on-noir: #f1ece2;
  --on-noir-soft: #b3a99a;

  --accent: #c01818;      /* alarm red */
  --accent-deep: #8f1414;
  --accent-ink: #7a2222;  /* readable red on paper */

  --link: #9a2424;
  --link-visited: #7a2222;

  --display: "Oswald", Impact, "Haettenschweiler", sans-serif;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --leading: 1.72;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ece7dd;
    --ink-soft: #c3bcae;
    --ink-faint: #8f877a;
    --paper: #14110d;
    --surface: #1b1813;
    --rule: #322c24;
    --accent: #e0564f;
    --accent-ink: #e88a84;
    --link: #e88a84;
    --link-visited: #d6a6a0;
  }
}

/* ----- Reset-ish --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: var(--leading);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;            /* allow full-bleed bands */
}
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--max-wide); margin-inline: auto; padding-inline: 1.4rem; }
main { display: block; padding-bottom: 5rem; }
body:not(.home) main { padding-top: 3rem; }

/* Full-bleed bands inside a constrained parent */
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }

/* ----- Links ------------------------------------------------------------- */
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:visited { color: var(--link-visited); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--surface); padding: .5rem .75rem; z-index: 50; }
.skip-link:focus { left: .5rem; top: .5rem; }

/* ===================== HEADER / MASTHEAD ================================= */
.site-header { background: var(--noir); border-bottom: 3px solid var(--accent); position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; gap: 1rem 2rem; padding-block: .85rem; }
.site-brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.site-title {
  font-family: var(--display); font-weight: 700; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: .02em; color: var(--on-noir);
}
.site-tagline { font-family: var(--sans); font-size: .72rem; color: var(--on-noir-soft); margin-top: .35rem; max-width: 30ch; }

.site-nav { margin-left: auto; position: relative; display: flex; align-items: center; gap: 1.6rem; font-family: var(--display); font-size: .95rem; }
.nav-link, .nav-dd > summary {
  color: var(--on-noir-soft); text-decoration: none; text-transform: uppercase;
  letter-spacing: .04em; font-weight: 500; padding: .25rem 0;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
  cursor: pointer; list-style: none;
}
.nav-link:hover, .nav-dd > summary:hover, .nav-dd[open] > summary { color: var(--on-noir); border-color: var(--accent); }

/* Categories dropdown (no JS — native <details>) */
.nav-dd { position: static; }
.nav-dd > summary { display: inline-flex; align-items: center; gap: .4rem; }
.nav-dd > summary::-webkit-details-marker { display: none; }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform .15s; }
.nav-dd[open] .caret { transform: rotate(180deg); }
.nav-dd-panel {
  position: absolute; top: calc(100% + .85rem); right: 0; z-index: 45;
  min-width: 20rem; background: var(--noir-2);
  border: 1px solid #ffffff1f; border-top: 3px solid var(--accent);
  border-radius: 0 0 4px 4px; box-shadow: 0 18px 40px -18px #000c; padding: .4rem;
}
.nav-dd-panel a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .65rem .8rem; color: var(--on-noir-soft); text-decoration: none;
  font-size: .9rem; letter-spacing: .02em; border-radius: 3px; border: 0;
  transition: background .14s, color .14s;
}
.nav-dd-panel a:hover { background: #ffffff10; color: var(--on-noir); }
.nav-dd-count { font-family: var(--sans); font-size: .72rem; color: var(--on-noir-soft); background: #ffffff14; border-radius: 10px; padding: .05rem .5rem; min-width: 1.5rem; text-align: center; }

/* ===================== HERO ============================================= */
.hero {
  background: var(--noir);
  background-image:
    radial-gradient(120% 120% at 80% -10%, #2a1010 0%, rgba(18,15,12,0) 55%),
    repeating-linear-gradient(0deg, #ffffff06 0 1px, transparent 1px 7px);
  color: var(--on-noir);
  padding-block: clamp(3.5rem, 9vw, 7rem);
  border-bottom: 1px solid #000;
}
.hero-inner { max-width: var(--max-wide); }
.hero-kicker {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .28em;
  font-size: .8rem; font-weight: 500; color: var(--accent);
  margin: 0 0 1rem; padding-left: .15em;
}
.hero-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3.4rem, 13vw, 9rem); line-height: .92;
  text-transform: uppercase; letter-spacing: -.01em; margin: 0;
  color: var(--on-noir);
}
.hero-accent { color: var(--accent); position: relative; }
.hero-deck {
  font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.5; color: var(--on-noir-soft); max-width: 46ch;
  margin: 1.8rem 0 2.2rem;
}
.hero-deck { animation: rise .7s .05s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; font-size: .92rem;
  padding: .8rem 1.4rem; border-radius: 2px; text-decoration: none;
  transition: transform .12s, background .15s, color .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; border: 2px solid var(--accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--on-noir); border: 2px solid #ffffff33; }
.btn-ghost:hover { border-color: var(--on-noir); }

/* ===================== STAT BAND ======================================== */
.stats { background: var(--accent); color: #fff; }
.stats-inner { max-width: var(--max-wide); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.9rem 1.4rem; border-left: 1px solid #ffffff2e; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.01em; }
.stat-unit { font-size: .5em; vertical-align: top; margin-left: .05em; }
.stat-label { display: block; font-family: var(--sans); font-size: .82rem; line-height: 1.35; color: #ffffffd8; margin-top: .55rem; max-width: 22ch; }

/* ===================== THESIS / THE PATTERN ============================= */
.thesis { background: var(--surface); border-bottom: 1px solid var(--rule); }
.thesis-inner { max-width: 56rem; padding-block: clamp(3rem, 7vw, 5rem); }
.thesis-head { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5.5vw, 3.4rem); line-height: 1.02; text-transform: uppercase; letter-spacing: -.01em; margin: .3rem 0 1.6rem; }
.thesis-body { max-width: 42rem; }
.thesis-body p { font-family: var(--serif); font-size: 1.22rem; line-height: 1.62; color: var(--ink-soft); margin: 0 0 1.3rem; }
.thesis-pull {
  font-family: var(--display) !important; font-weight: 600;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem) !important; line-height: 1.1 !important;
  text-transform: uppercase; color: var(--accent) !important;
  border-left: 4px solid var(--accent); padding-left: 1.1rem;
  margin: 1.8rem 0 !important; max-width: none;
}

/* ===================== SECTION HEADS ==================================== */
.home-section { max-width: var(--max-wide); margin: 4rem auto 0; }
.section-kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 600; color: var(--accent-ink); margin: 0 0 .4rem; }
.section-head { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.05; margin: 0 0 1.5rem; }

/* ===================== FEATURED CASES =================================== */
.cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); }
.case-link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--accent);
  padding: 1.5rem 1.6rem; text-decoration: none; color: var(--ink);
  transition: transform .14s, box-shadow .14s, border-color .14s;
}
.case-link:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px #0006; }
.case-tag { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 600; color: var(--accent-ink); }
.case-title { font-family: var(--display); font-weight: 600; font-size: 1.7rem; line-height: 1.05; margin: .5rem 0 .2rem; }
.case-date { font-family: var(--sans); font-size: .82rem; color: var(--ink-faint); }
.case-excerpt { font-family: var(--serif); color: var(--ink-soft); font-size: 1rem; line-height: 1.55; margin: .7rem 0 1.1rem; }
.case-more { margin-top: auto; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; font-weight: 600; color: var(--accent); }

/* ===================== CATEGORY CARDS =================================== */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--rule); padding: 1.4rem 1.5rem 1.2rem; text-decoration: none; color: var(--ink); position: relative; overflow: hidden; transition: transform .14s, box-shadow .14s; }
.card a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .18s; }
.card a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px #0006; }
.card a:hover::before { transform: scaleY(1); }
.card-number { font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--rule); }
.card-title { font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.12; margin: .5rem 0 .5rem; color: var(--ink); }
.card-desc { font-family: var(--serif); font-size: .95rem; color: var(--ink-soft); line-height: 1.5; }
.card-count { margin-top: 1rem; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; font-weight: 600; color: var(--accent-ink); }
.card-soon a { opacity: .7; }
.card-soon .card-count { color: var(--ink-faint); }

/* ===================== HOME CTA ========================================= */
.home-cta { max-width: var(--max-wide); margin: 4.5rem auto 0; padding: 2.5rem; background: var(--noir); color: var(--on-noir); border-radius: 3px; text-align: center; }
.home-cta p { font-family: var(--serif); font-size: 1.25rem; color: var(--on-noir); margin: 0 0 1.4rem; }

/* ===================== PAGE HEADS (category/timeline) =================== */
.page-head { max-width: var(--max-content); margin-bottom: 2.5rem; }
.page-title { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; text-transform: uppercase; margin: 0 0 .8rem; }
.lede { font-family: var(--serif); font-size: 1.25rem; color: var(--ink-soft); line-height: 1.5; }

/* ===================== CATEGORY LIST ==================================== */
.category-page { max-width: var(--max-wide); }
.article-list { list-style: none; margin: 0; padding: 0; }
.article-list > li { border-top: 1px solid var(--rule); }
.article-list > li:last-child { border-bottom: 1px solid var(--rule); }
.article-list-row { display: grid; grid-template-columns: 1fr auto; gap: 1.3rem; align-items: center; padding: 1.4rem .4rem; text-decoration: none; color: var(--ink); transition: background .14s, padding-left .14s; }
.article-list-row:hover { background: var(--surface); padding-left: 1rem; }
.article-list-title { display: block; font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.1; }
.article-list-date { display: block; font-family: var(--sans); font-size: .82rem; color: var(--ink-faint); margin: .2rem 0 .35rem; }
.article-list-excerpt { display: block; font-family: var(--serif); color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
.article-list-arrow { font-family: var(--display); color: var(--accent); font-size: 1.4rem; opacity: 0; transition: opacity .14s, transform .14s; }
.article-list-row:hover .article-list-arrow { opacity: 1; transform: translateX(3px); }

/* ===================== TIMELINE ========================================= */
.timeline-page { max-width: var(--max-wide); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9.5rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--rule); }
.timeline-item { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1.5rem; }
.timeline-date { font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--ink-faint); text-align: right; padding-top: 1.35rem; }
.timeline-body { position: relative; display: block; padding: 1.2rem 0 1.2rem 1.5rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rule); }
.timeline-body::before { content: ""; position: absolute; left: -.42rem; top: 1.6rem; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); transition: background .15s, transform .15s; }
.timeline-body:hover::before { background: var(--accent); transform: scale(1.25); }
.timeline-title { font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.1; display: block; }
.timeline-cat { font-family: var(--sans); font-size: .82rem; color: var(--ink-faint); display: block; margin-top: .2rem; }

/* ===================== ARTICLE ========================================== */
.article { max-width: var(--max-content); margin-inline: auto; }
.article-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 3px solid var(--ink); }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; font-family: var(--sans); font-size: .85rem; margin: 0 0 1rem; }
.cat-chip { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: .76rem; font-weight: 600; background: var(--accent); color: #fff; padding: .25rem .6rem; border-radius: 2px; text-decoration: none; }
.cat-chip:hover { background: var(--accent-deep); color: #fff; }
.article h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.3rem, 5.5vw, 3.4rem); line-height: 1.02; letter-spacing: -.01em; margin: 0 0 .4rem; text-transform: uppercase; }
.subtitle { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink-soft); margin: 0 0 .8rem; line-height: 1.35; }
.article-meta { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--ink-faint); margin: .3rem 0 0; }
.article-header .lede { font-size: 1.3rem; color: var(--ink); margin-top: 1.2rem; }

/* In-case table of contents */
.toc { margin: 0 0 2.5rem; padding: 1.1rem 1.3rem; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: 0 3px 3px 0; }
.toc-title { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 600; color: var(--accent-ink); margin: 0 0 .6rem; }
.toc ol { margin: 0; padding-left: 1.3rem; columns: 2; column-gap: 2rem; }
.toc li { margin: .3rem 0; font-family: var(--sans); font-size: .92rem; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

/* Prose */
.prose { font-size: 1.18rem; }
.prose p { margin: 0 0 1.25rem; }
.prose h2 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; line-height: 1.1; margin: 2.8rem 0 .9rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); text-transform: uppercase; letter-spacing: .01em; }
.prose h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; margin: 2rem 0 .5rem; }
.prose h2 a, .prose h3 a { color: inherit; text-decoration: none; }
.prose h2 a:hover, .prose h3 a:hover { color: var(--accent); }
.prose :is(h2, h3) { scroll-margin-top: 5rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.prose li { margin: .4rem 0; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose a { font-weight: 500; }
.prose blockquote { margin: 1.6rem 0; padding: .9rem 1.2rem; background: var(--surface); border-left: 4px solid var(--accent); border-radius: 0 4px 4px 0; font-size: 1.02rem; color: var(--ink-soft); }
.prose blockquote p { margin: 0; }
.prose code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: var(--surface); padding: .1em .35em; border-radius: 4px; }
:target { background: color-mix(in srgb, var(--accent) 14%, transparent); }

/* Source-tier caveat callout (the author's own "Note on source tier:" lines) */
.tier-note { margin: 1.9rem 0; padding: 1.1rem 1.2rem 1.1rem 1.3rem; background: color-mix(in srgb, var(--accent) 6%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--rule)); border-left: 4px solid var(--accent); border-radius: 0 4px 4px 0; font-family: var(--sans); font-size: .96rem; line-height: 1.6; color: var(--ink-soft); }
.tier-note strong:first-child { display: block; margin-bottom: .35rem; color: var(--accent-ink); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }

/* Sources rendered as bibliography */
.prose h2[id="sources"] + ul { list-style: none; padding-left: 0; font-size: 1rem; }
.prose h2[id="sources"] + ul li { margin: .55rem 0; padding-left: 1.4rem; text-indent: -1.4rem; color: var(--ink-soft); font-family: var(--sans); }
.prose h2[id="sources"] + ul li::before { content: "—"; color: var(--accent); margin-right: .5rem; }

/* Footnotes */
.prose .footnotes { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: .95rem; color: var(--ink-soft); }
.footnote-ref a { text-decoration: none; }

/* Related cases (article footer) */
.related { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 3px solid var(--ink); }
.related .section-kicker { margin-bottom: 1rem; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(3, 1fr); }
.related-list a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--accent); padding: 1rem 1.1rem 1.1rem; text-decoration: none; color: var(--ink); transition: transform .14s, box-shadow .14s; }
.related-list a:hover { transform: translateY(-3px); box-shadow: 0 12px 26px -16px #0006; }
.related-cat { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; font-weight: 600; color: var(--accent-ink); }
.related-title { font-family: var(--display); font-weight: 600; font-size: 1.18rem; line-height: 1.1; margin: .35rem 0 .4rem; }
.related-date { font-family: var(--sans); font-size: .78rem; color: var(--ink-faint); margin-top: auto; }

.article-footer-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.3rem; border-top: 3px solid var(--ink); font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: .88rem; }
.article-footer-nav a { text-decoration: none; }
.article-footer-nav a:hover { color: var(--accent); }

/* ===================== 404 ============================================== */
.notfound { max-width: var(--max-content); margin: 3rem auto; }
.notfound .section-kicker { font-size: 1rem; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ===================== FOOTER =========================================== */
.site-footer { background: var(--noir); color: var(--on-noir-soft); border-top: 3px solid var(--accent); margin-top: 5rem; }
.site-footer .wrap { padding-block: 3rem 3.5rem; }
.footer-brand { display: flex; flex-direction: column; margin-bottom: 1.2rem; }
.footer-title { font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; color: var(--on-noir); }
.footer-tagline { font-family: var(--sans); font-size: .8rem; margin-top: .3rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: .85rem; padding-block: 1.2rem; border-top: 1px solid #ffffff1a; border-bottom: 1px solid #ffffff1a; }
.footer-nav a { color: var(--on-noir-soft); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }
.footer-fine { margin: 1.2rem 0 0; font-family: var(--sans); font-size: .8rem; }
.footer-fine a { color: var(--on-noir-soft); text-decoration: underline; }
.footer-fine a:hover { color: var(--accent); }
.muted { color: var(--ink-faint); }
.sep { opacity: .5; }

/* ===================== MOTION =========================================== */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-kicker { animation: rise .6s both; }
.hero-title { animation: rise .7s .02s both; }
.hero-actions { animation: rise .7s .12s both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* ===================== RESPONSIVE ======================================= */
@media (max-width: 860px) {
  .cases { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { border-top: 1px solid #ffffff2e; }
  .stat:first-child, .stat:nth-child(2) { border-top: 0; }
}

@media (max-width: 680px) {
  body { font-size: 1.1rem; }
  .site-header .wrap { flex-wrap: wrap; gap: .5rem 1.2rem; }
  .site-nav { gap: 1.2rem; font-size: .9rem; }
  .nav-dd-panel { min-width: min(20rem, 78vw); }
  .toc ol { columns: 1; }
  .timeline::before { left: 0; }
  .timeline-item { grid-template-columns: 1fr; gap: 0; }
  .timeline-date { text-align: left; padding: 1.2rem 0 0 1.5rem; }
  .timeline-body { padding-left: 1.5rem; }
  .article-list-row { grid-template-columns: 1fr; }
  .article-list-arrow { display: none; }
  .related-list { grid-template-columns: 1fr; }
}

/* ===================== PRINT ============================================ */
@media print {
  .site-header, .site-footer, .skip-link, .toc, .article-footer-nav, .hero-actions { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  main { padding: 0; }
  .article { max-width: 100%; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; word-break: break-all; }
}
