/* Vartmaan AI · the edition stylesheet (shared by all five pages)
   Built from the reviewed newspaper home page. Colour rule 45 / 45 / 10:
   newsprint paper and ink in alternating bands; breaking red only for tags,
   the primary button, live dots and the scroll-progress bar. */

:root {
  /* base */
  --paper: #F4F0E6;
  --ink: #141310;
  --red: #D7141A;
  --on-red: var(--paper);     /* paper on red measures 4.61:1, passes AA */

  /* tints of paper */
  --paper-2: #E9E3D5;          /* table stripes, plate mats */
  --paper-rule: #CBC4B3;       /* hairlines on paper */
  --paper-muted: #5C574D;      /* secondary text on paper, 6.3:1 */

  /* tints of ink */
  --ink-2: #1F1D19;            /* raised surfaces on ink */
  --ink-rule: #3A372F;         /* hairlines on ink */
  --ink-muted: #A9A396;        /* secondary text on ink, 7.4:1 */

  /* type */
  --f-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --f-hi: "Anek Devanagari", "Nirmala UI", sans-serif;

  --gutter: 16px;
  --max: 1320px;
  --nav-h: 52px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* newsprint: a faint grain and fibre, drawn inline (no downloads) */
  --tex-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .075 0 0 0 0 .06 .13 0 0 0 -.045'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .22' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .075 0 0 0 0 .06 .06 0 0 0 -.028'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  --tex-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .96 0 0 0 0 .94 0 0 0 0 .9 .12 0 0 0 -.04'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
:root { --tex-wordy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='260'%3E%3Cg fill='%23141310' fill-opacity='.045' font-family='Georgia,serif' font-size='13'%3E%3Ctext x='12' y='28'%3EASSIGNMENT DESK  /  REPORTER FILE  /  FOOTAGE MATCH%3C/text%3E%3Ctext x='-40' y='82'%3Ewhat arrived  what matched  what can move  —  VARTMAAN AI%3C/text%3E%3Ctext x='30' y='136'%3EJAIPUR  /  EDITION 01  /  READ-ONLY BY DESIGN%3C/text%3E%3Ctext x='-12' y='190'%3Ethe desk edits and approves  /  people make every call%3C/text%3E%3Ctext x='44' y='244'%3EONE STORY  /  ONE DESK  /  NEXT DECISION%3C/text%3E%3C/g%3E%3C/svg%3E"); }
@media (min-width: 1280px) { :root { --gutter: 48px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background-color: var(--paper); background-image: var(--tex-wordy), var(--tex-paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--f-sans);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
[lang="hi"] { font-family: var(--f-hi); line-height: 1.5; }
.mono { font-family: var(--f-mono); font-feature-settings: "zero" 0; }
.nowrap { white-space: nowrap; }
.slugtype { overflow-wrap: anywhere; font-size: .86em; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.paper { background-color: var(--paper); background-image: var(--tex-wordy), var(--tex-paper); color: var(--ink); }
.ink { background-color: var(--ink); background-image: var(--tex-ink); color: var(--paper); }

.skip {
  position: fixed; left: var(--gutter); top: 8px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip:focus-visible { transform: none; outline-color: var(--red); }

/* red element: scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* red element: live dot */
.live-dot {
  display: inline-block; width: .5em; height: .5em; min-width: 7px; min-height: 7px;
  border-radius: 50%; background: var(--red); margin-right: .5em; vertical-align: .08em;
}
@media (prefers-reduced-motion: no-preference) {
  .live-dot { animation: live 2.4s steps(1, end) 3; }
  @keyframes live { 0%, 70% { opacity: 1; } 71%, 100% { opacity: .25; } }
}

/* red element: BREAKING tag */
.tag {
  display: inline-block; flex: none;
  padding: 3px 7px 2px; margin-right: 10px;
  background: var(--red); color: var(--on-red);
  font: 700 .75rem/1.3 var(--f-mono); letter-spacing: .04em;
}
.tag--plain { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  font: 600 1rem/1.1 var(--f-sans); text-decoration: none;
  border: 2px solid var(--ink);
  transition: background-color .15s, color .15s;
}
.btn--red { background: var(--red); border-color: var(--red); color: var(--on-red); }
.btn--red:hover { background: var(--ink); border-color: var(--ink); }
.btn--red:focus-visible { outline-color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.ink .btn--line { border-color: var(--paper); color: var(--paper); }
.ink .btn--line:hover { background: var(--paper); color: var(--ink); }
.ink .btn--red:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.ink .btn--red:focus-visible { outline-color: var(--paper); }

/* ---------- headings shared ---------- */
.kicker {
  font: 600 .875rem/1.3 var(--f-sans);
  letter-spacing: .01em;
  padding-top: 10px;
  border-top: 1px solid currentColor;
  display: inline-block;
  margin-bottom: 18px;
}
.rulehead {
  font: 700 1.1875rem/1.2 var(--f-serif);
  font-variation-settings: "opsz" 36;
  padding: 10px 0 8px;
  border-top: 4px solid currentColor;
  border-bottom: 1px solid currentColor;
  margin-bottom: 28px;
}

/* =========================================================
   1. MASTHEAD
   ========================================================= */
.masthead { padding-top: 14px; }
.dateline {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  font-size: .75rem; letter-spacing: .04em;
  padding-bottom: 10px; border-bottom: 1px solid var(--ink);
}
.nameplate {
  display: grid; grid-template-columns: 1fr; align-items: center;
  padding: 14px 0 12px;
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 4px 0 -3px var(--ink), 0 5px 0 -3px var(--paper);
}
.nameplate__title { text-align: center; }
.nameplate__name {
  display: block;
  font-family: var(--f-serif);
  font-weight: 700;
  font-variation-settings: "opsz" 72;
  font-size: clamp(2.25rem, 11vw, 5rem);
  line-height: .86;
  white-space: nowrap;
  letter-spacing: -.035em;
  padding-bottom: .04em;
  text-decoration: none;
}
.nameplate__hi {
  display: block; margin-top: 8px;
  font: 500 clamp(.875rem, 1.6vw, 1.0625rem)/1.2 var(--f-hi);
  letter-spacing: .02em;
}
.nameplate__hi span { font-family: var(--f-sans); font-weight: 500; }
.ear {
  display: none;
  font: 500 .8125rem/1.35 var(--f-sans);
  max-width: 17ch;
  padding: 10px 12px;
  border: 1px solid var(--ink);
}
.ear--r { justify-self: end; text-align: left; }
@media (min-width: 900px) {
  .nameplate { grid-template-columns: 1fr auto 1fr; gap: 24px; padding: 16px 0 14px; }
  .nameplate__name { font-size: clamp(4.25rem, 7.2vw, 7.25rem); }
  .ear { display: block; }
}
/* inside pages: a smaller nameplate, like the inside of a paper */
.masthead--inside .nameplate { padding: 10px 0; }
.masthead--inside .nameplate__name { font-size: clamp(1.875rem, 8.5vw, 3.5rem); }
.masthead--inside .nameplate__hi { margin-top: 2px; font-size: .875rem; }
@media (min-width: 900px) {
  .masthead--inside .nameplate { padding: 12px 0 10px; }
  .masthead--inside .nameplate__name { font-size: clamp(2.75rem, 3.8vw, 3.5rem); }
}

.sectionnav {
  position: sticky; top: 0; z-index: 100;
  background-color: var(--paper); background-image: var(--tex-paper);
  border-bottom: 1px solid var(--ink);
}
.sectionnav__inner { display: flex; align-items: center; gap: 16px; height: var(--nav-h); }
.sectionnav__brand { display: inline-flex; align-items: center; flex: none; width: 30px; height: 44px; }
.sectionnav__brand svg { width: 30px; height: 30px; }
.sectionnav__links {
  display: flex; gap: 4px; margin-left: auto;
  overflow-x: auto; scrollbar-width: none;
}
.sectionnav__links::-webkit-scrollbar { display: none; }
.sectionnav__links a {
  position: relative;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px;
  font: 600 .875rem/1 var(--f-sans); white-space: nowrap; text-decoration: none;
}
.sectionnav__links a:hover { text-decoration: underline; }
.sectionnav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 3px; background: var(--ink);
}
.sectionnav__links a:focus-visible { outline-offset: -3px; }
.nav-long { display: none; }
@media (max-width: 559px) {
  .sectionnav__brand { display: none; }
  .sectionnav__links { gap: 0; margin-left: 0; width: 100%; justify-content: space-between; }
  .sectionnav__links a { padding: 0 4px; }
  .sectionnav__links a[aria-current="page"]::after { left: 4px; right: 4px; }
  .sectionnav__links li:first-child a { padding-left: 0; }
  .sectionnav__links li:first-child a[aria-current="page"]::after { left: 0; }
  .sectionnav__links li:last-child a { padding-right: 0; }
  .sectionnav__links li:last-child a[aria-current="page"]::after { right: 0; }
}
@media (min-width: 560px) { .nav-long { display: inline; } }
@media (min-width: 768px) { .sectionnav__links { gap: 12px; } .sectionnav__links a { font-size: .9375rem; } }

/* =========================================================
   2. TICKER
   ========================================================= */
.ticker { position: relative; display: flex; align-items: stretch; border-bottom: 1px solid var(--ink-rule); }
.ticker__track { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ticker__track::-webkit-scrollbar { display: none; }
.ticker__list, .ticker__clone { display: flex; flex: none; }
.ticker__track.is-running { overflow: hidden; }
.ticker__track.is-running .ticker__roll { display: flex; width: max-content; animation: crawl var(--crawl, 60s) linear infinite; }
.ticker__track.is-paused .ticker__roll { animation-play-state: paused; }
.ticker__list li, .ticker__clone li {
  display: flex; align-items: center; white-space: nowrap;
  padding: 12px 28px 12px 28px; margin-left: 0;
  font-size: .9375rem;
  border-left: 1px solid var(--ink-rule);
}
.ticker__list li:first-child { border-left: 0; padding-left: var(--gutter); }
.ticker__track.is-running .ticker__list li:first-child { border-left: 1px solid var(--ink-rule); padding-left: 28px; }
.ticker__track:focus-visible { outline-offset: -4px; }
.ticker__list .mono { font-size: .8125rem; margin-right: .4em; }
.ticker__toggle {
  flex: none; min-width: 72px; min-height: 44px; padding: 0 14px;
  background: var(--ink); color: var(--paper);
  border: 0; border-left: 1px solid var(--ink-rule);
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; cursor: pointer;
}
.ticker__toggle:hover { background: var(--ink-2); }
.ticker__toggle:focus-visible { outline-offset: -4px; }
.ticker__toggle[hidden] { display: none; }
@keyframes crawl { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   3. LEAD
   ========================================================= */
.lead { padding: 28px 0 40px; }
.lead__grid { display: grid; gap: 36px; }
.lead__title {
  font-family: var(--f-serif);
  font-weight: 600;
  font-variation-settings: "opsz" 72;
  font-size: clamp(1.75rem, 5vw, 3.125rem);
  line-height: 1.01;
  letter-spacing: -.022em;
  text-wrap: balance;
  max-width: 18ch;
}
.byline { font-size: .75rem; letter-spacing: .04em; margin: 16px 0 14px; color: var(--paper-muted); text-transform: uppercase; }
.deck {
  font: 400 1.125rem/1.5 var(--f-serif);
  font-variation-settings: "opsz" 20;
  max-width: 36em;
}
.lead__body { margin-top: 14px; max-width: 38em; color: var(--paper-muted); }
.lead__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

figcaption {
  margin-top: 10px; padding-top: 8px;
  border-top: 1px solid var(--paper-rule);
  font-size: .8125rem; line-height: 1.5; color: var(--paper-muted);
  max-width: 62ch;
}
.ink figcaption { border-top-color: var(--ink-rule); color: var(--ink-muted); }
.credit {
  display: block; margin-bottom: 4px;
  font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink);
}
.ink .credit { color: var(--paper); }
@media (min-width: 1024px) {
  .lead { padding: 40px 0 52px; }
  .lead__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; }
  .lead__copy { padding-right: 40px; }
  .lead__photo { padding-left: 40px; border-left: 1px solid var(--ink); align-self: start; padding-top: 6px; }
}

/* =========================================================
   4. FRONT-PAGE GRID OF TEASERS
   ========================================================= */
.front { padding: 0 0 52px; }
.frontgrid { display: grid; gap: 0; }
.teaser { padding: 20px 0; border-top: 1px solid var(--ink); }
.teaser:first-child { border-top: 0; padding-top: 0; }
.teaser__img { margin-bottom: 12px; }
.teaser__section { display: block; font: 600 .8125rem/1.3 var(--f-sans); margin-bottom: 8px; }
.teaser__title {
  font-family: var(--f-serif); font-weight: 600; font-variation-settings: "opsz" 48;
  font-size: clamp(1.1875rem, 1.9vw, 1.4375rem); line-height: 1.12; letter-spacing: -.01em;
  text-wrap: balance;
}
.teaser__title a { text-decoration: none; }
.teaser__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.teaser--big .teaser__title { font-size: clamp(1.4375rem, 2.6vw, 2rem); line-height: 1.08; }
.teaser--opinion .teaser__title { font-style: italic; }
.teaser__deck { margin-top: 8px; font: 400 1rem/1.55 var(--f-serif); font-variation-settings: "opsz" 16; max-width: 40em; }
.teaser--big .teaser__deck { font-size: 1.0625rem; }
.teaser__hi { margin-top: 10px; font-size: 1.0625rem; }
.more {
  display: inline-flex; align-items: center; gap: .35em; min-height: 44px; margin-top: 8px;
  font: 700 1rem/1.2 var(--f-sans); text-decoration: underline; text-decoration-thickness: 2px;
}
.more:hover { text-decoration-thickness: 3px; }
@media (min-width: 760px) {
  .frontgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teaser { padding: 24px 0; }
  .teaser--big { grid-column: 1 / -1; padding-top: 0; }
  .teaser:nth-child(2) { border-top: 1px solid var(--ink); padding-right: 24px; }
  .teaser:nth-child(3) { padding-left: 24px; border-left: 1px solid var(--ink); }
  .teaser:nth-child(4) { padding-right: 24px; }
  .teaser:nth-child(5) { padding-left: 24px; border-left: 1px solid var(--ink); }
}
@media (min-width: 1100px) {
  .frontgrid { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); grid-template-rows: auto auto; }
  .teaser { border-top: 0; padding: 0 28px; }
  .teaser--big { grid-column: 1; grid-row: 1 / span 2; padding-left: 0; padding-top: 0; }
  .teaser:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; border-left: 1px solid var(--ink); border-top: 0; padding-right: 28px; }
  .teaser:nth-child(3) { grid-column: 3; grid-row: 1; padding-right: 0; padding-bottom: 24px; }
  .teaser:nth-child(4) { grid-column: 3; grid-row: 2; padding: 24px 0 0 28px; border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); }
  .teaser:nth-child(5) { grid-column: 1 / -1; grid-row: 3; padding: 24px 0 0; margin-top: 32px; border-left: 0; border-top: 3px solid var(--ink); }
}
.teaser--strip { display: grid; gap: 8px 32px; }
@media (min-width: 900px) { .teaser--strip { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: baseline; } }

/* =========================================================
   5. FILM (scroll-scrubbed)
   Default is the static still-frame version. .film.is-scrub (set by JS) turns on the scrubber.
   ========================================================= */
.film { padding: 64px 0 72px; }
.film__head { margin-bottom: 28px; padding-left: 16px; border-left: 3px solid var(--red); }
.film__slug { font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px; }
.film__title {
  font-family: var(--f-serif); font-weight: 600; font-variation-settings: "opsz" 60;
  font-size: clamp(1.4375rem, 2.8vw, 2.125rem); line-height: 1.08; letter-spacing: -.012em;
  max-width: 24ch; text-wrap: balance;
}
.screen { position: relative; display: none; background: var(--ink); outline: 1px solid var(--ink-rule); outline-offset: 8px; box-shadow: 18px 18px 0 rgba(0,0,0,.14); }
.screen { background-size: cover; background-position: center; }
.screen__canvas { width: 100%; height: 100%; }
.screen__bug, .screen__tc {
  position: absolute; top: 10px; padding: 3px 7px;
  font-size: .75rem; letter-spacing: .05em; color: var(--paper);
  background: rgba(20, 19, 16, .72);
}
.screen__bug { left: 10px; font-weight: 700; }
.screen__tc { right: 10px; font-variant-numeric: tabular-nums; }

/* wire log, static version: a grid of still frames */
.wirelog { display: grid; gap: 28px; }
.wirelog__still { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink); margin-bottom: 12px; outline: 1px solid var(--ink-rule); }
.wirelog__time { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.wirelog__time time { color: var(--ink-muted); font-weight: 500; }
.wirelog__text { margin-top: 6px; color: var(--ink-muted); font-size: .9375rem; line-height: 1.5; max-width: 46ch; }
.wirelog__text .mono { color: var(--paper); }
@media (min-width: 700px) { .wirelog { grid-template-columns: 1fr 1fr; gap: 36px 28px; } }
@media (min-width: 1100px) { .wirelog { grid-template-columns: repeat(3, 1fr); } }

.rail { display: none; }

/* ---- scrub mode ---- */
.film.is-scrub { padding: 0; height: var(--film-h, 460vh); }
.film.is-scrub .film__stage {
  position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  display: flex; align-items: center; overflow: hidden;
}
.film.is-scrub .film__grid {
  display: grid; gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "screen" "log" "rail";
  align-content: center;
}
.film.is-scrub .film__head { grid-area: head; margin: 0; }
.film.is-scrub .film__title { font-size: clamp(1.1875rem, 4.6vw, 1.75rem); }
.film.is-scrub .screen {
  grid-area: screen; display: block;
   width: min(100%, calc((100svh - var(--nav-h) - 230px) * 16 / 9));
  aspect-ratio: 16 / 9;
}
.film.is-scrub .wirelog__still { display: none; }

/* mobile: one caption at a time, stacked in the same cell */
.film.is-scrub .wirelog { grid-area: log; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); min-height: 7.5em; }
.film.is-scrub .wirelog__item {
  grid-area: 1 / 1; opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
  border-left: 3px solid var(--paper); padding-left: 12px;
}
.film.is-scrub .wirelog__item.is-active { opacity: 1; pointer-events: auto; }
.film.is-scrub .wirelog__text { color: var(--paper); }

.film.is-scrub .rail { grid-area: rail; display: block; }
.rail__line { position: relative; height: 2px; background: var(--ink-rule); }
.rail__fill { position: absolute; inset: 0; background: var(--paper); transform-origin: 0 50%; transform: scaleX(0); }
.rail__steps { display: flex; }
.rail__steps li { flex: 1; min-width: 0; }
.rail__steps button {
  position: relative; width: 100%; min-height: 44px; padding: 12px 2px 4px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .02em; color: var(--ink-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rail__steps button::before {
  content: ""; position: absolute; left: 0; top: -5px; width: 2px; height: 12px; background: var(--ink-muted);
}
.rail__steps button.is-done::before, .rail__steps button.is-active::before { background: var(--paper); }
.rail__steps button.is-active { color: var(--paper); font-weight: 700; }
.rail__steps button:hover { color: var(--paper); }
.rail__steps button:focus-visible { outline-offset: -2px; }
.rail__n { display: none; }
@media (max-width: 599px) {
  .rail__n { display: inline; font-weight: 700; }
  .rail__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* desktop: canvas left, the whole wire log right */
@media (min-width: 1000px) {
  .film.is-scrub .film__grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    grid-template-areas: "head head" "screen log" "rail log";
    column-gap: 40px; row-gap: 18px;
    align-items: start;
  }
  .film.is-scrub .screen { width: min(100%, calc((100svh - var(--nav-h) - 190px) * 16 / 9)); }
  .film.is-scrub .wirelog {
    display: block; min-height: 0; align-self: stretch;
    border-top: 1px solid var(--ink-rule);
  }
  .film.is-scrub .wirelog__item {
    opacity: 1; pointer-events: auto;
    padding: 10px 0 10px 14px;
    border-left: 3px solid transparent; border-bottom: 1px solid var(--ink-rule);
    display: grid; grid-template-rows: auto 0fr;
    transition: grid-template-rows .35s var(--ease), border-color .2s;
  }
  .film.is-scrub .wirelog__item .wirelog__time { color: var(--ink-muted); }
  .film.is-scrub .wirelog__item .wirelog__text { overflow: hidden; margin-top: 0; font-size: .9375rem; }
   .film.is-scrub .wirelog__item.is-active { grid-template-rows: auto 1fr; border-left-color: var(--red); }
   .film.is-scrub .wirelog__item.is-active .wirelog__time { color: var(--red); }
  .film.is-scrub .wirelog__item.is-active .wirelog__text { padding-top: 6px; }
}
@media (min-width: 1000px) and (max-height: 760px) {
  .film.is-scrub .film__title { font-size: 1.5rem; }
  .film.is-scrub .screen { width: min(100%, calc((100svh - var(--nav-h) - 160px) * 16 / 9)); }
}

/* =========================================================
   6. BY THE NUMBERS
   ========================================================= */
.numbers { padding: 52px 0 60px; }
.numbers .rulehead { margin-bottom: 10px; }
.numbers__note { color: var(--paper-muted); font-size: .9375rem; margin-bottom: 32px; }
.numbers__grid { display: grid; gap: 40px; }
.board { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.board caption {
  text-align: left; padding: 8px 0 10px;
  font: 700 1.125rem/1.2 var(--f-serif); font-variation-settings: "opsz" 36;
  border-bottom: 3px solid var(--ink);
}
.board th, .board td { padding: 9px 10px 9px 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--paper-rule); }
.board thead th {
  font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .05em; text-transform: uppercase;
  color: var(--paper-muted); border-bottom: 1px solid var(--ink);
}
.board tbody th { font: 700 .75rem/1.3 var(--f-mono); white-space: nowrap; letter-spacing: .02em; }
.board td { font-size: .875rem; line-height: 1.45; }
.board td.num, .board th.num { text-align: right; padding-right: 18px; }
.board td.num { font: 700 .9375rem/1.2 var(--f-mono); white-space: nowrap; }
.board tbody tr:nth-child(even) { background: var(--paper-2); }
@media (max-width: 479px) {
  .board td.num { font-size: .875rem; padding-right: 10px; white-space: normal; }
  .board td { font-size: .8125rem; }
}
@media (min-width: 1000px) {
  .numbers__grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .numbers__grid > .board:first-child { margin-right: 40px; width: calc(100% - 40px); }
  .numbers__grid > .board + .board { border-left: 1px solid var(--ink); }
  .numbers__grid > .board + .board caption,
  .numbers__grid > .board + .board th:first-child,
  .numbers__grid > .board + .board td:first-child { padding-left: 40px; }
}

/* =========================================================
   7. INSIDE PAGES: SECTION FRONT (ink band under the nav)
   ========================================================= */
.pagehead { padding: 30px 0 34px; }
.folio {
  display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between;
  font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted);
  padding-bottom: 10px; border-bottom: 1px solid var(--ink-rule); margin-bottom: 20px;
}
.pagehead__title {
  font-family: var(--f-serif); font-weight: 600; font-variation-settings: "opsz" 72;
  font-size: clamp(1.625rem, 4.4vw, 3rem); line-height: 1.04; letter-spacing: -.025em;
  text-wrap: balance; max-width: 16ch;
}
.pagehead__deck {
  margin-top: 14px; max-width: 34em;
  font: 400 clamp(1.0625rem, 1.5vw, 1.1875rem)/1.5 var(--f-serif); font-variation-settings: "opsz" 20;
  color: var(--paper);
}
.pagehead__note { margin-top: 12px; max-width: 40em; font: italic 400 .9375rem/1.5 var(--f-serif); color: var(--ink-muted); }
.contents { margin-top: 24px; border-top: 3px solid var(--paper); }
.contents__head { font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); padding: 10px 0 4px; }
.contents ol { display: grid; }
.contents li { border-bottom: 1px solid var(--ink-rule); }
.contents a {
  display: flex; gap: 14px; align-items: baseline; min-height: 44px; padding: 10px 0;
  text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.contents a:hover span:last-child { text-decoration: underline; }
.contents a .mono { flex: none; min-width: 2.2em; font-size: .8125rem; color: var(--ink-muted); font-weight: 500; }
@media (min-width: 700px) {
  .contents ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 1100px) {
  .pagehead { padding: 40px 0 44px; }
  .pagehead__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
  .contents { margin-top: 0; }
  .contents ol { grid-template-columns: 1fr; }
}

/* =========================================================
   8. THE DESK: long-form steps with news photos
   ========================================================= */
.step { padding: 40px 0 48px; }
.step__grid { display: grid; gap: 32px; }
.step__no { display: block; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px; }
.paper .step__no { color: var(--paper-muted); }
.ink .step__no { color: var(--ink-muted); }
.step__title {
  font-family: var(--f-serif); font-weight: 600; font-variation-settings: "opsz" 60;
  font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.06; letter-spacing: -.015em;
  text-wrap: balance; max-width: 18ch;
  padding-top: 14px; border-top: 4px solid currentColor;
}
.step__deck { margin-top: 12px; font: 400 1.0625rem/1.5 var(--f-serif); font-variation-settings: "opsz" 20; max-width: 32em; }
.paper .step__deck { color: var(--paper-muted); }
.ink .step__deck { color: var(--ink-muted); }
.prose { margin-top: 18px; font: 400 1rem/1.7 var(--f-serif); font-variation-settings: "opsz" 14; max-width: 36em; hyphens: auto; }
.prose p + p { margin-top: .9em; }
.prose .mono { font-size: .8em; }
.prose--dropcap > p:first-child::first-letter {
  float: left; font-weight: 700; font-variation-settings: "opsz" 72;
  font-size: 4.1em; line-height: .82; padding: .06em .08em 0 0;
}
.factline { margin-top: 22px; border-top: 1px solid currentColor; max-width: 36em; }
.factline li {
  display: grid; grid-template-columns: minmax(7.5em, auto) 1fr; gap: 12px;
  padding: 8px 0; font-size: .875rem; line-height: 1.45;
}
.paper .factline li { border-bottom: 1px solid var(--paper-rule); }
.ink .factline li { border-bottom: 1px solid var(--ink-rule); }
.factline b { font: 700 .875rem/1.45 var(--f-mono); }
/* product screenshots, set like photos printed in the paper: a thin ink
   frame with a paper margin, the UI's white taking the newsprint tone
   (multiply with the paper), and some of the colour taken out. */
.newsphoto img, .teaser__img {
  width: 100%;
  padding: 5px;
  border: 1px solid var(--ink);
  background: transparent;
  mix-blend-mode: multiply;
  filter: grayscale(.4) contrast(1.03);
}
.newsphoto { isolation: isolate; }
/* on an ink band the photo sits on a paper print card, caption included */
.ink .newsphoto { background-color: var(--paper); background-image: var(--tex-paper); color: var(--ink); padding: 10px 10px 12px; }
.ink .newsphoto figcaption { color: var(--paper-muted); border-top-color: var(--paper-rule); }
.ink .newsphoto .credit { color: var(--ink); }
.newsphoto + .newsphoto { margin-top: 28px; }
.newsphoto--phone { max-width: 320px; }
.photos--pair { display: grid; gap: 28px; }
.photos--pair .newsphoto + .newsphoto { margin-top: 0; }
@media (min-width: 600px) and (max-width: 1023px) { .photos--pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.newsphoto--detail { max-width: 480px; }
@media (min-width: 1024px) {
  .step { padding: 52px 0 60px; }
  .step__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; align-items: start; }
  .step__text { padding-right: 44px; }
  .step__media { padding-left: 44px; border-left: 1px solid currentColor; }
  .step__grid--phone { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .step__grid--phone .newsphoto--phone { margin-inline: auto; }
}

/* the progress line: Received to RSS feed */
.route { margin-top: 26px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 36em; }
.route li { position: relative; padding-top: 18px; font: 600 .8125rem/1.25 var(--f-sans); }
.route li::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 2px; background: currentColor; }
.route li::after { content: ""; position: absolute; top: 0; left: 0; width: 10px; height: 10px; background: currentColor; }
.route li:last-child::before { right: auto; width: 10px; }
.flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.flags .tag { margin: 0; }

/* =========================================================
   9. INSIDE PAGES: FEATURE SECTIONS
   ========================================================= */
.dept { padding: 40px 0 52px; }
.dept__flag {
  display: grid; gap: 6px 24px; align-items: end;
  padding-bottom: 12px; margin-bottom: 24px;
  border-bottom: 3px solid currentColor;
}
.dept__name {
  font-family: var(--f-serif); font-weight: 700; font-variation-settings: "opsz" 72;
  font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1; letter-spacing: -.025em;
}
.dept__sub { font: 400 1.0625rem/1.5 var(--f-serif); max-width: 32em; }
.paper .dept__sub { color: var(--paper-muted); }
.ink .dept__sub { color: var(--ink-muted); }
@media (min-width: 900px) { .dept__flag { grid-template-columns: auto minmax(0, 1fr); } .dept__sub { padding-bottom: 8px; } }
.dept__grid { display: grid; gap: 36px; }
.dept__cols { display: grid; gap: 0; }
.col { padding: 16px 0; border-top: 1px solid currentColor; }
.col:first-child { border-top: 0; padding-top: 0; }
.col__title {
  font-family: var(--f-serif); font-weight: 600; font-variation-settings: "opsz" 36;
  font-size: 1.1875rem; line-height: 1.2; text-wrap: balance;
}
.col p { margin-top: 6px; font: 400 1rem/1.65 var(--f-serif); font-variation-settings: "opsz" 14; max-width: 38em; }
.col p + p { margin-top: .7em; }
.col .mono { font-size: .82em; }
.paper .col { border-top-color: var(--paper-rule); }
.ink .col { border-top-color: var(--ink-rule); }
.ink .col p { color: var(--paper); }
.dept__photos { display: grid; gap: 28px; align-content: start; }
.notlive {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  font: 700 .75rem/1.4 var(--f-mono); letter-spacing: .04em; vertical-align: .1em;
  box-shadow: inset 0 0 0 1px currentColor;
}
@media (min-width: 1024px) {
  .dept__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; align-items: start; }
  .dept__cols { padding-right: 40px; }
  .dept__photos { padding-left: 40px; border-left: 1px solid currentColor; }
  .dept--flip .dept__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .dept--flip .dept__photos { order: -1; padding: 0 40px 0 0; border-left: 0; border-right: 1px solid currentColor; }
  .dept--flip .dept__cols { padding: 0 0 0 40px; }
}

/* =========================================================
   10. EDITORIAL + COMING NEXT
   ========================================================= */
.opinion { padding: 44px 0 60px; }
.opinion__grid { display: grid; gap: 48px; }
.editorial__title {
  font-family: var(--f-serif); font-weight: 600; font-style: italic;
  font-variation-settings: "opsz" 72;
  font-size: clamp(1.875rem, 4.2vw, 2.875rem); line-height: 1.02; letter-spacing: -.018em;
}
.editorial__deck { margin-top: 10px; font: 400 1.0625rem/1.5 var(--f-serif); color: var(--paper-muted); }
.editorial__body {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ink);
  font: 400 1rem/1.7 var(--f-serif); font-variation-settings: "opsz" 14;
  hyphens: auto;
}
.editorial__body p + p { margin-top: 1em; }
.editorial__body > p:first-child::first-letter {
  float: left; font-weight: 700; font-variation-settings: "opsz" 72;
  font-size: 4.1em; line-height: .82; padding: .06em .08em 0 0;
}
.pull {
  margin: 1.2em 0; padding: 16px 0;
  border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink);
  break-inside: avoid;
}
.pull p { font: 600 italic 1.25rem/1.3 var(--f-serif); font-variation-settings: "opsz" 48; }
@media (min-width: 768px) {
  .editorial__body { columns: 2; column-gap: 40px; column-rule: 1px solid var(--paper-rule); }
  .editorial__body p + p { margin-top: 0; text-indent: 1.4em; }
  .editorial__body .pull + p { text-indent: 0; }
}

