/* ===========================================================================
   SORRY, NOT SORRY — the whole visual system.

   Five inks, one paper. Three core faces, two accents. Corner radius is 0
   everywhere, shadows are hard offsets with no blur, and rotation is reserved
   for stickers, kickers and scrawl — never for text blocks or images.

   Accessibility rules that are not negotiable and are enforced here:
     * body text is always ink-on-newsprint or newsprint-on-ink;
     * red is never body text on yellow;
     * halftone overlays cap at 24%;
     * misregistration is decorative — the base glyph is always full contrast;
     * the ticker pauses on hover/focus and stops under prefers-reduced-motion.
   =========================================================================== */

/* --- Fonts ------------------------------------------------------------- */

@font-face {
  font-family: "Anton";
  src: url("/static/fonts/anton-400-normal-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Anton";
  src: url("/static/fonts/anton-400-normal-latinext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Alfa Slab One";
  src: url("/static/fonts/alfaslab-400-normal-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Permanent Marker";
  src: url("/static/fonts/permanentmarker-400-normal-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Courier Prime";
  src: url("/static/fonts/courierprime-400-normal-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Courier Prime";
  src: url("/static/fonts/courierprime-400-normal-latinext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Courier Prime";
  src: url("/static/fonts/courierprime-700-normal-latin.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Courier Prime";
  src: url("/static/fonts/courierprime-400-italic-latin.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/static/fonts/sourceserif-400-normal-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/static/fonts/sourceserif-400-normal-latinext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/static/fonts/sourceserif-600-normal-latin.woff2") format("woff2");
  font-weight: 600 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/static/fonts/sourceserif-600-normal-latinext.woff2") format("woff2");
  font-weight: 600 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/static/fonts/sourceserif-400-italic-latin.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens ------------------------------------------------------------ */

:root {
  --newsprint: #F3ECDD;
  --cream: #FFF9E6;
  --ink: #17120F;
  --red: #D21F27;
  --yellow: #FFD400;
  --pink: #FF5D9E;
  --cyan: #35D3E6;

  --screamer: Anton, Impact, "Arial Narrow Bold", "Haettenschweiler", sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --meta: "Courier Prime", "Courier New", ui-monospace, monospace;
  --slab: "Alfa Slab One", Rockwell, Georgia, serif;
  --scrawl: "Permanent Marker", "Comic Sans MS", cursive;

  --rule: 4px solid var(--ink);
  --rule-thin: 3px solid var(--ink);
  --rule-fat: 10px solid var(--ink);
  --max: 1440px;
  --gutter: 24px;
  --nav-h: 62px;
  --ticker-h: 34px;
}

* { box-sizing: border-box; }

html {
  background: #201a16;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--newsprint);
  /* The paper itself: a fine halftone dot over the newsprint stock. */
  background-image: radial-gradient(var(--ink) 0.6px, transparent 0.7px);
  background-size: 4px 4px;
  -webkit-font-smoothing: antialiased;
}

/* The whole page is one sheet of stock, centred on the press-room floor. */
.sheet {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--newsprint);
  background-image: radial-gradient(rgba(23,18,15,0.5) 0.6px, transparent 0.7px);
  background-size: 4px 4px;
  box-shadow: 0 0 120px rgba(0,0,0,0.6);
  overflow-x: clip;
}

img, svg { max-width: 100%; }

a { color: var(--red); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; }
a:hover { color: var(--ink); background: var(--yellow); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 4px solid var(--cyan);
  outline-offset: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--yellow); padding: 12px 18px;
  font-family: var(--meta); text-transform: uppercase; letter-spacing: 0.16em;
}
.skip:focus { left: 0; }

.vh {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Global chrome ------------------------------------------------------ */

.chrome { position: sticky; top: 0; z-index: 40; }

.nav {
  height: var(--nav-h);
  background: var(--yellow);
  border-bottom: var(--rule);
  display: flex; align-items: center; gap: 18px;
  padding: 0 20px;
}

.nav .masthead-mark {
  font-family: var(--screamer);
  font-size: 15px; line-height: 0.82; text-transform: uppercase;
  letter-spacing: -0.01em; color: var(--ink);
  text-decoration: none; padding: 4px 8px; background: var(--ink); color: var(--yellow);
  display: block;
}
.nav .masthead-mark:hover { background: var(--red); color: var(--newsprint); }
.nav .masthead-mark span { display: block; }

.nav-links { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; align-items: center; }
.nav-links a {
  font-family: var(--meta); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 8px 10px; border: 2px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--ink); color: var(--yellow); }

.nav-search { display: flex; }
.nav-search input {
  font-family: var(--meta); font-size: 13px; padding: 7px 10px;
  border: 3px solid var(--ink); border-right: 0; background: var(--newsprint); color: var(--ink);
  min-width: 150px;
}
.nav-search button {
  font-family: var(--screamer); font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--red); color: var(--yellow); border: 3px solid var(--ink); padding: 0 14px; cursor: pointer;
}
.nav-search button:hover { background: var(--ink); color: var(--yellow); }

.nav-toggle { display: none; }

/* The ticker is permanent site furniture. It is the standing disclosure and
   is never dismissible. */
.ticker {
  height: var(--ticker-h);
  background: var(--red);
  color: var(--newsprint);
  border-bottom: var(--rule);
  overflow: hidden;
  display: flex; align-items: center;
  font-family: var(--meta); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
}
.ticker-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: ticker 40s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-run { display: flex; }
.ticker-run span { padding: 0 22px; position: relative; }
.ticker-run span::after {
  content: "·"; position: absolute; right: -4px; color: var(--yellow);
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker { justify-content: flex-start; padding-left: 20px; }
  .ticker-run:nth-child(2) { display: none; }
  * { scroll-behavior: auto !important; }
}

/* --- Masthead ----------------------------------------------------------- */

.masthead {
  background: var(--red);
  border-bottom: var(--rule-fat);
  padding: 26px 24px 20px;
  position: relative; overflow: hidden;
}
.masthead::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(#fff 1.1px, transparent 1.2px);
  background-size: 7px 7px; opacity: 0.22;
}
.masthead-lockup { position: relative; }
.masthead-lockup .l1, .masthead-lockup .l2 {
  font-family: var(--screamer); font-size: clamp(44px, 8.4vw, 108px); line-height: 0.82;
  letter-spacing: -0.02em; text-transform: uppercase; display: block;
}
.masthead-lockup .l1 { color: var(--newsprint); text-shadow: 5px 5px 0 var(--ink), -3px -3px 0 var(--cyan); }
.masthead-lockup .l2 { color: var(--yellow); text-shadow: 5px 5px 0 var(--ink), -3px -3px 0 var(--pink); }
.masthead-strap {
  font-family: var(--meta); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--newsprint); margin-top: 12px; display: flex; gap: 12px; flex-wrap: wrap; position: relative;
}
.masthead-strap b { background: var(--ink); color: var(--yellow); padding: 4px 9px; font-weight: 400; }
.masthead-strap span + span::before { content: "· "; color: var(--yellow); }

/* Scrawl over a picture needs a plate: a text-shadow alone loses on a red
   ground, and the accessibility rules forbid relying on colour alone. */
.plate-scrawl {
  background: var(--yellow); color: var(--ink);
  padding: 4px 10px 2px; border: 2px solid var(--ink); text-shadow: none;
}

/* --- Kickers, stickers, scrawl ------------------------------------------ */

.kicker {
  display: inline-block;
  font-family: var(--screamer); text-transform: uppercase; letter-spacing: 0.02em;
  background: var(--yellow); color: var(--ink);
  border: 3px solid var(--ink); padding: 4px 12px 2px;
  transform: rotate(-3deg);
  font-size: 20px; line-height: 1.2;
}
.kicker.red { background: var(--red); color: var(--yellow); }
.scrawl {
  font-family: var(--scrawl); font-size: 22px; color: var(--red);
  transform: rotate(-5deg); display: inline-block; line-height: 1.15;
}

/* --- Screamers ---------------------------------------------------------- */

.screamer {
  font-family: var(--screamer); text-transform: uppercase; letter-spacing: -0.02em;
  line-height: 0.86; margin: 0; color: var(--ink);
}
.screamer a { color: inherit; text-decoration: none; }
.screamer a:hover { background: var(--yellow); }
.screamer--hero { font-size: clamp(38px, 6.6vw, 78px); }
.screamer--secondary { font-size: clamp(26px, 3vw, 32px); }
.screamer--rail { font-size: 21px; line-height: 1.02; }
/* One misregistration shadow per card, and the hero is the one that gets it. */
.misreg { text-shadow: 4px 4px 0 var(--cyan), -3px -3px 0 var(--pink); }

/* --- Cards -------------------------------------------------------------- */

.card { border-top: var(--rule); padding: 18px 0 20px; }
.card-meta, .meta {
  font-family: var(--meta); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); opacity: 0.86;
}
.card-dek { margin: 10px 0 0; font-size: 17px; line-height: 1.5; }
.card--pending .screamer { opacity: 0.94; }
.pending-tag {
  display: inline-block; font-family: var(--meta); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; background: var(--ink); color: var(--yellow); padding: 3px 8px;
}

/* Every generated image: 1px ink border, no radius, no drop shadow, and the
   post-process the brief specifies applied in CSS rather than baked in. */
.plate {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--ink);
  filter: contrast(1.08) saturate(1.12);
  background: var(--ink);
}
.plate-wrap { position: relative; line-height: 0; }
.plate-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--ink) 1px, transparent 1.1px);
  background-size: 4px 4px; opacity: 0.10;
}
.plate-caption {
  font-family: var(--meta); font-size: 12px; line-height: 1.5; letter-spacing: 0.04em;
  margin-top: 8px; display: block;
}
.plate-caption em { font-style: italic; }
.plate-scrawl { position: absolute; left: 14px; bottom: 12px; z-index: 2; text-shadow: 0 0 6px var(--newsprint); }

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-block; font-family: var(--screamer); text-transform: uppercase;
  font-size: 20px; letter-spacing: 0.02em; line-height: 1;
  background: var(--red); color: var(--yellow);
  border: 3px solid var(--ink); padding: 13px 20px 10px;
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none; cursor: pointer; transition: none;
}
.btn:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); background: var(--red); color: var(--yellow); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--yellow); }
.btn--small { font-size: 15px; padding: 9px 14px 7px; box-shadow: 4px 4px 0 var(--ink); }

