/* Ironhorse Files · case pages and archive (loaded after style.css) */
html:has(body.page), body.page { height: auto; }
body.page { overflow: visible; overflow-x: clip; } /* the document scrolls, not the body */
/* 18/11: the page uses almost the whole width of the screen */
:root { --wrap: 1880px; --gut: clamp(16px, 2.6vw, 44px); }
body.page .top { background: rgba(236, 227, 207, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ink-3); }

.article { padding-top: var(--top-h); }
.article a { color: inherit; }
.a-crumbs {
  max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gut) 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-faint);
}
.a-crumbs a { text-decoration: none; color: var(--paper-dim); }
.a-crumbs a:hover { color: var(--paper); }
.a-crumbs span[aria-current] { color: var(--paper); }

/* Hero */
.a-hero {
  max-width: var(--wrap); margin: 0 auto; padding: clamp(20px, 4vw, 44px) var(--gut) 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center;
}
.a-hero.is-archive { grid-template-columns: 1fr; }
.a-hero.is-case { grid-template-columns: minmax(0, .95fr) minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: clamp(20px, 2.4vw, 44px); }
.a-hero.is-case h1 { font-size: clamp(42px, 4.6vw, 96px); }
.a-hero.is-case .a-lede { font-size: clamp(17px, 1.1vw, 19px); }
.a-hero-video .a-video { box-shadow: 0 20px 50px rgba(70, 50, 20, .25); }
.a-hero-side { display: grid; gap: 16px; }
.a-hero-side .a-jump { margin-top: 0; display: flex; }
.a-stamp {
  margin: 0; display: inline-flex; gap: 10px; align-items: center;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass);
}
.a-stamp .c-no { color: var(--ink); background: var(--paper); padding: 3px 8px; letter-spacing: .14em; }
.a-hero h1 {
  margin: 16px 0 10px; font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(52px, 7.4vw, 108px); line-height: .86; letter-spacing: .005em;
  animation: rise .9s var(--ease-out) both;
}
.a-episode { margin: 0 0 6px; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .02em; text-transform: uppercase; color: var(--brass); }
.a-place { margin: 0; font-style: italic; font-size: 19px; color: var(--paper-dim); }
.a-date { margin: 6px 0 0; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; color: var(--brass); }
.a-lede { margin: 22px 0 0; max-width: 46ch; font-size: 19px; line-height: 1.55; }
.a-lede a { color: var(--brass); }
@keyframes rise { from { transform: translateY(18px); } } /* no opacity: content must be visible from the first paint (LCP) */