.nextbox { border: 2px solid var(--ink); padding: 20px 18px 22px; align-self: start; background-color: var(--paper); background-image: var(--tex-paper); }
.nextbox__stamp {
  display: inline-block; padding: 4px 8px; margin-bottom: 14px;
  background: var(--ink); color: var(--paper);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.nextbox__title { font: 700 1.375rem/1.15 var(--f-serif); font-variation-settings: "opsz" 48; }
.nextbox__intro { margin-top: 8px; color: var(--paper-muted); font-size: .9375rem; }
.nextbox__list { margin-top: 16px; border-top: 1px solid var(--ink); }
.nextbox__list li {
  padding: 10px 0 10px 20px; position: relative;
  border-bottom: 1px dashed var(--paper-muted); font-size: .9375rem; line-height: 1.45;
}
.nextbox__list li::before { content: "–"; position: absolute; left: 2px; top: 10px; font-family: var(--f-mono); }
@media (min-width: 1024px) {
  .opinion__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; }
  .nextbox { position: sticky; top: calc(var(--nav-h) + 24px); }
}

/* corrections and clarifications (ink band) */
.clarify { padding: 44px 0 52px; }
.clarify__grid { display: grid; gap: 28px; }
.clarify__title { font: 700 clamp(1.4375rem, 2.8vw, 2rem)/1.1 var(--f-serif); font-variation-settings: "opsz" 60; letter-spacing: -.015em; max-width: 14ch; }
.clarify__intro { margin-top: 12px; color: var(--ink-muted); max-width: 30em; }
.clarify__list { border-top: 3px solid var(--paper); }
.clarify__list li { padding: 16px 0; border-bottom: 1px solid var(--ink-rule); font: 400 1rem/1.6 var(--f-serif); font-variation-settings: "opsz" 16; }
.clarify__list b { font-family: var(--f-sans); font-weight: 700; font-size: .9375rem; display: block; margin-bottom: 4px; }
@media (min-width: 1000px) { .clarify__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; } }