/* --- The truth stamp ---------------------------------------------------- */

.stamp {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--screamer); text-transform: uppercase; line-height: 0.86;
  padding: 12px 18px; transform: rotate(-8deg); opacity: 0.88;
  border: 4px double var(--red); color: var(--red);
  text-align: center;
}
.stamp .stamp-no {
  font-family: var(--meta); font-size: 11px; letter-spacing: 0.16em; margin-top: 5px; opacity: 0.95;
}
.stamp--rubber { border: 4px solid var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.stamp--foil {
  border: 0; border-radius: 50%; width: 132px; height: 132px;
  background: linear-gradient(135deg, var(--yellow), #E5BE00 60%, var(--yellow));
  color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); transform: rotate(-5deg); opacity: 1;
}
.stamp--ink { border: 3px double var(--ink); color: var(--ink); border-radius: 50%; padding: 22px; }
.stamp-line { font-size: 22px; }

/* --- Real story section ------------------------------------------------- */

.truth {
  background: var(--cream);
  border-top: var(--rule-fat); border-bottom: var(--rule-fat);
  padding: 26px var(--gutter) 30px;
}
.truth-head { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; justify-content: space-between; }

.article-body { max-width: 66ch; font-size: 19px; line-height: 1.62; }
.article-body p { margin: 0 0 1.15em; }
.article-body .lede { position: relative; }
.dropcap {
  float: left; font-family: var(--screamer); color: var(--red);
  font-size: 76px; line-height: 0.72; padding: 6px 10px 0 0; text-transform: uppercase;
}
/* The rest-of-paragraph span carries the full text including the initial, so
   screen readers and copy-paste get an intact sentence; the floated cap is
   aria-hidden and the duplicate first letter is clipped visually. */
.dropcap-rest { }
.dropcap + .dropcap-rest::first-letter { font-size: 0; letter-spacing: -0.05em; }

.pullquote {
  margin: 1.6em 0; padding: 16px 0 16px 22px;
  border-left: 6px solid var(--red);
  font-size: 25px; line-height: 1.34; font-style: italic; font-weight: 600;
}
.pullquote p { margin: 0; }

.byline { font-family: var(--meta); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.byline b { font-weight: 700; }

.sources { border-top: var(--rule-thin); margin-top: 28px; padding-top: 14px; max-width: 66ch; }
.sources h3 {
  font-family: var(--meta); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  margin: 0 0 10px; font-weight: 700;
}
.sources ol { list-style: none; margin: 0; padding: 0; font-family: var(--meta); font-size: 13px; line-height: 1.7; }
.sources li { display: flex; gap: 10px; }
.sources .n { color: var(--red); font-weight: 700; }

/* --- Fake ads ----------------------------------------------------------- */

.ad {
  border: 3px solid var(--ink); background: var(--newsprint);
  padding: 12px 14px 14px; margin-bottom: 22px;
}
.ad-label {
  font-family: var(--meta); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  border-bottom: 2px solid var(--ink); padding-bottom: 5px; margin-bottom: 10px; display: block;
}
.ad-headline {
  font-family: var(--screamer); text-transform: uppercase; font-size: 27px; line-height: 0.94;
  margin: 0 0 8px; color: var(--ink);
}
.ad-body { font-size: 15px; line-height: 1.42; margin: 0 0 10px; }
.ad-disclaimer { font-family: var(--meta); font-size: 10px; letter-spacing: 0.06em; line-height: 1.5; opacity: 0.85; }
.ad--poster {
  background: linear-gradient(125deg, var(--pink), var(--yellow) 52%, var(--cyan));
  border: 3px solid var(--ink);
}
.ad--poster .ad-headline { font-family: var(--slab); font-size: 26px; line-height: 1.02; }
.ad a { color: var(--ink); }

.classifieds { border-top: var(--rule-fat); padding: 20px var(--gutter) 26px; }
.classified-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border-left: 3px solid var(--ink); }
.classified {
  border-right: 3px solid var(--ink); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  padding: 12px 14px; font-family: var(--meta); font-size: 12px; line-height: 1.6;
}
.classified h4 { font-size: 13px; letter-spacing: 0.1em; margin: 0 0 6px; font-weight: 700; }
.classified .box { display: block; margin-top: 8px; opacity: 0.8; }

/* --- Listicle ----------------------------------------------------------- */

.listicle-row {
  display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center;
  border-bottom: 3px solid var(--ink); padding: 16px 20px;
}
.listicle-row:nth-child(odd) { background: var(--cream); }
.listicle-rank {
  font-family: var(--screamer); font-size: 64px; line-height: 0.8; color: var(--red);
  text-align: right;
}
.listicle-head { font-family: var(--screamer); text-transform: uppercase; font-size: 27px; line-height: 0.96; margin: 0 0 6px; }
.listicle-head a { color: inherit; text-decoration: none; }
.listicle-head a:hover { background: var(--yellow); }

/* --- Beat header (Alfa Slab lives here and nowhere else) ---------------- */

.beat-header {
  background: linear-gradient(128deg, var(--pink), var(--yellow) 48%, var(--cyan));
  border-bottom: var(--rule-fat); padding: 30px var(--gutter);
}
.beat-header h1 {
  font-family: var(--slab); font-size: clamp(30px, 5vw, 54px); line-height: 1.02;
  margin: 0; color: var(--ink); text-transform: uppercase;
}

/* --- Layout ------------------------------------------------------------- */

.band { border-top: var(--rule-fat); padding: 22px var(--gutter) 26px; }
.band-label {
  font-family: var(--meta); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.band-label b { background: var(--ink); color: var(--yellow); padding: 4px 10px; font-weight: 400; }

.with-rail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0; }
.with-rail > .main { border-right: var(--rule); min-width: 0; }
.rail { padding: 20px 20px 30px; min-width: 0; }
.rail-module { border: 3px solid var(--ink); padding: 12px 14px 16px; margin-bottom: 22px; }
.rail-module h3 {
  font-family: var(--screamer); text-transform: uppercase; font-size: 22px; margin: 0 0 10px; line-height: 1;
}
.rail-list { list-style: none; margin: 0; padding: 0; }
.rail-list li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; border-top: 2px solid var(--ink); padding: 9px 0; }
.rail-list li:first-child { border-top: 0; }
.rail-num { font-family: var(--screamer); font-size: 26px; line-height: 0.9; color: var(--red); }
.rail-text { font-size: 15px; line-height: 1.3; }
.rail-text a { color: var(--ink); text-decoration: none; }
.rail-text a:hover { background: var(--yellow); }