/* "The full report is on this page" jump button in the hero */
html:has(body.page) { scroll-behavior: smooth; }
#report { scroll-margin-top: var(--top-h); }
.a-jump {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 20px; padding: 12px 18px 12px 16px;
  position: relative; background: var(--paper); text-decoration: none;
  box-shadow: 0 10px 24px rgba(70, 50, 20, .18);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  animation: rise .9s .25s var(--ease-out) both;
}
.article .a-jump { color: var(--ink); }
.a-jump:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(70, 50, 20, .26); }
.a-jump svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.a-jump-doc { width: 30px; height: 30px; }
.a-jump-txt { display: grid; gap: 3px; }
.a-jump-txt b { font-family: var(--f-mono); font-weight: 500; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.a-jump-txt small { font-family: var(--f-serif); font-style: italic; font-size: 14.5px; opacity: .78; }
.a-jump-arrow { width: 22px; height: 22px; margin-left: 6px; animation: nudge 1.8s ease-in-out infinite; }
/* Red line that runs round the button from the top-right corner: one branch left then down, the other
   down then left; they meet at the bottom-left corner, pull back, wait 1.5 s and start again (js/article.js). */
.a-jump .a-jump-trace { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.a-jump .a-jump-trace path {
  fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: butt; stroke-linejoin: miter;
  stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: trace 2.9s cubic-bezier(.65, 0, .35, 1) infinite;
  /* soft glow so the line catches the eye */
  filter: drop-shadow(0 0 3px rgba(225, 70, 50, .85)) drop-shadow(0 0 9px rgba(225, 70, 50, .45));
}
/* 0.7 s drawing, 0.7 s pulling back, 1.5 s waiting */
@keyframes trace { 0% { stroke-dashoffset: 1; } 24% { stroke-dashoffset: 0; } 48% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 1; } }
@media (prefers-reduced-motion: reduce) { .a-jump .a-jump-trace path { animation: none; stroke-dashoffset: 0; } }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

.a-locator {
  position: relative; margin: 0; aspect-ratio: 975 / 610;
  background: radial-gradient(ellipse at 50% 50%, #f6efdf, var(--ink-2) 75%);
  border: 1px solid var(--ink-3);
}
.a-locator svg { width: 100%; height: 100%; display: block; }
.a-locator figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 12px; background: linear-gradient(transparent, rgba(236, 227, 207, .94));
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-faint);
}
.a-locator figcaption a { color: var(--paper); text-decoration: none; }
.a-locator figcaption a:hover { color: var(--brass); }
.l-state { fill: var(--ink-2); stroke: #a8946f; stroke-width: .6; vector-effect: non-scaling-stroke; }
.l-state.is-target { fill: #efe5cf; }
.l-county { fill: none; stroke: #c4b18c; stroke-width: .5; vector-effect: non-scaling-stroke; }
.l-outline { fill: none; stroke: var(--brass); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.l-rail { fill: none; stroke: var(--brass); stroke-width: .8; opacity: .55; vector-effect: non-scaling-stroke; }
.l-ties { fill: none; stroke: var(--brass); stroke-width: 3.2; stroke-dasharray: .9 5; opacity: .35; vector-effect: non-scaling-stroke; }
.l-city circle { fill: var(--paper-dim); stroke: #fbf7ee; stroke-width: 1.5; }
.l-city text, .l-pin text {
  font-family: var(--f-mono); font-size: 11px; fill: var(--paper-dim);
  paint-order: stroke; stroke: rgba(246, 239, 223, .92); stroke-width: 3.5px; stroke-linejoin: round;
}
.l-pin text { fill: var(--paper); font-weight: 500; font-size: 12.5px; }
.l-pin .core { fill: var(--red); stroke: #fbf7ee; stroke-width: 1.5; }
.l-pin .ring { fill: none; stroke: var(--red); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.4s var(--ease-out) infinite; }
.l-pin .ring.r2 { animation-delay: 1.2s; }
.l-fade { opacity: 0; transition: opacity .8s ease; }
.l-fade.is-on { opacity: 1; }

/* Video */
.a-watch { max-width: var(--wrap); margin: clamp(36px, 6vw, 64px) auto 0; padding: 0 var(--gut); }
.a-video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  background: #000; cursor: pointer; overflow: hidden; box-shadow: 0 24px 60px rgba(70, 50, 20, .25);
}
.a-video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease-out), filter .4s; }
.a-video:hover img { transform: scale(1.025); filter: brightness(.85); }
.a-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.a-video .play {
  position: absolute; left: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 2.5vw, 28px);
  width: clamp(58px, 7vw, 84px); height: clamp(58px, 7vw, 84px); border-radius: 50%;
  display: grid; place-items: center; background: var(--red); animation: play-pulse 2.2s infinite;
}
.a-video .play svg { width: 40%; height: 40%; fill: #fbf7ee; margin-left: 6%; }
.a-video .badge, .fc-img .badge {
  position: absolute; left: 12px; top: 12px; padding: 5px 9px; background: var(--red); color: #fbf7ee;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.a-vtitle { margin: 12px 0 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--paper-faint); }
.a-vtitle a { color: var(--paper-dim); }

/* Stats strip */
.a-stats {
  max-width: var(--wrap); margin: clamp(30px, 5vw, 48px) auto 0; padding: 0 var(--gut);
  display: grid; grid-template-columns: 1fr 1fr 2fr;
}
.a-stats > div { padding: 14px 18px 16px; border-top: 2px solid var(--paper); }
.a-stats > div + div { border-left: 1px solid var(--ink-3); }
.a-stats dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-faint); }
.a-stats dd { margin: 4px 0 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.a-stats dd.txt { font-family: var(--f-serif); font-weight: 400; font-style: italic; font-size: 18px; line-height: 1.4; }
.a-stats .is-killed dd { color: var(--red); }
.a-stats small { display: block; margin-top: 6px; font-style: italic; font-size: 13px; color: var(--paper-faint); }

/* The case sheet: paper on ink */
.a-sheet { margin-top: clamp(40px, 6vw, 72px); background: var(--paper); color: var(--ink); position: relative; border-top: 1px solid #cdbd9c; border-bottom: 1px solid #cdbd9c; }
.a-sheet::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='4'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .47 0 0 0 0 .33 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
}
.a-sheet-inner {
  position: relative; max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gut);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 32%); gap: clamp(32px, 4vw, 80px);
}
.a-body h2 {
  margin: 44px 0 12px; font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(30px, 3.4vw, 40px); line-height: .95; letter-spacing: .01em;
}
.a-body h2:first-child { margin-top: 0; }
.a-body p { margin: 0 0 1.1em; max-width: 90ch; font-size: clamp(19px, 1.15vw, 22px); line-height: 1.65; }
.a-body > h2:first-child + p::first-letter {
  float: left; font-family: var(--f-display); font-weight: 900; font-size: 84px; line-height: .78; margin: 8px 10px 0 0; color: var(--red);
}
.a-finding { margin: 30px 0; padding: 18px 22px; background: rgba(20, 22, 26, .06); border-left: 4px solid var(--red); }
.a-finding h3 { margin: 0 0 6px; font-family: var(--f-mono); font-weight: 500; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.a-finding p { margin: 0; font-size: 18px; line-height: 1.55; }
.a-sources { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(20, 22, 26, .25); }
.a-sources h2 { font-size: 22px; margin: 0 0 8px; }
.a-sources p { font-family: var(--f-mono); font-size: 13px; line-height: 1.6; color: #4b443a; }
.a-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.c-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; text-decoration: none; cursor: pointer;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--ink); background: none; color: var(--ink);
}
.c-btn.is-primary { background: var(--ink); color: var(--paper); }
.c-btn.is-primary:hover { background: var(--red); border-color: var(--red); }
.c-btn:not(.is-primary):hover { background: rgba(20, 22, 26, .08); }

.a-timeline { align-self: start; position: sticky; top: calc(var(--top-h) + 24px); }
.a-timeline h2 {
  margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--ink);
  font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
}
.a-timeline ol { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; }
.a-timeline ol::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: rgba(20, 22, 26, .3); }
.a-timeline li { position: relative; padding: 0 0 18px; }
.a-timeline li::before {
  content: ""; position: absolute; left: -18px; top: 5px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink);
}
.a-timeline li:last-child::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px rgba(192, 57, 43, .2); }
.tl-t { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #6b5a3f; }
.a-timeline li:last-child .tl-t { color: var(--red); }
.tl-x { display: block; margin-top: 3px; font-size: clamp(15.5px, .95vw, 18px); line-height: 1.45; }

/* Original report: page carousel + lightbox */
.a-report { padding: clamp(48px, 7vw, 96px) 0 clamp(20px, 3vw, 40px); background: var(--ink-2); border-bottom: 1px solid var(--ink-3); }
.a-report-head { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.a-report h2 {
  margin: 14px 0 8px; font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, 5.4vw, 72px); line-height: .9;
}
.a-report-title { margin: 0; max-width: 60ch; font-style: italic; font-size: 19px; color: var(--paper-dim); }
.a-report-meta { margin: 8px 0 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.a-report-note { margin: 10px 0 0; max-width: 60ch; font-size: 18px; line-height: 1.6; color: var(--paper-dim); font-style: italic; }
.a-report-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.r-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 18px; text-decoration: none;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--paper-faint); color: var(--paper);
  transition: background .2s, border-color .2s, color .2s;
}
.r-btn:hover { border-color: var(--paper); }
.r-btn.is-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.r-btn.is-primary:hover { background: var(--red); border-color: var(--red); color: #fbf7ee; }
.r-btn.is-quiet { border-color: transparent; color: var(--paper-dim); text-decoration: underline; text-underline-offset: 4px; padding-left: 4px; }
.r-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a-report-legal { margin: 16px 0 0; max-width: 70ch; font-size: 14px; line-height: 1.55; color: var(--paper-faint); }

.a-pages-wrap { margin-top: clamp(28px, 4vw, 44px); }
.a-pages {
  display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-behavior: smooth;
  padding: 8px max(var(--gut), calc((100vw - var(--wrap)) / 2 + 44px)) 22px;
  scrollbar-width: thin; scrollbar-color: var(--brass-dim) transparent; outline: none;
}
.a-pages.is-snap { scroll-snap-type: x mandatory; } /* turned on by article.js on first touch */
.a-page { flex: 0 0 auto; width: clamp(220px, 26vw, 330px); margin: 0; scroll-snap-align: start; }
.a-page-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.a-page img {
  display: block; width: 100%; height: auto; background: #fbf7ee;
  box-shadow: 0 14px 34px rgba(70, 50, 20, .25); transform: rotate(var(--tilt, 0deg));
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.a-page:nth-child(odd) img { --tilt: -.6deg; }
.a-page:nth-child(3n) img { --tilt: .5deg; }
.a-page-open:hover img { transform: translateY(-6px) rotate(0deg); box-shadow: 0 22px 44px rgba(70, 50, 20, .32); }
.a-page figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--paper-faint); text-align: center; }
.a-pages-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 4px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-dim); }
.a-pages-nav button { width: 44px; height: 44px; border: 1px solid var(--ink-3); background: none; color: var(--paper); cursor: pointer; font-size: 18px; }
.a-pages-nav button:hover { border-color: var(--brass); }
.a-report.is-missing { padding-bottom: clamp(48px, 7vw, 96px); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 9, 11, .94); display: grid; grid-template-rows: 1fr auto; animation: lb-in .3s var(--ease-out); }
.lightbox[hidden] { display: none; }
.lightbox .lb-stage { overflow: auto; display: grid; place-items: start center; padding: 24px 16px 0; }
.lightbox img { max-width: min(980px, 100%); height: auto; background: var(--paper); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox .lb-bar { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-dim); }
.lightbox button { min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--ink-3); background: var(--ink-2); color: var(--paper); cursor: pointer; font: inherit; }
.lightbox button:hover { border-color: var(--brass); }
@keyframes lb-in { from { opacity: 0; } }
body.lb-open { overflow: hidden; }

