/*
Theme Name: Viewly News
Theme URI: https://viewly.local/
Author: WorkBuddy
Description: A restrained, broadsheet-inspired editorial news theme: full-bleed hero with overlaid headlines, numbered most-read rails, four-column section bands, dense section fronts and a BBC-style footer. Fully responsive.
Version: 46.0.0
License: GNU General Public License v2 or later
Text Domain: viewly-news
*/

/* ---------- Self-hosted typefaces ---------- */
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/sourcesans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Ink & paper — a warm newsprint ground rather than flat white */
  --ink: #14110e;
  --ink-soft: #2a2521;
  --muted: #5c554d;
  --muted-2: #776d62;
  --paper: #fbf8f3;
  --paper-deep: #f4efe6;
  --surface: #f3eee4;
  --surface-2: #e8e1d4;
  --line: #d5ccbc;
  --line-2: #c8bfae;

  /* Accents */
  --live: #c62828;
  --brand-ray-1: #e0523c;
  --brand-ray-2: #e8a33d;
  --brand-ray-3: #7b6bd6;

  /* Type */
  --serif: "Playfair Display", Georgia, "Songti SC", serif;
  --sans: "Source Sans 3", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --wrap: 1200px;

  /* Motion */
  --ease-out: cubic-bezier(.22, .68, .32, 1);
  --ease-soft: cubic-bezier(.4, .1, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(1000px 480px at 12% -6%, rgba(224, 82, 60, .05), transparent 60%),
    radial-gradient(760px 420px at 90% 2%, rgba(123, 107, 214, .042), transparent 58%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 700; letter-spacing: -.018em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.container--wide { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: #000; color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header { background: var(--paper); }
.header-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 10px 0;
}
.header-bar__right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

/* Nav sits inline in the header bar, centred between brand and search. */
.header-bar .primary-nav {
  display: flex;
  justify-content: center;
  min-width: 0;
  border-bottom: 0;
}
.header-bar .primary-nav .nav-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0;
}
.header-bar .primary-nav .nav-list > li > a {
  padding: 10px 11px;
  white-space: nowrap;
}
.header-bar .primary-nav .nav-list > li > a:hover,
.header-bar .primary-nav .nav-list > li.current-menu-item > a,
.header-bar .primary-nav .nav-list > li.current_page_item > a {
  box-shadow: inset 0 -2px 0 var(--ink);
}

/* Desktop keeps the menu button hidden: nav is visible inline. */
@media (min-width: 761px) {
  .header-bar .menu-btn.nav-toggle { display: none; }
}

/* Below the desktop breakpoint the nav drops to its own row again. */
@media (max-width: 1024px) {
  .header-bar { grid-template-columns: auto 1fr; }
  .header-bar .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    padding-top: 4px;
    border-top: 1px solid var(--line);
    margin-top: 4px;
    overflow-x: auto;
  }
  .header-bar .primary-nav .nav-list > li > a { padding: 8px 10px; }
}
.menu-btn {
  border: 0; background: transparent; cursor: pointer; padding: 8px 8px 8px 0;
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
}
.menu-btn__bars { display: grid; gap: 4px; width: 20px; }
.menu-btn__bars span { display: block; height: 1.5px; background: var(--ink); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.brand-mark {
  display: grid;
  place-items: center;
  color: var(--ink);
  line-height: 0;
  flex: 0 0 auto;
}
.brand-mark svg { display: block; }

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}
.brand-type__name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.brand-type__sub {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .55;
  margin-top: 2px;
  padding-left: 2px;
}

.btn-signin {
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 700; padding: 8px 16px; cursor: pointer;
}
.btn-signin:hover { background: #fff; color: var(--ink); text-decoration: none; }
.btn-ghost {
  border: 0; background: transparent; font-size: 12px; font-weight: 700; padding: 6px; cursor: pointer;
}

.site-search {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: border-color .18s ease;
}
.site-search:hover { border-bottom-color: var(--ink); }
.site-search:focus-within { border-bottom-color: var(--ink); }

.site-search__icon {
  display: inline-grid;
  place-items: center;
  color: var(--muted-2);
  flex: 0 0 auto;
  transition: color .18s ease;
}
.site-search:hover .site-search__icon,
.site-search:focus-within .site-search__icon { color: var(--ink); }

.site-search input[type="search"] {
  border: 0;
  background: transparent;
  width: 138px;
  padding: 4px 0;
  outline: none;
  font-size: 12.5px;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
.site-search input[type="search"]::placeholder { color: var(--muted-2); }
.site-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

.site-search button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
  color: var(--muted-2);
  line-height: 0;
  display: inline-grid;
  place-items: center;
  transition: color .18s ease, transform .18s ease;
}
.site-search button:hover { color: var(--ink); transform: translateX(2px); }
.site-search button svg { display: block; }

/* thin category strip */
.primary-nav { border-bottom: 1px solid var(--ink); }
.primary-nav .container { display: flex; align-items: stretch; justify-content: center; width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.nav-list { display: flex; align-items: stretch; flex-wrap: wrap; justify-content: center; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex; align-items: center; height: 38px; padding: 0 13px;
  font-size: 12px; font-weight: 700; color: var(--ink-soft); white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li.current_page_item > a,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-parent > a { box-shadow: inset 0 -3px 0 var(--ink); color: var(--ink); text-decoration: none; }
.nav-list .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 180px;
  background: #fff; border: 1px solid var(--line); z-index: 40;
}
.nav-list li:hover > .sub-menu { display: block; }
.nav-list .sub-menu a { display: block; padding: 8px 13px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.nav-list .sub-menu a:hover { background: var(--surface); text-decoration: none; }
button.nav-toggle { display: none; }

/* Header ends with the primary nav; no secondary strip. */
.site-header { border-bottom: 1px solid var(--line); }
.primary-nav { border-bottom: 0; }

/* ---------- Shared editorial pieces ---------- */
.site-main { padding: 0 0 40px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.rule--strong { border-top: 2px solid var(--ink); }

.section-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 0 10px;
}
.section-head__label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
  color: var(--ink);
}
.section-head__label:hover { text-decoration: none; }
.section-head__label::after {
  content: "\203A"; font-size: 16px; line-height: 1; font-weight: 700; transform: translateY(-1px);
}
.section-head__more { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--muted); }
.section-head__more:hover { color: var(--ink); text-decoration: none; }

.story-kicker {
  display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: var(--live); margin-bottom: 5px;
}
.story-kicker--plain { color: var(--muted-2); }
.story-meta { color: var(--muted-2); font-size: 11px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.story-meta__dot::before { content: "\00b7"; margin-right: 8px; }
.story-title { font-family: var(--serif); font-size: 17px; line-height: 1.22; font-weight: 700; letter-spacing: -.014em; }
.story-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.story-excerpt { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 6px; }

.thumb {
  position: relative; display: block; overflow: hidden; background: var(--surface-2);
  aspect-ratio: 16 / 9;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb--wide { aspect-ratio: 16 / 8; }
.thumb--square { aspect-ratio: 4 / 3; }
.thumb--tall { aspect-ratio: 3 / 4; }
.thumb--placeholder::after {
  content: ""; position: absolute; inset: 0;
}
.thumb--p1 { background: #2f3b52; } .thumb--p2 { background: #6b3b32; }
.thumb--p3 { background: #28524a; } .thumb--p4 { background: #5b4a2e; }
.thumb--p5 { background: #3d3352; } .thumb--p6 { background: #4a4a4a; }

.live-flag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--live);
}
.live-flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }

/* ---------- Home: discover band ---------- */
.discover { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 34px; padding: 26px 0 22px; }
.discover-intro h2 {
  font-family: var(--serif); font-size: 30px; line-height: 1.16; font-weight: 700; letter-spacing: -.02em;
}
.discover-intro p { color: var(--muted); font-size: 13px; margin: 10px 0 14px; }
.btn-outline {
  display: inline-block; border: 1px solid var(--ink); padding: 8px 16px;
  font-size: 12px; font-weight: 700;
}
.btn-outline:hover { background: var(--ink); color: #fff; text-decoration: none; }
.discover-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; }
.discover-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; align-content: start; }
.discover-list .story-title { font-size: 13px; line-height: 1.3; }
.discover-list .thumb { margin-bottom: 7px; aspect-ratio: 16 / 9; }

/* horizontal strip of small cards */
.strip-row {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.strip-item { padding: 14px 14px 14px 0; }
.strip-item + .strip-item { padding-left: 14px; border-left: 1px solid var(--line); }
.strip-item .thumb { margin-bottom: 8px; aspect-ratio: 16 / 9; }
.strip-item .story-title { font-size: 12.5px; line-height: 1.3; }

/* ---------- Section band: 4 columns ---------- */
.section-band {
  background: var(--surface);
  padding: 6px 0 22px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-band .container { }
.band-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.band-col { padding: 0 18px; border-left: 1px solid var(--line-2); }
.band-col:first-child { padding-left: 0; border-left: 0; }
.band-col:last-child { padding-right: 0; }
.band-col__head {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  padding: 12px 0 10px; color: var(--ink);
}
.band-col__head::after { content: "\203A"; font-size: 15px; transform: translateY(-1px); }
.band-col__lead { margin-bottom: 12px; }
.band-col__lead .thumb { margin-bottom: 8px; aspect-ratio: 16 / 10; }
.band-col__lead .story-title { font-size: 16px; line-height: 1.22; }
.band-col__list { display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.band-col__list .story-title { font-size: 12.5px; line-height: 1.32; }
.band-col__list .story-excerpt { font-size: 11.5px; margin-top: 4px; color: var(--muted); }

/* ---------- Ad band ---------- */
.ad-band {
  background: var(--surface); margin-top: 26px; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.ad-band .container { display: flex; align-items: center; gap: 26px; }
.ad-visual {
  flex: 0 0 300px; aspect-ratio: 16 / 6; background: linear-gradient(115deg, #003b5c 0%, #0a6f8a 55%, #7fd0c4 100%);
  display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .2em;
}
.ad-copy h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.ad-copy p { margin: 4px 0 0; font-size: 11px; color: var(--muted-2); }
.ad-copy p span { color: var(--ink); font-weight: 700; }

/* ---------- More news dense grid ---------- */
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.more-col { padding: 0 18px; border-left: 1px solid var(--line); }
.more-col:first-child { padding-left: 0; border-left: 0; }
.more-col:last-child { padding-right: 0; }
.more-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.more-item:first-child { padding-top: 0; }
.more-item:last-child { border-bottom: 0; }
.more-item--lead .thumb { margin-bottom: 9px; }
.more-item--lead .story-title { font-size: 20px; line-height: 1.2; }
.more-item .story-title { font-size: 14px; line-height: 1.3; }
.more-item .story-excerpt { font-size: 11.5px; margin-top: 4px; }
.more-item--row { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 12px; align-items: start; }
.more-item--row .thumb { margin-top: 2px; aspect-ratio: 1 / 1; }
.more-item--wide { grid-column: 1 / -1; }

.bullet-list li {
  display: flex; gap: 9px; align-items: flex-start;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 700; line-height: 1.3;
}
.bullet-list li:last-child { border-bottom: 0; }
.bullet-list { counter-reset: bl; }
.bullet-list li::before {
  counter-increment: bl; content: counter(bl);
  font-size: 10px; font-weight: 800; color: var(--muted-2);
  min-width: 14px; padding-top: 2px;
}

/* ---------- Feature / watch ---------- */
.watch-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding: 4px 0 8px; }
.watch-media { position: relative; }
.watch-tile .thumb { aspect-ratio: 4 / 3; }
.play-badge {
  position: absolute; left: 8px; bottom: 8px; width: 28px; height: 28px;
  border-radius: 50%; background: rgba(0,0,0,.82); color: #fff; display: grid; place-items: center;
  font-size: 10px; padding-left: 2px;
}
.watch-tile .story-title { font-size: 13px; margin-top: 7px; line-height: 1.28; }

.feature-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
.feature-split .feature { border-top: 1px solid var(--line); padding-top: 12px; }
.feature-split .feature .story-title { font-size: 20px; margin-top: 8px; }

/* newsletter band removed from footer */

/* ---------- News index page ---------- */
.news-masthead {
  text-align: center; padding: 22px 0 18px; border-bottom: 1px solid var(--ink);
}
.news-masthead .page-title {
  font-family: var(--sans); font-size: 46px; letter-spacing: .02em; font-weight: 900;
  text-transform: uppercase; line-height: 1;
}
.news-masthead .archive-desc { color: var(--muted); font-size: 12px; margin-top: 8px; }
.breadcrumb { font-size: 11px; color: var(--muted-2); padding: 10px 0; }

.news-lead { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 0; padding: 6px 0 0; }
.news-lead__main { padding: 14px 20px 14px 0; border-right: 1px solid var(--line); }
.news-lead__main .story-title { font-size: 26px; line-height: 1.14; margin-top: 2px; }
.news-lead__main .thumb { margin-bottom: 10px; }
.news-lead__side { padding: 14px 0 14px 20px; display: grid; gap: 0; }
.news-lead__side .story-title { font-size: 16px; line-height: 1.22; }

.news-quad {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--ink); margin-top: 4px;
}
.news-quad > article { padding: 14px 16px 14px 0; border-right: 1px solid var(--line); }
.news-quad > article:not(:first-child) { padding-left: 16px; }
.news-quad > article:last-child { border-right: 0; padding-right: 0; }
.news-quad .story-title { font-size: 13.5px; line-height: 1.3; }
.news-quad .story-excerpt { font-size: 11.5px; }

.in-band { background: var(--surface); margin-top: 24px; padding: 18px 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.in-band__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.in-band__item { padding: 0 16px; border-left: 1px solid var(--line-2); }
.in-band__item:first-child { padding-left: 0; border-left: 0; }
.in-band__item:last-child { padding-right: 0; }
.in-band__item .thumb { margin-bottom: 8px; aspect-ratio: 16 / 9; }
.in-band__item .story-title { font-size: 13px; line-height: 1.3; }

.most-watch { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 4px; }
.most-watch__item { padding: 0 14px; border-left: 1px solid var(--line); counter-increment: mw; }
.most-watch__item:first-child { padding-left: 0; border-left: 0; }
.most-watch__item:last-child { padding-right: 0; }
.most-watch { counter-reset: mw; }
.most-watch__item .story-title { font-size: 12.5px; line-height: 1.3; display: flex; gap: 7px; }
.most-watch__item .story-title::before {
  content: counter(mw); font-size: 11px; font-weight: 800; color: var(--muted-2); padding-top: 1px;
}
.most-watch__item .thumb { margin-bottom: 8px; aspect-ratio: 16 / 9; }

/* generic archive/list fallback */
.content-with-rail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
.archive-header { border-bottom: 1px solid var(--ink); padding: 18px 0 14px; margin-bottom: 16px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.archive-grid > .card { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.archive-grid > .card:nth-child(3n) { border-right: 0; padding-right: 0; }
.archive-grid > .card:not(:nth-child(3n+1)) { padding-left: 16px; }
.card .thumb { margin-bottom: 8px; }
.card .story-title { font-size: 15px; }

.pagination { display: flex; gap: 5px; margin: 24px 0; flex-wrap: wrap; }
.pagination a, .pagination .current, .pagination span {
  border: 1px solid var(--line); padding: 6px 11px; font-size: 12px;
}
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Article ---------- */
.article-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0 8px;
}

/* Breadcrumb */
.article-crumbs {
  font-size: 11px;
  color: var(--muted-2);
  padding: 14px 0 0;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.article-crumbs a { color: var(--muted-2); }
.article-crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Head */
.article-head { padding: 14px 0 0; }
.article-head__section {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--live);
  margin-bottom: 12px;
}
.article-head__title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.022em;
  margin: 0 0 14px;
}
.article-head__standfirst {
  font-size: 18px;
  line-height: 1.52;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 40rem;
}

/* Byline */
.article-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.article-byline__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.article-byline__author { font-size: 13px; font-weight: 800; }
.article-byline__role { font-size: 11px; color: var(--muted-2); }
.article-byline__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted-2);
}
.article-byline__dot {
  width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2);
}

/* Share rail */
.article-share {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
}
.article-share__label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-right: 4px;
}
.article-share__btn {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.article-share__btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  text-decoration: none;
}
.article-share__copy.is-done { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Lead media */
.article-media { margin: 6px 0 26px; }
.article-media img { width: 100%; height: auto; display: block; background: var(--surface-2); }
.article-media figcaption {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.article-media__caption { font-size: 11.5px; color: var(--ink-soft); line-height: 1.45; }
.article-media__credit { font-size: 10.5px; color: var(--muted-2); }

/* Reading column */
.article-body {
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 36.25rem;
}
.article-body > p:first-of-type {
  font-weight: 700;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.66;
}
.article-body p { margin: 0 0 20px; }
.article-body h2 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 34px 0 12px;
}
.article-body h3 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.32;
  color: var(--ink);
  margin: 26px 0 10px;
}
.article-body blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.42;
  color: var(--ink);
  font-style: normal;
}
.article-body blockquote p { margin: 0; }
.article-body img { margin: 26px 0; }
.article-body figure { margin: 26px 0; }
.article-body figcaption { font-size: 11px; color: var(--muted-2); padding-top: 6px; }
.article-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--live); }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body ul li { list-style: disc; margin-bottom: 8px; }
.article-body ol li { list-style: decimal; margin-bottom: 8px; }

/* Topics */
.article-topics { max-width: 36.25rem; margin-top: 34px; }
.article-topics__head {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.article-topics__list { display: flex; flex-wrap: wrap; gap: 8px; }
.article-topics__list a {
  display: inline-block;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  font-size: 12px;
  font-weight: 700;
  transition: background-color .15s ease, color .15s ease;
}
.article-topics__list a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  text-decoration: none;
}

/* More on this story */
.article-more { max-width: 36.25rem; margin-top: 34px; }
.article-more__head {
  font-size: 15px;
  font-weight: 800;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 2px;
}
.article-more__list li { border-bottom: 1px solid var(--line); }
.article-more__list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  transition: color .15s ease;
}
.article-more__list a:hover { text-decoration: none; }
.article-more__list a:hover .article-more__title { text-decoration: underline; text-underline-offset: 2px; }
.article-more__title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.32;
  flex: 1 1 auto;
}
.article-more__meta {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--muted-2);
  white-space: nowrap;
}