.three-up { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.three-up > * { border-left: var(--rule); padding: 0 18px 22px; }
.three-up > *:first-child { border-left: 0; padding-left: 0; }

.strip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.strip-grid > * { border-left: 3px solid var(--ink); padding: 0 18px; }
.strip-grid > *:first-child { border-left: 0; padding-left: 0; }

.hero { padding: 0 0 24px; }
.hero-plate { position: relative; border-bottom: var(--rule); }
.hero-kickers { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 20px var(--gutter) 0; }
.hero-copy { padding: 14px var(--gutter) 0; }
.hero-dek { font-size: 21px; line-height: 1.45; max-width: 74ch; margin: 14px 0 18px; }

/* The WebGL press overlay sits exactly on top of the hero plate. It is pure
   decoration: if it never initialises, the picture underneath is complete. */
.press-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  mix-blend-mode: multiply; pointer-events: none; opacity: 0.55;
}

/* --- Footer ------------------------------------------------------------- */

.footer { background: var(--ink); color: var(--newsprint); padding: 34px var(--gutter) 42px; }
.footer a { color: var(--yellow); }
.footer a:hover { background: var(--yellow); color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; }
.footer h4 {
  font-family: var(--meta); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  margin: 0 0 12px; color: var(--yellow);
}
.footer ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 2; }
.footer-count { font-family: var(--meta); font-size: 13px; letter-spacing: 0.08em; margin-top: 26px; opacity: 0.9; }