/* =========================================================
   11. LETTERS
   ========================================================= */
.letters { padding: 40px 0 56px; }
.letters__grid { display: grid; gap: 0; }
.letter { padding: 22px 0 26px; border-top: 1px solid var(--ink); break-inside: avoid; }
.letter:first-child { border-top: 0; padding-top: 0; }
.letter__title {
  font-family: var(--f-serif); font-weight: 700; font-variation-settings: "opsz" 48;
  font-size: clamp(1.1875rem, 2vw, 1.375rem); line-height: 1.18; text-wrap: balance;
}
.letter__body { margin-top: 10px; font: 400 1rem/1.65 var(--f-serif); font-variation-settings: "opsz" 14; max-width: 38em; }
.letter__body p + p { margin-top: .35em; }
.letter__salute { font-style: italic; }
.letter__sign { margin-top: 8px; font: 600 italic .9375rem/1.4 var(--f-serif); color: var(--paper-muted); }
.reply { margin-top: 16px; padding: 14px 0 0 16px; border-left: 3px solid var(--ink); max-width: 38em; }
.reply__head { font: 700 .75rem/1.3 var(--f-sans); letter-spacing: .05em; text-transform: uppercase; }
.reply p { margin-top: 6px; font-size: .9375rem; line-height: 1.6; }
.reply p + p { margin-top: .6em; }
.reply .mono { font-size: .86em; }
@media (min-width: 1000px) {
  .letters__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 0; }
  .letter { padding: 28px 40px 32px 0; }
  .letter:nth-child(even) { padding: 28px 0 32px 40px; border-left: 1px solid var(--ink); }
  .letter:nth-child(2) { border-top: 0; padding-top: 0; }
}

