/* The Meridian, evening edition.
   Layout: centred Didone masthead over a cover carousel (headline left, photograph right), then a magazine grid,
   a big-number band, a dark spotlight band for screen and stage, and an In memoriam / Editor's picks pair. */
:root {
  --bg: #FFFFFF;
  --bg-2: #F5F3F7;
  --ink: #15121A;
  --ink-2: #4B4655;
  --muted: #777182;
  --rule: #E5E1EA;
  --claret: #A3123F;
  --royal: #2337B0;
  --live: #E0182D;
  --band: #16121C;
  --band-2: #221C2A;
  --band-ink: #F6F2F8;
  --band-muted: #B5ADBF;
  --band-rule: #3A3245;
  --on-photo: #FFFFFF;
  --band-accent: #FF7A9E;
  --scrim: rgba(12, 9, 16, .86);

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", "Bodoni MT", "Times New Roman", serif;
  --f-ui: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-text: "Source Serif 4", "Iowan Old Style", Georgia, serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --measure: 38rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0C12; --bg-2: #17141D; --ink: #F3F0F6; --ink-2: #C5BFCE; --muted: #958EA1; --rule: #2A2532;
    --claret: #FF6F96; --royal: #9AABFF; --live: #FF4D5E;
    --band: #1A1520; --band-2: #251F2D; --band-ink: #F6F2F8; --band-muted: #B9B1C3; --band-rule: #3A3245;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0C12; --bg-2: #17141D; --ink: #F3F0F6; --ink-2: #C5BFCE; --muted: #958EA1; --rule: #2A2532;
  --claret: #FF6F96; --royal: #9AABFF; --live: #FF4D5E;
  --band: #1A1520; --band-2: #251F2D; --band-ink: #F6F2F8; --band-muted: #B9B1C3; --band-rule: #3A3245;
  color-scheme: dark;
}

.sec-pol { --sec: var(--royal); }
.sec-cel { --sec: var(--claret); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 4rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-ui); font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sec, var(--claret)); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--bg); padding: .5rem .8rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

a.u { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; text-decoration-color: transparent; transition: text-decoration-color .25s ease; }
a.u:hover, a.u:focus-visible { text-decoration-color: currentColor; }

.kicker { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-ui); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sec, var(--claret)); }
.kicker::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; flex: none; }
.meta { font-family: var(--f-ui); font-size: .78rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .2rem .8rem; font-variant-numeric: tabular-nums; }