/* Related stories */
.article-related { padding: 34px 0 8px; margin-top: 34px; border-top: 1px solid var(--ink); }
.article-related__head {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.article-related__card { min-width: 0; }
.article-related__card .thumb {
  margin-bottom: 9px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.article-related__card .thumb img { transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.article-related__card .thumb:hover img { transform: scale(1.05); }
.article-related__card .story-title { font-size: 14.5px; line-height: 1.3; font-weight: 800; }
.article-related__card .story-meta { margin-top: 6px; font-size: 10.5px; }

.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
.page-content { font-size: 16px; line-height: 1.7; max-width: 700px; }
.page-content h2 { font-size: 22px; margin: 26px 0 10px; }
.page-title { font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); letter-spacing: -.028em; line-height: 1.08; font-weight: 700; }

/* ---------- Sidebar ---------- */
.sidebar { min-width: 0; }
.sidebar .rail-widget { margin-bottom: 24px; }
.rail-title {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; border-top: 2px solid var(--ink); padding: 9px 0 8px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.most-read { counter-reset: mr; }
.most-read li {
  counter-increment: mr; display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.3; font-weight: 700;
}
.most-read li::before {
  content: counter(mr); font-size: 13px; font-weight: 800; color: var(--muted-2); min-width: 15px; padding-top: 1px;
}
.most-read li:last-child { border-bottom: 0; }
.compact-list li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.compact-list li:last-child { border-bottom: 0; }
.compact-list .thumb { width: 76px; flex: 0 0 76px; aspect-ratio: 4 / 3; }
.compact-list .story-title { font-size: 12.5px; line-height: 1.3; }

/* ---------- Search ---------- */
.search-page .search-title { margin-bottom: 16px; }
.search-form-lg { display: flex; border-bottom: 2px solid var(--ink); max-width: 560px; margin-bottom: 22px; }
.search-form-lg input { flex: 1; border: 0; padding: 10px 2px; outline: none; font-size: 16px; font-weight: 600; }
.search-form-lg button { border: 0; background: var(--ink); color: #fff; padding: 9px 18px; cursor: pointer; font-size: 12px; font-weight: 700; }
.search-result { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.search-result .thumb { width: 170px; flex: 0 0 170px; }
.search-result .story-title { font-size: 18px; }
.search-result p { font-size: 12px; color: var(--muted); }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 56px 0; }
.not-found .code { font-size: 88px; line-height: 1; letter-spacing: -.06em; font-weight: 900; }
.not-found h1 { font-size: 24px; margin: 8px 0; }
.not-found .button { display: inline-block; background: var(--ink); color: #fff; padding: 10px 20px; margin-top: 14px; font-weight: 700; font-size: 12px; }
.not-found .button:hover { text-decoration: none; opacity: .85; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--ink);
  padding: 30px 0 40px;
  margin-top: 34px;
}
.footer-inner { max-width: var(--wrap); }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--ink);
  cursor: pointer;
}
.footer-logo:hover { text-decoration: none; }
.footer-logo__mark {
  display: grid;
  place-items: center;
  color: var(--ink);
  line-height: 0;
  flex: 0 0 auto;
}
.footer-logo__mark svg { display: block; }
.footer-logo__type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.footer-logo__name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.footer-logo__sub {
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .55;
  margin-top: 3px;
  padding-left: 1px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 20px;
}
.footer-nav a {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.9;
}
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-social__label { font-size: 12px; font-weight: 700; color: var(--ink); }
.footer-social a {
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  line-height: 1;
  width: 18px;
  height: 18px;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a[aria-label="YouTube"] svg { width: 18px; height: 18px; }
.footer-social a:hover { opacity: .6; }

.footer-hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 14px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-bottom: 12px;
}
.footer-legal a {
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.9;
}
.footer-legal a:hover { text-decoration: underline; text-underline-offset: 2px; }

.footer-copyright {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  max-width: 900px;
}
.footer-copyright a { color: var(--ink); font-weight: 700; text-decoration: none; }
.footer-copyright a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .strip-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip-item:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-col:nth-child(3) { padding-left: 0; border-left: 0; }
  .band-col:nth-child(n+3) { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more-col:nth-child(3) { grid-column: 1 / -1; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 4px; }
  .in-band__grid, .news-quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-quad > article:nth-child(2) { border-right: 0; padding-right: 0; }
  .news-quad > article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .most-watch { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .most-watch__item:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .content-with-rail, .article-layout, .page-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 26px; }
  .discover { grid-template-columns: 1fr; gap: 20px; }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-grid > .card:nth-child(3n) { border-right: 1px solid var(--line); padding-right: 16px; }
  .archive-grid > .card:nth-child(2n) { border-right: 0; padding-right: 0; }
  }

@media (max-width: 760px) {
  .container, .container--wide { width: min(100% - 24px, var(--wrap)); }
  .header-bar { padding: 8px 0; }
  .masthead-inner { }
  .brand-text strong { font-size: 18px; }
  .brand-mark svg { width: 32px; height: 24px; }
  .brand-type__name { font-size: 22px; }
  .brand-type__sub { font-size: 8px; letter-spacing: .26em; }
  .site-search { display: none; }
  .primary-nav .container { display: block; }
  .primary-nav .nav-list { display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .primary-nav.is-open .nav-list { display: flex; }
  .primary-nav:not(.is-open) .nav-list { display: none; }
  .nav-list > li > a { height: 38px; padding: 0 4px; border-bottom: 1px solid var(--line); }
  .nav-list .sub-menu { position: static; display: block; border: 0; background: transparent; padding-left: 14px; }
  .nav-list .sub-menu a { border-bottom: 1px solid var(--line); padding: 7px 4px; }
  .menu-btn { display: inline-flex; }
  .discover-hero, .discover-list { grid-template-columns: 1fr; }
  .discover-intro h2 { font-size: 24px; }
  .strip-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-item:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .band-grid, .more-grid, .in-band__grid, .news-quad, .news-lead, .article-layout, .page-layout, .content-with-rail, .feature-split { grid-template-columns: 1fr; }
  .band-col, .more-col, .in-band__item, .news-quad > article { padding: 12px 0 !important; border-left: 0 !important; border-right: 0 !important; border-top: 1px solid var(--line); }
  .band-col:first-child, .more-col:first-child, .in-band__item:first-child { border-top: 0; }
  .news-lead__main { border-right: 0; padding-right: 0; }
  .news-lead__side { padding-left: 0; border-top: 1px solid var(--line); }
  .most-watch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .most-watch__item:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .watch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-masthead .page-title { font-size: 32px; }
  .ad-band .container { flex-direction: column; align-items: flex-start; }
  .ad-visual { flex: 0 0 auto; width: 100%; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-grid > .card { padding: 12px 0 !important; border-right: 0 !important; }
  .article-title { font-size: 26px; }
    .sidebar { order: 2; }
}

@media (max-width: 480px) {
  .strip-row { grid-template-columns: 1fr; }
  .strip-item { padding-left: 0 !important; border-left: 0 !important; }
  .most-watch, .watch-grid { grid-template-columns: 1fr; }
  .most-watch__item { padding-left: 0 !important; border-left: 0 !important; }
  .article-content, .page-content { font-size: 15.5px; }
  }

/* ---------- v2.1 utilities ---------- */
.discover-lead { min-width: 0; }
.pagination-wrap .pagination { display: flex; }
.pagination-wrap nav { margin: 24px 0; }
.pagination-wrap .nav-links { display: flex; gap: 5px; flex-wrap: wrap; }
.pagination-wrap .page-numbers {
  border: 1px solid var(--line); padding: 6px 11px; font-size: 12px; display: inline-block;
}
.pagination-wrap .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination-wrap .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.section-block { margin-top: 24px; }
.section-label { font-size: 13px; font-weight: 800; text-transform: uppercase; }
.discover-lead .story-title { font-size: 19px; line-height: 1.22; margin-top: 9px; }
.discover-lead .story-excerpt { font-size: 12px; }

/* ---------- v2.2 mobile overflow fixes ---------- */
@media (max-width: 760px) {
  body { overflow-x: hidden; }
  button.nav-toggle, .menu-btn.nav-toggle { display: inline-flex !important; }
  .header-bar { gap: 8px; }
  .header-bar__left { flex: 0 0 auto; }
  .header-bar__right { flex: 0 0 auto; }
  .brand { flex: 1 1 auto; justify-content: center; min-width: 0; }
  .btn-signin { padding: 7px 11px; font-size: 11px; }
  .menu-btn { padding: 6px 4px 6px 0; }
  .menu-btn__bars { width: 18px; }
  .discover-hero, .discover-list, .discover-lead,
  .more-grid, .more-col, .band-grid, .band-col,
  .news-quad, .news-quad > article, .in-band__grid, .in-band__item,
  .most-watch, .most-watch__item, .news-lead, .news-lead__main, .news-lead__side,
  .strip-row, .strip-item, .article-layout, .content-with-rail > div,
  .feature-split, .watch-grid { min-width: 0; }
  .story-title, .story-excerpt, .discover-intro h2 { overflow-wrap: anywhere; }
  .more-item, .more-item--row { grid-template-columns: minmax(0, 1fr); }
  .more-item--row .thumb { width: 100%; aspect-ratio: 16 / 9; margin-top: 8px; }
  .news-masthead .page-title { font-size: 30px; }
  .article-title { font-size: 24px; }
  .search-result .thumb { width: 100%; flex: 0 0 auto; }
  .ad-band .container { gap: 12px; }
  }
@media (max-width: 420px) {
  .brand-mark svg { width: 28px; height: 21px; }
  .brand-type__name { font-size: 20px; }
  .brand-type__sub { font-size: 7.5px; letter-spacing: .24em; margin-top: 2px; }
  .btn-signin { padding: 6px 9px; font-size: 10px; }
  }

/* ---------- v4.0 section front pages (redesigned) ---------- */

/* --- Section masthead: centred title with hairline rules and accent tick --- */
.section-masthead {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 0 20px;
  margin-bottom: 4px;
}
.section-masthead__rule {
  width: 44px;
  height: 3px;
  background: var(--ink);
  margin-bottom: 16px;
}
.section-masthead__title {
  font-family: var(--sans);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: -.028em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--ink);
}
.section-masthead__deco {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-top: 20px;
}

/* --- Top block: text lead | hero | side --- */
.sec-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 32px;
  padding: 26px 0 26px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.sec-top__text { padding-top: 2px; }
.sec-top__text .story-title {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.022em;
}
.sec-top__text .story-title a {
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  transition: background-size .2s ease, color .2s ease;
}
.sec-top__text .story-title a:hover {
  text-decoration: none;
  background-size: 0 1px;
  color: var(--muted);
}
.sec-top__text .story-excerpt {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--muted);
  margin-top: 12px;
}
.sec-top__text .story-meta { margin-top: 14px; }

.sec-top__media { min-width: 0; }
.sec-top__media a {
  display: block;
  overflow: hidden;
  background: var(--surface-2);
}
.sec-top__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.sec-top__media a:hover img { transform: scale(1.035); }

.sec-top__side { min-width: 0; display: flex; flex-direction: column; }
.sec-top__side .thumb { margin-bottom: 0; overflow: hidden; aspect-ratio: 16 / 9; }
.sec-top__side .thumb img { transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.sec-top__side .thumb:hover img { transform: scale(1.035); }
.sec-top__side-body { padding-top: 12px; }
.sec-top__side .story-title { font-size: 17.5px; line-height: 1.3; font-weight: 800; }
.sec-top__side .story-excerpt { font-size: 12.5px; line-height: 1.58; color: var(--muted); margin-top: 7px; }
.sec-top__side .story-meta { margin-top: 9px; }

/* --- Four cards --- */
.sec-cards { padding: 24px 0 4px; }
.sec-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.sec-card { display: flex; flex-direction: column; }
.sec-card .thumb {
  margin-bottom: 10px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.sec-card .thumb img { transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.sec-card .thumb:hover img { transform: scale(1.05); }
.sec-card .story-title { font-size: 14.5px; line-height: 1.32; font-weight: 800; }
.sec-card .story-excerpt {
  font-size: 12px;
  line-height: 1.58;
  color: var(--muted);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sec-card .story-meta { margin-top: auto; padding-top: 10px; }
.sec-card .story-title { margin-top: 0; }

/* --- Two text-only stories --- */
.sec-textrow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  padding: 26px 0 26px;
  border-bottom: 1px solid var(--line);
}
.sec-textrow__item { position: relative; padding-left: 16px; }
.sec-textrow__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--ink);
}
.sec-textrow__item .story-title { font-size: 18px; line-height: 1.28; font-weight: 800; }
.sec-textrow__item .story-excerpt { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin-top: 7px; }
.sec-textrow__item .story-meta { margin-top: 9px; }

/* --- Dark "more from" band --- */
.more-band {
  background: #0c0c0c;
  color: #fff;
  margin-top: 34px;
  padding: 26px 0 32px;
}
.more-band a { color: #fff; }
.more-band a:hover { text-decoration: none; }
.more-band__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #fff;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  margin-bottom: 22px;
}
.more-band__label { color: rgba(255, 255, 255, .72); }
.more-band__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.more-band__item { min-width: 0; }
.more-band__item .thumb {
  margin-bottom: 11px;
  overflow: hidden;
  background: #1c1c1c;
}
.more-band__item .thumb img {
  transition: transform .5s cubic-bezier(.2, .7, .3, 1), opacity .3s ease;
  opacity: .94;
}
.more-band__item .thumb:hover img { transform: scale(1.04); opacity: 1; }
.more-band__item .story-title {
  font-size: 15.5px;
  line-height: 1.3;
  font-weight: 800;
}
.more-band__item .story-title a {
  background-image: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size .25s ease;
}
.more-band__item .story-title a:hover { background-size: 100% 1px; }

/* --- Remaining list --- */
.sec-rest { padding-top: 28px; }
.sec-rest .section-head { padding-bottom: 14px; }
.sec-rest__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
}
.sec-rest__grid .more-item--row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 16px;
  align-items: start;
}
.sec-rest__grid .more-item--row:last-child { border-bottom: 0; }
.sec-rest__grid .story-title { font-size: 15px; line-height: 1.32; font-weight: 800; }
.sec-rest__grid .story-excerpt {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sec-rest__grid .thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.sec-rest__grid .thumb img { transition: transform .45s cubic-bezier(.2, .7, .3, 1); }
.sec-rest__grid .thumb:hover img { transform: scale(1.06); }

/* --- Pagination polish --- */
.pagination-wrap { margin-top: 30px; }
.pagination-wrap .nav-links { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pagination-wrap .page-numbers {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 0 10px;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.pagination-wrap .page-numbers:hover {
  background: var(--surface);
  border-color: var(--muted-2);
  color: var(--ink);
  text-decoration: none;
}
.pagination-wrap .page-numbers.current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* --- Section page responsive --- */
@media (max-width: 1100px) {
  .sec-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; }
  .sec-top__side {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .sec-top__side .thumb { margin-bottom: 0; }
  .sec-top__side-body { padding-top: 0; }
  .sec-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .more-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-rest__grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 760px) {
  .section-masthead { padding: 20px 0 16px; }
  .section-masthead__title { font-size: 26px; letter-spacing: -.02em; }
  .section-masthead__rule { width: 36px; height: 2px; margin-bottom: 12px; }
  .sec-top { grid-template-columns: 1fr; gap: 20px; padding: 20px 0; }
  .sec-top__text .story-title { font-size: 22px; }
  .sec-top__side { grid-template-columns: 1fr; gap: 12px; padding-top: 18px; }
  .sec-cards { padding: 20px 0 0; }
  .sec-cards__grid, .sec-textrow, .more-band__grid { grid-template-columns: 1fr; gap: 20px; }
  .sec-cards__grid { padding-bottom: 20px; }
  .sec-textrow { gap: 18px; padding: 20px 0; }
  .sec-textrow__item .story-title { font-size: 16.5px; }
  .more-band { margin-top: 26px; padding: 22px 0 26px; }
  .more-band__grid { gap: 20px; }
  .more-band__item .story-title { font-size: 14.5px; }
  .sec-rest { padding-top: 22px; }
  .sec-rest__grid .more-item--row { grid-template-columns: minmax(0, 1fr) 92px; gap: 12px; }
  .sec-rest__grid .story-title { font-size: 14px; }
}

@media (max-width: 420px) {
  .sec-cards__grid { gap: 18px; }
  .sec-rest__grid .more-item--row { grid-template-columns: minmax(0, 1fr) 78px; }
}

/* ============================================================
   v5.0 HOMEPAGE — full redesign
   ============================================================ */

/* --- Shared typographic helpers used on the home page --- */
.section-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.section-title::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--ink);
}
.section-title__more {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  transition: color .15s ease;
}
.section-title__more:hover { color: var(--ink); text-decoration: none; }

.rail-head {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding-bottom: 11px;
  margin: 0 0 4px;
  border-bottom: 2px solid var(--ink);
}
.rail-head--rule { border-bottom: 1px solid var(--ink); }

/* Numbered ranking list */
.rank-list { counter-reset: rk; }
.rank-list li { counter-increment: rk; }
.rank-list li a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: color .15s ease;
}
.rank-list li:last-child a { border-bottom: 0; }
.rank-list__num {
  flex: 0 0 22px;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.rank-list__num::before { content: counter(rk); }
.rank-list__text {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.005em;
}
.rank-list a:hover .rank-list__text { text-decoration: underline; text-underline-offset: 2px; }
.rank-list a:hover .rank-list__num { opacity: .45; }
.rank-list--compact .rank-list__text { font-size: 12.5px; }
.rank-list--compact .rank-list__num { font-size: 16px; flex-basis: 18px; }
.rank-list--compact li a { padding: 10px 0; }

/* ---------- 1. Hero ---------- */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 2.45fr) minmax(280px, 1fr);
  gap: 32px;
  padding: 22px 0 0;
  align-items: start;
}

.home-hero__lead { min-width: 0; }
.home-hero__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 8.6;
}
.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}
.home-hero__media { cursor: default; }
.home-slide:hover .home-hero__media img,
.home-hero__lead:hover .home-hero__media img { transform: scale(1.02); }
.home-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, .88) 0%,
    rgba(0, 0, 0, .55) 32%,
    rgba(0, 0, 0, .06) 62%,
    transparent 100%
  );
  pointer-events: none;
}
.home-hero__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 32px;
  color: #fff;
  pointer-events: none;
}
.home-hero__overlay > * { pointer-events: auto; }
.home-hero__kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #fff;
  padding-bottom: 3px;
  border-bottom: 2px solid #fff;
  margin-bottom: 12px;
}
.home-hero__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.028em;
  margin: 0 0 10px;
  max-width: 20ch;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .35);
}
.home-hero__title a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.home-hero__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.home-hero__title a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.home-hero__excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .84);
  margin: 0 0 10px;
  max-width: 54ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-hero__meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .68);
  text-transform: uppercase;
}

.home-hero__rail {
  padding-top: 2px;
  min-width: 0;
}

/* ---------- 2. Hero strip ---------- */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  padding: 26px 0 24px;
  margin-top: 26px;
  border-top: 1px solid var(--ink);
}
.hero-strip__item { min-width: 0; }
.hero-strip__item .thumb {
  margin-bottom: 9px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.hero-strip__item .thumb img { transition: transform .55s cubic-bezier(.2, .7, .3, 1); }
.hero-strip__item .thumb:hover img { transform: scale(1.05); }
.hero-strip__item .story-kicker { margin-bottom: 4px; font-size: 9.5px; }
.hero-strip__item .story-title {
  font-size: 13.5px;
  line-height: 1.32;
  font-weight: 800;
}

/* ---------- 3. Section bands ---------- */
.band-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0 30px;
  margin-top: 4px;
}
.band-section__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.band-section__col {
  padding: 0 22px;
  border-left: 1px solid var(--line-2);
  min-width: 0;
}
.band-section__col:first-child { padding-left: 0; border-left: 0; }
.band-section__col:last-child { padding-right: 0; }

.band-title {
  display: block;
  border-top: 3px solid var(--ink);
  padding: 10px 0 11px;
  margin-bottom: 14px;
  transition: opacity .15s ease;
}
.band-title:hover { opacity: .6; text-decoration: none; }
.band-title__text {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.band-lead .thumb {
  margin-bottom: 10px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.band-lead .thumb img { transition: transform .55s cubic-bezier(.2, .7, .3, 1); }
.band-lead .thumb:hover img { transform: scale(1.05); }
.band-lead .story-title { font-size: 16px; line-height: 1.24; font-weight: 800; }
.band-lead .story-excerpt {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.band-list {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
}
.band-list__item { padding: 8px 0; }
.band-list__item + .band-list__item { border-top: 1px solid var(--line-2); }
.band-list__item .story-title { font-size: 12.5px; line-height: 1.34; font-weight: 800; }
.band-list__item .story-meta { margin-top: 4px; font-size: 10px; }

/* ---------- 4. Sponsored bar ---------- */
.ad-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line);
  padding: 16px 20px;
  margin-top: 26px;
  background: var(--paper);
  transition: border-color .15s ease;
}
.ad-bar:hover { border-color: var(--muted-2); }
.ad-bar__tag {
  flex: 0 0 auto;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted-2);
  padding: 4px 9px;
  border: 1px solid var(--line);
}
.ad-bar__body { flex: 1 1 auto; min-width: 0; }
.ad-bar__body h3 {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.ad-bar__body p { margin: 3px 0 0; font-size: 11px; color: var(--muted-2); }
.ad-bar__body strong { color: var(--ink); }
.ad-bar__cta {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}
.ad-bar__cta:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 5. More news + popular ---------- */
.more-section { padding: 34px 0 8px; }
.more-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 4px;
}
.more-section__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}
.more-section__list { min-width: 0; }
.more-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: 22px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.more-row:last-child { border-bottom: 0; }
.more-row__text { min-width: 0; }
.more-row .story-kicker { font-size: 9.5px; margin-bottom: 4px; }
.more-row .story-title { font-size: 18px; line-height: 1.26; font-weight: 800; letter-spacing: -.012em; }
.more-row .story-excerpt {
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--muted);
  margin-top: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.more-row .story-meta { display: block; margin-top: 8px; font-size: 10.5px; }