.contact { padding: 44px 0 52px; }
.contact__grid { display: grid; gap: 28px; }
.contact__title { font: 600 clamp(1.75rem, 4vw, 2.75rem)/1.05 var(--f-serif); font-variation-settings: "opsz" 72; letter-spacing: -.025em; }
.contact__text { margin-top: 14px; color: var(--ink-muted); max-width: 32em; font-size: 1rem; }
.contact__mail { font: 600 clamp(1.125rem, 2.4vw, 1.5rem)/1.3 var(--f-serif); overflow-wrap: anywhere; }
.contact__mail a { display: inline-block; min-height: 44px; padding-top: 4px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: end; } }

/* =========================================================
   12. COLOPHON
   ========================================================= */
.colophon { padding: 44px 0 24px; }
.colophon:focus { outline: none; }
.colophon__name {
  font-family: var(--f-serif); font-weight: 700; font-variation-settings: "opsz" 72;
  font-size: clamp(2.25rem, 8vw, 4.75rem); line-height: .92; letter-spacing: -.03em;
  padding-bottom: 0; border-bottom: 0;
}
.colophon__top { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 3px solid var(--paper); }
.colophon__eyebrow { font-size: .7rem; letter-spacing: .06em; color: var(--ink-muted); }
.colophon__grid { display: grid; gap: 28px; padding: 24px 0 28px; }
.colophon__head { font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px; }
.colophon__links li a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 500; }
.colophon__fine { font-size: .875rem; line-height: 1.55; color: var(--ink-muted); max-width: 46ch; }
.colophon__fine + .colophon__fine { margin-top: 10px; }
.colophon__mail { display: inline-block; margin-top: 16px; color: var(--paper); font: 600 clamp(1.1rem, 2vw, 1.45rem)/1.2 var(--f-serif); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.colophon__fine a { color: var(--paper); }
.colophon__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 14px; border-top: 1px solid var(--ink-rule);
  font-size: .75rem; letter-spacing: .04em; color: var(--ink-muted);
}
.colophon__base a { color: var(--paper); display: inline-block; padding: 6px 0; }
@media (min-width: 900px) { .colophon__grid { grid-template-columns: 1fr 1fr 1.6fr; gap: 40px; } }
@media (min-width: 900px) { .colophon__grid { grid-template-columns: minmax(0, 1.4fr) minmax(180px, .6fr); gap: 48px; } }
@media (max-width: 680px) { .colophon__top { display: block; } .colophon__name { margin-top: 16px; } .colophon__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- reduced motion: no smooth transitions on captions ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* compact editorial scale: keep the page legible without oversized display type */
@media (max-width: 1199px), (max-height: 820px) {
  body { font-size: .9375rem; }
  .nameplate__name { font-size: clamp(3rem, 5.8vw, 5.5rem); }
  .lead__title { font-size: clamp(1.45rem, 3vw, 2.2rem); }
  .lead__deck, .teaser--big .teaser__deck, .contact__text { font-size: .9375rem; }
  .teaser--big .teaser__title { font-size: clamp(1.2rem, 2vw, 1.6rem); }
  .film__title { font-size: clamp(1.25rem, 2.4vw, 1.8rem); }
  .desk-proof__title { font-size: clamp(2rem, 4vw, 4rem); }
  .surfaces__title { font-size: clamp(2rem, 4.5vw, 4.5rem); }
  .colophon__name { font-size: clamp(2rem, 5.5vw, 4.2rem); }
}

/* =========================================================
   13. FRONT-PAGE INTRO (tablet → paper → ball → today's edition)
   Hidden unless the head check adds .has-intro (motion allowed, tall
   enough viewport, WebGL). intro.js removes the class on any failure.
   ========================================================= */
.intro { display: none; position: relative; height: 280vh; background: var(--ink); color: var(--paper); }
.has-intro .intro { display: block; }
.intro[hidden] { display: none !important; }
.intro__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(110% 85% at 50% 42%, #2A2721 0%, var(--ink) 62%);
}
.intro__paper { position: absolute; inset: 0; background-color: var(--paper); background-image: var(--tex-paper); opacity: 0; }
.intro__poster { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1400px; transition: opacity .4s var(--ease); }
.intro__poster img {
  width: min(78vw, 100vh); padding: 1.6%; border-radius: 14px; background: #1F1D19;
  transform: rotateX(30deg) rotateZ(-2.5deg);
}
.intro__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .4s var(--ease); }
.intro.is-live .intro__canvas { opacity: 1; }
.intro.is-live .intro__poster { opacity: 0; visibility: hidden; }
.intro__caption {
  position: absolute; left: var(--gutter); bottom: 22px; max-width: min(28rem, calc(100% - 2 * var(--gutter)));
  padding-left: 12px; border-left: 3px solid currentColor; transition: color .3s;
}
.intro__cap { font-size: .75rem; font-weight: 700; letter-spacing: .06em; }
.intro__note { margin-top: 4px; font: 400 .9375rem/1.45 var(--f-serif); color: var(--ink-muted); }
.intro__skip {
  position: absolute; right: var(--gutter); top: 16px;
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: 0 14px;
  font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-decoration: none;
  border: 1px solid currentColor; color: inherit; background: transparent; transition: color .3s;
}
.intro__skip:hover { background: var(--paper); color: var(--ink); }
.intro.is-settled .intro__caption, .intro.is-settled .intro__skip { color: var(--ink); }
.intro.is-settled .intro__note { color: var(--paper-muted); }
.intro.is-settled .intro__skip:hover { background: var(--ink); color: var(--paper); }
/* The settled newspaper already carries the Vartmaan home identity. Keep the
   real masthead from rendering a second time directly after the intro. */