/* Coming-soon pages */
.a-stamp .c-no.is-soon { background: var(--amber); color: var(--paper); }
.a-soonbox {
  max-width: var(--wrap); margin: clamp(36px, 6vw, 64px) auto 0; padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--amber); background: linear-gradient(135deg, rgba(201, 115, 31, .14), rgba(201, 115, 31, 0) 60%);
}
.a-soonbox .k { margin: 0; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.a-soonbox h2 { margin: 10px 0 8px; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 4vw, 48px); line-height: .92; }
.a-soonbox p { margin: 0 0 20px; max-width: 60ch; font-size: 18px; line-height: 1.55; color: var(--paper-dim); font-style: italic; }
.r-btn.is-amber { background: var(--amber); border-color: var(--amber); color: var(--paper); }
.r-btn.is-amber:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.is-soon-page .a-stats { margin-top: clamp(30px, 4vw, 44px); }
.is-soon-page .a-report { margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid var(--ink-3); }
.a-report-legal a { color: var(--paper-dim); }

/* Related + archive grid */
.a-more { max-width: var(--wrap); margin: 0 auto; padding: clamp(44px, 6vw, 80px) var(--gut); }
.a-more h2 { margin: 0 0 20px; font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--paper-faint); }
.file-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(18px, 2.5vw, 32px); }
.file-card { display: block; text-decoration: none; }
.fc-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.fc-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.35); transition: transform .9s var(--ease-out), filter .4s; }
.file-card:hover .fc-img img { transform: scale(1.04); filter: none; }
.fc-no { display: block; margin-top: 14px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.fc-title { display: block; margin-top: 6px; font-family: var(--f-display); font-weight: 900; font-size: 30px; line-height: .95; text-transform: uppercase; }
.fc-place { display: block; margin-top: 6px; font-style: italic; color: var(--paper-dim); }
.a-more-all { margin: 26px 0 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.a-more-all a { color: var(--brass); text-decoration: none; }
.archive .a-hero { padding-bottom: 10px; }

/* Reports index */
.rp-toc { max-width: var(--wrap); margin: 28px auto 0; padding: 0 var(--gut); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; line-height: 2; color: var(--paper-faint); }
.rp-toc a { color: var(--paper-dim); text-decoration: none; white-space: nowrap; }
.rp-toc a:hover { color: var(--brass); }
.rp-list { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gut) 70px; }
.rp-state { margin-top: 44px; scroll-margin-top: calc(var(--top-h) + 20px); }
.rp-state h2 { margin: 0 0 12px; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 3vw, 36px); line-height: .95; }
.rp-table { overflow-x: auto; }
.rp-state table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; table-layout: fixed; }
.rp-state th:nth-child(1) { width: 19%; } .rp-state th:nth-child(2) { width: 22%; } .rp-state th:nth-child(3) { width: 31%; } .rp-state th:nth-child(4) { width: 9%; } .rp-state th:nth-child(5) { width: 19%; }
.rp-state th { text-align: left; padding: 8px 10px; border-bottom: 2px solid var(--paper); font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-faint); }
.rp-state td { padding: 10px; border-bottom: 1px solid var(--ink-3); vertical-align: top; color: var(--paper-dim); }
.rp-state td:first-child { white-space: nowrap; font-family: var(--f-mono); font-size: 12.5px; }
.rp-state td a { color: var(--paper); }
.rp-state .num { text-align: right; }
.rp-state td.num { font-family: var(--f-display); font-weight: 900; font-size: 20px; color: var(--red); }
.rp-pdf { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; white-space: nowrap; }
.rp-film { margin-left: 6px; padding: 2px 6px; background: var(--red); color: #fbf7ee; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

/* Footer: see style.css */

@media (max-width: 1100px) {
  .a-hero.is-case { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .a-hero.is-case .a-hero-text { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .a-hero, .a-hero.is-case { grid-template-columns: 1fr; }
  .a-sheet-inner { grid-template-columns: 1fr; }
  .a-timeline { position: static; order: -1; }
  .a-stats { grid-template-columns: 1fr 1fr; }
  .a-stats .is-wide { grid-column: 1 / -1; border-left: 0 !important; }
}
@media (max-width: 760px) {
  /* Phone: title, then the video straight away, then the summary, map and report button */
  .a-hero.is-case { display: flex; flex-direction: column; gap: 0; }
  .a-hero.is-case .a-hero-text { display: contents; }
  .a-hero.is-case .a-hero-video { order: 1; margin-top: 18px; }
  .a-hero.is-case .a-lede { order: 2; }
  .a-hero.is-case .a-hero-side { order: 3; margin-top: 26px; }
  .a-body p { font-size: 17.5px; }
}

/* Request box (/request/) */
.rq { max-width: var(--wrap); margin: 0 auto; padding: 24px var(--gut) clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.rq-form { display: grid; gap: 18px; }
.rq-kind { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rq-kind legend { margin-bottom: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-faint); }
.rq-choice { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--ink-3); background: rgba(255, 250, 238, .5); cursor: pointer; }
.rq-choice:has(input:checked) { border-color: var(--paper); box-shadow: inset 0 0 0 1px var(--paper); background: #fbf6ea; }
.rq-choice input { margin-top: 4px; accent-color: var(--red); }
.rq-choice b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.rq-choice small { font-style: italic; font-size: 15px; color: var(--paper-dim); }
.rq-part { display: grid; gap: 18px; }
.rq-row { display: grid; grid-template-columns: 1fr 1.3fr .6fr; gap: 12px; }
.rq-field { display: grid; gap: 6px; }
.rq-field > span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-dim); }
.rq-field > span i { text-transform: none; letter-spacing: 0; font-family: var(--f-serif); }
.rq-field input, .rq-field select, .rq-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--ink-3); border-radius: 0; background: #fbf6ea; color: var(--paper);
  font: 17px/1.4 var(--f-serif); }