.ph { position: relative; overflow: hidden; background: var(--bg-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
a:hover .ph img, a:focus-visible .ph img { transform: scale(1.045); }
.credit { position: absolute; right: .5rem; bottom: .45rem; z-index: 2; max-width: calc(100% - 1rem); font-family: var(--f-ui); font-size: .62rem; letter-spacing: .02em; color: var(--on-photo); opacity: .82; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Ticker ---------- */
.ticker { display: flex; align-items: stretch; background: var(--ink); color: var(--bg); font-family: var(--f-ui); font-size: .8rem; overflow: hidden; }
.ticker-label { flex: none; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem; background: var(--live); color: var(--on-photo); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .7rem; }
.ticker-label .dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--on-photo); animation: blink 1.6s ease-in-out infinite; }
.ticker-track { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent); }
.ticker-run { display: flex; width: max-content; animation: marquee 75s linear infinite; }
.ticker:hover .ticker-run, .ticker:focus-within .ticker-run { animation-play-state: paused; }
.ticker-run ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker-run li { display: flex; align-items: center; padding: .55rem 1.6rem; white-space: nowrap; border-inline-end: 1px solid color-mix(in srgb, var(--bg) 22%, transparent); }
.ticker-run b { font-weight: 600; margin-inline-end: .55rem; opacity: .65; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.ticker-run a:hover { text-decoration: underline; text-underline-offset: .2em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- Masthead ---------- */
.mast-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .8rem; font-size: .78rem; color: var(--muted); }
.today { color: var(--ink-2); white-space: nowrap; }
.clocks { display: flex; gap: 1.15rem; list-style: none; margin: 0; padding: 0; }
.clocks li { display: flex; gap: .4rem; white-space: nowrap; }
.clocks .city { letter-spacing: .1em; font-size: .68rem; padding-top: .1rem; }
.clocks time { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 500; }
@media (max-width: 760px) { .clocks li:nth-child(n+5) { display: none; } }
@media (max-width: 560px) { .today { display: none; } .mast-top { justify-content: center; } }

.mast-main { text-align: center; padding-block: clamp(.6rem, 2vw, 1.4rem) clamp(.9rem, 2vw, 1.3rem); }
.wordmark { display: inline-block; font-family: var(--f-display); font-weight: 600; font-size: clamp(3rem, 10vw, 7.4rem); line-height: .9; letter-spacing: -.03em; font-variation-settings: "opsz" 96; white-space: nowrap; }
.wordmark i { font-weight: 400; font-style: italic; letter-spacing: -.02em; }
.mast-tag { margin-top: .9rem; font-family: var(--f-ui); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.mast--compact .mast-main { padding-block: .5rem .9rem; }
.mast--compact .wordmark { font-size: clamp(2.4rem, 6vw, 4rem); }
.mast--compact .mast-tag { display: none; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-top: 3px double var(--ink); border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: center; gap: 1.5rem; }
.mini-mark { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; white-space: nowrap; max-width: 0; opacity: 0; overflow: hidden; transition: max-width .45s var(--ease), opacity .3s ease; }
.mini-mark i { font-weight: 400; }
.is-stuck .mini-mark { max-width: 11rem; opacity: 1; }
.nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2.1rem); list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a.nl { display: block; padding-block: .85rem; font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; background: linear-gradient(var(--claret), var(--claret)) 50% 100% / 0 2px no-repeat; transition: background-size .3s var(--ease), color .2s ease; }
.nav a.nl:hover, .nav a.nl[aria-current="page"] { color: var(--ink); background-size: 100% 2px; }
.nav a.nl:focus-visible { outline-offset: -3px; }
@media (max-width: 720px) { .nav .wrap { justify-content: flex-start; } .mini-mark { display: none; } }

/* ---------- Cover carousel ---------- */
.cover { padding-block: clamp(1.75rem, 4vw, 3rem) 0; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4.5vw, 4rem); align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.slide-text { display: grid; gap: 1.15rem; align-content: center; min-width: 0; }
.slide-hl { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.3rem, 5.1vw, 4.7rem); line-height: 1.02; letter-spacing: -.018em; font-variation-settings: "opsz" 96; }
.slide-dek { font-family: var(--f-text); font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.55; color: var(--ink-2); max-width: 34rem; }
.cta { justify-self: start; display: inline-flex; align-items: center; gap: .6rem; margin-top: .4rem; padding: .8rem 1.25rem; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: .82rem; letter-spacing: .06em; transition: background .25s ease, gap .25s var(--ease); }
.cta:hover { background: var(--sec, var(--claret)); gap: .9rem; }
.slide-fig { aspect-ratio: 4 / 5; max-height: min(74vh, 660px); width: 100%; }
.slide.is-active .slide-fig img { animation: kenburns 14s ease-out both; }
.slide.enter .slide-text > * { animation: rise .8s var(--ease) both; }
.slide.enter .slide-text > :nth-child(2) { animation-delay: .07s; }
.slide.enter .slide-text > :nth-child(3) { animation-delay: .14s; }
.slide.enter .slide-text > :nth-child(4) { animation-delay: .21s; }
.slide.enter .slide-text > :nth-child(5) { animation-delay: .28s; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.cover-nav { display: flex; align-items: center; gap: 1.5rem; margin-top: clamp(1.25rem, 3vw, 2rem); padding-top: 1rem; border-top: 1px solid var(--rule); }
.segs { flex: 1; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.seg button { display: grid; gap: .5rem; width: 100%; padding: 0; border: 0; background: none; text-align: start; cursor: pointer; color: var(--muted); font-size: .78rem; font-weight: 500; line-height: 1.3; }
.seg .bar { position: relative; height: 2px; background: var(--rule); overflow: hidden; }
.seg .bar i { position: absolute; inset: 0; background: var(--sec, var(--ink)); transform-origin: 0 50%; transform: scaleX(0); }
.seg.is-done .bar i { transform: scaleX(1); }
.seg.is-active .bar i { animation: fill var(--dur, 8s) linear forwards; }
.cover.is-paused .seg.is-active .bar i { animation-play-state: paused; }
.cover.is-static .seg.is-active .bar i { animation: none; transform: scaleX(1); }
.seg.is-active button, .seg button:hover { color: var(--ink); }
.seg-label { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes fill { to { transform: scaleX(1); } }
.ctrls { display: flex; gap: .5rem; flex: none; }
.ctrl { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rule); background: var(--bg); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.ctrl:hover { border-color: var(--ink); }
.ctrl svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ctrl .i-play { display: none; }
.cover.is-paused .ctrl .i-play, .cover.is-static .ctrl .i-play { display: block; }
.cover.is-paused .ctrl .i-pause, .cover.is-static .ctrl .i-pause { display: none; }

@media (max-width: 820px) {
  .slide { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.25rem; }
  .slide-fig { order: -1; aspect-ratio: 4 / 3; max-height: none; }
  .seg-label { display: none; }
  .segs { gap: .5rem; }
}

/* ---------- Briefing strip ---------- */
.brief { margin-top: clamp(2rem, 4vw, 3rem); border-block: 1px solid var(--ink); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; }
.brief-h { display: grid; place-content: center; padding: 1rem 1.5rem 1rem 0; border-inline-end: 1px solid var(--rule); font-family: var(--f-display); font-style: italic; font-size: 1.6rem; line-height: 1; }
.brief ol { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(13rem, 1fr); list-style: none; margin: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.brief li { scroll-snap-align: start; padding: 1rem 1.25rem; border-inline-end: 1px solid var(--rule); display: grid; gap: .35rem; align-content: start; }
.brief li:last-child { border-inline-end: 0; }
.brief time { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sec, var(--claret)); }
.brief a { font-family: var(--f-display); font-size: 1.08rem; line-height: 1.22; font-weight: 500; }
@media (max-width: 640px) { .brief { grid-template-columns: minmax(0, 1fr); } .brief-h { place-content: start; padding: .9rem 0 .2rem; border: 0; font-size: 1.4rem; } .brief li:first-child { padding-inline-start: 0; } }

/* ---------- Section titles ---------- */
.block { padding-block: clamp(2.5rem, 5vw, 4rem) 0; }
.sec-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.4rem, 3vw, 2rem); padding-bottom: .9rem; border-bottom: 1px solid currentColor; }
.sec-title h2 { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: .95; letter-spacing: -.015em; }
.sec-title .eyebrow { display: block; font-family: var(--f-ui); font-style: normal; font-weight: 600; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sec, var(--claret)); margin-bottom: .6rem; }
.sec-title .aside { font-size: .78rem; color: var(--muted); text-align: end; max-width: 22rem; }

