/* Vox Populi News: perfil `portal`.
   Design read: news portal for U.S. readers, with a frosted-glass "news app" language on a cool fog
   background, electric blue + black accent, own WebGL orb hero and a rotating 3-story rail; static HTML +
   native CSS + own JS, no dependencies.
   Dials: DESIGN_VARIANCE 6 · MOTION_INTENSITY 7 · VISUAL_DENSITY 5
   Radius rule: frame 32 · panels 24 · cards and media 16 · thumbs 12 · every interactive control is a full pill
   or a circle. One accent (blue); the orb and the fallback CSS art only vary inside the blue family.
   Media: our own illustration only for stories with a summary and our notes, with no credit
   or tag (decision 2026-10-10); other stories show the outlet's photo; without one, the CSS art.
   Motion: transform, opacity and clip-path only; nothing runs under prefers-reduced-motion; no scroll listeners. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #E8ECF4;
  --frame: rgba(255, 255, 255, .55);
  --surface: #F6F8FC;
  --panel: rgba(255, 255, 255, .62);
  --raised: #FFFFFF;
  --ink: #0A0C10;
  --ink-2: #4A5163;
  --muted: #5F6678;          /* spec says #8A91A3; darkened to pass AA (4.9:1 on --surface) for time and source text */
  --hair: #8A91A3;           /* the spec muted, kept for non-text separators */
  --accent: #2450FF;
  --cite: #1F45E6;           /* accent text on tinted chips: 5.7:1 on the panel */
  --line: rgba(10, 12, 16, .08);
  --line-2: rgba(10, 12, 16, .14);
  --on-ink: #F6F8FC;
  --edge: rgba(255, 255, 255, .78);
  --edge-hi: rgba(255, 255, 255, .95);
  --glass: rgba(255, 255, 255, .58);
  --glass-dark: rgba(9, 15, 38, .62);
  --menu: rgba(250, 251, 254, .95);
  --shadow-sm: 0 1px 2px rgba(22, 34, 84, .05), 0 6px 16px -10px rgba(22, 40, 110, .22);
  --shadow: 0 1px 2px rgba(22, 34, 84, .04), 0 24px 48px -28px rgba(22, 40, 120, .28);
  --shadow-lift: 0 2px 4px rgba(22, 34, 84, .05), 0 22px 40px -22px rgba(22, 40, 120, .38);

  /* orb + art palette: blue family only (cobalt, azure, cyan); never red or alarm colors */
  --c1: #2450FF;
  --c2: #5FD4FF;
  --c3: #0B1440;

  --sans: "Geist", ui-sans-serif, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --page-pad: 16px;
  --fpad: 14px;
  --head-h: 64px;
  --gap: 16px;
  --aside-w: clamp(300px, 25vw, 372px);
  --apad: 16px;
  --r-frame: 32px;
  --r-panel: 24px;
  --r-card: 16px;
  --r-thumb: 12px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07090D;
    --frame: rgba(20, 24, 32, .6);
    --surface: #11151C;
    --panel: rgba(28, 33, 44, .55);
    --raised: #1A1F29;
    --ink: #EEF1F7;
    --ink-2: #A7AFC0;
    --muted: #8A92A5;        /* spec says #6C7486; lightened to pass AA (5.6:1 on --surface) */
    --hair: #6C7486;
    --accent: #5B7CFF;
    --cite: #8FA6FF;         /* the dark accent misses AA on a tinted chip; this one passes (6.9:1) */
    --line: rgba(238, 241, 247, .08);
    --line-2: rgba(238, 241, 247, .14);
    --on-ink: #0A0C10;
    --edge: rgba(255, 255, 255, .07);
    --edge-hi: rgba(255, 255, 255, .1);
    --glass: rgba(22, 27, 37, .6);
    --glass-dark: rgba(6, 9, 20, .66);
    --plate-dark: rgba(17, 21, 28, .86);
    --menu: rgba(20, 24, 32, .96);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 18px -12px rgba(0, 0, 0, .6);
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 28px 56px -30px rgba(0, 0, 0, .7);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .35), 0 24px 44px -22px rgba(0, 0, 0, .8);
  }
}