.has-intro .intro.is-settled ~ .masthead { display: none; }

/* Product proof: a four-state decision rail gives the landing page a concrete
   workflow to follow instead of another equal feature grid. */
.desk-proof { padding: clamp(72px, 10vw, 132px) 0; }
.desk-proof__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.desk-proof__title { max-width: 9em; font: 700 clamp(2.7rem, 5.4vw, 6.3rem)/.92 var(--f-serif); letter-spacing: -.035em; }
.desk-proof__lede { max-width: 28em; margin-top: 24px; color: var(--paper-muted); font: 400 1.15rem/1.5 var(--f-serif); }
.desk-proof__states { margin-top: 40px; border-top: 1px solid rgba(244,240,230,.35); }
.desk-proof__states li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid rgba(244,240,230,.18); }
.desk-proof__state { display: grid; grid-template-columns: 44px 1fr; gap: 12px; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.desk-proof__state:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.desk-proof__state .desk-proof__num { transition: color .2s ease; }
.desk-proof__state.is-active .desk-proof__num, .desk-proof__state:hover .desk-proof__num { color: var(--paper); }
.desk-proof__num { color: var(--red); font: 700 .75rem/1.4 var(--f-mono); }
.desk-proof__states b { display: block; font-size: 1.05rem; }
.desk-proof__states small { display: block; margin-top: 3px; color: var(--paper-muted); font: 400 .88rem/1.35 var(--f-sans); }
.desk-proof__screen { margin: 0; }
.desk-proof__screen img { display: block; width: 100%; height: auto; border: 1px solid rgba(244,240,230,.45); }
.desk-proof__screen figcaption { margin-top: 13px; color: var(--paper-muted); font: 400 .95rem/1.4 var(--f-serif); }
.desk-proof__screen .credit { display: block; margin-bottom: 4px; color: var(--paper); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.surfaces { padding: clamp(72px, 11vw, 150px) 0; }
.surfaces__head { max-width: 44em; padding-bottom: 42px; border-bottom: 2px solid var(--ink); }
.surfaces__title { margin-top: 10px; max-width: 15ch; font: 700 clamp(2.5rem, 6vw, 6rem)/.93 var(--f-serif); letter-spacing: -.035em; }
.surfaces__feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr); gap: clamp(28px, 6vw, 90px); align-items: end; padding: 42px 0 64px; border-bottom: 1px solid var(--ink-rule); }
.surfaces figure { margin: 0; }
.surfaces img { display: block; width: 100%; height: auto; }
.surfaces figcaption { margin-top: 12px; font: 400 .95rem/1.4 var(--f-serif); color: var(--ink-muted); }
.surfaces .credit { display: block; margin-bottom: 4px; font: 700 .7rem/1.2 var(--f-mono); letter-spacing: .05em; color: var(--ink); }
.surfaces__note { padding-bottom: 16px; }
.surfaces__note > .mono { font-size: .7rem; letter-spacing: .05em; }
.surfaces__note h3 { margin-top: 16px; font: 700 clamp(1.8rem, 3vw, 3rem)/.98 var(--f-serif); }
.surfaces__note p { margin-top: 14px; font: 400 1rem/1.55 var(--f-serif); color: var(--ink-muted); }
.surfaces__split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); padding-top: 44px; }
@media (max-width: 780px) { .surfaces__feature, .surfaces__split { grid-template-columns: 1fr; } .surfaces__feature { padding-top: 30px; } }
@media (max-width: 780px) {
  .desk-proof__grid { grid-template-columns: 1fr; gap: 42px; }
  .desk-proof__title { max-width: 12em; }
}

/* Smaller laptop tuning: preserve the newspaper hierarchy without letting
   the masthead and feature headlines consume the entire first viewport. */
@media (min-width: 900px) and (max-width: 1199px), (min-width: 900px) and (max-height: 820px) {
  .nameplate__name { font-size: clamp(3.5rem, 6.2vw, 5.5rem); }
  .lead__title { font-size: clamp(1.65rem, 3.6vw, 2.55rem); }
  .lead__deck { font-size: 1rem; }
  .teaser--big .teaser__title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
  .desk-proof__title { font-size: clamp(2.35rem, 4.4vw, 4.7rem); }
  .desk-proof__lede { font-size: 1rem; }
  .sectionnav__links a { font-size: .875rem; }
}
@media (min-width: 768px) { .intro__caption { bottom: 32px; } .intro__skip { top: 24px; } }