.more-row .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.more-row .thumb img { transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.more-row .thumb:hover img { transform: scale(1.06); }

.more-section__rail { min-width: 0; padding-top: 2px; }

/* ---------- 6. Feature pair ---------- */
.feature-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: 34px 0 8px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.feature-card { min-width: 0; }
.feature-card > .thumb {
  margin-bottom: 14px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.feature-card > .thumb img { transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
.feature-card > .thumb:hover img { transform: scale(1.04); }
.feature-card__body { padding-top: 0; }
.feature-card .story-kicker { font-size: 10px; margin-bottom: 5px; }
.feature-card .story-title {
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.025em;
}
.feature-card .story-excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 9px;
  max-width: 46ch;
}

/* ---------- Homepage responsive ---------- */
@media (max-width: 1100px) {
  .home-hero { grid-template-columns: minmax(0, 1.9fr) minmax(240px, 1fr); gap: 26px; }
  .hero-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-strip__item:nth-child(n+4) { display: none; }
  .band-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-section__col { padding: 0 18px; }
  .band-section__col:nth-child(3) { padding-left: 0; border-left: 0; }
  .band-section__col:nth-child(n+3) {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line-2);
  }
  .more-section__body { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
  .more-row { grid-template-columns: minmax(0, 1fr) 150px; }
}

@media (max-width: 860px) {
  .home-hero { grid-template-columns: 1fr; gap: 24px; }
  .home-hero__overlay { padding: 22px 20px; }
  .home-hero__title { max-width: none; }
  .home-hero__rail { padding-top: 0; border-top: 1px solid var(--line); padding-bottom: 4px; }
  .more-section__body { grid-template-columns: 1fr; gap: 26px; }
  .more-section__rail { border-top: 1px solid var(--line); padding-top: 18px; }
}

@media (max-width: 760px) {
  .home-hero { padding-top: 14px; }
  .home-hero__media { aspect-ratio: 4 / 3; }
  .home-hero__overlay { padding: 18px 16px; }
  .home-hero__title { font-size: 23px; line-height: 1.18; }
  .home-hero__excerpt { font-size: 12.5px; -webkit-line-clamp: 2; }
  .home-hero__kicker { font-size: 9.5px; margin-bottom: 9px; }

  .hero-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 20px 0;
    margin-top: 20px;
  }
  .hero-strip__item:nth-child(n+4) { display: block; }
  .hero-strip__item:last-child { grid-column: 1 / -1; }
  .hero-strip__item:last-child .thumb { aspect-ratio: 16 / 9; }

  .band-section { padding: 18px 0 22px; }
  .band-section__grid { grid-template-columns: 1fr; }
  .band-section__col {
    padding: 0 !important;
    border-left: 0 !important;
    border-top: 1px solid var(--line-2);
    margin-top: 18px;
    padding-top: 16px !important;
  }
  .band-section__col:first-child { margin-top: 0; padding-top: 0 !important; border-top: 0; }
  .band-lead .story-title { font-size: 15.5px; }

  .ad-bar { flex-wrap: wrap; gap: 10px; padding: 14px 16px; }
  .ad-bar__tag { order: 1; }
  .ad-bar__cta { order: 2; margin-left: auto; }
  .ad-bar__body { order: 3; flex-basis: 100%; }
  .ad-bar__body h3 { font-size: 14px; }

  .more-section { padding: 24px 0 4px; }
  .more-row { grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; padding: 14px 0; }
  .more-row .story-title { font-size: 14.5px; }
  .more-row .story-excerpt { -webkit-line-clamp: 2; font-size: 12px; }

  .feature-pair { grid-template-columns: 1fr; gap: 26px; padding: 24px 0 4px; margin-top: 22px; }
  .feature-card .story-title { font-size: 19px; }
}

@media (max-width: 420px) {
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip__item:last-child { grid-column: auto; }
  .more-row { grid-template-columns: minmax(0, 1fr) 86px; }
  .rank-list__text { font-size: 13px; }
}

/* ---------- Article page responsive ---------- */
@media (max-width: 860px) {
  .article-wrap { max-width: 100%; padding: 0 0 4px; }
  .article-body, .article-topics, .article-more { max-width: 100%; }
  .article-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 760px) {
  .article-head { padding-top: 12px; }
  .article-head__title { font-size: 27px; line-height: 1.14; }
  .article-head__standfirst { font-size: 16px; margin-bottom: 18px; }
  .article-byline { flex-direction: column; align-items: flex-start; gap: 8px; }
  .article-byline__meta { width: 100%; }
  .article-share { padding: 12px 0; }
  .article-share__btn { width: 34px; height: 34px; }
  .article-media { margin: 4px 0 20px; }
  .article-body { font-size: 16px; line-height: 1.68; }
  .article-body > p:first-of-type { font-size: 17px; }
  .article-body h2 { font-size: 21px; margin: 28px 0 10px; }
  .article-body blockquote { font-size: 18px; padding-left: 16px; margin: 24px 0; }
  .article-more__list a { flex-direction: column; gap: 4px; }
  .article-more__title { font-size: 14.5px; }
  .article-related__grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Search empty state ---------- */
.search-empty {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 26px 24px;
  margin: 8px 0 30px;
}
.search-empty p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- v7 click affordance: every interactive element shows a pointer ---------- */
a[href],
button:not([disabled]),
summary,
label[for],
select,
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
[role="button"],
[role="tab"],
[onclick],
.site-search button,
.search-form-lg button,
.menu-btn,
.nav-toggle,
.brand,
.page-numbers,
.article-share__btn,
.article-topics__list a,
.footer-social a,
.footer-nav a,
.footer-legal a,
.rank-list a,
.hero-strip__item .thumb,
.sec-card .thumb,
.more-row .thumb,
.article-related__card .thumb,
.band-lead .thumb,
.sec-top__media a,
.feature-card > .thumb,
.nav-list > li > a {
  cursor: pointer;
}

/* Non-interactive things should never show a pointer. */
.thumb--placeholder,
.sec-top__media img,
.home-hero__media img,
figure img,
.article-media img {
  cursor: inherit;
}

button[disabled],
.is-disabled {
  cursor: not-allowed;
}

/* ---------- v17: hero slider ---------- */
.hero-slider {
  position: relative;
  min-width: 0;
  outline: none;
}
.hero-slider:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.hero-slider__track {
  display: grid;
  grid-template-areas: "stack";
  overflow: hidden;
}

/* All slides share one grid cell and cross-fade in place. */
.hero-slide {
  grid-area: stack;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity .62s cubic-bezier(.22,.7,.3,1), transform 1.1s cubic-bezier(.22,.7,.3,1), visibility 0s linear .62s;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  transition: opacity .62s cubic-bezier(.22,.7,.3,1), transform 1.1s cubic-bezier(.22,.7,.3,1), visibility 0s;
  z-index: 2;
}

/* Overlay copy lifts slightly on entry. */
.hero-slide .home-hero__overlay {
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: transform .7s cubic-bezier(.22,.7,.3,1) .08s, opacity .5s ease .08s;
}
.hero-slide.is-active .home-hero__overlay {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Dots with a fill that tracks autoplay progress */
.hero-slider__ui { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.hero-slider__dots {
  position: absolute;
  right: 30px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  z-index: 5;
}
.hero-slider__dot {
  position: relative;
  width: 22px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .32);
  cursor: pointer;
  overflow: hidden;
  transition: width .3s ease, background-color .25s ease;
}
.hero-slider__dot:hover { background: rgba(255, 255, 255, .56); }
.hero-slider__dot.is-active { width: 40px; background: rgba(255, 255, 255, .34); }
.hero-slider__dot-fill {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}
.hero-slider__dot.is-active .hero-slider__dot-fill {
  transform: scaleX(1);
  transition: transform var(--hero-duration, 6500ms) linear;
}
.hero-slider.is-paused .hero-slider__dot.is-active .hero-slider__dot-fill { transition: none; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide .home-hero__overlay,
  .hero-slider__dot,
  .hero-slider__dot-fill { transition-duration: .01ms !important; }
}

@media (max-width: 900px) {
  .hero-slider__dots { right: 18px; bottom: 16px; }
}
@media (max-width: 560px) {
  .hero-slider__dot { width: 16px; }
  .hero-slider__dot.is-active { width: 30px; }
}

/* =========================================================
   v20 · Editorial motion system
   Scroll-reveal choreography + image settling
   ========================================================= */

/* --- Reveal primitives (opt-in via .reveal) --- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .78s var(--ease-out),
    transform .78s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Image-specific settle: starts slightly scaled & blurred, resolves on entry */
.reveal--media {
  opacity: 0;
  transform: translateY(30px) scale(.985);
  filter: blur(8px) saturate(.92);
  transition:
    opacity .85s var(--ease-out),
    transform .95s var(--ease-out),
    filter 1.05s var(--ease-out);
}
.reveal--media.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0) saturate(1);
}

/* Stagger children — parent carries .stagger, children get --i from JS */
.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 85ms);
}
.stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

/* Headline wipe for section titles: a rule grows then the text fades up */
.wipe-in {
  position: relative;
}
.wipe-in::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s var(--ease-out);
}
.wipe-in.is-visible::before { transform: scaleX(1); }

/* --- Reading-progress hairline under the header --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--brand-ray-1), var(--brand-ray-2) 52%, var(--brand-ray-3));
  z-index: 999;
  pointer-events: none;
  will-change: transform;
}

/* --- Header compacts on scroll --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--paper);
  transition: box-shadow .3s var(--ease-soft), background-color .3s var(--ease-soft);
}
.site-header.is-stuck {
  background: rgba(251, 248, 243, .96);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow:
    0 1px 0 var(--line),
    0 10px 30px -8px rgba(20, 17, 14, .14);
}
.site-header.is-stuck .header-bar { padding-block: 6px; }

/* --- Nav link underline sweep --- */
.header-bar .primary-nav .nav-list > li > a {
  position: relative;
  transition: color .2s var(--ease-soft);
}
.header-bar .primary-nav .nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 6px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .32s var(--ease-out);
}
.header-bar .primary-nav .nav-list > li > a:hover::after { transform: scaleX(1); }
.header-bar .primary-nav .nav-list > li.current-menu-item > a { box-shadow: none; }
.header-bar .primary-nav .nav-list > li.current-menu-item > a::after { transform: scaleX(1); }

/* --- Card hover: lift + shadow, image zoom --- */
.band-lead,
.more-row,
.feature-card,
.sec-card {
  transition: transform .4s var(--ease-out);
}
@media (hover: hover) {
  .band-lead:hover,
  .more-row:hover,
  .feature-card:hover,
  .sec-card:hover { transform: translateY(-3px); }
}
.band-lead .thumb img,
.more-row .thumb img,
.feature-card > .thumb img,
.sec-card .thumb img,
.hero-strip__item .thumb img {
  transition: transform .8s var(--ease-out), filter .5s var(--ease-soft);
}
@media (hover: hover) {
  .band-lead:hover .thumb img,
  .more-row:hover .thumb img,
  .feature-card:hover > .thumb img,
  .sec-card:hover .thumb img,
  .hero-strip__item:hover .thumb img {
    transform: scale(1.045);
  }
}

/* Title underline sweep on card hover */
.story-title a,
.more-row .story-title,
.sec-card h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1.5px;
  transition: background-size .42s var(--ease-out);
}
@media (hover: hover) {
  .band-lead:hover .story-title a,
  .more-row:hover .story-title,
  .feature-card:hover .story-title a,
  .sec-card:hover h3 a { background-size: 100% 1.5px; }
}

/* --- Section title: bigger display jump --- */
.section-title,
.band-title {
  font-family: var(--serif);
  letter-spacing: -.022em;
}

/* --- Respect reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--media,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .wipe-in::before { transform: scaleX(1) !important; transition: none !important; }
  .scroll-progress { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- v20.4 · touch target floor (44px) ---------- */
@media (max-width: 1024px) {
  .header-bar .primary-nav .nav-list > li > a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .footer-nav a,
  .footer-legal a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-inline: 2px;
  }
  .site-search button,
  .menu-btn.nav-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }
  .article-share__btn {
    min-width: 44px;
    min-height: 44px;
  }
  .article-topics__list a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding-inline: 12px;
  }
  .hero-slider__dot {
    position: relative;
    background: rgba(255, 255, 255, .32);
  }
  .hero-slider__dot::before {
    content: "";
    position: absolute;
    inset: -12px -4px;
  }
}

/* ---------- v20.7 · section front: avoid orphan cards ----------
   A fixed four-column grid leaves a hole when a category has fewer cards.
   The template injects --card-count; fall back to 4. */
.sec-cards__grid {
  grid-template-columns: repeat(var(--card-count, 4), minmax(0, 1fr));
}
@media (max-width: 760px) {
  .sec-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 460px) {
  .sec-cards__grid { grid-template-columns: 1fr; }
}

/* A single surviving card should not stretch to full bleed. */
.sec-cards__grid[style*="--card-count: 1"],
.sec-cards__grid[style*="--card-count: 2"] {
  max-width: 640px;
}
.sec-cards__grid[style*="--card-count: 3"] {
  max-width: 900px;
}

/* =========================================================
   v21 · Rule reduction
   The page carried 16 rules in the first viewport. Keep only the
   ones that mark a real boundary; let whitespace do the rest.
   ========================================================= */

/* 1. Rail heading: drop the heavy 2px underline (list already separates items) */
.rail-head,
.rail-head--rule {
  border-bottom: 0;
  padding-bottom: 6px;
}
.rail-head--rule { border-bottom: 0; }

/* 2. Section head: from 2px black bar to nothing */
.more-section__head {
  border-bottom: 0;
  padding-bottom: 10px;
}

/* 3. Band list items: remove internal borders, rely on spacing */
.band-list__item + .band-list__item {
  border-top: 0;
  padding-top: 14px;
}
.band-list__item { padding: 10px 0; }

/* 4. Band title / list duplicate top rules (band-title has its own, list added another) */
.band-list { border-top: 0 !important; }
.band-title.wipe-in::before {
  background: transparent;
}

/* 5. Band section: drop the bottom rule (next block's top rule already separates) */
.band-section {
  border-bottom: 0;
  padding-bottom: 34px;
}
.band-section__col {
  border-left: 1px solid var(--line);
}

/* 6. Footer: the site-footer top border is the boundary; the hr was a second one */
.footer-hr { display: none; }

/* 7. Hero kicker: bold white underline competed with the headline */
.home-hero__kicker {
  border-bottom: 0;
  padding-bottom: 0;
}

/* 8. Search underline: only on focus, not permanently */
.site-search { border-bottom-color: transparent; }
.site-search:hover { border-bottom-color: var(--line-2); }

/* 9. Last item in a list should not carry a trailing rule */
.rank-list > li:last-child,
.more-row:last-child,
.band-list__item:last-child { border-bottom: 0; }

/* 10. Card title: no hover underline — the image lift carries the affordance */
.story-title a,
.more-row .story-title,
.sec-card h3 a,
.card .story-title a {
  background-image: none !important;
}
@media (hover: hover) {
  .band-lead:hover .story-title a,
  .more-row:hover .story-title,
  .feature-card:hover .story-title a,
  .sec-card:hover h3 a {
    background-size: 0 0;
    color: var(--ink);
    opacity: .78;
  }
}
@media (hover: hover) {
  .story-title a:hover,
  .more-row:hover .story-title:hover { text-decoration: none; }
}

/* Band column headings: 3px black bars were reading as four heavy rules
   competing with the section boundary above them. A hairline is enough. */
.band-title {
  border-top: 1px solid var(--ink);
  padding: 9px 0 10px;
  margin-bottom: 12px;
}

/* Try the rail with no rules at all: the numbering plus generous leading
   already groups items, and five stacked hairlines were the densest
   cluster of rules on the page. */
.rank-list li a {
  border-bottom: 0;
  padding: 14px 0;
}
.rank-list li + li a { border-top: 0; }

/* The wipe-in rule was applied to the rail heading too, where it read as a
   stray 2px bar above "MOST READ". Keep the effect for section titles only. */
.rail-head.wipe-in::before {
  content: none;
}

/* Section titles carry weight through type size alone; the decorative
   rule above them was the last ornamental line left. */
.section-title.wipe-in::before {
  content: none;
}

/* Category / section fronts stacked four full-width rules one under another.
   Keep the top boundary of the first block and the section head; drop the rest. */
.sec-top,
.sec-textrow,
.more-band__head { border-bottom: 0; }
.sec-cards__grid { border-bottom: 1px solid var(--line); }

/* Article: the byline had rules top and bottom; one is enough */
.article-byline { border-bottom: 0; }

/* ---------- v21.6 · single nav indicator ----------
   The legacy rule drew a full-width inset box-shadow on hover, while the
   motion layer adds a shorter animated bar. Two bars stacked on hover.
   Keep the animated bar; retire the box-shadow entirely. */
.header-bar .primary-nav .nav-list > li > a:hover,
.header-bar .primary-nav .nav-list > li.current-menu-item > a,
.header-bar .primary-nav .nav-list > li.current_page_item > a,
.header-bar .primary-nav .nav-list > li.current-menu-parent > a,
.nav-list > li > a:hover,
.nav-list > li.current_page_item > a,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-parent > a {
  box-shadow: none;
  text-decoration: none;
}

/* Hover should only fade the bar in; the current page keeps it shown. */
.header-bar .primary-nav .nav-list > li > a::after {
  opacity: 0;
  transition: transform .32s var(--ease-out), opacity .2s var(--ease-soft);
}
.header-bar .primary-nav .nav-list > li > a:hover::after,
.header-bar .primary-nav .nav-list > li > a:focus-visible::after,
.header-bar .primary-nav .nav-list > li.current-menu-item > a::after,
.header-bar .primary-nav .nav-list > li.current_page_item > a::after {
  opacity: 1;
  transform: scaleX(1);
}

/* =========================================================
   v22.1 · Sport section front
   Channel pages need density: grouped competition blocks, a
   wire list, and a sidebar. Only applied to the sport archive.
   ========================================================= */

/* Two-column body: content left, rail right */
.sport-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 46px;
  align-items: start;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.sport-lower__main { min-width: 0; }
.sport-lower__rail { min-width: 0; }

/* --- Competition group --- */
.sport-group { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.sport-group:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.sport-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.sport-group__title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.022em;
}
.sport-group__more {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s var(--ease-soft);
}
.sport-group__more:hover { color: var(--ink); text-decoration: none; }

.sport-group__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.sport-mini { min-width: 0; }
.sport-mini .thumb { margin-bottom: 9px; aspect-ratio: 16 / 10; }
.sport-mini .story-title { font-size: 15px; line-height: 1.26; }
.sport-mini .story-meta { font-size: 11px; color: var(--muted-2); margin-top: 5px; }
@media (hover: hover) {
  .sport-mini .thumb img { transition: transform .7s var(--ease-out); }
  .sport-mini:hover .thumb img { transform: scale(1.045); }
}

/* --- Wire: a dense timestamped list --- */
.sport-wire { padding-top: 4px; }
.sport-wire__title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.022em;
  margin-bottom: 14px;
}
.sport-wire__list li + li { border-top: 1px solid var(--line); }
.sport-wire__list a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  transition: opacity .18s var(--ease-soft);
}
.sport-wire__list a:hover { text-decoration: none; opacity: .66; }
.sport-wire__list time {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--muted-2);
  letter-spacing: .02em;
}
.sport-wire__headline {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.012em;
}

/* --- Sidebar --- */
.sport-rail-block { margin-bottom: 30px; }
.sport-rail-block:last-child { margin-bottom: 0; }

