:root {
  --paper: #e7e4dc;
  --card: #f3f1eb;
  --ink: #23211e;
  --muted: #4a4640;
  --soft-rule: #aca697;
  --halftone: #c9c4b8;
  --accent: #9a2a1e;
  --accent-hover: #741f16;
  --accent-fill: #9a2a1e;      /* red buttons and tags */
  --on-accent: #f3f1eb;
  --bar-bg: #23211e;           /* the ticker */
  --bar-fg: #e7e4dc;
  --store-bg: #1d1c1a;
  --store-hover: #363430;
  --store-fg: #f3f1eb;
  --store-border: transparent;
  --tone-shade: rgba(70, 64, 56, 0.07);
  --tone-light: rgba(255, 255, 252, 0.35);
  --vignette: rgba(45, 42, 38, 0.2);
  --grain-opacity: 0.42;
  --paper-grain-opacity: 0.85;
  --specks-opacity: 0.75;

  --font-masthead: 'UnifrakturMaguntia', serif;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-serif: 'Libre Caslon Text', Georgia, serif;

  --ticker-h: 40px;
  color-scheme: light;

  /* Newsprint: fine grain plus sparse ink specks, generated with SVG turbulence */
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .15 0 0 0 0 .14 0 0 0 0 .13 0 0 0 .3 -.08'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --paper-specks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .13 0 0 0 0 .12 0 0 0 0 .11 14 0 0 0 -10.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
  /* Grain laid over the ink itself, so text looks printed rather than rendered */
  --ink-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='i'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .94 0 0 0 0 .92 0 0 0 1.1 -.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23i)'/%3E%3C/svg%3E");
}

/* Evening edition (dark) is the default; the light morning edition needs data-theme="light" on <html> */
:root:not([data-theme="light"]) {
  --paper: #121212;
  --card: #1b1b1b;
  --ink: #e4e4e2;
  --muted: #a9a9a6;
  --soft-rule: #464644;
  --halftone: #2a2a29;
  --accent: #ec7a64;
  --accent-hover: #f59a87;
  --accent-fill: #a8321f;
  --on-accent: #f6f2ea;
  --bar-bg: #050505;
  --bar-fg: #e4e4e2;
  --store-bg: #000;
  --store-hover: #1e1e1e;
  --store-fg: #f6f2ea;
  --store-border: #5a5a58;
  --tone-shade: rgba(0, 0, 0, 0.22);
  --tone-light: rgba(255, 255, 255, 0.025);
  --vignette: rgba(0, 0, 0, 0.5);
  --grain-opacity: 0.09;
  --paper-grain-opacity: 0.7;
  --specks-opacity: 0;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: var(--ticker-h);
  position: relative;
  background-color: var(--paper);
  /* Uneven tone: faint blotches and lighter patches that repeat every 1600px. The grain itself
     lives in the .grain layers so it can move at its own pace. */
  background-image:
    radial-gradient(circle at 14% 32%, var(--tone-shade), transparent 22%),
    radial-gradient(circle at 82% 68%, var(--tone-shade), transparent 26%),
    radial-gradient(circle at 58% 12%, var(--tone-light), transparent 30%);
  background-size: 100% 1600px, 100% 1600px, 100% 1600px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Newsprint grain: specks and paper grain behind the page, a finer grain over the ink. Each layer
   is fixed to the screen and slides by a fraction of the scroll (main.js), wrapping at its tile
   size, so the paper drifts gently behind the type. */
.grain {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: calc(100vh + 420px);
  height: calc(100lvh + 420px);
  pointer-events: none;
  will-change: transform;
}
.grain--specks { z-index: -1; background-image: var(--paper-specks); opacity: var(--specks-opacity); }
.grain--paper { z-index: -1; background-image: var(--paper-grain); opacity: var(--paper-grain-opacity); }
.grain--ink { z-index: 9; background-image: var(--ink-grain); opacity: var(--grain-opacity); }

/* Darker paper edges, like holding a sheet under a lamp */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, transparent 55%, var(--vignette) 100%);
}

/* Big blackletter words with small italic connectors, old broadsheet style */
.headline.headline--mixed {
  font-family: var(--font-masthead);
  font-weight: 400;
  font-size: clamp(40px, 4.2vw, 56px);
  line-height: 1.02;
}
.headline--mixed .hl-small {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.42em;
  vertical-align: 0.35em;
  letter-spacing: 0.02em;
}

a { color: var(--ink); }
a:hover { color: var(--accent); }