/* section tints for the orb fallback and the own art (blue family) */
[data-section="politics"] { --c1: #2450FF; --c2: #7FB2FF; --art: url("../img/art-rings.svg"); }
[data-section="world"] { --c1: #2A5BE8; --c2: #8FD0FF; --art: url("../img/art-meridians.svg"); }
[data-section="business"] { --c1: #1D63F0; --c2: #45DCCB; --art: url("../img/art-waves.svg"); }
[data-section="tech"] { --c1: #3352FF; --c2: #3FD8FF; --art: url("../img/art-halftone.svg"); }
[data-section="health"] { --c1: #1677D8; --c2: #7FEFE6; --art: url("../img/art-contour.svg"); }
[data-section="sports"] { --c1: #0E58FF; --c2: #52C2FF; --art: url("../img/art-lanes.svg"); }
[data-section="entertainment"] { --c1: #2F5BFF; --c2: #8CC8FF; --art: url("../img/art-halftone.svg"); }
[data-section="science"] { --c1: #1847D6; --c2: #62EEFF; --art: url("../img/art-orbits.svg"); }
[data-section="mexico"] { --c1: #1959D1; --c2: #4FD8C6; --art: url("../img/art-contour.svg"); }
[data-section="us"] { --c1: #2450FF; --c2: #A3C6FF; --art: url("../img/art-rings.svg"); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 var(--sans); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); font-weight: 600; transform: translateY(-160%);
}
.skip:focus { transform: none; }
main:focus { outline: none; }
.staging {
  position: fixed; right: 12px; bottom: 12px; z-index: 90; margin: 0; padding: 7px 14px; border-radius: 999px;
  font: 500 12px/1.2 var(--mono); color: var(--ink); background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--edge), var(--shadow-sm);
}

/* fixed fog behind the glass frame: decorative, never scrolls with content */
.backdrop {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 42% at 78% 8%, rgba(36, 80, 255, .16), transparent 70%),
    radial-gradient(36% 40% at 4% 96%, rgba(70, 200, 255, .14), transparent 70%),
    radial-gradient(30% 30% at 40% 40%, rgba(255, 255, 255, .5), transparent 70%),
    var(--bg);
}
@media (prefers-color-scheme: dark) {
  .backdrop {
    background:
      radial-gradient(48% 42% at 78% 8%, rgba(60, 100, 255, .16), transparent 70%),
      radial-gradient(36% 40% at 4% 96%, rgba(40, 170, 255, .08), transparent 70%),
      var(--bg);
  }
}

.page { position: relative; z-index: 0; max-width: 1480px; margin: 0 auto; padding: var(--page-pad); overflow-x: clip; }

/* ---------- glass primitives ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--edge-hi), var(--shadow);
}
/* the app frame: drawn behind header + hero so the header stays a real <header> outside <main> */
.top { position: relative; }
.top::before {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  inset: calc(-1 * (var(--head-h) + var(--fpad))) calc(-1 * var(--fpad)) 0;
  border-radius: var(--r-frame);
  background: linear-gradient(160deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 40%), var(--frame);
  box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--edge-hi), var(--shadow);
}
/* hairline that catches the light along the frame edge (blue family) */
.top::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: calc(-1 * (var(--head-h) + var(--fpad))) calc(-1 * var(--fpad)) 0;
  border-radius: var(--r-frame); padding: 1px;
  background: linear-gradient(120deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 30%, rgba(36, 80, 255, 0) 55%, rgba(36, 80, 255, .35) 80%, rgba(95, 212, 255, .55) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@media (prefers-color-scheme: dark) {
  .top::before { background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0) 40%), var(--frame); }
  .top::after { opacity: .55; }
}
.panel {
  position: relative; margin-top: 20px; border-radius: var(--r-frame);
  background: var(--frame);
  box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--edge-hi), var(--shadow);
  padding: clamp(20px, 2.6vw, 36px);
}
.panel-title { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.panel-title--sm { font-size: 1.125rem; letter-spacing: -.015em; }

/* ---------- brand ---------- */
.brand {
  display: inline-flex; align-items: center; gap: 9px; flex: none; height: 40px; padding: 0 16px 0 6px;
  border-radius: 999px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  font-weight: 600; font-size: 15px; letter-spacing: -.02em; white-space: nowrap;
}
.brand-mark { width: 28px; height: 28px; }
.brand-disc { fill: var(--accent); }
.brand-bars { fill: #F6F8FC; }
.brand-vox { color: var(--ink); }
.brand-news { color: var(--accent); }

/* ---------- masthead ---------- */
.masthead {
  position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) var(--aside-w);
  column-gap: var(--gap); align-items: center; height: var(--head-h); box-sizing: content-box;
  margin: 0 var(--fpad); padding-top: var(--fpad);
}
.masthead-main { display: flex; align-items: center; gap: 14px; min-width: 0; padding-left: 4px; }
.nav { position: relative; min-width: 0; flex: 1; }
.pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.pills::-webkit-scrollbar { display: none; }
.pills > li { flex: none; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 0;
  font-size: 14px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); white-space: nowrap;
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--edge), var(--shadow-sm);
  transition: transform .3s var(--ease), background-color .2s, color .2s;
}
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: translateY(0) scale(.97); }
.pill[aria-current="page"], .front .pill--all { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.pill--more svg { transition: transform .35s var(--ease); }
.pill--more[aria-expanded="true"] svg { transform: rotate(45deg); }
.more-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; min-width: 200px; padding: 6px; border-radius: 20px;
  display: grid; gap: 2px;
}
.more-menu .pill { width: 100%; background: transparent; box-shadow: none; height: 38px; }
.more-menu .pill:hover { background: var(--line); transform: none; }

/* search */
.search { position: relative; padding: 0 var(--apad); }
.search-input {
  width: 100%; height: 44px; padding: 0 48px 0 18px; border: 0; border-radius: 999px;
  background: var(--raised); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14.5px;
  -webkit-appearance: none; appearance: none; transition: box-shadow .2s;
}
.search-input::placeholder { color: var(--muted); opacity: 1; }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent); }
.search-btn {
  position: absolute; right: calc(var(--apad) + 4px); top: 4px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: transparent; color: var(--ink-2);
}
.search-btn:hover { color: var(--ink); background: var(--line); }
.search-panel {
  position: absolute; z-index: 30; left: var(--apad); right: var(--apad); top: calc(100% + 8px);
  max-height: min(70vh, 520px); overflow: auto; border-radius: 20px; padding: 6px;
}
/* floating menus sit over busy content: near-opaque glass so text never collides */
.search-panel, .more-menu { background: var(--menu); }
.search-list { display: grid; gap: 2px; }
.search-opt { display: grid; gap: 4px; padding: 10px 12px; border-radius: 14px; cursor: pointer; }
.search-opt[aria-selected="true"], .search-opt:hover { background: color-mix(in oklab, var(--accent) 10%, transparent); }
.search-opt .t { font-size: 14px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.search-opt mark { background: none; color: var(--accent); font-weight: 600; }
.search-opt .m { font: 12px/1.2 var(--mono); color: var(--muted); }
.search-empty { padding: 14px 12px; font-size: 14px; color: var(--ink-2); }

/* ---------- shared meta ---------- */
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.meta .sec { color: var(--accent); font-weight: 500; }
.meta time { font-family: var(--mono); font-size: 11.5px; letter-spacing: -.01em; }
.sep { color: var(--hair); }

/* call to action: pill + black filled circular arrow */
.cta {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; justify-self: start; height: 48px; padding: 0 5px 0 22px;
  border-radius: 999px; background: var(--raised); font-weight: 500; font-size: 15px; letter-spacing: -.01em;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cta-arrow {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--on-ink); transition: transform .45s var(--ease);
}
.cta:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); }
.cta:hover .cta-arrow { transform: translateX(3px); }
.cta:active { transform: translateY(0) scale(.98); }

.arrow-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--raised); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm);
  transition: transform .3s var(--ease), opacity .2s;
}
.arrow-btn--solid { background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-sm); }
.arrow-btn:hover { transform: translateY(-2px); }
.arrow-btn:active { transform: scale(.95); }
.arrow-btn[aria-disabled="true"] { opacity: .38; cursor: default; transform: none; }

/* stretched link: the headline is the only link; the whole card is its hit area */
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- media + own art fallback ---------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--r-card); aspect-ratio: 16 / 10;
  background:
    var(--art, none) center / cover no-repeat,
    radial-gradient(120% 90% at 85% 15%, var(--c2), transparent 60%),
    linear-gradient(150deg, var(--c1), var(--c3) 92%);
  isolation: isolate;
}
.media::after { /* inner edge, glass-like */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), opacity .4s;
}
.no-image .media img, .media.is-art img, .no-image.media img, .media[data-image-kind="none"] img { display: none; }

/* ---------- what fills a media slot (decision 2026-10-09) ----------
   data-image-kind on .media: art = our own illustration (only stories with a summary, and our notes) ·
   photo = the outlet's photo, linked from its host · none = the CSS scene below (large slots) or the
   section pattern (small slots). site.js adds .is-art when an image is missing or fails: back to the CSS art. */
.media[data-image-kind="art"]:not(.is-art) > .art, .media[data-image-kind="photo"]:not(.is-art) > .art { display: none; }

.rec-feature img, .feature .media img { position: relative; }
.rec-feature:hover img, .feature:hover .media img { transform: scale(1.03); }

/* photo credit under a note figure; our own illustration carries no credit or tag (decision 2026-10-10) */
.art-credit { display: flex; align-items: center; gap: 7px; font: 12px/1.4 var(--mono); color: var(--muted); }
.art-credit:has(span:empty) { display: none; }

/* ---------- own CSS art: large slots without an image (Recommended feature, Trending and Mexico features) ----------
   A layered scene in the section's blue family (since 2026-10-09, only the fallback: see D13 above).
   Back to front: deep gradient + glows · section pattern (art-*.svg) · far sphere (out of focus) ·
   horizon arc · glass sphere with its rings · light sheen. Position and size vary per section. */