/* --- Search / archive --------------------------------------------------- */

.search-hit { border-top: var(--rule-thin); padding: 16px 0; display: grid; grid-template-columns: 92px 1fr; gap: 18px; }
.search-no { font-family: var(--meta); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.search-no b { display: block; font-family: var(--screamer); font-size: 34px; letter-spacing: 0; color: var(--red); line-height: 1; }
.struck { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--red); }
.search-form { display: flex; gap: 0; max-width: 620px; margin: 18px 0 8px; }
.search-form input {
  flex: 1; font-family: var(--meta); font-size: 17px; padding: 13px 14px;
  border: 3px solid var(--ink); border-right: 0; background: var(--newsprint); color: var(--ink); min-width: 0;
}
.search-form button {
  font-family: var(--screamer); font-size: 22px; text-transform: uppercase;
  background: var(--red); color: var(--yellow); border: 3px solid var(--ink); padding: 0 22px; cursor: pointer;
}

/* --- Our Method: the sober page ---------------------------------------- */

.sober { background: var(--cream); }
.sober .band { border-top: 3px solid var(--ink); }
.method-head { background: var(--ink); color: var(--newsprint); padding: 40px var(--gutter); }
.method-head h1 { font-family: var(--screamer); font-size: clamp(32px, 5.2vw, 60px); line-height: 0.94; margin: 0; text-transform: uppercase; }
.method-head p { max-width: 70ch; font-size: 20px; margin: 18px 0 0; }
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0; }
.method-item { border-left: 3px solid var(--ink); padding: 0 20px 18px; }
.method-item:first-child { border-left: 0; padding-left: 0; }
.method-item h3 { font-family: var(--meta); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 8px; }