.sport-topics { display: flex; flex-wrap: wrap; gap: 7px; }
.sport-topics__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--line-2);
  color: var(--ink-soft);
  transition: border-color .2s var(--ease-soft), background-color .2s var(--ease-soft);
}
.sport-topics__item span {
  font-size: 10px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.sport-topics__item:hover {
  border-color: var(--ink);
  background: var(--surface);
  text-decoration: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .sport-lower { grid-template-columns: 1fr; gap: 32px; }
  .sport-lower__rail { border-top: 1px solid var(--line); padding-top: 24px; }
}
@media (max-width: 760px) {
  .sport-group__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .sport-group__title, .sport-wire__title { font-size: 19px; }
  .sport-wire__list a { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; }
  .sport-wire__headline { font-size: 15px; }
}
@media (max-width: 460px) {
  .sport-group__grid { grid-template-columns: 1fr; }
}

/* Group grid adapts to how many stories a discipline actually has */
.sport-group__grid {
  grid-template-columns: repeat(var(--mini-count, 3), minmax(0, 1fr));
}

/* Sidebar blocks need a heading rule so they read as distinct modules */
.sport-rail-block + .sport-rail-block {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.sport-rail-block .rail-head {
  font-size: 10.5px;
  letter-spacing: .13em;
  color: var(--muted);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.sport-rail-block .rank-list li a { padding: 10px 0; }
.sport-rail-block .rank-list__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.sport-rail-block .rank-list__text {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.01em;
}

@media (max-width: 760px) {
  .sport-group__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .sport-group__grid { grid-template-columns: 1fr; }
}

/* A discipline with a single story should read as a lead, not a stretched
   full-bleed card. Constrain it and put the copy beside the image. */
.sport-group__grid[style*="--mini-count: 1"] {
  grid-template-columns: minmax(0, 1fr);
  max-width: 460px;
}
.sport-group__grid[style*="--mini-count: 1"] .sport-mini .thumb {
  aspect-ratio: 16 / 9;
}
.sport-group__grid[style*="--mini-count: 2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
}

/* =========================================================
   v23 · CULTURE — magazine front
   News pages divide; magazines compose. One oversized essay,
   an editorial pull quote, and a numbered sequence of pieces.
   ========================================================= */

/* --- Section masthead: serif, generous, less bureaucratic --- */
.category-culture .section-masthead {
  padding: 44px 0 34px;
}
.category-culture .section-masthead__rule {
  width: 64px;
  height: 1px;
  margin-bottom: 22px;
}
.category-culture .section-masthead__title {
  font-family: var(--serif);
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .96;
}

/* --- Opening essay --- */
.cul-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin: 8px 0 64px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 64px;
}
.cul-lead__media {
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
}
.cul-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.cul-lead:hover .cul-lead__media img { transform: scale(1.03); }

.cul-lead__body {
  padding: 0 0 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cul-lead__kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 22px;
}
.cul-lead__title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.038em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.cul-lead__title a { background-image: none; }
.cul-lead__standfirst {
  font-size: 17px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 26px;
  font-style: italic;
}
.cul-lead__byline {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.cul-lead__byline span { margin: 0 7px; opacity: .5; }

/* --- Second feature + epigraph --- */
.cul-band {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 58px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.cul-feature { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.cul-feature__media { overflow: hidden; background: var(--surface-2); aspect-ratio: 1 / 1; }
.cul-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.cul-feature:hover .cul-feature__media img { transform: scale(1.04); }
.cul-feature__num {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.cul-feature__title {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.028em;
  margin-bottom: 12px;
}
.cul-feature__excerpt { font-size: 14px; line-height: 1.62; color: var(--muted); margin: 0; }

/* Epigraph block: the editorial voice in place of a sidebar */
.cul-epigraph {
  border-left: 2px solid var(--ink);
  padding: 4px 0 4px 26px;
}
.cul-epigraph__text {
  font-family: var(--serif);
  font-size: 25px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.022em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.cul-epigraph__source {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 26px;
}
.cul-epigraph__topics { display: flex; flex-wrap: wrap; gap: 6px; }
.cul-epigraph__topics a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  color: var(--ink-soft);
  transition: border-color .2s var(--ease-soft), background-color .2s var(--ease-soft);
}
.cul-epigraph__topics a:hover { border-color: var(--ink); background: var(--surface); text-decoration: none; }

/* --- Numbered sequence --- */
.cul-sequence { padding-top: 6px; }
.cul-sequence__head { margin-bottom: 8px; }
.cul-sequence__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.cul-sequence__list { margin: 0; padding: 0; list-style: none; }
.cul-item + .cul-item { border-top: 1px solid var(--line); }
.cul-item__link {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 120px;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  transition: opacity .22s var(--ease-soft);
}
.cul-item__link:hover { text-decoration: none; opacity: .74; }
.cul-item__num {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}
.cul-item__text { min-width: 0; display: block; }
.cul-item__title {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.024em;
  margin-bottom: 5px;
}
.cul-item__excerpt {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.cul-item__thumb { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface-2); }
.cul-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.cul-item:hover .cul-item__thumb img { transform: scale(1.06); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .cul-lead { grid-template-columns: 1fr; gap: 28px; margin-bottom: 44px; padding-bottom: 44px; }
  .cul-lead__body { padding: 0; }
  .cul-band { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
}
@media (max-width: 760px) {
  .category-culture .section-masthead { padding: 30px 0 24px; }
  .cul-lead__title { font-size: 32px; }
  .cul-lead__standfirst { font-size: 15px; }
  .cul-feature { grid-template-columns: 1fr; gap: 16px; }
  .cul-feature__media { aspect-ratio: 16 / 9; }
  .cul-feature__title { font-size: 23px; }
  .cul-epigraph { padding-left: 18px; }
  .cul-epigraph__text { font-size: 20px; }
  .cul-item__link { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .cul-item__thumb { display: none; }
  .cul-item__title { font-size: 17px; }
}

/* The news-grid blocks below the sequence belong to the broadsheet layout;
   on the Culture front they duplicate the numbered list and break the tone. */
.category-culture .more-band,
.category-culture .sec-rest,
.category-culture .sec-cards,
.category-culture .sec-top {
  display: none;
}

/* The feature thumbnail is an <a class="thumb"> from viewly_thumbnail(), which
   already carries aspect-ratio and overflow on the wrapper. Nesting it inside
   another aspect-ratio box forced the image to overflow. Constrain the child. */
.cul-feature__media .thumb {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
}
.cul-feature__media .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   v24 · CULTURE — periodical front
   A printed-culture supplement: tinted ground, folio masthead,
   plate numerals, drop cap, ornament rules. Deliberately unlike
   the news sections, which are white, dense and line-driven.
   ========================================================= */

/* --- Tinted ground so the section reads as a different publication --- */
.category-culture {
  background-color: #f5efe2;
  background-image:
    radial-gradient(1100px 520px at 20% -4%, rgba(122, 92, 46, .07), transparent 62%),
    radial-gradient(900px 460px at 84% 3%, rgba(60, 74, 96, .05), transparent 60%);
}
.category-culture .site-footer { background-color: #f0e9da; }

/* --- Masthead --- */
.cul-masthead {
  text-align: center;
  padding: 46px 0 40px;
}
.cul-masthead__folio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 26px;
}
.cul-masthead__dot { font-size: 6px; opacity: .55; letter-spacing: 0; }
.cul-masthead__title {
  font-family: var(--serif);
  font-size: clamp(56px, 8.4vw, 112px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.052em;
  margin: 0 0 20px;
}
.cul-masthead__standfirst {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--muted);
  max-width: 44ch;
  margin: 0 auto 30px;
  line-height: 1.6;
}
.cul-masthead__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 320px;
  margin: 0 auto;
}
.cul-masthead__ornament span {
  flex: 1;
  height: 1px;
  background: var(--line-2);
}
.cul-masthead__ornament em {
  font-style: normal;
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1;
}

/* --- Opening essay --- */
.cul-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
  padding: 0 0 62px;
  margin-bottom: 62px;
  border-bottom: 3px double var(--line-2);
}
.cul-lead__media {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
}
.cul-lead__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out);
}
.cul-lead:hover .cul-lead__media img { transform: scale(1.035); }

/* Plate numeral: a printed caption mark on the image */
.cul-lead__plate {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  padding: 9px 15px 9px 17px;
}
.cul-lead__body { min-width: 0; }
.cul-lead__kicker {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 20px;
}
.cul-lead__title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 62px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.042em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.cul-lead__standfirst {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  font-style: italic;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 0 26px;
}
.cul-lead__standfirst::first-letter {
  float: left;
  font-family: var(--serif);
  font-style: normal;
  font-weight: 700;
  font-size: 62px;
  line-height: .82;
  padding: 6px 10px 0 0;
  color: var(--ink);
}
.cul-lead__byline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --- Second essay + marginalia --- */
.cul-band {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
  padding-bottom: 62px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
}
.cul-feature { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
.cul-feature__media { overflow: hidden; background: var(--surface-2); aspect-ratio: 1 / 1; }
.cul-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-out); }
.cul-feature:hover .cul-feature__media img { transform: scale(1.04); }
.cul-feature__num {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.cul-feature__title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 12px;
}
.cul-feature__excerpt {
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
  margin: 0 0 14px;
}
.cul-feature__byline {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* Marginalia column */
.cul-marginalia { padding-top: 6px; border-top: 1px solid var(--ink); }
.cul-marginalia__label {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 14px 0 18px;
}
.cul-marginalia__quote {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -.025em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.cul-marginalia__cite {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-style: normal;
  margin-bottom: 32px;
}
.cul-marginalia__rubrics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cul-marginalia__rubrics-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted-2);
  width: 100%;
  margin-bottom: 2px;
}
.cul-marginalia__rubrics a {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 5px 12px;
  border: 1px solid var(--line-2);
  transition: border-color .2s var(--ease-soft), background-color .2s var(--ease-soft);
}
.cul-marginalia__rubrics a:hover { border-color: var(--ink); background: rgba(20,17,14,.05); text-decoration: none; }

/* --- Contents --- */
.cul-contents { padding-top: 40px; }
.cul-contents__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}
.cul-contents__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.cul-contents__rule { flex: 1; height: 1px; background: var(--line-2); }
.cul-contents__list { margin: 0; padding: 0; list-style: none; }
.cul-entry + .cul-entry { border-top: 1px solid var(--line); }
.cul-entry__link {
  display: grid;
  grid-template-columns: 44px 108px minmax(0, 1fr) 52px;
  gap: 22px;
  align-items: center;
  padding: 18px 0;
  transition: opacity .22s var(--ease-soft);
}
.cul-entry__link:hover { text-decoration: none; opacity: .7; }
.cul-entry__num {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted-2);
}
.cul-entry__thumb { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface-2); }
.cul-entry__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease-out); }
.cul-entry:hover .cul-entry__thumb img { transform: scale(1.07); }
.cul-entry__text { min-width: 0; display: block; }
.cul-entry__title {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.026em;
  margin-bottom: 5px;
}
.cul-entry__excerpt {
  display: block;
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.cul-entry__meta {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: right;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .cul-lead, .cul-band { grid-template-columns: 1fr; gap: 30px; padding-bottom: 46px; margin-bottom: 46px; }
  .cul-masthead { padding: 32px 0 30px; }
}
@media (max-width: 760px) {
  .cul-masthead__folio { font-size: 8.5px; letter-spacing: .18em; gap: 7px; flex-wrap: wrap; }
  .cul-masthead__standfirst { font-size: 14px; }
  .cul-feature { grid-template-columns: 1fr; gap: 16px; }
  .cul-feature__media { aspect-ratio: 16 / 9; }
  .cul-feature__title { font-size: 24px; }
  .cul-marginalia__quote { font-size: 21px; }
  .cul-entry__link { grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 15px 0; }
  .cul-entry__thumb, .cul-entry__meta { display: none; }
  .cul-entry__title { font-size: 18px; }
  .cul-lead__standfirst::first-letter { font-size: 46px; }
}

/* The Culture branch draws its own masthead; the generic section head
   would render the title twice. */
.category-culture .section-masthead {
  display: none;
}

/* Rebalance the opening essay: the display headline was so large it pushed
   the standfirst out of view. Tighten the scale and fix the drop cap. */
.cul-lead__title {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.06;
  letter-spacing: -.035em;
  margin-bottom: 18px;
}
.cul-lead__standfirst {
  font-size: 16.5px;
  line-height: 1.66;
}
.cul-lead__standfirst::first-letter {
  font-size: 54px;
  line-height: .78;
  padding: 8px 9px 0 0;
  margin-top: 1px;
}
.cul-lead {
  gap: 44px;
  align-items: center;
}
.cul-lead__media { aspect-ratio: 5 / 4; }

/* Date column was too narrow for "1 DEC" at this letter-spacing. */
.cul-entry__link {
  grid-template-columns: 44px 108px minmax(0, 1fr) 72px;
}
.cul-entry__meta { letter-spacing: .12em; }

/* =========================================================
   v25 · HEALTH — clinical front
   Health reporting is evidence-led and numeric, so the design
   borrows from clinical instruments: a cool tint, a pulse trace,
   a figures strip, restrained type.
   ========================================================= */

/* --- Palette: cool clinical tint, distinct from the warm paper --- */
.category-health {
  --hlt-teal: #0f6b63;
  --hlt-teal-soft: #2f8d84;
  --hlt-mint: #e8f1ee;
  background-color: #f4f7f6;
  background-image:
    radial-gradient(1000px 480px at 18% -6%, rgba(15, 107, 99, .055), transparent 60%),
    radial-gradient(820px 420px at 88% 2%, rgba(47, 141, 132, .045), transparent 58%);
}
.category-health .site-footer { background-color: #eef3f2; }
.category-health .section-masthead { display: none; }

/* --- Masthead --- */
.hlt-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 40px;
  padding: 44px 0 26px;
}
.hlt-head__eyebrow {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--hlt-teal);
  margin-bottom: 14px;
}
.hlt-head__title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.044em;
  margin: 0 0 16px;
}
.hlt-head__dek {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
}
.hlt-head__pulse {
  color: var(--hlt-teal);
  opacity: .5;
  padding-bottom: 12px;
}
.hlt-head__pulse svg { width: 100%; height: 40px; display: block; }
.hlt-head__pulse path {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: hlt-trace 2.6s var(--ease-out) forwards;
}
@keyframes hlt-trace { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hlt-head__pulse path { animation: none; stroke-dashoffset: 0; }
}

/* --- Figures strip --- */
.hlt-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hlt-teal);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.hlt-figure {
  padding: 18px 22px 18px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.hlt-figure + .hlt-figure { padding-left: 22px; border-left: 1px solid var(--line); }
.hlt-figure__value {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--hlt-teal);
  font-variant-numeric: tabular-nums;
}
.hlt-figure__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.3;
}

/* --- Lead + secondary --- */
.hlt-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 44px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.hlt-lead__main { min-width: 0; }
.hlt-lead__media { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); margin-bottom: 20px; }
.hlt-lead__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92) contrast(1.02);
  transition: transform 1.3s var(--ease-out);
}
.hlt-lead__main:hover .hlt-lead__media img { transform: scale(1.025); }
.hlt-lead__text { min-width: 0; }
.hlt-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hlt-teal);
  background: var(--hlt-mint);
  padding: 5px 10px;
  margin-bottom: 14px;
}
.hlt-lead__title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.032em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.hlt-lead__dek {
  font-size: 15.5px;
  line-height: 1.64;
  color: var(--muted);
  margin: 0 0 16px;
  max-width: 58ch;
}
.hlt-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hlt-meta__sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }

.hlt-side { min-width: 0; padding-top: 4px; }
.hlt-side__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); margin-bottom: 14px; }
.hlt-side__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform 1.1s var(--ease-out); }
.hlt-side:hover .hlt-side__media img { transform: scale(1.04); }
.hlt-side__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.024em;
  margin: 0 0 8px;
}
.hlt-side__dek { font-size: 13.5px; line-height: 1.58; color: var(--muted); margin: 0 0 10px; }

/* --- Beat grid --- */
.hlt-grid__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hlt-teal);
  margin-bottom: 26px;
}
.hlt-grid__title {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.026em;
  margin: 0;
}
.hlt-beats { display: flex; gap: 8px; flex-wrap: wrap; }
.hlt-beats a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hlt-teal);
  border: 1px solid rgba(15, 107, 99, .3);
  padding: 5px 11px;
  transition: background-color .2s var(--ease-soft), color .2s var(--ease-soft), border-color .2s var(--ease-soft);
}
.hlt-beats a:hover { background: var(--hlt-teal); color: #fff; border-color: var(--hlt-teal); text-decoration: none; }

.hlt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 32px;
}
.hlt-card { min-width: 0; }
.hlt-card__media { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface-2); margin-bottom: 12px; }
.hlt-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.02); transition: transform 1.1s var(--ease-out); }
.hlt-card:hover .hlt-card__media img { transform: scale(1.045); }
.hlt-card__title {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.022em;
  margin: 0 0 7px;
}
.hlt-card__dek { font-size: 13px; line-height: 1.56; color: var(--muted); margin: 0 0 9px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hlt-head { grid-template-columns: 1fr; gap: 18px; padding-top: 30px; }
  .hlt-head__pulse { max-width: 320px; }
  .hlt-lead { grid-template-columns: 1fr; gap: 30px; }
  .hlt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hlt-head__title { font-size: 38px; }
  .hlt-figures { grid-template-columns: 1fr; }
  .hlt-figure + .hlt-figure { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hlt-figure { padding: 12px 0; }
  .hlt-figure__value { font-size: 24px; }
  .hlt-grid { grid-template-columns: 1fr; gap: 26px; }
  .hlt-grid__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hlt-lead__title { font-size: 24px; }
}

/* Figures: the label sat on the same baseline as the value and read as a
   single run of text. Stack them so each figure scans as number → caption. */
.hlt-figure {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 22px 16px 0;
}
.hlt-figure__value { font-size: 34px; }
.hlt-figure__label { letter-spacing: .14em; }

/* Hide the broadsheet blocks that the health branch replaces. */
.category-health .more-band,
.category-health .sec-rest,
.category-health .sec-top,
.category-health .sec-cards {
  display: none;
}

/* =========================================================
   v26 · TECHNOLOGY — systems front
   A technical readout rather than a newspaper page: dark console,
   blueprint grid, monospace metadata, a scan line on the lead.
   ========================================================= */

.category-technology {
  --tec-bg: #0d1117;
  --tec-bg-2: #131a22;
  --tec-line: #232c37;
  --tec-ink: #eef2f5;
  --tec-dim: #8b98a5;
  --tec-accent: #4ad6a8;
  --tec-accent-2: #5b9dff;
}
.category-technology .section-masthead { display: none; }
.category-technology .more-band,
.category-technology .sec-rest,
.category-technology .sec-top,
.category-technology .sec-cards { display: none; }

/* Mono stack for all metadata */
.tec-meta,
.tec-head__meta,
.tec-card__cat,
.tec-grid__hint,
.tec-chip,
.tec-lead__index {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* --- Console masthead --- */
.tec-head {
  position: relative;
  margin: 0 calc(-1 * ((100vw - min(100% - 40px, var(--wrap))) / 2));
  padding: 56px 0 48px;
  background: var(--tec-bg);
  color: var(--tec-ink);
  overflow: hidden;
}
.tec-head__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(74, 214, 168, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(74, 214, 168, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(120% 90% at 20% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 20% 0%, #000 30%, transparent 78%);
}
.tec-head__inner {
  position: relative;
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}
.tec-head__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--tec-dim);
  margin-bottom: 22px;
}
.tec-head__prompt { color: var(--tec-accent); font-weight: 700; }
.tec-head__sep { opacity: .4; }
.tec-head__title {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.046em;
  margin: 0 0 18px;
  color: #fff;
}
.tec-head__dek {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--tec-dim);
  max-width: 58ch;
  margin: 0 0 26px;
}
.tec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tec-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .04em;
  padding: 6px 11px;
  border: 1px solid var(--tec-line);
  color: var(--tec-ink);
  background: rgba(255, 255, 255, .02);
  transition: border-color .2s var(--ease-soft), background-color .2s var(--ease-soft);
}
.tec-chip:hover { border-color: var(--tec-accent); background: rgba(74, 214, 168, .08); text-decoration: none; }
.tec-chip__count {
  font-size: 10px;
  color: var(--tec-accent);
  background: rgba(74, 214, 168, .12);
  padding: 1px 5px;
}

/* --- Lead --- */
.tec-leadwrap {
  margin: 0 calc(-1 * ((100vw - min(100% - 40px, var(--wrap))) / 2));
  background: var(--tec-bg-2);
  padding: 40px 0 48px;
}
.tec-lead {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.tec-lead__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000;
}
.tec-lead__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.9) contrast(1.05);
  transition: transform 1.4s var(--ease-out);
}
.tec-lead:hover .tec-lead__media img { transform: scale(1.03); }

/* Scan line: a slow sweep, the one motion signature on this page */
.tec-lead__scan {
  position: absolute;
  left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, rgba(74, 214, 168, .14), transparent);
  animation: tec-scan 5.5s linear infinite;
  pointer-events: none;
}
@keyframes tec-scan {
  0%   { transform: translateY(-120%); }
  100% { transform: translateY(420%); }
}
@media (prefers-reduced-motion: reduce) {
  .tec-lead__scan { display: none; }
}

.tec-lead__body { min-width: 0; color: var(--tec-ink); }
.tec-lead__index {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--tec-accent);
  margin-bottom: 16px;
}
.tec-lead__title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.034em;
  margin: 0 0 16px;
  color: #fff;
}
.tec-lead__title a { color: inherit; }
.tec-lead__dek {
  font-size: 15px;
  line-height: 1.62;
  color: var(--tec-dim);
  margin: 0 0 18px;
  max-width: 46ch;
}
.tec-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--tec-dim);
  text-transform: uppercase;
}
.tec-meta__dash { opacity: .45; }

/* --- Card grid --- */
.tec-grid-section { padding: 46px 0 10px; }
.tec-grid__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tec-line);
  margin-bottom: 28px;
}
.tec-grid__title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.028em;
  margin: 0;
}
.tec-grid__hint {
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.tec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 30px;
}
.tec-card { min-width: 0; }
.tec-card__media { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface-2); margin-bottom: 13px; }
.tec-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.9) contrast(1.04);
  transition: transform 1.1s var(--ease-out);
}
.tec-card:hover .tec-card__media img { transform: scale(1.045); }
.tec-card__cat {
  display: block;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tec-accent);
  margin-bottom: 8px;
}
.category-technology .tec-card__cat { color: #0f6b63; }
.tec-card__title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.022em;
  margin: 0 0 8px;
}
.tec-card__dek { font-size: 13px; line-height: 1.56; color: var(--muted); margin: 0 0 9px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .tec-lead { grid-template-columns: 1fr; gap: 26px; }
  .tec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tec-head { padding: 40px 0 36px; }
}
@media (max-width: 760px) {
  .tec-head__title { font-size: 40px; }
  .tec-head__meta { font-size: 10px; flex-wrap: wrap; gap: 7px; }
  .tec-grid { grid-template-columns: 1fr; gap: 28px; }
  .tec-lead__title { font-size: 24px; }
}

/* 100vw includes the scrollbar, so the negative-margin trick overshot the
   viewport by ~20px. Anchor the full-bleed blocks to the container edge
   instead, using a calc that never exceeds the visible width. */