.art {
  position: absolute; inset: 0; z-index: 0; display: block; overflow: hidden; border-radius: inherit;
  --sx: 60%; --sy: 9%; --ss: 40%;      /* glass sphere: left, top, diameter (of the slot width) */
  --fx: 9%; --fy: 14%; --fs: 11%;      /* far sphere */
  --hy: 64%;                           /* horizon line */
  background:
    radial-gradient(60% 70% at 4% 100%, color-mix(in oklab, var(--c2) 34%, transparent), transparent 70%),
    radial-gradient(80% 90% at 92% 0%, color-mix(in oklab, var(--c2) 58%, transparent), transparent 62%),
    linear-gradient(158deg, var(--c1) 0%, color-mix(in oklab, var(--c1) 50%, var(--c3)) 52%, var(--c3) 100%);
}
.art > span { position: absolute; pointer-events: none; }
.art-pattern {
  inset: -3%; background: var(--art, none) center / cover no-repeat; opacity: .82;
  -webkit-mask-image: radial-gradient(120% 110% at 85% 5%, #000 25%, transparent 80%);
  mask-image: radial-gradient(120% 110% at 85% 5%, #000 25%, transparent 80%);
  transition: transform 1.1s var(--ease);
}
.art-sphere {
  left: var(--sx); top: var(--sy); width: var(--ss); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 33% 27%, rgba(255, 255, 255, .95) 0 1.8%, rgba(255, 255, 255, .3) 5%, transparent 12%),
    radial-gradient(42% 30% at 32% 24%, rgba(255, 255, 255, .34), transparent 70%),
    radial-gradient(circle at 70% 82%, color-mix(in oklab, var(--c2) 70%, white) 0, transparent 30%),
    radial-gradient(34% 30% at 56% 60%, rgba(3, 7, 22, .85) 0, rgba(3, 7, 22, .4) 45%, transparent 78%),
    radial-gradient(circle at 50% 50%, var(--c1) 0 42%, color-mix(in oklab, var(--c1) 50%, var(--c2)) 70%, color-mix(in oklab, var(--c2) 55%, white) 93%, rgba(255, 255, 255, .95) 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .6),
    inset -10px -16px 32px rgba(3, 8, 30, .28),
    0 34px 60px -26px rgba(2, 6, 24, .7);
  transition: transform 1.1s var(--ease);
}
.art-sphere::before, .art-sphere::after { content: ""; position: absolute; border-radius: 50%; }
.art-sphere::before { inset: -16%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
.art-sphere::after { inset: -34%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.art-sphere--far {
  left: var(--fx); top: var(--fy); width: var(--fs); opacity: .75; filter: blur(1.5px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}
.art-sphere--far::before, .art-sphere--far::after { display: none; }
.art-ring { /* horizon: a wide shallow arc the sphere floats over */
  left: -30%; right: -30%; top: var(--hy); height: 120%; border-radius: 50%;
  background: radial-gradient(60% 30% at 50% 0%, color-mix(in oklab, var(--c2) 30%, transparent), transparent 70%), rgba(3, 7, 22, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 14px 30px -18px rgba(255, 255, 255, .35);
}
.art-glint {
  inset: 0;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(0deg, rgba(3, 7, 22, .28), transparent 42%);
}
/* per-section staging, so neighboring features never look identical */
[data-section="world"] .art { --sx: 54%; --sy: 12%; --ss: 36%; --fx: 14%; --fy: 8%; --hy: 60%; }
[data-section="business"] .art { --sx: 62%; --sy: 4%; --ss: 44%; --fx: 6%; --fy: 22%; --hy: 68%; }
[data-section="tech"] .art { --sx: 50%; --sy: 10%; --ss: 34%; --fx: 84%; --fy: 6%; --fs: 9%; }
[data-section="health"] .art { --sx: 58%; --sy: 14%; --ss: 38%; --fx: 12%; --fy: 10%; --hy: 66%; }
[data-section="sports"] .art { --sx: 64%; --sy: 6%; --ss: 42%; --fx: 18%; --fy: 18%; --hy: 62%; }
[data-section="entertainment"] .art { --sx: 52%; --sy: 8%; --ss: 40%; --fx: 8%; --fy: 26%; --fs: 13%; }
[data-section="science"] .art { --sx: 60%; --sy: 12%; --ss: 34%; --fx: 22%; --fy: 6%; --fs: 8%; --hy: 58%; }
[data-section="mexico"] .art { --sx: 5%; --sy: 7%; --ss: 27%; --fx: 58%; --fy: 9%; --fs: 7%; --hy: 58%; }
.rec-feature:hover .art-sphere, .feature:hover .art-sphere:not(.art-sphere--far) { transform: translate3d(-3%, 3%, 0) scale(1.035); }
.rec-feature:hover .art-pattern, .feature:hover .art-pattern { transform: scale(1.04); }
@media (prefers-color-scheme: dark) {
  .art-glint { background: linear-gradient(112deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 30%), linear-gradient(0deg, rgba(3, 7, 22, .4), transparent 45%); }
}

/* ---------- top: hero + recommended ---------- */
.top {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--aside-w); gap: var(--gap);
  margin: 0 var(--fpad); padding-bottom: var(--fpad);
  min-height: clamp(560px, calc(100svh - 2 * var(--page-pad) - var(--head-h) - 2 * var(--fpad)), 860px);
}
.hero {
  position: relative; display: grid; min-width: 0;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .8fr);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "copy orb" "rail rail";
  padding: 0 0 6px 20px;
}
.hero-copy { grid-area: copy; position: relative; z-index: 2; align-self: center; display: grid; gap: 22px; padding: 12px 28px 56px 0; }
.hero-label {
  justify-self: start; display: inline-flex; align-items: center; height: 30px; padding: 0 14px 0 12px;
  font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 14%, transparent), transparent);
}
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; display: grid; gap: 18px; align-content: start; min-width: 0; }
.hero-slide:not(:first-child) { visibility: hidden; }
.hero-title {
  --hero-fs: clamp(1.75rem, 1rem + 1.6vw, 2.3rem); /* no-JS default: safe for 130 characters in 4 lines */
  font-size: var(--hero-fit, var(--hero-fs)); font-weight: 560; line-height: 1.06; letter-spacing: -.035em;
  text-wrap: balance; max-width: 38rem;
}
.hero-title[data-len="s"] { --hero-fs: clamp(2.4rem, 1rem + 3.4vw, 4.1rem); }
.hero-title[data-len="m"] { --hero-fs: clamp(2.15rem, 1rem + 2.85vw, 3.45rem); }
.hero-title[data-len="l"] { --hero-fs: clamp(1.9rem, 1rem + 2.3vw, 2.95rem); }
.hero-title[data-len="xl"] { --hero-fs: clamp(1.7rem, .95rem + 1.95vw, 2.5rem); }
.hero-title[data-len="xxl"] { --hero-fs: clamp(1.5rem, .9rem + 1.6vw, 2.15rem); }
.hero-title a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .5s var(--ease);
}
.hero-title a:hover { background-size: 100% 2px; }
.hero-title .line { display: block; }
.hero-title .line-in { display: inline; }
.hero-sources { font: 12.5px/1.4 var(--mono); color: var(--muted); letter-spacing: -.01em; }
.hero-slide .meta { font-size: 13px; }
.hero-slide .cta { margin-top: 8px; }