/* --- Newsletter takeover ------------------------------------------------ */

.takeover[hidden] { display: none !important; }
.takeover {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(23,18,15,0.86);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.takeover-card {
  background: linear-gradient(128deg, var(--pink), var(--yellow) 50%, var(--cyan));
  border: var(--rule-fat); max-width: 620px; width: 100%; padding: 30px 28px 26px;
  box-shadow: 12px 12px 0 var(--ink);
}
.takeover-card h2 { font-family: var(--screamer); font-size: clamp(30px, 6vw, 54px); line-height: 0.9; margin: 0 0 12px; text-transform: uppercase; }
.takeover-form { display: flex; gap: 0; margin: 18px 0 14px; }
.takeover-form input {
  flex: 1; font-family: var(--meta); font-size: 16px; padding: 13px;
  border: 3px solid var(--ink); border-right: 0; background: var(--newsprint); min-width: 0;
}
/* A site about manipulation does not get to use dark patterns: the dismiss is
   real text at a readable size, not an 8px grey cross. */
.takeover-dismiss {
  background: none; border: 0; font-family: var(--body); font-size: 17px;
  color: var(--ink); text-decoration: underline; cursor: pointer; padding: 6px 0;
}

/* --- Utility ------------------------------------------------------------ */

.stack > * + * { margin-top: 14px; }
.hr-fat { border: 0; border-top: var(--rule-fat); margin: 0; }
.note { font-family: var(--meta); font-size: 12px; line-height: 1.6; letter-spacing: 0.04em; }
.tag {
  display: inline-block; font-family: var(--meta); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; border: 2px solid var(--ink); padding: 3px 8px;
}

/* --- Mobile ------------------------------------------------------------- */

@media (max-width: 980px) {
  .with-rail { grid-template-columns: minmax(0, 1fr); }
  .with-rail > .main { border-right: 0; }
  .rail { border-top: var(--rule-fat); padding-top: 24px; }
  .three-up { grid-template-columns: 1fr; }
  .three-up > * { border-left: 0; border-top: var(--rule); padding: 16px 0 20px; }
  .three-up > *:first-child { border-top: 0; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid > * { border-left: 0; border-top: 3px solid var(--ink); padding: 14px 0; }
  .strip-grid > *:first-child { border-top: 0; }
  .method-item { border-left: 0; border-top: 3px solid var(--ink); padding: 14px 0 16px; }
}

@media (max-width: 720px) {
  body { font-size: 18px; line-height: 1.6; }
  :root { --gutter: 16px; }
  /* Screamers scale to 34-44px and never go below 30px — a quiet tabloid
     headline is a contradiction. */
  .screamer--hero { font-size: clamp(32px, 9vw, 44px); }
  .screamer--secondary { font-size: 26px; }
  .screamer--rail { font-size: 20px; }
  .nav { flex-wrap: wrap; height: auto; padding: 8px 16px; gap: 10px; }
  .nav-search { display: none; }
  .nav-toggle {
    display: block; margin-left: auto; background: var(--ink); color: var(--yellow);
    border: 3px solid var(--ink); font-family: var(--meta); font-size: 15px;
    padding: 8px 12px; cursor: pointer; letter-spacing: 0.1em;
  }
  .nav-links {
    display: none; width: 100%; flex-direction: column; gap: 0;
    border-top: 3px solid var(--ink); padding-top: 8px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 8px; min-height: 48px; display: flex; align-items: center; }
  .listicle-row { grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 0; }
  .listicle-rank { font-size: 44px; }
  .dropcap { font-size: 58px; }
  .pullquote { font-size: 22px; }
  .classified-grid { grid-template-columns: 1fr; }
  .stamp--foil { width: 112px; height: 112px; }
  a, button, summary { min-height: 24px; }
}

@media print {
  .chrome, .rail, .ad, .takeover, .press-canvas { display: none !important; }
  body { background: #fff; }
}