.tec-head,
.tec-leadwrap {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}
@supports (scrollbar-gutter: stable) {
  .tec-head,
  .tec-leadwrap {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}
/* Keep inner content at container width */
.tec-head__inner,
.tec-lead {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}
.tec-head { padding-top: 56px; padding-bottom: 48px; }
.tec-leadwrap { padding-top: 40px; padding-bottom: 48px; }

/* Close the seam between the two dark bands and the page body */
.category-technology { background: #0d1117; }
.category-technology .tec-grid-section,
.category-technology .pagination-wrap {
  background: var(--paper);
  padding-left: 20px;
  padding-right: 20px;
}
.tec-grid-section {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50% + 20px);
  padding-right: calc(50vw - 50% + 20px);
}

/* The feed continues the dark field rather than switching to paper: the page
   reads as one console, not a dark header bolted onto a light page. */
.category-technology .tec-grid-section {
  background: var(--tec-bg-2);
  color: var(--tec-ink);
  padding-top: 46px;
  padding-bottom: 52px;
  margin-bottom: 0;
}
.category-technology .tec-grid__head { border-bottom-color: var(--tec-line); }
.category-technology .tec-grid__title { color: #fff; }
.category-technology .tec-grid__hint { color: var(--tec-dim); }
.category-technology .tec-card__title { color: #fff; }
.category-technology .tec-card__title a { color: inherit; }
.category-technology .tec-card__dek { color: var(--tec-dim); }
.category-technology .tec-card__cat { color: var(--tec-accent); }
.category-technology .tec-card .tec-meta { color: var(--tec-dim); }
.category-technology .pagination-wrap { background: var(--tec-bg-2); padding: 0 20px 40px; }
.category-technology .pagination a,
.category-technology .pagination .current,
.category-technology .pagination span {
  border-color: var(--tec-line);
  color: var(--tec-dim);
}
.category-technology .pagination .current {
  background: var(--tec-accent);
  border-color: var(--tec-accent);
  color: #0d1117;
}

/* =========================================================
   v27 · BUSINESS — markets front
   Institutional navy, a moving quote strip, an indicator board.
   Numbers carry the page, so the type is tabular and tight.
   ========================================================= */

.category-business {
  --biz-navy: #16233a;
  --biz-navy-2: #1f3049;
  --biz-rule: #d5dae1;
  --biz-up: #c62828;    /* Chinese convention: gains are red */
  --biz-down: #1a7f4b;  /* losses are green */
  background-color: #f7f8fa;
  background-image:
    radial-gradient(1000px 460px at 14% -6%, rgba(22, 35, 58, .045), transparent 60%),
    radial-gradient(860px 420px at 90% 0%, rgba(22, 35, 58, .03), transparent 58%);
}
.category-business .section-masthead { display: none; }
.category-business .more-band,
.category-business .sec-rest,
.category-business .sec-top,
.category-business .sec-cards { display: none; }

/* Tabular numerals everywhere money appears */
.biz-tick, .biz-ind, .biz-meta {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* --- Quote strip --- */
.biz-ticker {
  background: var(--biz-navy);
  color: #e8edf3;
  overflow: hidden;
  margin: 0 calc(50% - 50vw);
  padding: 0;
}
.biz-ticker__track {
  display: flex;
  width: max-content;
  animation: biz-marquee 46s linear infinite;
}
.biz-ticker:hover .biz-ticker__track { animation-play-state: paused; }
@keyframes biz-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .biz-ticker__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
.biz-tick {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 20px;
  font-size: 12px;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, .07);
}
.biz-tick__name { color: #93a3b8; font-weight: 600; letter-spacing: .02em; }
.biz-tick__value { color: #fff; font-weight: 700; }
.biz-tick__chg { font-size: 11.5px; font-weight: 700; }
.biz-tick__chg--up { color: #ff7a76; }
.biz-tick__chg--down { color: #6fd39b; }

/* --- Masthead --- */
.biz-head { padding: 40px 0 26px; }
.biz-head__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.biz-head__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--biz-navy);
  white-space: nowrap;
}
.biz-head__rule { flex: 1; height: 1px; background: var(--biz-rule); }
.biz-head__date {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.biz-head__title {
  font-family: var(--serif);
  font-size: clamp(42px, 5.8vw, 76px);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.046em;
  margin: 0 0 16px;
  color: var(--biz-navy);
}
.biz-head__dek {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
}

/* --- Indicator board --- */
.biz-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--biz-rule);
  border-top: 3px solid var(--biz-navy);
  margin-bottom: 36px;
}
.biz-ind {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.biz-ind + .biz-ind { border-left: 1px solid var(--biz-rule); }
.biz-ind__label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.biz-ind__value {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--biz-navy);
}
.biz-ind__note {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --- Lead --- */
.biz-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  padding-bottom: 42px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--biz-rule);
}
.biz-lead__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
}
.biz-lead__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.3s var(--ease-out);
}
.biz-lead:hover .biz-lead__media img { transform: scale(1.025); }
.biz-lead__body { min-width: 0; }
.biz-lead__tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  background: var(--biz-navy);
  padding: 5px 10px;
  margin-bottom: 15px;
}
.biz-lead__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.034em;
  margin: 0 0 14px;
  color: var(--biz-navy);
  text-wrap: balance;
}
.biz-lead__title a { color: inherit; }
.biz-lead__dek {
  font-size: 15px;
  line-height: 1.64;
  color: var(--muted);
  margin: 0 0 16px;
  max-width: 52ch;
}
.biz-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.biz-meta__sep { opacity: .5; }

/* --- Coverage grid --- */
.biz-grid-section { padding: 34px 0 10px; }
.biz-grid__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--biz-navy);
  margin-bottom: 26px;
}
.biz-grid__title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.026em;
  margin: 0;
  color: var(--biz-navy);
}
.biz-sectors { display: flex; gap: 8px; flex-wrap: wrap; }
.biz-sectors a {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--biz-navy);
  border: 1px solid var(--biz-rule);
  padding: 5px 11px;
  transition: background-color .2s var(--ease-soft), color .2s var(--ease-soft), border-color .2s var(--ease-soft);
}
.biz-sectors a:hover {
  background: var(--biz-navy);
  border-color: var(--biz-navy);
  color: #fff;
  text-decoration: none;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 30px;
}
.biz-card { min-width: 0; }
.biz-card__media { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface-2); margin-bottom: 12px; }
.biz-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.biz-card:hover .biz-card__media img { transform: scale(1.045); }
.biz-card__title {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.022em;
  margin: 0 0 7px;
  color: var(--biz-navy);
}
.biz-card__title a { color: inherit; }
.biz-card__dek { font-size: 13px; line-height: 1.56; color: var(--muted); margin: 0 0 9px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .biz-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz-ind:nth-child(3) { border-left: 0; }
  .biz-ind:nth-child(n+3) { border-top: 1px solid var(--biz-rule); }
  .biz-lead { grid-template-columns: 1fr; gap: 26px; }
  .biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .biz-head { padding: 26px 0 20px; }
  .biz-head__title { font-size: 40px; }
  .biz-head__meta { gap: 10px; }
  .biz-board { grid-template-columns: 1fr 1fr; }
  .biz-ind { padding: 13px 14px; }
  .biz-ind__value { font-size: 22px; }
  .biz-grid { grid-template-columns: 1fr; gap: 26px; }
  .biz-grid__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .biz-lead__title { font-size: 25px; }
}

/* =========================================================
   v28 · Technology goes light
   The dark console read as a different product from the rest of
   the site. Keep the technical vocabulary (monospace, grid, chips,
   accent) but render it on paper.
   ========================================================= */

.category-technology {
  --tec-bg: #ffffff;
  --tec-bg-2: #f6f8f7;
  --tec-line: #dce3e1;
  --tec-ink: #141a19;
  --tec-dim: #5d6b68;
  --tec-accent: #0f766e;
  --tec-accent-2: #2563eb;
}

/* Page ground back to site paper */
.category-technology {
  background-color: var(--paper);
  background-image:
    radial-gradient(1000px 460px at 16% -6%, rgba(15, 118, 110, .05), transparent 60%),
    radial-gradient(840px 420px at 88% 1%, rgba(37, 99, 235, .04), transparent 58%);
}
.category-technology { background: var(--paper); }

/* Masthead: light panel with a fine grid, not a dark console */
.tec-head {
  background: #fbfdfc;
  color: var(--tec-ink);
  border-bottom: 1px solid var(--tec-line);
}
.tec-head__grid {
  background-image:
    linear-gradient(to right, rgba(15, 118, 110, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 118, 110, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(120% 90% at 18% 0%, #000 26%, transparent 76%);
  -webkit-mask-image: radial-gradient(120% 90% at 18% 0%, #000 26%, transparent 76%);
}
.tec-head__meta { color: var(--tec-dim); }
.tec-head__prompt { color: var(--tec-accent); }
.tec-head__title { color: var(--tec-ink); }
.tec-head__dek { color: var(--tec-dim); }

/* Chips on light */
.tec-chip {
  border-color: var(--tec-line);
  color: var(--tec-ink);
  background: #fff;
}
.tec-chip:hover { border-color: var(--tec-accent); background: rgba(15, 118, 110, .05); }
.tec-chip__count {
  color: var(--tec-accent);
  background: rgba(15, 118, 110, .1);
}

/* Lead block on a very light tint instead of black */
.tec-leadwrap {
  background: #f6f8f7;
  border-bottom: 1px solid var(--tec-line);
}
.tec-lead__media { background: var(--surface-2); }
.tec-lead__body { color: var(--tec-ink); }
.tec-lead__index { color: var(--tec-accent); }
.tec-lead__title { color: var(--tec-ink); }
.tec-lead__dek { color: var(--tec-dim); }
.tec-lead__scan {
  background: linear-gradient(to bottom, transparent, rgba(15, 118, 110, .10), transparent);
}

/* Feed block back on white */
.category-technology .tec-grid-section {
  background: transparent;
  color: var(--tec-ink);
}
.category-technology .tec-grid__head { border-bottom-color: var(--tec-line); }
.category-technology .tec-grid__title { color: var(--tec-ink); }
.category-technology .tec-grid__hint { color: var(--tec-dim); }
.category-technology .tec-card__title { color: var(--tec-ink); }
.category-technology .tec-card__title a { color: inherit; }
.category-technology .tec-card__dek { color: var(--muted); }
.category-technology .tec-card__cat { color: var(--tec-accent); }
.category-technology .tec-card .tec-meta { color: var(--muted-2); }

.category-technology .pagination-wrap { background: transparent; padding: 0 0 40px; }
.category-technology .pagination a,
.category-technology .pagination .current,
.category-technology .pagination span {
  border-color: var(--line);
  color: var(--muted);
}
.category-technology .pagination .current {
  background: var(--tec-accent);
  border-color: var(--tec-accent);
  color: #fff;
}

/* Site footer back to its normal ground */
.category-technology .site-footer { background-color: var(--surface); }

/* Quote strip removed at the client's request — the marquee competed with the
   masthead and duplicated data already shown in the indicator board. */
.biz-ticker { display: none !important; }

/* =========================================================
   v28.2 · Technology feed: back inside the container
   The feed block had been stretched full-bleed, which inflated every
   card to ~447px. Restore the site gutter and tighten the card scale
   so this section matches Business / Health / Culture.
   ========================================================= */

/* Pull the block back to container width — no full-bleed margins. */
.category-technology .tec-grid-section {
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

/* Four columns inside 1200px ≈ 280px cards, comfortably smaller than before. */
.category-technology .tec-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 26px;
}

/* Card internals scale down with the column. */
.category-technology .tec-card__media {
  aspect-ratio: 4 / 3;
  margin-bottom: 11px;
}
.category-technology .tec-card__title {
  font-size: 15.5px;
  line-height: 1.28;
  margin-bottom: 6px;
}
.category-technology .tec-card__dek {
  font-size: 12.5px;
  line-height: 1.52;
  margin-bottom: 7px;
}
.category-technology .tec-card__cat { font-size: 9px; margin-bottom: 6px; }
.category-technology .tec-card .tec-meta { font-size: 9.5px; }

/* The lead block keeps its inset but should not exceed the container. */
.category-technology .tec-leadwrap { padding-left: 0; padding-right: 0; }
.category-technology .tec-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}
.category-technology .tec-lead__title { font-size: clamp(22px, 2.3vw, 32px); }
.category-technology .tec-lead__dek { font-size: 14px; }

@media (max-width: 1024px) {
  .category-technology .tec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .category-technology .tec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
}
@media (max-width: 520px) {
  .category-technology .tec-grid { grid-template-columns: 1fr; gap: 24px; }
  .category-technology .tec-lead { grid-template-columns: 1fr; }
}

/* --- Technology: beat columns --- */
.tec-beats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 34px;
  padding: 40px 0 34px;
  margin-top: 6px;
  border-top: 1px solid var(--tec-line);
}
.tec-beat { min-width: 0; }
.tec-beat__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
}
.tec-beat__title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.022em;
  color: var(--tec-ink);
  margin: 0;
}
.tec-beat__more {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tec-accent);
  white-space: nowrap;
}
.tec-beat__more:hover { text-decoration: underline; }
.tec-beat__list { margin: 0; padding: 0; list-style: none; }
.tec-beat__list li + li { border-top: 1px solid var(--line); }
.tec-beat__list a {
  display: block;
  padding: 11px 0;
  transition: opacity .2s var(--ease-soft);
}
.tec-beat__list a:hover { text-decoration: none; opacity: .68; }
.tec-beat__headline {
  display: block;
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.014em;
  color: var(--tec-ink);
  margin-bottom: 4px;
}
.tec-beat__date {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --- Technology: wire + rail --- */
.tec-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 46px;
  align-items: start;
  padding: 34px 0 44px;
  border-top: 1px solid var(--tec-line);
}
.tec-lower__main { min-width: 0; }

.tec-wire__title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.024em;
  color: var(--tec-ink);
  margin: 0 0 10px;
}
.tec-wire__list { margin: 0; padding: 0; list-style: none; }
.tec-wire__list li + li { border-top: 1px solid var(--line); }
.tec-wire__list a {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  transition: opacity .2s var(--ease-soft);
}
.tec-wire__list a:hover { text-decoration: none; opacity: .66; }
.tec-wire__list time {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.tec-wire__headline {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.014em;
  color: var(--tec-ink);
}

.tec-rail-block .rail-head {
  font-size: 10.5px;
  letter-spacing: .13em;
  color: var(--muted);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
}
.tec-rail-block .rank-list li a { padding: 10px 0; }
.tec-rail-block .rank-list__num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--tec-accent);
}
.tec-rail-block .rank-list__text {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.01em;
  color: var(--tec-ink);
}

@media (max-width: 1024px) {
  .tec-beats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
  .tec-lower { grid-template-columns: 1fr; gap: 30px; }
  .tec-lower__rail { border-top: 1px solid var(--line); padding-top: 24px; }
}
@media (max-width: 640px) {
  .tec-beats { grid-template-columns: 1fr; gap: 22px; }
  .tec-wire__list a { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
  .tec-wire__headline { font-size: 15px; }
}

/* =========================================================
   v29 · Unified ground
   The site carried a warm newsprint base while Business sat on a
   cool grey. Everything now shares #f7f8fa, and the ink/line scale
   is shifted from warm-sepia to neutral so type does not look muddy
   on a cool ground. Section accents (Culture's tint, Health's teal,
   Business's navy) remain as per-section overrides below.
   ========================================================= */

:root {
  /* Neutral ink scale — replaces the warm sepia set */
  --ink: #15181c;
  --ink-soft: #2c3138;
  --muted: #5a616a;
  --muted-2: #7b838d;

  /* Cool paper */
  --paper: #f7f8fa;
  --paper-deep: #eff1f5;
  --surface: #f1f3f7;
  --surface-2: #e5e8ee;

  /* Rules */
  --line: #dcdfe5;
  --line-2: #c6cad2;
}

body {
  background-color: var(--paper);
  background-image:
    radial-gradient(1100px 520px at 14% -6%, rgba(22, 35, 58, .04), transparent 62%),
    radial-gradient(860px 440px at 90% 1%, rgba(22, 35, 58, .028), transparent 58%);
}

/* Header and footer follow the new ground */
.site-header { background: var(--paper); }
.site-header.is-stuck { background: rgba(247, 248, 250, .96); }
.site-footer { background: var(--surface); }
.site-footer.is-dark, .footer-dark { background: #16233a; }

/* --- Per-section grounds: keep the accent tint, drop the warm base --- */

/* Culture keeps its own paper, but shifted to a neutral-cool newsprint */
.category-culture {
  --paper: #f4f2ee;
  --paper-deep: #edeae4;
  --surface: #efede8;
  --surface-2: #e2ded6;
  --line: #d9d5cc;
  --line-2: #c3beb4;
  background-color: #f4f2ee;
  background-image:
    radial-gradient(1100px 520px at 20% -4%, rgba(122, 92, 46, .05), transparent 62%),
    radial-gradient(900px 460px at 84% 3%, rgba(60, 74, 96, .04), transparent 60%);
}
.category-culture .site-footer { background-color: #edeae4; }
.category-culture .cul-masthead__title,
.category-culture .cul-lead__title,
.category-culture .cul-feature__title,
.category-culture .cul-entry__title { color: var(--ink); }

/* Health keeps its cool teal tint on the shared neutral base */
.category-health {
  background-color: var(--paper);
  background-image:
    radial-gradient(1000px 480px at 18% -6%, rgba(15, 107, 99, .05), transparent 60%),
    radial-gradient(820px 420px at 88% 2%, rgba(47, 141, 132, .04), transparent 58%);
}
.category-health .site-footer { background-color: var(--surface); }

/* Business already matched; align its gradient strength to the rest */
.category-business {
  background-color: var(--paper);
  background-image:
    radial-gradient(1000px 460px at 14% -6%, rgba(22, 35, 58, .04), transparent 60%),
    radial-gradient(860px 420px at 90% 0%, rgba(22, 35, 58, .028), transparent 58%);
}

/* Technology: its lead band was a bespoke #f6f8f7, fold into the neutral set */
.category-technology {
  background-color: var(--paper);
  background-image:
    radial-gradient(1000px 460px at 16% -6%, rgba(15, 118, 110, .04), transparent 60%),
    radial-gradient(840px 420px at 88% 1%, rgba(37, 99, 235, .03), transparent 58%);
}
.category-technology .tec-head { background: #ffffff; border-bottom-color: var(--line); }
.category-technology .tec-leadwrap { background: var(--surface); border-bottom-color: var(--line); }

/* Sport: plain neutral ground */
.category-sport { background-color: var(--paper); }

/* Culture's paper was kept a touch warmer than the rest; the client asked for
   one ground across the whole site, so it joins the shared neutral too. The
   periodical character now comes from type and layout alone. */
.category-culture {
  --paper: #f7f8fa;
  --paper-deep: #eff1f5;
  --surface: #f1f3f7;
  --surface-2: #e5e8ee;
  --line: #dcdfe5;
  --line-2: #c6cad2;
  background-color: #f7f8fa;
  background-image:
    radial-gradient(1100px 520px at 20% -4%, rgba(122, 92, 46, .035), transparent 62%),
    radial-gradient(900px 460px at 84% 3%, rgba(60, 74, 96, .03), transparent 60%);
}
.category-culture .site-footer { background-color: #eff1f5; }

/* muted-2 fell to 3.61:1 on the cool ground (needs 4.5). Darken it to keep
   category labels and timestamps legible. */
:root { --muted-2: #6b7380; }
.category-culture { --muted-2: #6b7380; }

/* A hair darker than 4.50 to leave margin on the lightest backgrounds. */
:root { --muted-2: #666e7a; }
.category-culture { --muted-2: #666e7a; }

/* The lead band tint was too close to the page ground to read as a panel;
   drop the fill and keep only the boundary. */
.category-technology .tec-leadwrap {
  background: transparent;
  border-bottom: 1px solid var(--line);
}

/* =========================================================
   v30 · NEWS index — immediacy first
   This page sells recency, so time is the primary graphic device:
   a live ticker, an HH:MM clock in the masthead, monospace stamps,
   and a stream grouped by day rather than by desk.
   ========================================================= */

/* --- Masthead: title left, live clock right --- */
.nws-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 18px;
  border-bottom: 3px solid var(--ink);
  margin-bottom: 0;
}
.nws-head__left { display: flex; align-items: center; gap: 14px; }
.nws-head__pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(198, 40, 40, .5);
  animation: nws-pulse 2.4s var(--ease-soft) infinite;
  flex: none;
}
@keyframes nws-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(198, 40, 40, .45); }
  70%  { box-shadow: 0 0 0 10px rgba(198, 40, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .nws-head__pulse { animation: none; }
}
.nws-head__title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.046em;
  margin: 0;
}
.nws-head__right {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nws-head__label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.nws-head__clock {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--live);
  font-variant-numeric: tabular-nums;
}
.nws-head__date {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --- Ticker --- */
.nws-ticker {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 30px;
  overflow: hidden;
}
.nws-ticker__flag {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: var(--live);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.nws-ticker__rail { overflow: hidden; flex: 1; min-width: 0; }
.nws-ticker__list {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  width: max-content;
  animation: nws-marquee 60s linear infinite;
}
.nws-ticker:hover .nws-ticker__list { animation-play-state: paused; }
@keyframes nws-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .nws-ticker__list { animation: none; flex-wrap: wrap; width: auto; }
}
.nws-ticker__list li { flex: none; }
.nws-ticker__list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  font-size: 12px;
  white-space: nowrap;
  border-right: 1px solid var(--line);
  transition: background-color .18s var(--ease-soft);
}
.nws-ticker__list a:hover { background: rgba(22, 35, 58, .05); text-decoration: none; }
.nws-ticker__list time {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--live);
  font-variant-numeric: tabular-nums;
}
.nws-ticker__cat {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.nws-ticker__text { color: var(--ink); font-weight: 600; }

/* --- Lead pair --- */
.nws-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 36px;
  padding-bottom: 34px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.nws-lead__main { min-width: 0; }
.nws-lead__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  margin-bottom: 16px;
}
.nws-lead__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.3s var(--ease-out);
}
.nws-lead__main:hover .nws-lead__media img { transform: scale(1.025); }
.nws-lead__stamp {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--live);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 6px 11px;
  font-variant-numeric: tabular-nums;
}
.nws-flag {
  display: inline-block;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 4px 9px;
  margin-bottom: 10px;
}
.nws-flag--live { background: var(--live); color: #fff; }
.nws-lead__title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.034em;
  margin: 0 0 12px;
  text-wrap: balance;
}
.nws-lead__dek {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 56ch;
}
.nws-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.nws-meta__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }

/* Two stacked secondaries fill the right column completely */
.nws-lead__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  border-left: 1px solid var(--line);
  padding-left: 32px;
  height: 100%;
}
.nws-second { display: flex; flex-direction: column; padding: 0; min-height: 0; }
.nws-second + .nws-second { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 22px; }
.nws-second__media { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); margin-bottom: 11px; }
.nws-second__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.nws-second:hover .nws-second__media img { transform: scale(1.04); }
.nws-second__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}
.nws-second__cat {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.nws-second__time {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--live);
  font-variant-numeric: tabular-nums;
}
.nws-second__title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.022em;
  margin: 0 0 7px;
}
.nws-second__dek { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* --- Day-grouped stream --- */
.nws-stream { padding-top: 26px; }
.nws-day {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 26px 0 4px;
}
.nws-day:first-child { margin-top: 0; }
.nws-day__name {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.nws-day__rule { flex: 1; height: 1px; background: var(--line-2); }

.nws-row + .nws-row { border-top: 1px solid var(--line); }
.nws-row__link {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 96px;
  gap: 20px;
  align-items: start;
  padding: 16px 0;
  transition: background-color .18s var(--ease-soft);
}
.nws-row__link:hover { background: rgba(22, 35, 58, .028); text-decoration: none; }
.nws-row__time {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.nws-row__text { min-width: 0; display: block; }
.nws-row__cat {
  display: block;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 5px;
}
.nws-row__title {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 5px;
}
.nws-row__dek { display: block; font-size: 13px; line-height: 1.55; color: var(--muted); }
.nws-row__thumb { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface-2); }
.nws-row__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.nws-row:hover .nws-row__thumb img { transform: scale(1.06); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nws-lead { grid-template-columns: 1fr; gap: 28px; }
  .nws-lead__side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; grid-template-rows: auto auto; }
}
@media (max-width: 760px) {
  .nws-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nws-head__right { justify-content: flex-start; }
  .nws-head__clock { font-size: 24px; }
  .nws-row__link { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
  .nws-row__thumb { display: none; }
  .nws-row__title { font-size: 16px; }
  .nws-second__title { font-size: 17px; }
}

/* =========================================================
   v31 · Home — picture marquee + carousel affordance
   The hero was already auto-rotating at 4.5s but gave no visible
   cue, so it read as static. This adds a progress bar and slide
   counter, then introduces a slower picture marquee mid-page so
   the two rhythms do not compete.
   ========================================================= */

/* --- Hero: visible progress + counter --- */
.home-hero .hero-slider { position: relative; }
.home-hero__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, .18);
  overflow: hidden;
}
.home-hero__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--live);
  transform-origin: left center;
}
.hero-slider.is-playing .home-hero__progress span {
  animation: hero-fill var(--hero-duration, 4500ms) linear infinite;
}
.hero-slider.is-paused .home-hero__progress span { animation-play-state: paused; }
@keyframes hero-fill {
  from { width: 0; }
  to   { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__progress span { animation: none; width: 100%; }
}

/* Slide counter, top right of the hero */
.home-hero__counter {
  position: absolute;
  top: 18px;
  right: 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .92);
  background: rgba(10, 12, 16, .55);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  z-index: 3;
}
.home-hero__counter i { font-style: normal; opacity: .5; }