/* ---------- Politics magazine grid ---------- */
.mag { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, .95fr); gap: 2.25rem var(--gutter); align-items: start; }
.card { display: grid; gap: .85rem; align-content: start; min-width: 0; }
.card .ph { aspect-ratio: 3 / 2; }
.card--lead .ph { aspect-ratio: 4 / 3; }
.card h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.45rem; line-height: 1.12; letter-spacing: -.01em; }
.card--lead h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.05; }
.card p.dek { font-family: var(--f-text); color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.card--lead p.dek { font-size: 1.12rem; }
.mag-side { display: grid; gap: 2rem; }
.mag-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--rule); }
.mag-list li { border-bottom: 1px solid var(--rule); }
.mag-list a { display: grid; grid-template-columns: minmax(0, 1fr) 5.5rem; gap: 1rem; padding-block: 1.1rem; align-items: start; }
.mag-list .ph { aspect-ratio: 1; }
.mag-list h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; line-height: 1.2; margin-top: .4rem; }
.mag-list .meta { margin-top: .45rem; }
.mag-note { margin-top: 1.1rem; font-size: .8rem; color: var(--muted); }
@media (max-width: 1080px) {
  .mag { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .mag-list { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gutter); border-top: 0; }
  .mag-list li { border-top: 1px solid var(--rule); border-bottom: 0; }
}
@media (max-width: 720px) {
  .mag { grid-template-columns: minmax(0, 1fr); }
  .mag-list { grid-template-columns: minmax(0, 1fr); }
  .mag-list li:last-child { border-bottom: 1px solid var(--rule); }
}