/* A whisper of ink bleed */
.headline,
.masthead__title,
.drift__line:not(.drift__line--outline) { text-shadow: 0 0 1px rgba(36, 29, 22, 0.35); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* hidden always wins over component display rules */
[hidden] { display: none !important; }
ul { list-style: none; margin: 0; padding: 0; }
p, h1, h2, h3, figure, blockquote { margin: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  z-index: 20;
}
.skip-link:focus { top: 12px; }

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

.masthead {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 0;
  text-align: center;
}

.masthead__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.ear {
  max-width: 170px;
  border: 1px solid var(--ink);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
}
.masthead__logo { justify-self: start; width: 112px; height: auto; }
.ear--right { justify-self: end; }
.ear__label {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  margin-bottom: 3px;
}
.ear__value { font-family: var(--font-serif); font-style: italic; font-size: 14px; }
.ear__small { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }


.masthead__title {
  font-family: var(--font-masthead);
  font-weight: 400;
  font-size: clamp(30px, 8.4vw, 92px);
  line-height: 1;
  white-space: nowrap;
  transform-origin: 50% 0;
  will-change: transform, opacity;
}

.masthead__motto {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
}

.folio {
  margin-top: 14px;
  padding: 6px 0;
  border-top: 4px double var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.masthead:has(+ .sections) .folio { border-bottom: 0; }

.edition-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -6px 0;
  padding: 6px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.edition-toggle:hover { color: var(--accent); }
.edition-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Section bar under the masthead, like a broadsheet's index. It sticks to the top while reading. */
.sections {
  position: sticky;
  top: 0;
  /* Under the page's grain and lamp-shade layers (8, 9), so it reads as printed paper, not a panel */
  z-index: 7;
}
/* No background in place. Once it sticks to the top (main.js adds .is-stuck) it takes the paper
   colour so the text scrolling underneath never shows through the links. */
.sections ul {
  max-width: 1192px;
  width: calc(100% - 48px);
  margin: 0 auto;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.sections ul::-webkit-scrollbar { display: none; }
.sections.is-stuck ul { background-color: var(--paper); }
.sections li + li { border-left: 1px solid var(--soft-rule); }
.sections a {
  display: block;
  padding: 11px 18px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.sections a:hover { color: var(--accent); }
.sections a[aria-current="true"] { box-shadow: inset 0 -3px 0 var(--accent); }
/* Jump targets clear the sticky bar */
#kroks, #riffbound, #dominoris, #dispatches, #classifieds, #subscribe { scroll-margin-top: 64px; }

@media (max-width: 760px) {
  .sections ul { width: 100%; justify-content: flex-start; padding: 0 8px; }
  .sections a { padding: 11px 12px; font-size: 12px; letter-spacing: 0.12em; }
}

.section-folio {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Type ---------- */

.kicker {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.headline {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
}

.headline--sm { font-size: 24px; line-height: 1.12; }

.byline-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  border-top: 1px solid var(--soft-rule);
  border-bottom: 1px solid var(--soft-rule);
  padding: 3px 0;
}

.dateline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story p:not(.story__date):not(.byline-line):not(.kicker),
.justify {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.text-link { font-family: var(--font-head); font-weight: 500; }

/* ---------- Stamps ---------- */

.stamp {
  background: var(--paper);
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 4px 12px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-6deg);
}

/* ---------- Buttons and forms ---------- */

.byline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
}

.buttons { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }

.btn {
  display: inline-block;
  border: 0;
  background: var(--ink);
  color: var(--card);
  text-decoration: none;
  padding: 11px 16px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}
.btn:hover { color: var(--on-accent); background: var(--accent-fill); }
.btn--accent { background: var(--accent-fill); color: var(--on-accent); font-size: 16px; }

.subscribe {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}
.subscribe label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.subscribe input {
  font: inherit;
  font-size: 16px;
  padding: 12px;
  border: 1px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  border-radius: 0;
}
.subscribe__status { font-family: var(--font-serif); font-style: italic; font-size: 14px; min-height: 1.4em; }

/* ---------- Release watch dialog ---------- */

.subscribe-dialog {
  width: calc(100% - 32px);
  max-width: 440px;
  padding: 0;
  border: 4px double var(--ink);
  background: var(--card);
  color: var(--ink);
}
.subscribe-dialog::backdrop { background: rgba(20, 18, 16, 0.55); }
.subscribe-dialog[open] { animation: cn-dialog-in 0.18s ease-out; }
.subscribe--dialog {
  position: relative;
  border-top: 0;
  padding: 26px 24px 22px;
  gap: 10px;
}
.subscribe-thanks {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 30px;
  outline: none;
}
.subscribe-dialog__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  padding-right: 32px;
}
.subscribe-dialog__lede { font-family: var(--font-serif); font-style: italic; font-size: 15px; margin-bottom: 4px; }
.subscribe-dialog__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.subscribe-dialog__close:hover { color: var(--accent); }
.subscribe-dialog__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
body:has(.subscribe-dialog[open]) { overflow: hidden; }

@keyframes cn-dialog-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .subscribe-dialog[open] { animation: none; }
}

/* ---------- Dispatches ---------- */

.story {
  padding: 28px 24px;
  border-right: 1px solid var(--soft-rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.story:last-child { border-right: 0; }
.story p:not(.story__date):not(.kicker) { font-size: 15px; }
.story__date {
  margin-top: auto;
  text-align: right;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dispatches {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px 36px;
}
.dispatches .section-folio { border-top: 3px double var(--ink); padding-top: 6px; margin-bottom: 0; }
.dispatches__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: 32px;
}
.dispatches__stories {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  border-right: 1px solid var(--ink);
}
.dispatches .subscribe { border-top: 0; padding-top: 22px; }

@media (max-width: 1000px) {
  .dispatches__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dispatches__stories { border-right: 0; border-bottom: 1px solid var(--ink); }
}

@media (max-width: 760px) {
  .dispatches { padding: 8px 16px 28px; }
  .dispatches__stories { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Drift bands (horizontal parallax) ---------- */

.drift {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  padding: 18px 0;
  margin-top: 8px;
}
.drift__line {
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transform: translate3d(-25%, 0, 0);
  will-change: transform;
}
.drift__line--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

/* ---------- Classifieds ---------- */

.classifieds {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 24px;
}
.classifieds h2 {
  text-align: center;
  font-family: var(--font-head);
  font-size: 26px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.classifieds__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  font-size: 14px;
}
.classifieds__grid p { border: 1px solid var(--ink); padding: 14px; }
.classifieds__grid strong { font-family: var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; }

.site-footer {
  border-top: 1px solid var(--ink);
  padding: 16px 24px;
  text-align: center;
  font-size: 13px;
}

/* ---------- Ticker ---------- */

.ticker {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  background: var(--bar-bg);
  color: var(--bar-fg);
  overflow: hidden;
  font-size: 15px;
}
.ticker__window {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: cn-ticker 75s linear infinite;
}
/* Readers can stop it: hover, keyboard focus, a press, or the Pause button */
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track,
.ticker:active .ticker__track,
.ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__pause {
  flex: none;
  align-self: stretch;
  min-width: 76px;
  border: 0;
  border-left: 1px solid color-mix(in srgb, var(--bar-fg) 35%, transparent);
  background: var(--bar-bg);
  color: var(--bar-fg);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.ticker__pause:hover { background: var(--accent-fill); color: var(--on-accent); }
.ticker__group { display: flex; }
.ticker__group li {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  white-space: nowrap;
}
.ticker__group li::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bar-fg);
}

@keyframes cn-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- A1: the lead story and the cells ---------- */

.news {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.news { padding-top: 8px; }
.news .section-folio { margin-bottom: 0; }
.news__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.news__head .kicker strong { font-weight: 500; }
.news__title {
  max-width: 760px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.02;
}
.news__logo { width: clamp(180px, 24vw, 300px); height: auto; }

.lineup { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lineup figcaption { font-family: var(--font-serif); font-style: italic; font-size: 13px; }
.lineup__frame {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--card);
  padding: 26px 40px 30px;
}
.lineup__stamp {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  font-size: clamp(14px, 1.8vw, 22px);
  border-style: double;
  border-width: 3px;
  transform: rotate(6deg);
  pointer-events: none;
}

/* The stage: a height chart with three suspects. Each frame of an animal is the same size and
   registration, so swapping frames never shifts the art. */
.cast { position: relative; }
.cast--lineup { aspect-ratio: 3 / 1.08; }
/* Mugshot height chart: a thick line with a height on each side, a thin line between */
.chart {
  position: absolute;
  inset: 3% 0 9% 0;
  display: grid;
  grid-template-rows: repeat(7, minmax(0, 1fr)) 0;
}
.chart__row {
  display: grid;
  grid-template-columns: 3.6em minmax(0, 1fr) 3.6em;
  column-gap: 8px;
  align-items: start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(8px, 1.1vw, 14px);
  line-height: 1;
}
.chart__row > span:not(.chart__rule) { transform: translateY(-50%); }
.chart__row > span:first-child { text-align: right; }
.chart__rule {
  height: 100%;
  border-top: 2px solid var(--ink);
  background: linear-gradient(to bottom,
    transparent calc(50% - 0.5px), color-mix(in srgb, var(--ink) 55%, transparent) calc(50% - 0.5px),
    color-mix(in srgb, var(--ink) 55%, transparent) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}
.cast__animal {
  position: absolute;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cast--lineup .cast__animal { top: 15%; width: 26%; }
.cast--lineup .cast__animal--blu { left: 5%; }
.cast--lineup .cast__animal--honey { left: 37%; }
.cast--lineup .cast__animal--lulu { left: 69%; }
.cast__animal:focus-visible { outline: 2px dashed var(--ink); outline-offset: -4%; }
.cast__body { position: absolute; inset: 0; display: block; will-change: transform; }
.cast__body img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: drop-shadow(0 8px 9px rgba(35, 33, 30, 0.22));
  pointer-events: none;
  user-select: none;
}
/* Before the script runs the idle frame shows; afterwards the script marks the frame to show */
.cast__body:not([data-face]) img[data-face="idle"],
.cast__body img.is-face { opacity: 1; }
/* A suspect's alibi, in a speech bubble above their head. All three can talk at once: bubbles are
   sized to fit side by side, and Blu's and Lulu's lean inward so they never leave the frame. */
.cast__say {
  position: absolute;
  bottom: 88%;
  left: 50%;
  z-index: 5;
  width: max-content;
  max-width: min(250px, 22vw);
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(11px, 1.15vw, 15px);
  line-height: 1.3;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 6px) scale(0.92);
  transform-origin: 50% 100%;
  transition: opacity 0.16s ease, transform 0.2s ease;
  pointer-events: none;
}
.cast__say::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--card);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translate(-50%, -6px) rotate(45deg);
}
.cast__say.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.cast__animal--blu .cast__say { left: 4%; transform: translate(0, 6px) scale(0.92); transform-origin: 25% 100%; }
.cast__animal--blu .cast__say::after { left: 30%; }
.cast__animal--lulu .cast__say { left: auto; right: 4%; transform: translate(0, 6px) scale(0.92); transform-origin: 75% 100%; }
.cast__animal--lulu .cast__say::after { left: 70%; }
.cast__animal--blu .cast__say.is-on,
.cast__animal--lulu .cast__say.is-on { transform: none; }
/* Phones: every bubble sits centred over its own animal, narrow enough not to touch the next */
@media (max-width: 760px) {
  .cast__say,
  .cast__animal--blu .cast__say,
  .cast__animal--lulu .cast__say {
    left: 50%;
    right: auto;
    max-width: 23vw;
    padding: 6px 7px;
    border-radius: 10px;
    transform: translate(-50%, 6px) scale(0.92);
    transform-origin: 50% 100%;
  }
  .cast__animal--blu .cast__say::after,
  .cast__animal--lulu .cast__say::after { left: 50%; }
  .cast__say.is-on,
  .cast__animal--blu .cast__say.is-on,
  .cast__animal--lulu .cast__say.is-on { transform: translate(-50%, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .cast__say { transition: none; }
}

.cast__placard {
  position: absolute;
  left: 50%;
  top: 94%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--ink);
  color: var(--card);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(9px, 1.1vw, 13px);
  letter-spacing: 0.14em;
  padding: 4px 10px;
}

.cell { position: relative; }
.cell__stamp { z-index: 3; }

.news__story {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 36px;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}
.news__text {
  column-count: 2;
  column-gap: 28px;
  column-rule: 1px solid var(--soft-rule);
  text-align: justify;
  hyphens: auto;
}
.news__text p { margin-bottom: 10px; }
.where {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-left: 1px solid var(--ink);
  padding-left: 24px;
}
.where__label { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; }
.release-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 10px;
  background: var(--accent-fill);
  color: var(--on-accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.release-tag--sm { padding: 2px 8px; font-size: 10px; align-self: center; }

/* Store links: placeholders until launch, then the official badges. They never move. */
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  min-height: 48px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--store-border);
  background: var(--store-bg);
  color: var(--store-fg);
  text-decoration: none;
  line-height: 1.15;
}
.store:hover { color: var(--store-fg); background: var(--store-hover); }
.store__icon { flex: none; width: 24px; height: 24px; fill: currentColor; }
.store__text { display: flex; flex-direction: column; gap: 1px; }
/* Stacked store buttons share the width of the wider one */
.where .buttons { display: grid; grid-template-columns: max-content; }
.store small { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.store strong { font-family: var(--font-head); font-weight: 700; font-size: 18px; }

.news__more {
  border-top: 3px double var(--ink);
  padding-top: 18px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
}
.more-games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.more-game { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; }
.more-game__icon {
  position: relative;
  align-self: start;
  border: 1px solid var(--ink);
  padding: 5px;
  background: var(--card);
}
.more-game__icon img { display: block; width: 100%; height: auto; }
.more-game__icon .stamp {
  position: absolute;
  bottom: 10px;
  right: -10px;
  font-size: 13px;
}
.more-game__text { display: flex; flex-direction: column; gap: 8px; }
.more-game__genre { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; }

@media (max-width: 1000px) {
  .news__story { grid-template-columns: minmax(0, 1fr); }
  .where { border-left: 0; padding-left: 0; border-top: 1px solid var(--soft-rule); padding-top: 14px; }
  .more-games { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 760px) {
  .news { padding: 28px 16px; }
  .news__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .news__logo { align-self: center; }
  .lineup__frame { padding: 16px 12px 22px; }
  .lineup__stamp { top: -14px; right: 8px; font-size: 13px; }
  .cast--lineup { aspect-ratio: 3 / 1.5; }
  .cast--lineup .cast__animal { top: 32%; width: 28%; }
  .cast--lineup .cast__animal--blu { left: 8.5%; }
  .cast--lineup .cast__animal--honey { left: 36%; }
  .cast--lineup .cast__animal--lulu { left: 63.5%; }
  .chart__row { column-gap: 4px; grid-template-columns: 3.2em minmax(0, 1fr) 3.2em; }
  .news__text { column-count: 1; }
  .more-game { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
}

/* ---------- Scroll reveal (only when JS runs) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .classifieds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .story { border-right: 0; border-bottom: 1px solid var(--soft-rule); padding: 24px 0; }
  .classifieds { padding: 32px 16px; }
  .classifieds__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Newspaper furniture ---------- */

.story { padding: 22px 20px; gap: 8px; }
.story .byline-line { border: 0; padding: 0; }

/* Vintage advertisement */
.classifieds__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ad {
  grid-column: span 2;
  grid-row: span 2;
  border: 4px double var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: -10px;
  padding: 22px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: var(--card);
}
.ad p { border: 0; padding: 0; }
.ad__eyebrow { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; }
.ad__head {
  font-family: var(--font-masthead);
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.05;
}
.ad__ornament { font-size: 22px; line-height: 1; color: var(--accent); }
.ad__body { font-family: var(--font-serif); font-size: 17px; line-height: 1.5; }
.ad__foot { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.ad__fine { font-size: 10px; font-style: italic; }

@media (max-width: 1000px) {
  .masthead__top { grid-template-columns: minmax(0, 1fr); }
  .masthead__logo { justify-self: center; width: 76px; }
  .ear { display: none; }
}

@media (max-width: 1100px) {
  .classifieds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .masthead__title { white-space: normal; }
  .folio { flex-direction: column; align-items: center; gap: 2px; }
  .folio > span:last-child { display: none; }

  .classifieds__grid { grid-template-columns: minmax(0, 1fr); }
  .ad { grid-column: auto; grid-row: auto; }
  .story { padding: 22px 0; }
}

.subscribe__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}

/* ---------- Privacy and other notices ---------- */

.policy-page { padding-bottom: 0; }

.masthead--compact { padding-top: 24px; }
.masthead__home {
  display: block;
  font-family: var(--font-masthead);
  font-size: clamp(32px, 6vw, 60px);
  line-height: 1;
  text-decoration: none;
}

.policy {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 16px;
  line-height: 1.65;
}
.policy .headline--mixed { font-size: clamp(38px, 6vw, 60px); }
.policy__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 14px 0;
}
.policy section { display: flex; flex-direction: column; gap: 10px; }
.policy h2 {
  font-family: var(--font-head);
  font-size: 22px;
  margin-top: 10px;
}
.policy h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  margin: 0;
}
.policy ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.policy__version { font-family: var(--font-serif); font-style: italic; font-size: 13px; }

.subscribe__note { font-size: 12px; line-height: 1.5; }
.site-footer a { margin-left: 12px; }

@media (prefers-reduced-motion: reduce) {
  .ticker__pause { display: none; }
}