/* Slightly stronger scrim so headline contrast holds on every slide */
.home-hero__scrim {
  background: linear-gradient(to top, rgba(8, 10, 14, .88) 0%, rgba(8, 10, 14, .55) 38%, rgba(8, 10, 14, .12) 72%, transparent 100%);
}

/* --- Picture marquee --- */
.pic-marquee {
  margin: 48px 0 12px;
  padding: 30px 0 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.pic-marquee__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.pic-marquee__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.026em;
  margin: 0;
}
.pic-marquee__hint {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.pic-marquee__viewport { overflow: hidden; }
.pic-marquee__track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: pic-drift 72s linear infinite;
}
.pic-marquee:hover .pic-marquee__track { animation-play-state: paused; }
@keyframes pic-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 9px)); }
}
@media (prefers-reduced-motion: reduce) {
  .pic-marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .pic-marquee__viewport { overflow-x: auto; }
}

.pic-frame {
  flex: none;
  width: 268px;
  display: block;
  transition: opacity .2s var(--ease-soft);
}
.pic-frame:hover { text-decoration: none; opacity: .82; }
.pic-frame__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--surface-2);
  margin-bottom: 9px;
}
.pic-frame__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.pic-frame:hover .pic-frame__media img { transform: scale(1.05); }
.pic-frame__cap { display: block; }
.pic-frame__cat {
  display: block;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 5px;
}
.pic-frame__title {
  display: block;
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.014em;
  color: var(--ink);
  /* Two-line clamp keeps every frame the same height */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 760px) {
  .pic-marquee { padding: 22px 0 26px; }
  .pic-frame { width: 210px; }
  .pic-marquee__title { font-size: 19px; }
  .home-hero__counter { top: 12px; right: 12px; font-size: 10px; }
}

/* The marquee had been full-bleed while its heading sat in the container,
   so the label was indented and the frames ran edge to edge. Keep the tinted
   band full width (it reads as a section break) but inset the scrolling
   viewport to the container, and scale the frames down.
   ========================================================= */
.pic-marquee {
  padding: 30px 0 34px;
}
.pic-marquee__viewport {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
  overflow: hidden;
  /* Fade the ends so frames do not appear to be cut off mid-image */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
}

/* Smaller frames: 4 fit comfortably inside 1200px, 5 are half-visible */
.pic-frame { width: 224px; }
.pic-frame__media { aspect-ratio: 3 / 2; }
.pic-frame__title { font-size: 13.5px; }

@media (max-width: 760px) {
  .pic-frame { width: 176px; }
  .pic-frame__title { font-size: 12.5px; }
}

/* The mask only faded the edges; frames still ran right up to the clip line
   and read as half-images. Inset the track so the first frame starts inside
   the viewport and the mask has room to work.
   ========================================================= */
.pic-marquee__track {
  padding-left: 26px;
  padding-right: 26px;
}
.pic-marquee__viewport {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 52px, #000 calc(100% - 52px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 52px, #000 calc(100% - 52px), transparent 100%);
}

/* =========================================================
   v32 · Legal pages (/terms/, /privacy/)
   These are documents, not articles: single column, generous
   measure, numbered headings, no sidebar competing for width.
   ========================================================= */

.page-id-1505 .page-layout,
.page-id-1504 .page-layout {
  display: block;
  max-width: 760px;
  margin: 0 auto;
}
.page-id-1505 #secondary,
.page-id-1505 .sidebar,
.page-id-1504 #secondary,
.page-id-1504 .sidebar {
  display: none;
}
.page-id-1505 .page-content,
.page-id-1504 .page-content {
  max-width: 760px;
}

/* Document typography */
.page-id-1505 .page-content,
.page-id-1504 .page-content {
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-soft);
}
.page-id-1505 .page-content p,
.page-id-1504 .page-content p {
  margin: 0 0 18px;
}

/* Standfirst */
.terms-lede {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 0 0 20px !important;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

/* Revision stamp */
.terms-updated {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: var(--surface);
  padding: 6px 12px;
  margin-bottom: 34px !important;
}
.terms-updated span {
  color: var(--live);
  font-weight: 700;
}

/* Numbered section headings */
.page-id-1505 .page-content h2,
.page-id-1504 .page-content h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.022em;
  color: var(--ink);
  margin: 38px 0 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}

/* Lists inside documents */
.page-id-1505 .page-content ul,
.page-id-1504 .page-content ul {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}
.page-id-1505 .page-content ul li,
.page-id-1504 .page-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.page-id-1505 .page-content ul li::before,
.page-id-1504 .page-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted-2);
}

/* Links in documents */
.page-id-1505 .page-content a,
.page-id-1504 .page-content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s var(--ease-soft);
}
.page-id-1505 .page-content a:hover,
.page-id-1504 .page-content a:hover {
  text-decoration-color: var(--live);
}

/* The archive header on a legal page reads as a document masthead */
.page-id-1505 .archive-header,
.page-id-1504 .archive-header {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  padding-bottom: 26px;
}
.page-id-1505 .page-title,
.page-id-1504 .page-title {
  font-size: clamp(32px, 4vw, 46px);
}

@media (max-width: 760px) {
  .page-id-1505 .page-content,
  .page-id-1504 .page-content { font-size: 15.5px; }
  .terms-lede { font-size: 17.5px; }
  .page-id-1505 .page-content h2,
  .page-id-1504 .page-content h2 { font-size: 19px; margin-top: 30px; }
}

/* The date chip's bottom margin collapsed against the first heading's top
   margin, leaving a dead band. Neutralise it on the element that follows. */
.terms-updated {
  margin-bottom: 4px !important;
}
.page-id-1505 .page-content h2:first-of-type,
.page-id-1504 .page-content h2:first-of-type {
  margin-top: 26px;
}

/* About joins the document treatment: single column, no sidebar, same
   measure as /terms/ and /privacy/ so the three institutional pages read
   as one set. */
.page-id-1502 .page-layout {
  display: block;
  max-width: 760px;
  margin: 0 auto;
}
.page-id-1502 #secondary,
.page-id-1502 .sidebar { display: none; }
.page-id-1502 .page-content {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-soft);
}
.page-id-1502 .page-content p { margin: 0 0 18px; }
.page-id-1502 .page-content h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.022em;
  color: var(--ink);
  margin: 38px 0 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}
.page-id-1502 .page-content h2:first-of-type { margin-top: 26px; }
.page-id-1502 .page-content ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.page-id-1502 .page-content ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.page-id-1502 .page-content ul li::before { content: "—"; position: absolute; left: 0; color: var(--muted-2); }
.page-id-1502 .page-content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s var(--ease-soft);
}
.page-id-1502 .page-content a:hover { text-decoration-color: var(--live); }
.page-id-1502 .archive-header {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  padding-bottom: 26px;
}
.page-id-1502 .page-title { font-size: clamp(32px, 4vw, 46px); }

@media (max-width: 760px) {
  .page-id-1502 .page-content { font-size: 15.5px; }
  .page-id-1502 .page-content h2 { font-size: 19px; margin-top: 30px; }
}

/* =========================================================
   v33 · Home sections — horizontal ledger rows
   The four-up column grid became one section per row: an oversized
   section name on the left, that section's stories on the right,
   with a single curved spine threading all four rows together.
   ========================================================= */

.sec-rows {
  padding: 56px 0 20px;
}
.sec-rows__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0;
}
.sec-rows__title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 0;
}
.sec-rows__all {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.sec-rows__all:hover { color: var(--ink); text-decoration: none; }

/* Relative host for the spine */
.sec-rows__body {
  position: relative;
  padding-left: 92px;
}

/* The spine: one continuous curve down the left of the list */
.sec-spine {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 100%;
  color: var(--line-2);
  pointer-events: none;
  overflow: visible;
}
.sec-spine path {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: sec-draw 2.4s var(--ease-out) .2s forwards;
}
@keyframes sec-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sec-spine path { animation: none; stroke-dashoffset: 0; }
}

/* Each section occupies a full row */
.sec-row {
  display: grid;
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.sec-row:last-child { border-bottom: 0; }

/* Oversized section name, set like a chapter opening */
.sec-row__label { position: relative; }
.sec-landmark {
  display: block;
  transition: opacity .22s var(--ease-soft);
}
.sec-landmark:hover { opacity: .62; text-decoration: none; }
.sec-landmark__text {
  display: block;
  font-family: var(--serif);
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--ink);
  text-transform: capitalize;
}

/* Right side: one lead story + a compact list */
.sec-row__content { min-width: 0; }
.sec-lead {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
  transition: opacity .2s var(--ease-soft);
}
.sec-lead:hover { text-decoration: none; }
.sec-lead__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}
.sec-lead__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.sec-lead:hover .sec-lead__media img { transform: scale(1.05); }
.sec-lead__body { min-width: 0; display: block; }
.sec-lead__title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(21px, 2.1vw, 28px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.028em;
  color: var(--ink);
  margin-bottom: 10px;
  text-wrap: balance;
}
.sec-lead__dek {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 12px;
  max-width: 58ch;
}
.sec-lead__meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* Secondary stories, two across */
.sec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 4px;
}
.sec-list li { border-bottom: 1px solid var(--line); }
.sec-list li:nth-last-child(-n+2) { border-bottom: 0; }
.sec-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  transition: opacity .2s var(--ease-soft);
}
.sec-list a:hover { text-decoration: none; opacity: .66; }
.sec-list__title {
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.016em;
  color: var(--ink-soft);
}
.sec-list__date {
  flex: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .sec-rows__body { padding-left: 64px; }
  .sec-spine { width: 44px; }
  .sec-row { grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); gap: 28px; padding: 32px 0; }
  .sec-lead { grid-template-columns: 160px minmax(0, 1fr); gap: 18px; }
  .sec-list { grid-template-columns: 1fr; }
  .sec-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sec-list li:last-child { border-bottom: 0; }
}
@media (max-width: 760px) {
  .sec-rows { padding: 38px 0 12px; }
  .sec-rows__body { padding-left: 34px; }
  .sec-spine { width: 26px; }
  .sec-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
  }
  .sec-landmark__text { font-size: 34px; line-height: 1; }
  .sec-lead { grid-template-columns: 1fr; gap: 14px; }
  .sec-lead__media { aspect-ratio: 16 / 9; }
  .sec-lead__title { font-size: 20px; }
}

/* A section with only one secondary story left the right half of the list
   empty. When there is a single item, let it span the full width. */
.sec-list[data-count="1"] { grid-template-columns: 1fr; }
.sec-list[data-count="1"] li { border-bottom: 0; }
.sec-list__more .sec-list__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--muted);
}

/* "Technology" is the longest section name and nearly filled the 300px
   label column at 60px, so it collided with the image on narrower
   viewports. Scale the label to its column with a fluid size and allow
   a hyphen-free break as a last resort. */
.sec-landmark__text {
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: .92;
  overflow-wrap: break-word;
  hyphens: none;
  max-width: 100%;
}
@media (max-width: 1280px) {
  .sec-landmark__text { font-size: clamp(26px, 3vw, 44px); }
}
@media (max-width: 1024px) {
  .sec-row { grid-template-columns: minmax(120px, 170px) minmax(0, 1fr); }
  .sec-landmark__text { font-size: clamp(22px, 2.8vw, 36px); }
}
@media (max-width: 760px) {
  .sec-landmark__text { font-size: 30px; }
}

/* Later media queries (the label-scaling pass) re-declared the two-column
   grid and overrode the single-column mobile rule. Re-assert it last. */
@media (max-width: 760px) {
  .sec-rows__body { padding-left: 30px; }
  .sec-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 26px 0;
  }
  .sec-lead {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-bottom: 18px;
  }
  .sec-lead__media { aspect-ratio: 16 / 9; }
  .sec-lead__title { font-size: 20px; line-height: 1.22; }
  .sec-lead__dek { font-size: 13.5px; }
  .sec-list { grid-template-columns: 1fr; }
  .sec-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sec-list li:last-child { border-bottom: 0; }
  .sec-list__title { font-size: 15px; }
  .sec-spine { width: 22px; }
}

/* =========================================================
   v34 · Section rows — alternating sides, marks, gradient rule
   The curved spine was withdrawn. Each row flips its label to the
   opposite side so the eye zig-zags, carries a line icon, and ends
   with an animated gradient rule under the section name.
   ========================================================= */

/* Remove the retired spine entirely */
.sec-spine { display: none; }

.sec-rows__body { padding-left: 0; }