/* ---------- In numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--rule); }
.num { display: grid; gap: .7rem; align-content: start; padding: 1.8rem 1.6rem 1.9rem; border-inline-start: 1px solid var(--rule); }
.num:first-child { border-inline-start: 0; padding-inline-start: 0; }
.num b { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.6rem, 4.8vw, 4.2rem); line-height: .95; letter-spacing: -.025em; font-variant-numeric: lining-nums tabular-nums; color: var(--sec); white-space: nowrap; }
.num p { font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.num a { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.num a span { color: var(--muted); font-weight: 500; letter-spacing: .02em; text-transform: none; }
@media (max-width: 900px) {
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 480px) {
  .numbers { grid-template-columns: minmax(0, 1fr); }
  .num { border-inline-start: 0; padding-inline: 0; }
  .num:nth-child(n+2) { border-top: 1px solid var(--rule); }
}

/* ---------- Spotlight band ---------- */
.spot { --sec: var(--band-accent); margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--band); color: var(--band-ink); padding-block: clamp(2.5rem, 5vw, 4rem); }
.spot .sec-title .aside { color: var(--band-muted); }
.spot-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.spot-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--band-2); color: var(--on-photo); }
.spot-card .ph { position: absolute; inset: 0; background: var(--band-2); }
.spot-card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, var(--scrim) 100%); }
.spot-card .credit { top: .55rem; bottom: auto; }
.spot-text { position: absolute; inset: auto 0 0 0; z-index: 2; display: grid; gap: .55rem; padding: 1.25rem 1.2rem 1.3rem; }
.spot-text .kicker { color: var(--on-photo); }
.spot-text .kicker::before { background: var(--band-accent); }
.spot-text h3 { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(1.35rem, 1.9vw, 1.6rem); line-height: 1.1; }
.spot-text .meta { color: rgba(255, 255, 255, .78); }
@media (max-width: 1000px) {
  .spot-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 44%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; scrollbar-width: thin; }
  .spot-card { scroll-snap-align: start; }
}
@media (max-width: 520px) { .spot-row { grid-auto-columns: 80%; } }

/* ---------- Memoriam + picks ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem var(--gutter); align-items: start; }
.memoriam { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.memoriam .ph { aspect-ratio: 4 / 5; }
.memoriam .ph img { filter: grayscale(1) contrast(1.05); }
.memoriam h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.08; margin-top: .7rem; }
.memoriam .dek { font-family: var(--f-text); color: var(--ink-2); margin-top: .8rem; line-height: 1.5; }
.memoriam .kicker { --sec: var(--ink-2); }
.picks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.picks li { border-bottom: 1px solid var(--rule); }
.picks a { display: grid; gap: .4rem; padding-block: 1rem; }
.picks h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.25rem; line-height: 1.18; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .memoriam { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-foot { margin-top: clamp(3rem, 6vw, 5rem); border-top: 3px double var(--ink); }
.foot-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem var(--gutter); padding-block: 2.5rem; }
.foot-main .wordmark { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.foot-main p { margin-top: .9rem; max-width: 34ch; font-family: var(--f-text); color: var(--ink-2); }
.foot-main h3 { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.foot-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .92rem; }
.foot-main a:hover { text-decoration: underline; text-underline-offset: .2em; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; border-top: 1px solid var(--rule); padding-block: 1.1rem 1.8rem; font-size: .76rem; color: var(--muted); }
@media (max-width: 760px) { .foot-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Article ---------- */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; z-index: 50; background: var(--sec, var(--claret)); transform-origin: 0 50%; transform: scaleX(0); }
.art-head { max-width: calc(58rem + 2 * var(--gutter)); padding-top: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.2rem; justify-items: center; text-align: center; }
.art-head h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.3rem, 5.4vw, 4.5rem); line-height: 1.03; letter-spacing: -.018em; font-variation-settings: "opsz" 96; }
.art-head .dek { font-family: var(--f-text); font-size: clamp(1.1rem, 1.8vw, 1.32rem); line-height: 1.5; color: var(--ink-2); max-width: 44rem; }
.byline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1.1rem; margin-top: .4rem; font-size: .84rem; color: var(--muted); }
.byline strong { color: var(--ink); font-weight: 600; }
.byline .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--rule); }
.btn { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--rule); background: transparent; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.btn:hover { border-color: var(--sec, var(--claret)); color: var(--sec, var(--claret)); }
.copy-field { font-size: .78rem; padding: .45rem .6rem; border: 1px solid var(--rule); background: var(--bg-2); color: var(--ink); width: min(22rem, 100%); }