/* orb: CSS fallback first, WebGL canvas fades in over it when ready */
.orb {
  grid-area: orb; position: relative; z-index: 1; align-self: center; justify-self: center;
  width: min(128%, 620px); aspect-ratio: 1; margin-left: -14%; pointer-events: none;
}
.orb-css, .orb-gl { position: absolute; inset: 0; }
.orb-gl { width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.orb--live .orb-gl { opacity: 1; }
.orb--live .orb-css { opacity: 0; transition: opacity 1.2s var(--ease); }
/* the keycap orb takes the pointer (drag, hover, click) only on desktop with a fine pointer; the copy stays above it */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .hero .orb--live { pointer-events: auto; cursor: grab; touch-action: none; user-select: none; }
}
/* the fallback and the static mark: the Vox Populi logo (a voice-recorder disc with three level bars), large */
.vox-mark {
  position: absolute; left: 50%; top: 48%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; gap: 9.4%;
  background:
    radial-gradient(46% 34% at 32% 22%, rgba(255, 255, 255, .34), transparent 72%),
    radial-gradient(circle at 70% 84%, color-mix(in oklab, var(--c2) 55%, transparent) 0, transparent 38%),
    radial-gradient(circle at 50% 50%, var(--c1) 0 58%, color-mix(in oklab, var(--c1) 72%, var(--c2)) 86%, color-mix(in oklab, var(--c2) 60%, white) 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .55),
    inset -14px -20px 40px rgba(3, 8, 30, .24),
    0 50px 90px -40px color-mix(in oklab, var(--c1) 70%, transparent);
}
.vox-mark > span { width: 9.4%; border-radius: 999px; background: #F6F8FC; box-shadow: 0 2px 8px rgba(3, 8, 30, .22); transform-origin: 50% 50%; }
.vox-mark > span:nth-child(1) { height: 25%; }
.vox-mark > span:nth-child(2) { height: 50%; }
.vox-mark > span:nth-child(3) { height: 34.4%; }
.orb-css::after { /* soft reflection on the floor */
  content: ""; position: absolute; left: 26%; right: 26%; bottom: 9%; height: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--c1) 40%, transparent), transparent);
  filter: blur(8px); opacity: .6;
}
.orb-ring { position: absolute; inset: 11% 11% 15%; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c2) 40%, transparent); opacity: .7; }
/* the fallback orb follows the active slide's section (no JS: the first slide's) */
.hero:has(.hero-slide:first-child[data-section="politics"]) { --c1: #2450FF; --c2: #7FB2FF; }
.hero:has(.hero-slide:first-child[data-section="world"]) { --c1: #2A5BE8; --c2: #8FD0FF; }
.hero:has(.hero-slide:first-child[data-section="business"]) { --c1: #1D63F0; --c2: #45DCCB; }
.hero:has(.hero-slide:first-child[data-section="tech"]) { --c1: #3352FF; --c2: #3FD8FF; }
.hero:has(.hero-slide:first-child[data-section="health"]) { --c1: #1677D8; --c2: #7FEFE6; }
.hero:has(.hero-slide:first-child[data-section="sports"]) { --c1: #0E58FF; --c2: #52C2FF; }
.hero:has(.hero-slide:first-child[data-section="entertainment"]) { --c1: #2F5BFF; --c2: #8CC8FF; }
.hero:has(.hero-slide:first-child[data-section="science"]) { --c1: #1847D6; --c2: #62EEFF; }
.hero:has(.hero-slide:first-child[data-section="mexico"]) { --c1: #1959D1; --c2: #4FD8C6; }
.hero[data-active="politics"], .hero[data-active="us"] { --c1: #2450FF; --c2: #7FB2FF; }
.hero[data-active="world"] { --c1: #2A5BE8; --c2: #8FD0FF; }
.hero[data-active="business"] { --c1: #1D63F0; --c2: #45DCCB; }
.hero[data-active="tech"] { --c1: #3352FF; --c2: #3FD8FF; }
.hero[data-active="health"] { --c1: #1677D8; --c2: #7FEFE6; }
.hero[data-active="sports"] { --c1: #0E58FF; --c2: #52C2FF; }
.hero[data-active="entertainment"] { --c1: #2F5BFF; --c2: #8CC8FF; }
.hero[data-active="science"] { --c1: #1847D6; --c2: #62EEFF; }
.hero[data-active="mexico"] { --c1: #1959D1; --c2: #4FD8C6; }

/* rail */
.rail-wrap { grid-area: rail; position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; padding-right: 8px; }
.rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.rail-link {
  display: grid; gap: 10px; width: 100%; padding: 0 0 4px; border: 0; background: none; text-align: left;
  color: var(--ink-2); border-radius: 6px;
}
.rail-bar { display: block; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.rail-fill { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.rail-title {
  font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -.012em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .3s;
}
.rail-link:hover .rail-title { color: var(--ink); }
.rail-item:first-child .rail-fill { transform: scaleX(1); }
.js .rail-item:first-child .rail-fill { transform: scaleX(0); }
.js .rail-item.is-active .rail-fill { transform: scaleX(1); }
.rail-item.is-active .rail-title, .no-js .rail-item:first-child .rail-title { color: var(--ink); }
.rail-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; margin-bottom: 4px;
  color: var(--ink); background: var(--raised); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm);
  transition: transform .3s var(--ease);
}
.rail-toggle:hover { transform: translateY(-1px); }
.rail-toggle svg { fill: currentColor; }
.rail-toggle .i-play, .rail-toggle.is-paused .i-pause { display: none; }
.rail-toggle.is-paused .i-play { display: block; }

/* recommended aside: inset panel that also sits under the search field */
.rec { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 6px var(--apad) var(--apad); min-width: 0; }
.rec::before {
  content: ""; position: absolute; z-index: -1; inset: calc(-1 * var(--head-h)) 0 0 0; border-radius: var(--r-panel);
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--edge-hi);
}
.rec-title { font-size: 17px; font-weight: 600; letter-spacing: -.02em; padding-top: 4px; }
.rec-feature { position: relative; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.rec-feature .media { border-radius: inherit; aspect-ratio: 3 / 2; }
.rec-feature-body {
  position: absolute; left: 8px; right: 8px; bottom: 8px; display: grid; gap: 6px; padding: 12px 14px 13px; border-radius: 12px;
  color: #F6F8FC; background: var(--glass-dark);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.rec-feature .meta { color: rgba(246, 248, 252, .82); }
.rec-feature .meta .sec { color: #CFE0FF; }
.rec-feature .sep { color: rgba(246, 248, 252, .5); }
.rec-feature-title {
  font-size: 15px; font-weight: 560; line-height: 1.3; letter-spacing: -.012em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.rec-feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.card:hover img, .row:hover img { transform: scale(1.04); }
.rec-list { display: grid; }
.row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 14px; align-items: center;
  padding: 13px 4px; border-top: 1px solid var(--line);
}
.row:first-child { border-top: 0; }
.row-body { display: grid; gap: 5px; min-width: 0; }
.row-title {
  font-size: 14px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.row:hover .row-title { color: var(--accent); }
.media--thumb { aspect-ratio: 1; border-radius: var(--r-thumb); width: 64px; }
@media (max-height: 820px) and (min-width: 900px) {
  .rec-list .row:nth-child(n+4) { display: none; }
}

/* ---------- trending ---------- */
.trending { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 2.08fr); gap: clamp(24px, 3vw, 44px); }
.trend-lead { display: flex; flex-direction: column; gap: 22px; }
.feature { position: relative; display: flex; flex-direction: column; gap: 22px; }
.trending .feature { flex-direction: column-reverse; flex: 1; justify-content: flex-end; }
.feature-body { display: grid; gap: 14px; align-content: start; }
.feature-title { font-size: clamp(1.5rem, 1rem + 1.15vw, 2.1rem); font-weight: 560; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.feature-title a:hover { color: var(--accent); }
.feature-lede { display: grid; gap: 6px; }
.feature-lede p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.feature-lede figcaption { font: 12px/1.3 var(--mono); color: var(--muted); }
.feature-lede:has(p:empty) { display: none; }
.trending .feature-lede { display: none; }
.feature-sources { font: 12px/1.4 var(--mono); color: var(--muted); }
.feature .cta { margin-top: 6px; }
.media--feature { border-radius: 20px; aspect-ratio: 3 / 2; }
.trend-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.trend-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; border-radius: var(--r-card); }
.card .media { box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover .media { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.card-body { display: grid; gap: 7px; }
.card-title {
  font-size: 16px; font-weight: 560; line-height: 1.32; letter-spacing: -.015em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card:hover .card-title { color: var(--accent); }
.card-sources { font: 11.5px/1.4 var(--mono); color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 10px; margin-top: auto; padding-top: 6px; }
.js .trend-grid .card.is-off { display: none; }
.trend-grid.is-out { opacity: 0; transform: translateX(calc(var(--dir, 1) * -28px)); transition: opacity .175s var(--ease-io), transform .175s var(--ease-io); }
.trend-grid.is-pre { opacity: 0; transform: translateX(calc(var(--dir, 1) * 28px)); }
.trend-grid.is-in { transition: opacity .175s var(--ease), transform .175s var(--ease); }

/* ---------- mexico: image-led band, glass plate over the photo, list beside ---------- */
.mexico {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px 36px;
  grid-template-areas: "feat head" "feat list";
  grid-template-rows: auto 1fr;
  background:
    radial-gradient(80% 120% at 100% 0%, color-mix(in oklab, var(--c2) 16%, transparent), transparent 60%),
    var(--frame);
}
.mexico .mx-head { grid-area: head; padding-top: 8px; margin-bottom: 0; }
.mexico .feature { grid-area: feat; position: relative; display: block; border-radius: var(--r-panel); overflow: hidden; min-height: 440px; }
.mexico .media--feature { position: absolute; inset: 0; aspect-ratio: auto; border-radius: inherit; }
.mexico .feature-body {
  position: relative; z-index: 1; margin: 18px; margin-top: 160px; max-width: 34rem; padding: 22px 24px 24px; border-radius: 20px;
  background: var(--plate); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--edge-hi), var(--shadow);
}
.mexico .feature { display: flex; align-items: flex-end; }
/* the plate sits on photos and art of any brightness: dense enough that small text keeps AA */
.mexico { --plate: rgba(246, 248, 252, .9); }
.mexico .feature-body .meta, .mexico .feature-body .meta time, .mexico .feature-lede figcaption, .mexico .feature-sources { color: var(--ink-2); }
.mexico .feature-body .meta .sec { color: var(--accent); }
.feature-lede figcaption { display: flex; align-items: center; gap: 8px; }
.feature-lede figcaption::before { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .6; }
.mexico .feature-lede p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mx-list { grid-area: list; display: grid; align-content: start; }
.mx-list .row { grid-template-columns: minmax(0, 1fr) 88px; padding: 16px 0; }
.mx-list .media--thumb { width: 88px; }
.mx-list .row-title { font-size: 16px; font-weight: 560; }
.mexico:not(:has(article)), .trending:not(:has(article)), .related:not(:has(article)) { display: none; }

/* ---------- section blocks: three compositions in rotation, never three identical in a row ---------- */
.sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.sblock { grid-column: 1 / -1; }
/* block head: swatch + title on the left, "View all" to the right; when it wraps, the link drops under the title, left-aligned */
.sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 24px; }
.sec-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
/* "View all {Section} news": link to the section page. The build leaves the label empty when there are no
   section pages, and then the link is not rendered at all (no empty, focusable link) */
.view-all {
  display: inline-flex; align-items: center; gap: 10px; flex: none; height: 38px; padding: 0 6px 0 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; color: var(--ink);
  background: var(--raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .2s;
}
.view-all-arrow {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--on-ink); transition: transform .45s var(--ease);
}
.view-all:hover { color: var(--accent); transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); }
.view-all:hover .view-all-arrow { transform: translateX(2px); }
.view-all:active { transform: translateY(0) scale(.98); }
.view-all:focus-visible { border-radius: 999px; }
.view-all:has(.view-all-label:empty) { display: none; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--art) center / 180% no-repeat, radial-gradient(circle at 30% 30%, var(--c2), var(--c1) 60%, var(--c3));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), var(--shadow-sm);
}
.sec-grid { display: grid; gap: 24px 20px; }
/* A: lead story + stacked rows */
.sblock:nth-child(3n+1) .sec-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.sblock:nth-child(3n+1) .card:first-child { grid-row: span 3; }
.sblock:nth-child(3n+1) .card:first-child .media { aspect-ratio: 16 / 10; }
.sblock:nth-child(3n+1) .card:first-child .card-title { font-size: clamp(1.25rem, 1rem + .6vw, 1.6rem); line-height: 1.18; letter-spacing: -.025em; -webkit-line-clamp: 4; }
.sblock:nth-child(3n+1) .card:not(:first-child) { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; }
.sblock:nth-child(3n+1) .card:not(:first-child) .media { aspect-ratio: 4 / 3; border-radius: var(--r-thumb); }
/* one story in a block: a horizontal split instead of a lone giant image */
.sblock .sec-grid:has(> .card:only-child) { grid-template-columns: minmax(0, 1fr); }
.sblock:not(:nth-child(3n+3)) .card:only-child { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center; grid-row: auto; }
.sblock:not(:nth-child(3n+3)) .card:only-child .card-title { font-size: clamp(1.3rem, 1rem + .8vw, 1.75rem); line-height: 1.16; letter-spacing: -.028em; -webkit-line-clamp: 4; }
/* two stories: an even pair */
.sblock:nth-child(3n+1) .sec-grid:has(> .card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sblock:nth-child(3n+1) .sec-grid:has(> .card:nth-child(2):last-child) .card { display: flex; grid-row: auto; }
.sblock:nth-child(3n+1) .sec-grid:has(> .card:nth-child(2):last-child) .card .media { aspect-ratio: 16 / 10; border-radius: var(--r-card); }
/* B: even row of vertical cards */
.sblock:nth-child(3n+2) .sec-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
/* C: half-width pair-friendly panel with text-forward rows */
.sblock:nth-child(3n+3) { grid-column: auto; }
.sblock:nth-child(3n+3):last-child { grid-column: 1 / -1; }
.sblock:nth-child(3n+3) + .sblock { grid-column: auto; }
.sblock:nth-child(3n+3) + .sblock .sec-grid { grid-template-columns: minmax(0, 1fr); }
.sblock:nth-child(3n+3) + .sblock .card { grid-row: auto; }
.sblock:nth-child(3n+3) + .sblock .card:only-child { display: flex; align-items: stretch; gap: 16px; }
.sblock:nth-child(3n+3) .sec-grid { gap: 0; }
.sblock:nth-child(3n+3) .card { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); border-radius: 0; }
.sblock:nth-child(3n+3) .card:first-child { border-top: 0; padding-top: 0; }
.sblock:nth-child(3n+3) .card .media { order: 2; aspect-ratio: 1; border-radius: var(--r-thumb); }
.sblock:nth-child(3n+3) .card .card-sources { display: none; }

/* ---------- story page ---------- */
.top--story, .top--note {
  grid-template-columns: minmax(0, 1fr) minmax(200px, 340px); min-height: 0; align-items: center;
  padding: 36px 24px 44px 28px;
}
.story-head, .note-head { display: grid; gap: 20px; align-content: start; min-width: 0; position: relative; z-index: 1; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--hair); border-right: 1.5px solid var(--hair); transform: rotate(45deg); margin-right: 4px; }
.crumbs a { padding: 4px 0; }
.crumbs a:hover { color: var(--accent); }
.crumbs li:last-child a { color: var(--accent); font-weight: 500; }
.story-title, .note-title {
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.5rem); font-weight: 560; line-height: 1.06; letter-spacing: -.035em;
  text-wrap: balance; max-width: 22em;
}
.story-meta { font-size: 15px; color: var(--ink-2); max-width: 60ch; }
.story-meta strong { color: var(--ink); font-weight: 560; }
.story-meta time { font-family: var(--mono); font-size: 13.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips:empty { display: none; }
.entity {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px 0 10px; border-radius: 999px;
  font-size: 13px; font-weight: 500; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line);
}
.entity::before { content: ""; width: 8px; height: 8px; flex: none; }
.entity-person::before { border-radius: 50%; background: var(--accent); }
.entity-org::before { border-radius: 2px; background: var(--ink); }
.entity-loc::before { border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c2); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 50%, transparent); }
.orb--static { width: 100%; max-width: 340px; margin: 0; grid-area: auto; }
/* story with our own illustration: it takes the orb's column, wider */
.top--story:has(.story-art) { grid-template-columns: minmax(0, 1fr) minmax(300px, 44%); gap: clamp(24px, 3vw, 48px); align-items: center; }
.top--story:has(.story-art) .orb--static { display: none; }
.story-art { position: relative; z-index: 1; display: grid; gap: 10px; min-width: 0; margin: 0; }
.story-art-frame {
  position: relative; overflow: hidden; border-radius: var(--r-panel); aspect-ratio: 3 / 2;
  background: linear-gradient(150deg, var(--c1), var(--c3) 92%); box-shadow: var(--shadow);
}
.story-art-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.story-art img { width: 100%; height: 100%; object-fit: cover; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 20px; align-items: start; }
.story-main { display: grid; min-width: 0; }

/* summary (AEO): answer box, cited paragraphs, key questions. Optional: the page is complete without it */
.story-summary { display: grid; gap: clamp(28px, 3vw, 40px); }
.answer {
  position: relative; display: grid; gap: 14px; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-panel);
  overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 120% at 100% 0%, color-mix(in oklab, var(--c2) 20%, transparent), transparent 62%),
    linear-gradient(135deg, color-mix(in oklab, var(--accent) 9%, var(--raised)), var(--raised) 70%);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 20%, transparent), inset 0 1px 0 var(--edge-hi), var(--shadow-sm);
}
.answer::after { /* the Vox Populi mark in the corner, with two faint rings */
  content: ""; position: absolute; z-index: -1; right: 22px; top: 22px; width: 56px; aspect-ratio: 1; border-radius: 50%;
  background: url("../img/favicon.svg") center / 100% no-repeat;
  box-shadow:
    0 14px 26px -12px color-mix(in oklab, var(--accent) 70%, transparent),
    0 0 0 10px color-mix(in oklab, var(--accent) 6%, transparent), 0 0 0 22px color-mix(in oklab, var(--accent) 3.5%, transparent);
}
.answer-label {
  justify-self: start; display: inline-flex; align-items: center; gap: 9px; height: 26px; padding: 0 12px 0 6px; border-radius: 999px;
  font: 600 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cite);
  background: color-mix(in oklab, var(--accent) 10%, var(--raised)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 18%, transparent);
}
.answer-label::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in oklab, var(--c2) 60%, white), var(--c1) 70%); }
.answer-text {
  max-width: 50ch; padding-right: clamp(0px, 6vw, 72px);
  font-size: clamp(1.2rem, 1rem + .55vw, 1.5rem); font-weight: 480; line-height: 1.42; letter-spacing: -.02em; text-wrap: pretty;
}
.summary { display: grid; gap: 14px; }
.summary-text { max-width: 66ch; }
.summary-text p { font-size: 17px; line-height: 1.72; letter-spacing: -.006em; text-wrap: pretty; }
.summary-text p + p { margin-top: 1em; }
.cite {
  position: relative; top: -.5em; display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.2em; height: 1.6em; margin-left: .1em; padding: 0 .45em; border-radius: 999px;
  font: 600 .64em/1 var(--mono); letter-spacing: -.02em; white-space: nowrap; color: var(--cite);
  background: color-mix(in oklab, var(--accent) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 22%, transparent);
  transition: background-color .2s, color .2s, transform .3s var(--ease);
}
.cite + .cite { margin-left: .15em; }
.cite:hover, .cite:focus-visible { background: var(--accent); color: var(--on-ink); box-shadow: none; transform: translateY(-1px); }
.cite:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 999px; }
.summary-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; max-width: 66ch; margin-top: 6px; padding-top: 14px;
  border-top: 1px solid var(--line); font-size: 13px; line-height: 1.45; color: var(--muted);
}
.summary-note-text:empty { display: none; }
.summary-all {
  display: inline-flex; align-items: center; gap: 5px; font-weight: 500; color: var(--cite);
  text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: color-mix(in oklab, var(--accent) 40%, transparent);
}
.summary-all:hover { text-decoration-color: currentColor; }
.summary-all svg { transition: transform .35s var(--ease); }
.summary-all:hover svg { transform: translateY(2px); }
.faq { display: grid; gap: 16px; }
.faq-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.faq-item {
  position: relative; display: grid; gap: 10px; align-content: start; padding: 20px 20px 22px; border-radius: 20px;
  background: var(--raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.faq-item h3 { display: flex; gap: 10px; font-size: 16.5px; font-weight: 600; line-height: 1.32; letter-spacing: -.015em; text-wrap: balance; }
.faq-item h3::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .45em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 14%, transparent); }
.faq-item p { font-size: 15px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.faq:has(.faq-list:empty), .answer:has(.answer-text:empty) { display: none; }

.sources-title { display: flex; align-items: center; gap: 10px; }
.count {
  display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px;
  font: 500 12px/1 var(--mono); letter-spacing: -.01em; color: var(--ink-2); background: var(--raised); box-shadow: inset 0 0 0 1px var(--line);
}
.count:empty { display: none; }
.source-list { display: grid; gap: 12px; margin-top: 18px; }
.source-item {
  scroll-margin-top: 24px;
  position: relative; display: grid; gap: 12px; padding: 20px 22px; border-radius: 20px;
  background: var(--raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.source-item:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); }
.source-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.source-id { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.source-n {
  display: inline-grid; place-items: center; flex: none; min-width: 26px; height: 24px; padding: 0 7px; border-radius: 999px;
  font: 600 11.5px/1 var(--mono); color: var(--cite);
  background: color-mix(in oklab, var(--accent) 10%, var(--raised)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 20%, transparent);
  transition: background-color .3s, color .3s;
}
.source-n:empty { display: none; }
.source-name { font-weight: 600; font-size: 14px; letter-spacing: -.01em; }
/* a followed [n] citation lands here: ring around the card (static under reduced motion, brief otherwise) */
.source-item::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 8px color-mix(in oklab, var(--accent) 16%, transparent);
}
.source-item:target::before { opacity: 1; }
.source-item:target .source-n { background: var(--accent); color: var(--on-ink); box-shadow: none; }
.source-top time { font: 12px/1 var(--mono); color: var(--muted); }
.source-main { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 20px; align-items: start; }
.no-image .source-main { grid-template-columns: minmax(0, 1fr); }
.no-image .source-main .media { display: none; }
.source-main .media--thumb { width: 104px; }
.source-text { display: grid; gap: 10px; }
.source-title { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); font-weight: 560; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.source-lede { padding-left: 14px; border-left: 2px solid color-mix(in oklab, var(--accent) 35%, transparent); }
.source-lede p { font-size: 15px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.source-lede:has(p:empty) { display: none; }
.source-authors { font-size: 13px; color: var(--muted); }
.source-authors:empty { display: none; }
.source-authors::before { content: "By "; }
.source-out { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 8px 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.out-icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); transition: transform .4s var(--ease); }
.source-item:hover .out-icon { transform: translate(2px, -2px); }
.source-item:hover .source-out { color: var(--accent); }
.story-timeline { position: sticky; top: 16px; padding: 24px; }
.timeline { position: relative; display: grid; gap: 18px; margin-top: 18px; padding-left: 20px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--accent), var(--line-2)); }
.tl-item { position: relative; display: grid; gap: 3px; }
.tl-item::before { content: ""; position: absolute; left: -20px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--raised); box-shadow: inset 0 0 0 2px var(--accent); }
.tl-item:first-child::before { background: var(--accent); }
.tl-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tl-item time { font: 11.5px/1.3 var(--mono); color: var(--muted); }
.tl-n { display: inline-grid; place-items: center; min-width: 22px; height: 18px; padding: 0 5px; border-radius: 999px; font: 600 10.5px/1 var(--mono); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.tl-n:empty { display: none; }
.tl-source { font-size: 13px; font-weight: 600; }
.tl-title { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tl-title:hover { color: var(--accent); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 20px; margin-top: 24px; }

/* ---------- note page ---------- */
.note-dek { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 40em; text-wrap: pretty; }
.note-byline { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.byline-mark { width: 40px; height: 40px; flex: none; border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 12%, transparent); }
.byline-text { display: grid; gap: 4px; font-size: 15px; line-height: 1.25; color: var(--ink-2); }
.note-author { font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.note-author::before { content: "By "; font-weight: 400; color: var(--ink-2); }
.byline-text time { font: 12.5px/1.2 var(--mono); color: var(--muted); }
.note-body { max-width: 860px; margin-inline: auto; padding: clamp(24px, 4vw, 56px); }
.note-figure { margin: 0 0 36px; display: grid; gap: 10px; }
.note-figure img { width: 100%; height: auto; border-radius: 20px; background: color-mix(in oklab, var(--accent) 8%, var(--surface)); }
.note-figure[data-image-kind="art"] img { aspect-ratio: 3 / 2; object-fit: cover; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.note-figure.no-image { display: none; }
.prose { max-width: 40rem; margin-inline: auto; font-size: 19px; line-height: 1.7; letter-spacing: -.005em; text-wrap: pretty; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.025em; font-weight: 600; }
.prose h3 { margin-top: 1.6em; font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose blockquote { padding-left: 1.1em; border-left: 2px solid var(--accent); color: var(--ink-2); }

/* ---------- section page (/<section>/): every story and note of the topic, newest first ----------
   Same frame as story/note pages (crumbs, H1, static orb tinted by the section), then the newest item as a
   wide split feature and the rest as an even card grid (rows with a thumbnail on mobile). */
.top--section {
  grid-template-columns: minmax(0, 1fr) minmax(200px, 300px); min-height: 0; align-items: center;
  padding: 36px 24px 40px 28px;
}
.section-head { display: grid; gap: 18px; align-content: start; min-width: 0; position: relative; z-index: 1; }
.section-title { font-size: clamp(2.2rem, 1.2rem + 3vw, 4.2rem); font-weight: 560; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.section-count { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-2); }
.section-count .count { color: var(--ink); }
.top--section .orb--static { max-width: 300px; }
.sec-label {
  justify-self: start; display: inline-flex; align-items: center; height: 30px; margin-bottom: 22px; padding: 0 14px 0 12px;
  font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 14%, transparent), transparent);
}
.sec-lead {
  background:
    radial-gradient(80% 120% at 100% 0%, color-mix(in oklab, var(--c2) 14%, transparent), transparent 60%),
    var(--frame);
}
.sec-lead .feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 52px); align-items: center; }
.sec-lead .feature-title { font-size: clamp(1.6rem, 1rem + 1.5vw, 2.5rem); }
.sec-lead .feature-body { gap: 16px; }
/* the page is the section: the section label repeated on every card is noise */
.section .sec-lead .meta .sec, .section .sec-lead .meta .sep, .section .sec-list .meta .sec, .section .sec-list .meta .sep { display: none; }
.sec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 20px; }
/* a single remaining story: a horizontal split instead of one lonely card in a four-column grid */
.sec-list:has(> .card:only-child) { grid-template-columns: minmax(0, 1fr); }
.sec-list .card:only-child { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: center; }
.sec-list .card:only-child .card-title { font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); line-height: 1.2; letter-spacing: -.025em; }
.sec-more:not(:has(article)), .sec-lead:not(:has(article)) { display: none; }

/* ---------- footer ---------- */
.foot { margin-top: 20px; padding: 28px clamp(20px, 2.6vw, 36px) 36px; }
.foot-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; }
.brand--foot { height: 36px; font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links .pill { all: unset; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.foot-links .pill:hover { color: var(--accent); }
.foot-links .pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.foot-credit, .foot-copy { font-size: 13px; color: var(--muted); }
.foot-credit a { color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--line-2); }
.foot-credit a:hover { color: var(--accent); }
.foot-credit { grid-column: 1 / 3; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .5fr); }
  .orb { width: min(170%, 440px); margin-left: -40%; }
  .rail { gap: 20px; }
  .trending { grid-template-columns: minmax(0, 1fr); }
  .trending .feature { flex-direction: row-reverse; align-items: center; gap: 28px; }
  .trending .feature > * { flex: 1; }
}
@media (max-width: 899px) {
  :root { --page-pad: 0px; --fpad: 16px; --apad: 0px; --r-frame: 0px; }
  .masthead { grid-template-columns: minmax(0, 1fr); row-gap: 12px; height: auto; padding-top: 14px; }
  .masthead-main { display: contents; }
  .brand { grid-row: 1; justify-self: start; }
  .nav { grid-row: 3; margin: 0 calc(-1 * var(--fpad)); }
  .pills { padding: 4px var(--fpad); scroll-snap-type: x proximity; }
  .search { grid-row: 2; }
  .search-btn { right: 4px; }
  .search-panel { left: 0; right: 0; }
  .top {
    grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 28px;
  }
  .top::before, .top::after { inset: -40rem calc(-1 * var(--fpad)) 0; border-radius: 0 0 28px 28px; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "rail"; padding: 0; }
  .orb { position: absolute; top: -34px; right: -48px; width: 230px; margin: 0; z-index: 0; }
  .hero-copy { padding: 26px 0 30px; }
  .hero-label { margin-bottom: 84px; }
  .hero-title { max-width: none; }
  .hero-title[data-len] { --hero-fs: clamp(1.75rem, 1rem + 4.2vw, 2.4rem); }
  .hero-title[data-len="s"] { --hero-fs: clamp(2.1rem, 1rem + 5.6vw, 2.9rem); }
  .hero-title[data-len="xl"], .hero-title[data-len="xxl"] { --hero-fs: clamp(1.55rem, 1rem + 3.4vw, 2.1rem); }
  .rail-wrap { grid-template-columns: minmax(0, 1fr); margin: 0 calc(-1 * var(--fpad)); }
  .rail {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 4px var(--fpad) 8px; scroll-padding-inline: var(--fpad);
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail > li { flex: 0 0 78%; scroll-snap-align: start; }
  .rail-toggle { position: absolute; right: var(--fpad); top: -54px; }
  .rec { padding: 8px 0 0; }
  .rec::before { display: none; }
  .rec-feature .media { aspect-ratio: 16 / 9; }
  .panel { margin: 12px 10px 0; border-radius: 28px; padding: 22px 18px; }
  .trending { gap: 26px; }
  .trending .feature { flex-direction: column-reverse; }
  .trend-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 16px;
    margin: 0 -18px; padding: 0 18px 4px; scroll-padding-inline: 18px;
  }
  .trend-grid::-webkit-scrollbar { display: none; }
  .trend-grid > .card { flex: 0 0 72%; scroll-snap-align: start; }
  .js .trend-grid .card.is-off { display: flex; }
  .mexico { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "feat" "list"; }
  .mexico .feature { min-height: 420px; }
  .mexico .feature-body { margin: 10px; margin-top: 150px; padding: 18px; }
  .sections { grid-template-columns: minmax(0, 1fr); }
  .sblock, .sblock:nth-child(3n+3), .sblock:nth-child(3n+3) + .sblock { grid-column: 1 / -1; }
  .sblock:nth-child(3n+1) .sec-grid { grid-template-columns: minmax(0, 1fr); }
  .sblock:nth-child(3n+1) .card:first-child { grid-row: auto; }
  .sblock:nth-child(3n+1) .card:not(:first-child) { grid-template-columns: 104px minmax(0, 1fr); }
  .sblock:nth-child(3n+2) .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sblock:nth-child(3n+2) .card-sources { display: none; }
  .sblock:not(:nth-child(3n+3)) .card:only-child { display: flex; align-items: stretch; gap: 14px; }
  .top--story, .top--note { grid-template-columns: minmax(0, 1fr); padding: 26px 0 32px; }
  .top--story .orb--static, .top--note .orb--static { position: absolute; top: -40px; right: -70px; width: 220px; opacity: .9; z-index: 0; }
  .story-head .crumbs, .note-head .crumbs { margin-bottom: 92px; }
  .top--section { grid-template-columns: minmax(0, 1fr); padding: 26px 0 30px; }
  .top--section .orb--static { position: absolute; top: -40px; right: -70px; width: 220px; opacity: .9; z-index: 0; }
  .section-head .crumbs { margin-bottom: 84px; }
  .sec-lead .feature { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sec-label { margin-bottom: 18px; }
  .sec-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sec-list .card { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); border-radius: 0; }
  .sec-list .card:first-child { border-top: 0; padding-top: 0; }
  .sec-list .card .media { aspect-ratio: 4 / 3; border-radius: var(--r-thumb); }
  .sec-list .card-title, .sec-list .card:only-child .card-title { font-size: 15.5px; line-height: 1.32; letter-spacing: -.015em; }
  .sec-list .card:only-child { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
  .sec-list .card-sources { display: none; }
  .top--story:has(.story-art) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .top--story:has(.story-art) .story-head .crumbs { margin-bottom: 0; }
  .story-art-frame { border-radius: 20px; }
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story-timeline { position: static; }
  .source-item { padding: 18px; }
  .answer { padding: 22px 18px; }
  .answer::after { width: 44px; right: 16px; top: 16px; }
  .answer-text { padding-right: 0; font-size: 1.15rem; }
  .summary-text p { font-size: 16.5px; }
  .faq-list { grid-template-columns: minmax(0, 1fr); }
  .source-main { grid-template-columns: minmax(0, 1fr) 72px; gap: 14px; }
  .source-main .media--thumb { width: 72px; }
  .foot-inner { grid-template-columns: minmax(0, 1fr); }
  .foot-credit { grid-column: auto; }
}
/* narrow phones: "View all" always sits under the block title, so every block reads the same */
@media (max-width: 599px) {
  .sec-head:has(.view-all-label:not(:empty)) { flex-direction: column; align-items: flex-start; }
}

/* ---------- motion (only when the user has not asked for less) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .top::before, .top::after { animation: frame-in 1s var(--ease) both; }
  .brand { animation: rise .7s var(--ease) both .05s; }
  .pills > li { animation: rise .7s var(--ease) both; }
  .pills > li:nth-child(1) { animation-delay: .1s; }
  .pills > li:nth-child(2) { animation-delay: .14s; }
  .pills > li:nth-child(3) { animation-delay: .18s; }
  .pills > li:nth-child(4) { animation-delay: .22s; }
  .pills > li:nth-child(5) { animation-delay: .26s; }
  .pills > li:nth-child(6) { animation-delay: .3s; }
  .pills > li:nth-child(n+7) { animation-delay: .34s; }
  .search { animation: rise .7s var(--ease) both .2s; }
  .hero-label { animation: rise .8s var(--ease) both .25s; }
  .hero-slide:first-child .meta { animation: rise .8s var(--ease) both .32s; }
  .no-js .hero-slide:first-child .hero-title { animation: rise .9s var(--ease) both .36s; }
  .hero-slide:first-child .hero-sources, .hero-slide:first-child .cta { animation: rise .8s var(--ease) both .62s; }
  .orb { animation: orb-in 1.4s var(--ease) both .2s; }
  .vox-mark > span { animation: level 1.1s var(--ease) both .45s; }   /* once, like a recorder catching a voice */
  .vox-mark > span:nth-child(2) { animation-delay: .53s; }
  .vox-mark > span:nth-child(3) { animation-delay: .61s; }
  .rail > li { animation: rise .8s var(--ease) both; }
  .rail > li:nth-child(1) { animation-delay: .7s; }
  .rail > li:nth-child(2) { animation-delay: .78s; }
  .rail > li:nth-child(3) { animation-delay: .86s; }
  .rec > * { animation: rise .8s var(--ease) both .4s; }
  .rec-list .row { animation: rise .8s var(--ease) both; }
  .rec-list .row:nth-child(1) { animation-delay: .5s; }
  .rec-list .row:nth-child(2) { animation-delay: .56s; }
  .rec-list .row:nth-child(3) { animation-delay: .62s; }
  .rec-list .row:nth-child(4) { animation-delay: .68s; }
  .story-head > *, .note-head > *, .section-head > * { animation: rise .8s var(--ease) both .15s; }
  .story-art { animation: rise .9s var(--ease) both .3s; }
  html { scroll-behavior: smooth; }
  .source-item:target::before { animation: cite-hit 2.6s var(--ease) .35s both; }

  /* headline line-mask reveal: hero.js splits the headline into lines (text untouched) */
  .js .hero-title .line-in {
    display: block; clip-path: inset(0 -.1em 0 -.1em); transform: none;
    transition: clip-path .9s var(--ease), transform .9s var(--ease);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js .hero-title.is-pre .line-in { clip-path: inset(100% -.1em -.2em -.1em); transform: translateY(.55em); transition: none; }
  .js .hero-slide .meta, .js .hero-slide .hero-sources, .js .hero-slide .cta { transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .hero-slide.is-pre .meta, .js .hero-slide.is-pre .hero-sources, .js .hero-slide.is-pre .cta { opacity: 0; transform: translateY(10px); transition: none; }
  .js .hero-slide .hero-sources { transition-delay: .32s; }
  .js .hero-slide .cta { transition-delay: .4s; }
  .js .hero-slide { transition: opacity .5s var(--ease), visibility 0s linear .5s; }
  .js .hero-slide.is-active { transition: opacity .5s var(--ease), visibility 0s; }
  .js .hero-slide:not(.is-active) { opacity: 0; }
  .hero.is-wait .hero-slide { opacity: 0; transition: none; }
  .js .rail-item.is-run .rail-fill { animation: fill var(--rail-ms, 7000ms) linear both; }
  .hero.is-paused .rail-item.is-run .rail-fill { animation-play-state: paused; }

  /* reveal on entering the viewport, once (site.js adds .reveal only when IntersectionObserver exists) */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
  .reveal.is-in { opacity: 1; transform: none; }

  .search-panel:not([hidden]), .more-menu:not([hidden]) { animation: pop .35s var(--ease) both; }
}
.js .hero-slide:not(.is-active) { visibility: hidden; }
.js .hero-slide.is-active { visibility: visible; }

@keyframes frame-in { from { opacity: 0; transform: scale(.985); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes orb-in { from { opacity: 0; transform: scale(.92); } }
@keyframes level { 0% { transform: scaleY(.25); } 45% { transform: scaleY(1.18); } 70% { transform: scaleY(.9); } 100% { transform: scaleY(1); } }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes cite-hit { 0% { opacity: 0; } 14% { opacity: 1; } 65% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

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

/* ---------- reduced transparency: solid surfaces, same layout ---------- */
@media (prefers-color-scheme: dark) { .mexico { --plate: var(--plate-dark); } }
@media (prefers-reduced-transparency: reduce) {
  :root { --frame: var(--surface); --glass: var(--surface); --panel: var(--raised); --glass-dark: #0B1230; }
  .mexico { --plate: var(--surface); }
  .glass, .pill, .staging, .rec-feature-body, .mexico .feature-body { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-transparency: reduce) and (prefers-color-scheme: dark) {
  :root { --glass-dark: #05070F; }
}

@media print {
  .backdrop, .orb, .rail-wrap, .search, .nav, .pager, .staging, .skip { display: none !important; }
  .top::before, .top::after, .rec::before { display: none; }
  .panel { box-shadow: none; }
}