/* Alternating layout */
.sec-row {
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
/* Even rows put the label on the right and the stories on the left */
.sec-row--flip {
  grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
}
.sec-row--flip .sec-row__label { order: 2; text-align: right; }
.sec-row--flip .sec-row__content { order: 1; }
.sec-row--flip .sec-landmark { align-items: flex-end; }
.sec-row--flip .sec-landmark__rule { margin-left: auto; }
.sec-row--flip .sec-lead__meta,
.sec-row--flip .sec-lead__dek { /* keep text left-aligned inside the story */ text-align: left; }

/* Label column: mark above the name, gradient rule beneath */
.sec-landmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.sec-landmark__mark {
  display: block;
  width: 46px;
  height: 46px;
  color: var(--muted-2);
  transition: color .3s var(--ease-soft), transform .5s var(--ease-out);
}
.sec-landmark:hover .sec-landmark__mark {
  color: var(--ink);
  transform: translateY(-2px);
}

/* The gradient rule: a hairline that sweeps in with a travelling highlight */
.sec-landmark__rule {
  position: relative;
  display: block;
  width: 100%;
  max-width: 260px;
  height: 1px;
  margin-top: 6px;
  background: linear-gradient(90deg,
    rgba(198, 40, 40, .55) 0%,
    rgba(198, 40, 40, .18) 24%,
    var(--line-2) 52%,
    transparent 100%);
  overflow: hidden;
  transform-origin: left center;
  transform: scaleX(0);
  animation: sec-rule-in .9s var(--ease-out) forwards;
}
.sec-row--flip .sec-landmark__rule {
  transform-origin: right center;
  background: linear-gradient(270deg,
    rgba(198, 40, 40, .55) 0%,
    rgba(198, 40, 40, .18) 24%,
    var(--line-2) 52%,
    transparent 100%);
}
.sec-landmark__rule::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(198, 40, 40, .85), transparent);
  animation: sec-rule-sweep 3.4s var(--ease-soft) 1.1s infinite;
}
@keyframes sec-rule-in {
  to { transform: scaleX(1); }
}
@keyframes sec-rule-sweep {
  0%   { transform: translateX(-120%); opacity: 0; }
  18%  { opacity: 1; }
  70%  { opacity: .9; }
  100% { transform: translateX(340%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sec-landmark__rule { animation: none; transform: scaleX(1); }
  .sec-landmark__rule::after { animation: none; display: none; }
}

/* Name sits under the mark, left or right aligned depending on the row */
.sec-landmark__text {
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: .92;
  letter-spacing: -.05em;
  max-width: 100%;
}

/* Stagger the rows so the rules sweep in one after another */
.sec-row:nth-of-type(2) .sec-landmark__rule { animation-delay: .12s; }
.sec-row:nth-of-type(3) .sec-landmark__rule { animation-delay: .24s; }
.sec-row:nth-of-type(4) .sec-landmark__rule { animation-delay: .36s; }

/* --- Responsive: stack, label always on top --- */
@media (max-width: 1024px) {
  .sec-row,
  .sec-row--flip { grid-template-columns: minmax(130px, 180px) minmax(0, 1fr); gap: 28px; }
  .sec-row--flip .sec-row__label { order: 1; text-align: left; }
  .sec-row--flip .sec-row__content { order: 2; }
  .sec-row--flip .sec-landmark { align-items: flex-start; }
  .sec-row--flip .sec-landmark__rule {
    margin-left: 0;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(198,40,40,.55) 0%, rgba(198,40,40,.18) 24%, var(--line-2) 52%, transparent 100%);
  }
  .sec-landmark__mark { width: 36px; height: 36px; }
}
@media (max-width: 760px) {
  .sec-row,
  .sec-row--flip { grid-template-columns: 1fr; gap: 14px; }
  .sec-row--flip .sec-row__label { order: 1; text-align: left; }
  .sec-row--flip .sec-row__content { order: 2; }
  .sec-row--flip .sec-landmark { align-items: flex-start; }
  .sec-landmark { flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; }
  .sec-landmark__mark { width: 30px; height: 30px; }
  .sec-landmark__text { font-size: 30px; }
  .sec-landmark__rule { width: 100%; max-width: none; flex-basis: 100%; margin-top: 2px; }
}

/* The mark sat above the name, adding a whole extra line of vertical space
   and shrinking the name's presence. Put it beside the name instead, and
   give it enough weight to read at display size. */
.sec-landmark {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sec-landmark__mark {
  width: 40px;
  height: 40px;
  flex: none;
  color: var(--muted);
}
.sec-landmark__text { flex: 0 1 auto; }
/* Rule stays on its own line beneath both */
.sec-landmark__rule {
  flex-basis: 100%;
  margin-top: 4px;
}
.sec-row--flip .sec-landmark { justify-content: flex-end; }

@media (max-width: 1024px) {
  .sec-landmark__mark { width: 32px; height: 32px; }
  .sec-row--flip .sec-landmark { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .sec-landmark { flex-wrap: wrap; gap: 10px; }
  .sec-landmark__mark { width: 28px; height: 28px; }
}

/* "Technology" plus its mark exceeded the label column, wrapping the icon
   onto the line above. Keep the mark pinned to the first line by preventing
   the name from breaking onto its own row, and let the name shrink instead. */
.sec-landmark {
  flex-wrap: nowrap;
}
.sec-landmark__text {
  flex: 0 1 auto;
  min-width: 0;
  font-size: clamp(26px, 2.9vw, 46px);
}
.sec-landmark__rule {
  flex-basis: auto;
  width: 100%;
  max-width: 260px;
}
/* Rule needs to sit under the pair, so wrap only after the rule */
.sec-landmark { flex-wrap: wrap; }
.sec-landmark__mark,
.sec-landmark__text { flex: 0 0 auto; }

@media (max-width: 1024px) {
  .sec-landmark__text { font-size: clamp(22px, 2.6vw, 34px); }
}
@media (max-width: 760px) {
  .sec-landmark__text { font-size: 28px; }
}

/* At 1024px "Technology" plus its mark still tipped onto a second line;
   the label column is narrowest right at that breakpoint. */
@media (max-width: 1100px) and (min-width: 761px) {
  .sec-row,
  .sec-row--flip { grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); gap: 26px; }
  .sec-landmark { gap: 10px; }
  .sec-landmark__mark { width: 30px; height: 30px; }
  .sec-landmark__text { font-size: clamp(20px, 2.3vw, 30px); letter-spacing: -.04em; }
}

/* =========================================================
   v35 · One story per section row
   With the headline list gone each row holds a single story, so the
   row can breathe: deeper padding, a larger image, and more air
   between the section name and the copy.
   ========================================================= */

.sec-row,
.sec-row--flip {
  padding: 64px 0;
  gap: 56px;
  align-items: center;
}

/* Only one story now, so the image can carry more weight */
.sec-lead {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 0;
}
.sec-lead__media { aspect-ratio: 4 / 3; }

.sec-lead__title {
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.12;
  letter-spacing: -.032em;
  margin-bottom: 14px;
}
.sec-lead__dek {
  font-size: 15.5px;
  line-height: 1.66;
  margin-bottom: 16px;
  max-width: 54ch;
}
.sec-lead__meta { font-size: 10.5px; }

/* Section name gets more presence with the extra room */
.sec-landmark { gap: 16px; }
.sec-landmark__mark { width: 46px; height: 46px; }
.sec-landmark__text { font-size: clamp(32px, 3.6vw, 58px); }

/* Retire the now-unused list styles */
.sec-list { display: none; }

/* --- Responsive --- */
@media (max-width: 1100px) and (min-width: 761px) {
  .sec-row,
  .sec-row--flip { padding: 44px 0; gap: 34px; }
  .sec-lead { grid-template-columns: 230px minmax(0, 1fr); gap: 26px; }
  .sec-lead__title { font-size: clamp(22px, 2.4vw, 30px); }
  .sec-landmark__mark { width: 34px; height: 34px; }
  .sec-landmark__text { font-size: clamp(24px, 2.7vw, 38px); }
}
@media (max-width: 760px) {
  .sec-row,
  .sec-row--flip { padding: 34px 0; gap: 16px; }
  .sec-lead { grid-template-columns: 1fr; gap: 14px; }
  .sec-lead__media { aspect-ratio: 16 / 9; }
  .sec-lead__title { font-size: 21px; line-height: 1.24; }
  .sec-lead__dek { font-size: 13.5px; margin-bottom: 12px; }
  .sec-landmark__mark { width: 28px; height: 28px; }
  .sec-landmark__text { font-size: 30px; }
}

/* The 320px image left only 488px for the headline, pushing longer titles
   to three lines while 354px of the row sat empty. Trim the image and let
   the text take the remaining width. */
.sec-lead {
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 32px;
}
.sec-lead__title {
  font-size: clamp(24px, 2.5vw, 34px);
  max-width: 22ch;
  text-wrap: balance;
}
.sec-lead__dek { max-width: 62ch; }

@media (max-width: 1100px) and (min-width: 761px) {
  .sec-lead { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
  .sec-lead__title { font-size: clamp(20px, 2.2vw, 27px); max-width: none; }
}

/* 22ch was far too tight — it capped the headline at ~374px and forced extra
   lines. Let the headline fill the text column instead. */
.sec-lead__title {
  max-width: none;
  font-size: clamp(24px, 2.5vw, 34px);
}

/* =========================================================
   v35.3 · Re-assert the mobile single column, last.
   Append-only edits kept adding a two-column .sec-lead rule *after*
   the 760px block, so on phones the text column collapsed to 70px and
   its headline pushed the document 63px wide. This block sits at the
   end of the file and wins.
   ========================================================= */
@media (max-width: 760px) {
  .sec-row,
  .sec-row--flip {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 34px 0;
  }
  .sec-lead {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sec-lead__media {
    aspect-ratio: 16 / 9;
    width: 100%;
  }
  .sec-lead__body {
    min-width: 0;
    width: 100%;
  }
  .sec-lead__title,
  .sec-lead__dek {
    max-width: none;
    overflow-wrap: break-word;
  }
  .sec-lead__title { font-size: 21px; line-height: 1.24; }
  .sec-lead__dek { font-size: 13.5px; }
}

/* Measured: "Technology" + mark needs 343px inside a 300px column, and
   "Business" already sits at 279px. Size the name off the longest word so
   the mark never wraps to its own line. 300 - 46 - 16 = 238px available;
   "Technology" is 10 glyphs, so ~44px keeps it on one line. */
.sec-landmark__text {
  font-size: clamp(26px, 2.9vw, 44px);
  letter-spacing: -.045em;
}
.sec-landmark { gap: 14px; }
.sec-landmark__mark { width: 42px; height: 42px; }

@media (max-width: 1280px) {
  .sec-landmark__text { font-size: clamp(24px, 2.7vw, 38px); }
  .sec-landmark__mark { width: 36px; height: 36px; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .sec-landmark__text { font-size: clamp(20px, 2.2vw, 28px); }
  .sec-landmark__mark { width: 28px; height: 28px; }
}

/* "Technology" was being split as "Technolog / y" because overflow-wrap:
   break-word allows a break inside a word when the box is too narrow. For a
   display wordmark that is worse than any overflow, so forbid intra-word
   breaks and let the type scale instead. */
.sec-landmark__text {
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  white-space: nowrap;
}

/* Keep the mark and the name on one line, and let the name shrink to fit
   inside whatever the column gives it. */
.sec-landmark {
  flex-wrap: wrap;
  align-items: center;
}
.sec-landmark__mark { flex: 0 0 auto; }
.sec-landmark__text {
  flex: 0 1 auto;
  min-width: 0;
  /* Container-relative cap so the word never overflows its column */
  max-width: 100%;
}

@media (max-width: 760px) {
  .sec-landmark__text {
    font-size: clamp(22px, 7.6vw, 30px);
  }
}

/* =========================================================
   v36 · Bigger images + a travelling light down the section list
   The image grows so each row carries real visual weight, and an
   energy line threads the four rows with a spark that follows the
   reader's scroll position and lights up the row it is passing.
   ========================================================= */

/* --- Larger imagery --- */
.sec-lead {
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.sec-lead__media {
  aspect-ratio: 4 / 3;
}
.sec-lead__title {
  font-size: clamp(26px, 2.75vw, 38px);
  line-height: 1.12;
  margin-bottom: 15px;
}
.sec-lead__dek {
  font-size: 15.5px;
  line-height: 1.66;
  margin-bottom: 16px;
}

/* --- Energy line host --- */
.sec-rows__body { position: relative; }

.sec-energy {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.sec-energy__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* The static line sits faint; the spark adds the light */
.sec-energy__line { opacity: .30; }

/* The trace is the portion already travelled, drawn by JS via dash offset */
.sec-energy__trace {
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 4px rgba(198, 40, 40, .55));
}

.sec-energy__spark,
.sec-energy__halo {
  filter: drop-shadow(0 0 6px rgba(198, 40, 40, .85));
}

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

/* Rows above the spark fade back slightly so the current one reads first */
.sec-row { position: relative; z-index: 1; }
.sec-row.is-dim { opacity: .58; transition: opacity .45s var(--ease-soft); }
.sec-row.is-lit { opacity: 1; }
.sec-row { transition: opacity .45s var(--ease-soft); }
@media (prefers-reduced-motion: reduce) {
  .sec-row.is-dim { opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1280px) {
  .sec-lead { grid-template-columns: 320px minmax(0, 1fr); gap: 32px; }
  .sec-lead__title { font-size: clamp(23px, 2.4vw, 32px); }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .sec-lead { grid-template-columns: 240px minmax(0, 1fr); gap: 26px; }
  .sec-lead__title { font-size: clamp(20px, 2.2vw, 27px); }
  .sec-energy { display: none; }
}
@media (max-width: 760px) {
  .sec-lead { grid-template-columns: 1fr; gap: 14px; }
  .sec-lead__media { aspect-ratio: 16 / 9; width: 100%; }
  .sec-lead__title { font-size: 21px; }
  .sec-energy { display: none; }
}

/* Round dots, positioned by percentage. Kept out of the SVG because
   preserveAspectRatio="none" would stretch them into ellipses. */
.sec-energy__spark,
.sec-energy__halo {
  position: absolute;
  left: 50%;
  top: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.sec-energy__spark {
  width: 9px;
  height: 9px;
  background: #c62828;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 0 14px 4px rgba(198, 40, 40, .75);
}
.sec-energy__halo {
  width: 34px;
  height: 34px;
  background: radial-gradient(circle, rgba(198, 40, 40, .28) 0%, rgba(198, 40, 40, .12) 45%, transparent 70%);
  animation: sec-halo-pulse 2.6s var(--ease-soft) infinite;
}
@keyframes sec-halo-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(.85); opacity: .75; }
  50%      { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .sec-energy__halo { animation: none; }
}

/* The lit/dim difference was too subtle to read at a glance. Push the dim
   state further and lift the lit row's image slightly, so the spark clearly
   marks "you are here". */
.sec-row { opacity: .42; transition: opacity .5s var(--ease-soft); }
.sec-row.is-lit { opacity: 1; }
.sec-row.is-lit .sec-lead__media {
  box-shadow: 0 14px 40px -18px rgba(20, 24, 32, .38);
}
.sec-row.is-lit .sec-landmark__text { color: var(--ink); }
.sec-row .sec-lead__media { transition: box-shadow .5s var(--ease-soft); }

@media (prefers-reduced-motion: reduce) {
  .sec-row { opacity: 1; }
}

/* =========================================================
   v37 · Section list, refined
   The red-on-grey line read as a warning stripe rather than a design
   element, and the spark snapped between positions. The line now runs a
   warm amber → crimson gradient (matching the brand rays), sits on a
   softer ground, and the lit row is treated as a card rather than just
   "more opaque".
   ========================================================= */

/* --- Ground: give the whole block a quiet panel so the line has depth --- */
.sec-rows {
  position: relative;
  padding: 64px 0 40px;
}
.sec-rows__body {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* --- Line colour: warm amber to crimson, low opacity at both ends --- */
.sec-energy__line {
  opacity: 1;
  stroke-width: 1.25;
}
.sec-energy__trace {
  stroke-width: 2.25;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(224, 82, 60, .45));
}

/* --- Spark: smaller core, softer bloom, warm white ring --- */
.sec-energy__spark {
  width: 8px;
  height: 8px;
  background: #d9483d;
  box-shadow:
    0 0 0 2.5px rgba(255, 255, 255, .95),
    0 0 0 5px rgba(224, 82, 60, .16),
    0 0 18px 6px rgba(224, 82, 60, .55);
}
.sec-energy__halo {
  width: 44px;
  height: 44px;
  background: radial-gradient(circle,
    rgba(232, 163, 61, .30) 0%,
    rgba(224, 82, 60, .16) 42%,
    rgba(224, 82, 60, .05) 62%,
    transparent 74%);
  animation: sec-halo-pulse 3s var(--ease-soft) infinite;
}
@keyframes sec-halo-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(.88); opacity: .7; }
  50%      { transform: translate(-50%, -50%) scale(1.22); opacity: 1; }
}

/* --- Rows: treat the lit one as a raised card --- */
.sec-row {
  background: transparent;
  border-radius: 2px;
  padding-left: 0;
  padding-right: 0;
  opacity: .38;
  transition: opacity .62s var(--ease-soft);
}
.sec-row.is-lit { opacity: 1; }

.sec-row.is-lit .sec-lead__media {
  box-shadow:
    0 1px 2px rgba(20, 24, 32, .06),
    0 18px 46px -20px rgba(20, 24, 32, .34);
}

/* The section name gains a soft warm wash when active */
.sec-landmark__text {
  transition: color .5s var(--ease-soft);
}
.sec-row.is-lit .sec-landmark__text { color: var(--ink); }

/* The gradient rule under the name picks up the same warm ramp */
.sec-landmark__rule {
  background: linear-gradient(90deg,
    rgba(224, 82, 60, .62) 0%,
    rgba(232, 163, 61, .34) 30%,
    var(--line-2) 62%,
    transparent 100%);
}
.sec-row--flip .sec-landmark__rule {
  background: linear-gradient(270deg,
    rgba(224, 82, 60, .62) 0%,
    rgba(232, 163, 61, .34) 30%,
    var(--line-2) 62%,
    transparent 100%);
}

/* --- Image treatment: subtle inner edge so photos sit in the page --- */
.sec-lead__media {
  position: relative;
  border-radius: 1px;
  outline: 1px solid rgba(20, 24, 32, .05);
  outline-offset: -1px;
}
.sec-lead__media img { filter: saturate(1.02) contrast(1.02); }

/* --- Section headline and copy, tightened for a more editorial feel --- */
.sec-lead__title {
  letter-spacing: -.03em;
  text-wrap: balance;
}
.sec-lead__dek {
  color: var(--muted);
  max-width: 46ch;
}
.sec-lead__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sec-lead__meta::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--line-2);
}

/* --- Header of the block --- */
.sec-rows__head {
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 12px;
  margin-bottom: 8px;
}
.sec-rows__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: var(--sans);
  color: var(--muted);
}
.sec-rows__all { font-size: 9.5px; }

@media (prefers-reduced-motion: reduce) {
  .sec-row { opacity: 1; }
}

/* 38% made the inactive rows hard to read — this is a contents list, not a
   slideshow, so the dim state should recede without disappearing. */
.sec-row { opacity: .62; }
.sec-row.is-lit { opacity: 1; }

/* Photo dims slightly with its row so the lit image reads as the focus */
.sec-lead__media {
  transition: box-shadow .6s var(--ease-soft), opacity .6s var(--ease-soft);
}
.sec-row:not(.is-lit) .sec-lead__media { opacity: .86; }

/* The name keeps more presence than the body copy when inactive */
.sec-row:not(.is-lit) .sec-landmark__text { color: var(--muted); }
.sec-landmark__text { transition: color .55s var(--ease-soft); }

/* =========================================================
   v38 · Give the energy line a real channel
   The curve was swinging into the middle of the row, so images and
   headlines cut across it and the spark landed on the section name.
   The row gap is now wide enough to carry a dedicated channel between
   the name column and the story column, and the path runs inside it.
   ========================================================= */

/* Wider gutter between the label column and the story column */
.sec-row,
.sec-row--flip {
  gap: 72px;
}

/* The line sits below content, which is correct, but content was opaque
   over it — keep the line above the row background and let images stay
   above only their own area. */
.sec-energy { z-index: 2; }
.sec-row { z-index: 1; }
.sec-row__label,
.sec-row__content { position: relative; z-index: 1; }

/* Story text gets a soft paper backing so the line never reads through copy */
.sec-lead__body {
  position: relative;
}

/* The spark should never sit on a word: nudge it off the label column by
   drawing it at the channel, which the path already does. */
.sec-energy__spark,
.sec-energy__halo { z-index: 3; }

/* Narrow-wordmark guard: the channel must survive the 1100px breakpoint */
@media (max-width: 1280px) {
  .sec-row,
  .sec-row--flip { gap: 56px; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .sec-row,
  .sec-row--flip { gap: 40px; }
}

/* Line switched to a neutral grey ramp: the warm gradient competed with the
   brand red used for the spark. The spark keeps its red so the "you are here"
   signal stays legible against the grey path. */
.sec-energy__trace {
  filter: drop-shadow(0 0 4px rgba(107, 115, 128, .35));
  stroke-width: 2;
}
.sec-energy__line { stroke-width: 1.25; }

/* The gradient rule under each section name follows suit */
.sec-landmark__rule {
  background: linear-gradient(90deg,
    rgba(107, 115, 128, .55) 0%,
    rgba(154, 162, 173, .34) 32%,
    var(--line-2) 62%,
    transparent 100%);
}
.sec-row--flip .sec-landmark__rule {
  background: linear-gradient(270deg,
    rgba(107, 115, 128, .55) 0%,
    rgba(154, 162, 173, .34) 32%,
    var(--line-2) 62%,
    transparent 100%);
}
.sec-landmark__rule::after {
  background: linear-gradient(90deg, transparent, rgba(107, 115, 128, .75), transparent);
}

/* The sponsored bar used to separate the section list from "More news".
   With it gone the two blocks touch, so restore the breathing room it
   provided as a margin instead of a decorative ad slot. */
.sec-rows + .more-section,
.sec-rows + .container + .more-section {
  margin-top: 56px;
}
@media (max-width: 760px) {
  .sec-rows + .more-section,
  .sec-rows + .container + .more-section { margin-top: 36px; }
}

/* Header rule was hugging the first row; give it a touch more air. */
.sec-rows__head { margin-bottom: 20px; }
.sec-rows__body { padding-top: 0; }

/* =========================================================
   v39 · Energy line and spark withdrawn
   The travelling light was removed at the client's request. The rows
   must go back to full opacity and the dim/lit classes no longer have
   any visual effect, so every row reads equally. The row gap that was
   widened to carry the line is kept — it still gives the layout air.
   ========================================================= */

.sec-energy { display: none !important; }

/* All rows fully visible again; no scroll-driven emphasis */
.sec-row,
.sec-row.is-dim,
.sec-row.is-lit {
  opacity: 1;
}
.sec-row:not(.is-lit) .sec-lead__media,
.sec-row .sec-lead__media {
  opacity: 1;
}
.sec-row:not(.is-lit) .sec-landmark__text {
  color: var(--ink);
}
.sec-row.is-lit .sec-lead__media {
  box-shadow: none;
}

/* Keep a consistent, calm resting state: no per-row opacity transitions */
.sec-row {
  transition: none;
}

/* =========================================================
   v40 · Briefing promo
   Removing the sponsored bar left a 104px void between the section
   list and "More news". Rather than a generic ad, this is a newsletter
   slot in the publication's name: dark panel against the light page,
   so it reads as a deliberate pause in the layout rather than a gap.
   ========================================================= */

.briefing {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: center;
  padding: 34px 40px;
  margin: 0 0 34px;
  background:
    radial-gradient(900px 220px at 8% 0%, rgba(232, 163, 61, .10), transparent 62%),
    linear-gradient(112deg, #14181f 0%, #1b212b 52%, #222b36 100%);
  color: #f2f4f7;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
/* A hairline of warmth along the top edge ties it to the section rule */
.briefing::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(232, 163, 61, .9) 0%,
    rgba(232, 163, 61, .35) 26%,
    rgba(255, 255, 255, .08) 62%,
    transparent 100%);
}

.briefing__mark {
  width: 46px;
  height: 46px;
  flex: none;
  color: rgba(232, 163, 61, .85);
  align-self: start;
  margin-top: 4px;
}

.briefing__body { min-width: 0; }
.briefing__kicker {
  margin: 0 0 8px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(232, 163, 61, .92);
}
.briefing__title {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.024em;
  color: #fbfcfd;
  text-wrap: balance;
}
.briefing__copy {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(232, 236, 241, .74);
  max-width: 62ch;
}

/* Form */
.briefing__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-content: center;
}
.briefing__input {
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: #fbfcfd;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 2px;
  transition: border-color .2s var(--ease-soft), background-color .2s var(--ease-soft);
}
.briefing__input::placeholder { color: rgba(232, 236, 241, .42); }
.briefing__input:hover { border-color: rgba(255, 255, 255, .3); }
.briefing__input:focus {
  outline: none;
  border-color: rgba(232, 163, 61, .9);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, .18);
}
.briefing__submit {
  min-height: 44px;
  padding: 0 20px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1a1207;
  background: linear-gradient(180deg, #f0b552, #e8a33d);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: filter .2s var(--ease-soft), transform .2s var(--ease-soft);
}
.briefing__submit:hover { filter: brightness(1.07); }
.briefing__submit:active { transform: translateY(1px); }
.briefing__submit:focus-visible {
  outline: 2px solid #fbfcfd;
  outline-offset: 2px;
}
.briefing__fine {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 10px;
  letter-spacing: .04em;
  color: rgba(232, 236, 241, .46);
}

/* The promo now owns the gap above "More news" */
.sec-rows + .container + .more-section { margin-top: 0; }
.sec-rows + .more-section { margin-top: 0; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .briefing {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px 24px;
    padding: 28px 28px;
  }
  .briefing__form { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .briefing {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
    margin-bottom: 28px;
  }
  .briefing__mark { width: 34px; height: 34px; margin-top: 0; }
  .briefing__title { font-size: 18px; }
  .briefing__copy { font-size: 13px; }
  .briefing__form { grid-template-columns: 1fr; }
  .briefing__submit { width: 100%; }
}

/* =========================================================
   v40.1 · Briefing card, light ground
   The dark panel read as a slab on an otherwise airy page. Switch to a
   warm ivory card with a hairline border: it still separates from the
   cool grey page, but sits in the same tonal family.
   ========================================================= */

.briefing {
  background:
    radial-gradient(760px 200px at 6% 0%, rgba(232, 163, 61, .13), transparent 62%),
    linear-gradient(112deg, #fdfbf6 0%, #faf7f0 54%, #f6f2e9 100%);
  color: var(--ink-soft);
  border: 1px solid #e8e2d5;
  box-shadow: 0 1px 2px rgba(20, 24, 32, .03), 0 12px 32px -24px rgba(20, 24, 32, .22);
}

/* Top rule stays warm, a touch deeper now that the ground is light */
.briefing::before {
  background: linear-gradient(90deg,
    rgba(216, 138, 34, .95) 0%,
    rgba(232, 163, 61, .45) 26%,
    rgba(180, 160, 120, .22) 62%,
    transparent 100%);
}

.briefing__mark { color: #c07f2a; }

.briefing__kicker { color: #a9691c; }

.briefing__title { color: var(--ink); }

.briefing__copy { color: var(--muted); }

/* Input: light field with a defined border */
.briefing__input {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #ddd6c7;
}
.briefing__input::placeholder { color: #a8a196; }
.briefing__input:hover { border-color: #cdc4b2; }
.briefing__input:focus {
  border-color: #d8842a;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(216, 138, 34, .16);
}

/* Button keeps the amber fill; text goes dark for contrast on light */
.briefing__submit {
  color: #ffffff;
  background: linear-gradient(180deg, #e29a30, #d4861f);
}
.briefing__submit:hover { filter: brightness(1.05); }
.briefing__submit:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.briefing__fine { color: #8d8578; }

/* Contrast corrections on the ivory ground:
   - white on amber was only 2.90:1 — switch to dark text on amber
   - the kicker sat at 4.19:1 — deepen it
   - card vs page was 1.00:1 (invisible) — warm the card and firm the border
   - fine print at 3.44:1 — deepen */
.briefing {
  background:
    radial-gradient(760px 200px at 6% 0%, rgba(232, 163, 61, .16), transparent 62%),
    linear-gradient(112deg, #fdfaf3 0%, #f9f5ec 54%, #f4efe4 100%);
  border-color: #e2dac8;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset,
              0 1px 2px rgba(20, 24, 32, .04),
              0 14px 34px -26px rgba(20, 24, 32, .30);
}

.briefing__kicker { color: #8a5413; }

.briefing__submit {
  color: #1a1207;
  background: linear-gradient(180deg, #f0b552, #e29a30);
}
.briefing__fine { color: #746c60; }

/* =========================================================
   v41 · World section — cartographic identity
   World needed its own visual language rather than another generic
   archive grid. The section now uses a faint graticule (latitude and
   longitude grid) behind the masthead, a globe mark, and geographic
   datelines on each story so the page reads as a map of coverage.
   ========================================================= */

/* --- Graticule behind the masthead --- */
.category-world .archive-header {
  position: relative;
  padding: 34px 0 30px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.category-world .archive-header::before {
  content: "";
  position: absolute;
  inset: -40% -10% -20% -10%;
  pointer-events: none;
  background-image:
    /* Meridians */
    repeating-linear-gradient(90deg,
      rgba(22, 35, 58, .055) 0 1px, transparent 1px 58px),
    /* Parallels */
    repeating-linear-gradient(0deg,
      rgba(22, 35, 58, .045) 0 1px, transparent 1px 46px);
  /* Fade the grid at the edges so it reads as a map, not a table */
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 20%, transparent 78%);
  z-index: 0;
}
.category-world .archive-header > * { position: relative; z-index: 1; }

/* --- Page title with a globe mark --- */
.category-world .page-title {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(34px, 4.4vw, 58px);
  letter-spacing: -.045em;
  text-transform: none;
}
.category-world .page-title::before {
  content: "";
  width: .86em;
  height: .86em;
  flex: none;
  background-color: currentColor;
  /* Globe built from a circle plus two ellipse bands */
  -webkit-mask-image:
    radial-gradient(circle at 50% 50%, transparent 46%, #000 47%, #000 50%, transparent 51%),
    radial-gradient(ellipse 100% 34% at 50% 50%, #000 98%, transparent 100%),
    radial-gradient(ellipse 34% 100% at 50% 50%, #000 98%, transparent 100%);
  -webkit-mask-composite: source-over;
  mask-image:
    radial-gradient(circle at 50% 50%, transparent 46%, #000 47%, #000 50%, transparent 51%),
    radial-gradient(ellipse 100% 34% at 50% 50%, #000 98%, transparent 100%),
    radial-gradient(ellipse 34% 100% at 50% 50%, #000 98%, transparent 100%);
  mask-composite: add;
  color: var(--ink);
}

/* The kicker above the title reads like a commission line */
.category-world .archive-header .story-kicker {
  letter-spacing: .24em;
  color: var(--muted-2);
}

/* --- Geographic datelines --- */
.wn-dateline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.wn-dateline::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex: none;
}
/* A tick pointing to the map dot */
.wn-dateline::after {
  content: "";
  width: 12px;
  height: 1px;
  background: currentColor;
  opacity: .45;
  order: -1;
}

/* Stories carry the dateline above the headline */
.category-world .sec-top__text .wn-dateline,
.category-world .sec-top__side .wn-dateline { margin-bottom: 10px; }

/* --- Section dividers become graticule rules --- */
.category-world .sec-cards {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.category-world .sec-cards__grid {
  gap: 44px 34px;
}

/* Card images get a cool cast so the set feels like one atlas */
.category-world .sec-cards img {
  filter: saturate(.94) contrast(1.03);
}

/* --- Coverage strip: where the week's reporting came from --- */
.wn-coverage {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 0 0;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}
.wn-coverage__label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.wn-coverage__list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wn-coverage__list li {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 4px 9px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--surface);
}

@media (max-width: 760px) {
  .category-world .archive-header { padding: 22px 0 20px; margin-bottom: 22px; }
  .category-world .page-title { font-size: 32px; gap: 11px; }
  .category-world .sec-cards__grid { gap: 30px 20px; }
}

/* ------------------------------------------------------------------
   Selector correction: the World archive renders a `section-masthead`
   with a `section-masthead__title`, not `archive-header`/`page-title`.
   Everything below targets the real DOM.
   ------------------------------------------------------------------ */

.category-world .section-masthead {
  position: relative;
  padding: 40px 0 34px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

/* Graticule: meridians + parallels, faded into an ellipse */
.category-world .section-masthead::before {
  content: "";
  position: absolute;
  inset: -70% -14% -40% -14%;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(22, 35, 58, .075) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg,  rgba(22, 35, 58, .06) 0 1px, transparent 1px 44px);
  -webkit-mask-image: radial-gradient(ellipse 62% 78% at 50% 50%, #000 8%, rgba(0,0,0,.55) 46%, transparent 76%);
  mask-image: radial-gradient(ellipse 62% 78% at 50% 50%, #000 8%, rgba(0,0,0,.55) 46%, transparent 76%);
  z-index: 0;
}
.category-world .section-masthead > * { position: relative; z-index: 1; }

/* Globe mark beside the section name */
.category-world .section-masthead__title {
  display: inline-flex;
  align-items: center;
  gap: .38em;
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -.045em;
}
.category-world .section-masthead__title::before {
  content: "";
  width: .8em;
  height: .8em;
  flex: none;
  border: max(2px, .045em) solid currentColor;
  border-radius: 50%;
  /* Meridian band + equator, drawn with gradients inside the circle */
  background-image:
    linear-gradient(90deg, transparent 46%, currentColor 46%, currentColor 54%, transparent 54%),
    linear-gradient(0deg,  transparent 46%, currentColor 46%, currentColor 54%, transparent 54%);
  background-size: 100% 100%, 100% 100%;
  background-repeat: no-repeat;
  opacity: .92;
}

/* Hide the decorative dash that already sat above the title */
.category-world .section-masthead__rule { opacity: .5; }

/* Spacing for datelines inside cards and the side column */
.category-world .sec-card .wn-dateline { margin: 11px 0 7px; }
.category-world .sec-top__side-body .wn-dateline { margin-bottom: 9px; }

/* =========================================================
   v42 · "More from" band, light ground and inset
   The dark full-bleed slab was the only black block on an otherwise
   light site, and it ran edge to edge while every other section sat
   inside the container. It now shares the page ground and the gutter.
   ========================================================= */

.more-band {
  background: transparent;
  color: var(--ink);
  margin: 40px auto 0;
  padding: 28px 0 36px;
  width: 100%;
  max-width: var(--wrap);
  border-top: 1px solid var(--line);
}

/* Links back to ink instead of white */
.more-band a { color: var(--ink); }
.more-band a:hover { text-decoration: none; opacity: .72; }

/* Header label reads as a section rule on light ground */
.more-band__head {
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 13px;
  margin-bottom: 24px;
  font-size: 10.5px;
  letter-spacing: .18em;
}
.more-band__label { color: var(--muted); }

/* Thumbnails: neutral placeholder instead of near-black */
.more-band__item .thumb {
  background: var(--surface-2);
  border-radius: 1px;
  outline: 1px solid rgba(20, 24, 32, .05);
  outline-offset: -1px;
}
.more-band__item .thumb img { opacity: 1; }
.more-band__item .thumb img:hover { opacity: 1; }

/* Item titles and meta pick up the standard palette */
.more-band__item .story-title,
.more-band__item h3 { color: var(--ink); }
.more-band__item .story-meta,
.more-band__item .story-excerpt { color: var(--muted); }

/* Hover lift instead of opacity fade, so images stay crisp */
.more-band__item .thumb img { transition: transform .55s cubic-bezier(.2, .7, .3, 1); }
.more-band__item:hover .thumb img { transform: scale(1.03); }

@media (max-width: 760px) {
  .more-band {
    margin-top: 28px;
    padding: 22px 16px 28px;
    max-width: 100%;
  }
  .more-band__grid { grid-template-columns: 1fr; gap: 22px; }
}

/* Titles ranged from one to two lines, so the three columns ended at
   different heights. Reserve two lines so the row sits flush. */
.more-band__item .story-title,
.more-band__item h3 {
  min-height: 2.5em;
  margin-bottom: 6px;
}

/* On mobile the band still spanned the viewport; the horizontal padding
   insets its contents but not the block itself. Give it real side gutter
   so it matches the container rhythm used everywhere else. */
@media (max-width: 760px) {
  .more-band {
    width: auto;
    margin-left: 16px;
    margin-right: 16px;
    padding: 22px 0 28px;
  }
}

/* =========================================================
   v43 · World: fewer rules, more structure
   The page carried five horizontal rules in a single scroll, which made
   it read as a table. Only the masthead keeps its heavy rule; the rest
   of the separation comes from whitespace and type scale. Two new bands
   break up what had become one long three-column grid.
   ========================================================= */

/* --- Rules: keep the masthead, drop the rest --- */
.category-world .sec-cards { border-top: 0; padding-top: 8px; }
.category-world .more-band { border-top: 1px solid var(--line); }
.category-world .more-item--row,
.category-world .sec-rest__grid .more-item--row { border-bottom: 0; }

/* Give the blocks room instead of lining them off */
.category-world .sec-top { margin-bottom: 6px; }
.category-world .sec-cards { margin-top: 46px; }
.category-world .sec-cards__grid { gap: 50px 34px; }

/* --- Band: The Long Read (one large feature) --- */
.wn-longread {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin: 56px 0 10px;
  padding: 0;
}
.wn-longread__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--surface-2);
  border-radius: 1px;
}
.wn-longread__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.wn-longread:hover .wn-longread__media img { transform: scale(1.03); }
.wn-longread__body { min-width: 0; }
.wn-longread__flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8a5413;
  margin-bottom: 14px;
}
.wn-longread__flag::before {
  content: "";
  width: 16px; height: 1px;
  background: currentColor;
}
.wn-longread__title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.9vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.034em;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: balance;
}
.wn-longread__dek {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--muted);
  margin: 0 0 16px;
  max-width: 52ch;
}

/* --- Band: three text-led briefs, no images --- */
.wn-briefs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  margin: 52px 0 6px;
}
.wn-brief { min-width: 0; }
.wn-brief__index {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted-2);
  display: block;
  margin-bottom: 10px;
}
.wn-brief__title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.022em;
  color: var(--ink);
  margin: 0 0 9px;
  text-wrap: balance;
}
.wn-brief__dek {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 11px;
}
.wn-brief__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

@media (max-width: 1024px) {
  .wn-longread { grid-template-columns: 1fr; gap: 22px; margin-top: 42px; }
  .wn-briefs { grid-template-columns: 1fr; gap: 26px; margin-top: 40px; }
  .wn-brief { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
  .wn-brief:last-child { border-bottom: 0; padding-bottom: 0; }
}
@media (max-width: 760px) {
  .wn-longread__title { font-size: 24px; }
  .wn-brief__title { font-size: 17px; }
}

/* =========================================================
   v44 · World lead block, realigned
   The three columns ended at 245 / 310 / 346px, so the row had a ragged
   bottom and the right thumbnail sat at half the weight of the centre
   image. The centre now sets the height, both side columns stretch to
   match it, and the right column's picture grows to carry its share.
   ========================================================= */

/* No rule here — the masthead above already separates the block */
.sec-top {
  border-bottom: 0;
  padding: 8px 0 0;
  align-items: stretch;
  gap: 36px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.5fr) minmax(0, 0.95fr);
}

/* --- Left: text column, vertically centred against the image --- */
.sec-top__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
}
.sec-top__text .story-title {
  font-size: clamp(23px, 2.35vw, 31px);
  line-height: 1.16;
  letter-spacing: -.028em;
  margin-bottom: 12px;
}
.sec-top__text .story-excerpt {
  font-size: 14px;
  line-height: 1.64;
  margin-top: 0;
  margin-bottom: 16px;
}
.sec-top__text .story-meta { margin-top: auto; }

/* --- Centre: the anchor image, 4:3 holds a stronger presence than 16:10 --- */
.sec-top__media {
  display: flex;
  min-width: 0;
}
.sec-top__media a {
  width: 100%;
  display: flex;
}
.sec-top__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- Right: image grows, text settles beneath it --- */
.sec-top__side {
  justify-content: flex-start;
}
.sec-top__side .thumb {
  aspect-ratio: 4 / 3;
  border-radius: 1px;
  outline: 1px solid rgba(20, 24, 32, .05);
  outline-offset: -1px;
}
.sec-top__side-body {
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sec-top__side .story-title {
  font-size: 19px;
  line-height: 1.26;
  letter-spacing: -.024em;
  margin-bottom: 8px;
}
.sec-top__side .story-excerpt {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 12px;
}
.sec-top__side .story-meta { margin-top: auto; }

/* --- Cards below: more air, softer edges --- */
.sec-cards { padding: 46px 0 6px; }
.sec-cards__grid { gap: 34px 30px; }

@media (max-width: 1100px) and (min-width: 761px) {
  .sec-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }
  /* Centre image spans the full width on the second row */
  .sec-top__media { grid-column: 1 / -1; order: -1; }
  .sec-top__media img { aspect-ratio: 16 / 9; }
}

@media (max-width: 760px) {
  .sec-top {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 4px;
  }
  .sec-top__media { order: -1; }
  .sec-top__media img { aspect-ratio: 16 / 9; }
  .sec-top__text .story-title { font-size: 22px; }
  .sec-top__side .thumb { aspect-ratio: 16 / 9; }
  .sec-cards { padding-top: 30px; }
  .sec-cards__grid { gap: 26px 20px; }
}

/* Two cards in a two-column grid left half the row empty. For a short card
   set, let the tracks fill the row and cap the card width so it reads as a
   deliberate pair rather than a broken grid. */
.category-world .sec-cards__grid {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}
.category-world .sec-card { max-width: 420px; }
.category-world .sec-cards__grid[style*="--card-count: 2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
}

/* Left title column: align its cap height with the centre image, not centre
   the whole block. Optical alignment reads better than mathematical centring. */
.sec-top__text {
  justify-content: flex-start;
  padding-top: 0;
}
.sec-top__text .story-title { margin-top: -4px; }
.sec-top__text .story-meta { margin-top: 22px; }
@media (max-width: 1100px) {
  .sec-top__text .story-meta { margin-top: 0; }
}

/* The two-card row still ended short of the right edge. Give the pair the
   same total measure as the lead row above so the page reads as one grid. */
.category-world .sec-cards__grid[style*="--card-count: 2"] {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.category-world .sec-card { max-width: none; }

/* Two wide cards need more image height to keep their proportion */
.category-world .sec-cards__grid[style*="--card-count: 2"] .sec-card .thumb {
  aspect-ratio: 16 / 10;
}

/* Mobile: the centre image is promoted to the top, but its own container
   still reserves the lead row, so it was being pushed above the viewport
   edge. Drop the order swap and let the natural DOM order (text, image,
   side) flow — that is also the more conventional reading order. */
@media (max-width: 760px) {
  .sec-top__media { order: 0; }
  .sec-top__text { order: 0; }

  /* Remove the stray rule appearing between lead and side story */
  .sec-top__side,
  .sec-top__side-body { border-top: 0; }

  /* Spacing between the stacked blocks instead */
  .sec-top { gap: 30px; row-gap: 34px; }
  .sec-top__text .story-meta { margin-top: 14px; }
}

/* On phones the lead image was the same height as the side thumbnail, which
   undercut its role. Give it the wider crop and a fuller measure. */
@media (max-width: 760px) {
  .sec-top__media a { width: 100%; }
  .sec-top__media img {
    aspect-ratio: 3 / 2;
    height: auto;
  }
  .sec-top__side .thumb img { aspect-ratio: 16 / 9; }
  .sec-top__side .story-title { font-size: 18px; }
}

/* =========================================================
   v45 · Insightly Global identity
   The lens mark was drawn at 38px beside a 26px serif wordmark, so the
   icon read as a footnote to the type. It now matches the cap height of
   the wordmark, and the beams are simplified so they survive at 32px.
   ========================================================= */

.brand-mark svg {
  width: 44px;
  height: 44px;
}

/* Slightly tighter gap so mark and wordmark read as one lockup */
.brand { gap: 11px; }

/* The wordmark carries more letters than "Prism", so tracking comes in a
   touch and the size eases off to keep the lockup the same width. */
.brand-type__name {
  font-size: 25px;
  letter-spacing: -.035em;
}

/* Footer mirrors the header proportion */
.footer-logo__mark svg {
  width: 34px;
  height: 34px;
}

@media (max-width: 760px) {
  .brand-mark svg { width: 34px; height: 34px; }
  .brand-type__name { font-size: 21px; }
}

/* =========================================================
   v46 · Footer pared back to its legal essentials
   The logo, section links and social row were removed at the client's
   request. What remains is a two-line legal block, so the vertical
   padding is rebalanced to keep it from looking like a stray fragment.
   ========================================================= */

.site-footer {
  padding: 26px 0 34px;
  margin-top: 46px;
}

/* Legal links lead, a touch more presence than before */
.footer-legal {
  margin-bottom: 10px;
  gap: 5px 20px;
}
.footer-legal a {
  font-size: 11.5px;
  line-height: 1.85;
}

/* The copyright line closes the page; give it a calmer measure */
.footer-copyright {
  max-width: 76ch;
}

@media (max-width: 760px) {
  .site-footer { padding: 22px 0 28px; margin-top: 34px; }
  .footer-legal { gap: 4px 16px; }
  .footer-legal a { font-size: 11px; }
  .footer-copyright { font-size: 10.5px; }
}