.art-photo { max-width: calc(76rem + 2 * var(--gutter)); margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.art-photo .ph { aspect-ratio: 16 / 9; }
.art-photo--portrait { max-width: calc(34rem + 2 * var(--gutter)); }
.art-photo--portrait .ph { aspect-ratio: 4 / 5; }
.art-photo .ph img { animation: kenburns 16s ease-out both; }
.art-photo figcaption, .inline-photo figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1.5rem; margin-top: .7rem; font-size: .8rem; color: var(--muted); }
.art-photo figcaption a, .inline-photo figcaption a { text-decoration: underline; text-underline-offset: .15em; }

/* Long reads: a magazine opening, intact documentary photographs, and section links. */
.art-opening { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); padding-block: clamp(2rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.art-opening .art-head { padding-top: 0; margin: 0; justify-items: start; text-align: left; gap: 1.25rem; }
.art-opening .art-head h1 { font-size: clamp(2.5rem, 4.1vw, 3.75rem); line-height: 1.06; }
.art-opening .art-photo { margin: 0; min-width: 0; }
.art-opening .byline { justify-content: flex-start; gap: .55rem .9rem; }
.art-opening figcaption { font-family: var(--f-ui); line-height: 1.5; }
.art-photo--full .ph, .inline-photo--full .ph { aspect-ratio: auto; }
.art-photo--full .ph img, .inline-photo--full .ph img { height: auto; animation: none; }
.inline-photo figcaption { font-family: var(--f-ui); line-height: 1.5; }
.article-guide { margin-bottom: 2rem; padding: 1.2rem 1.4rem; border-top: 2px solid var(--sec, var(--claret)); background: var(--bg-2); font-family: var(--f-ui); }
.article-guide > p { margin-bottom: .75rem; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sec, var(--claret)); }
.article-guide ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.6rem; margin: 0; padding-left: 1.2rem; font-size: .82rem; line-height: 1.45; }
.article-guide li::marker { color: var(--muted); }
.article-guide a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .2em; }
.article-guide a:hover { text-decoration-color: var(--sec, var(--claret)); }
@media (max-width: 1000px) {
  .art-opening { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; max-width: 52rem; }
  .art-opening .art-head h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); }
}
@media (max-width: 480px) { .article-guide ol { grid-template-columns: minmax(0, 1fr); } }