.rq-field textarea { resize: vertical; min-height: 120px; }
.rq-field input:focus, .rq-field select:focus, .rq-field textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass); }
.rq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rq-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: var(--paper-dim); }
.rq-check input { margin-top: 4px; accent-color: var(--red); flex: none; }
.rq-check a { color: var(--paper); }
.rq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.rq-send { cursor: pointer; font: inherit; font-family: var(--f-mono); font-size: 12px; }
.rq-send:disabled { opacity: .6; cursor: wait; }
.rq-status { margin: 0; font-size: 16px; font-style: italic; }
.rq-status.is-ok { color: #2f5d2a; }
.rq-status.is-err { color: var(--red); }
.rq-side { border-top: 2px solid var(--paper); padding-top: 18px; }
.rq-side h2 { margin: 0 0 14px; font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.rq-side ol { margin: 0; padding-left: 20px; display: grid; gap: 14px; font-size: 16.5px; line-height: 1.55; color: var(--paper-dim); }
.rq-side b { color: var(--paper); }
.rq-done-cta { margin-top: 22px; }
@media (max-width: 900px) {
  .rq { grid-template-columns: 1fr; }
  .rq-kind, .rq-row { grid-template-columns: 1fr; }
}

/* Legal pages (/privacy/, /legal/) */
.lg-body { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gut) clamp(56px, 8vw, 96px); }
.lg-body h2 { margin: 36px 0 10px; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 32px); line-height: 1; }
.lg-body p { max-width: 78ch; margin: 0 0 1em; font-size: 18px; line-height: 1.65; }
.lg-body a { color: var(--paper); }

/* "The player loads from YouTube" note under videos */
.yt-note { font-size: 11px; color: var(--paper-faint); letter-spacing: .02em; }
.yt-note a { color: inherit; }

/* Private requests page (/admin/) */
.ad-login { max-width: 420px; margin: 0 auto 60px; padding: 0 var(--gut); }
.ad-main { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut) 60px; }
.ad-count { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; }
.ad-ranks { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 18px 0 24px; }
.ad-ranks h2 { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.ad-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ad-table th, .ad-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--ink-3); vertical-align: top; }