.body { max-width: calc(var(--measure) + 2 * var(--gutter)); margin-top: clamp(2rem, 4vw, 3rem); font-family: var(--f-text); font-size: 1.19rem; line-height: 1.72; }
.body > p { margin-bottom: 1.2em; }
.body > p:first-of-type::first-letter { float: left; font-family: var(--f-display); font-weight: 500; font-size: 4.9em; line-height: .8; padding: .07em .1em 0 0; color: var(--sec, var(--claret)); }
.dateline { font-family: var(--f-ui); font-size: .72em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-inline-end: .35em; }
.pull { margin: 2.2rem 0; padding-block: 1.6rem; border-block: 1px solid var(--rule); text-align: center; }
.pull p { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(1.55rem, 3.2vw, 2.1rem); line-height: 1.22; text-wrap: balance; }
.pull p::before { content: "“"; display: block; font-size: 2.8em; line-height: .55; color: var(--sec, var(--claret)); margin-bottom: .1em; }
.pull cite { display: block; margin-top: .9rem; font-family: var(--f-ui); font-style: normal; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts { margin: 2.2rem 0; padding: 1.4rem 1.5rem 1.5rem; background: var(--bg-2); font-family: var(--f-ui); font-size: .98rem; line-height: 1.5; }
.facts h2, .sources h2 { font-family: var(--f-ui); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sec, var(--claret)); margin-bottom: .9rem; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.facts li { display: grid; grid-template-columns: .9rem minmax(0, 1fr); gap: .6rem; }
.facts li::before { content: ""; width: .45rem; height: .45rem; margin-top: .5rem; border-radius: 50%; background: var(--sec, var(--claret)); }
.context { font-style: italic; color: var(--ink-2); }
.inline-photo { margin: 2.2rem 0; }
.inline-photo .ph { aspect-ratio: 3 / 2; }
.sources { margin-top: 2.6rem; padding-top: 1.3rem; border-top: 3px double var(--ink); font-family: var(--f-ui); font-size: .92rem; line-height: 1.45; }
.sources ol { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: .55rem; }
.sources li::marker { color: var(--muted); font-size: .8em; }
.sources b { font-weight: 600; }
.sources a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .18em; }
.sources a:hover { color: var(--ink); text-decoration-color: currentColor; }
.desk-note { margin-top: 1.1rem; font-size: .8rem; color: var(--muted); }
.related .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem var(--gutter); }
@media (max-width: 900px) { .related .grid-3 { grid-template-columns: minmax(0, 1fr); } .related .card { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.1rem; } }
@media (max-width: 480px) { .related .card { grid-template-columns: minmax(0, 1fr); } }

/* ---------- About ---------- */
.credits { width: 100%; border-collapse: collapse; font-family: var(--f-ui); font-size: .85rem; line-height: 1.4; }
.credits th, .credits td { text-align: start; padding: .6rem .8rem .6rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.credits th { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.credits a { text-decoration: underline; text-underline-offset: .15em; }
.table-scroll { overflow-x: auto; margin-top: 1rem; }
.body ul.plain { margin: 0 0 1.2em; padding-inline-start: 1.2em; }
.body ul.plain li { margin-bottom: .4em; }
.body > h2 { font-family: var(--f-display); font-weight: 500; font-size: 1.9rem; line-height: 1.15; margin: 2em 0 .6em; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .ticker-run { animation: none; }
  .ticker-track { overflow-x: auto; }
  .ticker-label .dot { animation: none; }
  .slide, .slide.is-active { transition: none; }
  .slide.is-active .slide-fig img, .art-photo .ph img { animation: none; }
  .slide.enter .slide-text > * { animation: none; }
  .ph img { transition: none; }
}

/* Link wrappers around photos */
.slide-fig, .card > a:first-child, .memoriam > a, .spot-card { display: block; }

/* Long-read furniture: timeline and ledger */
.timeline { margin: 2.4rem 0; padding-block: 1.4rem 1.2rem; border-block: 1px solid var(--rule); font-family: var(--f-ui); }
.timeline h2, .ledger h3 { font-family: var(--f-ui); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sec, var(--claret)); margin: 0 0 1rem; }
.timeline ol { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: 1rem; }
.timeline time { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); padding-top: .2rem; font-variant-numeric: tabular-nums; }
.timeline li p { position: relative; margin: 0; padding: 0 0 1rem 1.1rem; border-inline-start: 2px solid var(--rule); font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.timeline li:last-child p { padding-bottom: .2rem; }
.timeline li p::before { content: ""; position: absolute; left: -6px; top: .38rem; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--sec, var(--claret)); }
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2.4rem 0 1rem; font-family: var(--f-ui); }
.ledger section { padding: 1.2rem 1.3rem 1.3rem; background: var(--bg-2); }
.ledger section + section { background: transparent; border: 1px dashed var(--muted); }
.ledger section + section h3 { color: var(--muted); }
.ledger ul { margin: 0; padding-inline-start: 1.1rem; display: grid; gap: .5rem; font-size: .93rem; line-height: 1.45; }
@media (max-width: 600px) { .ledger { grid-template-columns: minmax(0, 1fr); } .timeline li { grid-template-columns: minmax(0, 1fr); gap: .25rem; } .timeline time { padding-inline-start: 1.1rem; border-inline-start: 2px solid var(--rule); } }
