/* Metro Girl — Judgment Day
   Palette roles (5): ground · ink · accent (amber) · secondary (verdigris) · flag
   Saturated members: amber #D98A2B (hue 33) and verdigris #29A08C (hue 170) — 137 degrees apart.
   Both carry real area: the amber sections band and the verdigris count band are whole grounds. */

:root {
  --ground: #17161A;
  --ground-2: #201F24;
  --ground-3: #0C0B0E;
  --ink: #EDE7DA;
  --ink-2: #B3ADA1;
  --ink-3: #948E84;
  --amber: #D98A2B;
  --amber-lt: #E9B168;
  --amber-dp: #A9601A;
  --verdigris: #29A08C;
  --verdigris-dp: #0F5F53;
  --flag: #E0483C;
  --rule: #37363C;
  --rule-2: #45434A;

  --display: "Source Serif 4", Georgia, serif;
  --text: "Public Sans", system-ui, sans-serif;

  --measure: 66ch;
  --wide: 1040px;
  --body: 17px;
  --gutter: 20px;
  --insert-gap: 44px;
  --para-gap: 1.15em;
}

@media (min-width: 768px)  { :root { --gutter: 32px; --insert-gap: 52px; } }
@media (min-width: 1024px) { :root { --body: 18px; --wide: 1040px; --gutter: 44px; --insert-gap: 60px; } }
@media (min-width: 1280px) { :root { --wide: 1140px; --gutter: 56px; } }
/* real gains above the desktop cap — measure, body size, breakout width all step up */
@media (min-width: 1600px) { :root { --body: 19px; --measure: 70ch; --wide: 1340px; --gutter: 72px; --insert-gap: 68px; } }
@media (min-width: 1920px) { :root { --wide: 1500px; --gutter: 88px; } }
@media (min-width: 2560px) { :root { --body: 20px; --measure: 74ch; --wide: 1840px; --gutter: 120px; --insert-gap: 80px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--text); font-size: var(--body); line-height: 1.62;
  overflow-x: hidden; text-wrap: pretty;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-lt); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
p { margin: 0 0 var(--para-gap); }
figure { margin: 0; }
svg { display: block; }
.ico { width: 22px; height: 22px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico--lg { width: 30px; height: 30px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--amber); color: var(--ground-3); padding: 8px 14px; z-index: 20; }

/* ---------- shell ---------- */
.wrap { width: 100%; max-width: calc(var(--wide) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(48px, 6vw, 104px); }
.band--tight { padding-block: clamp(34px, 3.4vw, 56px); }

/* ---------- masthead ---------- */
.masthead { padding-top: clamp(18px, 2vw, 34px); }
.masthead__name {
  font-family: var(--text); font-weight: 800; line-height: 0.84; margin: 0;
  font-size: clamp(44px, 8.4vw, 150px); letter-spacing: -0.045em; color: var(--ink);
}
.masthead__name .g { letter-spacing: 0.06em; }
.masthead__rule { height: 3px; background: var(--amber); border: 0; margin: clamp(14px, 1.6vw, 26px) 0 0; }
.masthead__line { font-size: 0.94em; color: var(--ink-2); margin: 14px 0 0; max-width: 62ch; }
.masthead--inner .masthead__name { font-size: clamp(34px, 5vw, 72px); }

.nav { display: flex; gap: clamp(16px, 2vw, 38px); align-items: center; overflow-x: auto; scrollbar-width: none;
  padding: 14px 0 16px; border-bottom: 1px solid var(--rule); }
.nav::-webkit-scrollbar { display: none; }
.nav a { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; color: var(--amber-lt);
  font-size: 0.83em; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; padding-bottom: 3px; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--amber); border-bottom: 2px solid var(--amber); }
.nav .nav__end { margin-left: auto; color: var(--ink-3); }

/* ---------- homepage: lead exhibit ---------- */
.lead-exhibit { position: relative; }
.lead-exhibit__img { width: 100%; height: clamp(340px, 52vw, 900px); object-fit: cover; filter: saturate(0.92) contrast(1.02); }
.lead-exhibit__plate {
  background: var(--ink); color: var(--ground); border-top: 6px solid var(--amber);
  padding: clamp(24px, 3vw, 56px) clamp(22px, 3vw, 64px) clamp(20px, 2.4vw, 44px);
  max-width: 1180px; position: relative; margin-top: clamp(-150px, -9vw, -32px);
}
.lead-exhibit__kicker { font-size: 0.8em; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 800;
  color: var(--amber-dp); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.lead-exhibit h1 { font-size: clamp(34px, 5.4vw, 96px); color: var(--ground); }
.lead-exhibit__deck { font-size: clamp(18px, 1.4vw, 26px); line-height: 1.42; margin: 20px 0 0; color: #2C2A26; max-width: 46ch; }
.lead-exhibit__foot { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: baseline; margin-top: 26px;
  border-top: 1px solid #C9C2B2; padding-top: 16px; }
.lead-exhibit__foot .credit { font-size: 0.76em; color: #6E675D; }
.exhibit-no { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 4vw, 74px); line-height: 0.8; color: var(--amber-dp); }

/* ---------- feature slots ---------- */
.features { display: grid; gap: clamp(20px, 2.2vw, 34px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .features { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: auto auto; }
  .features > :first-child { grid-row: span 2; } }
.feature { display: flex; flex-direction: column; background: var(--ground-2); border: 1px solid var(--rule);
  height: 100%; overflow: hidden; }
.feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature--lead img { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .feature--lead > a { flex: 1 1 auto; display: block; min-height: 0; }
  .feature--lead img { height: 100%; aspect-ratio: auto; object-fit: cover; } }
.feature__body { padding: clamp(16px, 1.4vw, 28px); display: flex; flex-direction: column; flex: 1 1 auto; }
.feature__sec { font-size: 0.76em; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: var(--amber);
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.feature h3 { font-size: clamp(21px, 1.7vw, 32px); line-height: 1.08; min-height: 2.2em; }
.feature--lead h3 { font-size: clamp(26px, 2.6vw, 46px); min-height: 0; }
.feature p { margin: 12px 0 0; color: var(--ink-2); font-size: 0.94em; }
.feature p.feature__more, .feature .feature__more { margin-top: auto; padding-top: 18px; font-size: 0.78em; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 800; color: var(--amber); }

/* ---------- amber sections band (accent at real size) ---------- */
.sections { background: var(--amber); color: var(--ground-3); }
.sections .eyebrow { color: #4A2E08; }
.sections__grid { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--ground-3); }
@media (min-width: 760px) { .sections__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .sections__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sections__item { padding: 22px 20px 26px; border-bottom: 2px solid var(--ground-3); }
@media (min-width: 1280px) { .sections__item { border-bottom: 0; border-right: 1px solid rgba(12,11,14,.4); }
  .sections__item:last-child { border-right: 0; } }
.sections__item h3 { font-family: var(--text); font-weight: 800; font-size: 1.02em; letter-spacing: 0.04em;
  text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.sections__item p { margin: 12px 0 0; font-size: 0.9em; color: #241705; }
.sections__item a { color: var(--ground-3); }
.sections__item a:hover { color: #5A3A0B; }
.sections__no { font-family: var(--display); font-weight: 700; font-size: 0.9em; color: #6B4410; }

/* ---------- the signature: notched amber timeline ---------- */
.chrono-band { background: var(--ground-3); color: var(--ink); border-block: 1px solid var(--rule); }
.chrono-band .eyebrow { color: var(--verdigris); margin: 0; }
.chrono-band__head { display: grid; gap: 16px 48px; align-items: baseline; margin-bottom: clamp(26px, 2.6vw, 44px); }
@media (min-width: 900px) { .chrono-band__head { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); } }
.chrono-band__head h2 { font-size: clamp(24px, 2.4vw, 40px); max-width: 26ch; }
.chrono-band__head p { margin: 0; color: var(--ink-2); font-size: 0.96em; }
.chrono { color: var(--amber); padding-block: 6px 10px; }
.chrono svg { width: 100%; height: auto; }
.chrono__yr { font-family: var(--display); font-weight: 700; font-size: 1.5em; color: var(--amber-lt); line-height: 1; }

/* ---------- editorial pair ---------- */
.pair { display: grid; gap: clamp(28px, 3vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .pair { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.pair__long h2 { font-size: clamp(28px, 3.4vw, 58px); }
.pair__long p { margin-top: 18px; font-size: 1.06em; }
.pair__short { border-left: 3px solid var(--verdigris); padding-left: clamp(18px, 1.6vw, 30px); }
.pair__short h3 { font-size: clamp(21px, 1.8vw, 32px); }
.pair__short p { margin-top: 14px; color: var(--ink-2); }
.pair img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 22px; }

/* ---------- supporters ---------- */
.support { background: var(--ground-2); }
/* a fixed column count, so every tile is identical and each row fills the container exactly —
   the tile is sized by the grid rather than by a pixel width that could not hold its own contents */
.support__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
@media (min-width: 1080px) { .support__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1900px) { .support__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* the tile internals wrap on their own: mark and copy sit side by side when both fit their
   200px floor, and the copy drops to its own full-width row when they do not — no breakpoint arithmetic */
.sponsor { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding: 22px;
  background: var(--ground); border: 1px solid var(--rule); color: var(--ink); }
.sponsor > span { flex: 1 1 200px; min-width: 200px; }
.sponsor:hover { border-color: var(--amber); }
.sponsor__box { flex: 0 1 240px; min-width: 200px; max-width: 320px; height: 64px;
  background: var(--ground-3); border: 1px solid var(--rule-2);
  display: flex; align-items: center; justify-content: center; padding: 10px; }
.sponsor__box img { max-height: 44px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.sponsor-name { display: block; font-weight: 800; font-size: 0.95em; letter-spacing: 0.01em; }
.sponsor-blurb { display: block; margin-top: 7px; font-size: 0.82em; line-height: 1.45; color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { background: var(--ground-3); border-top: 3px solid var(--amber); }
.foot__grid { display: grid; gap: clamp(24px, 3vw, 54px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .foot__grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(340px, 1.4fr); } }
.foot__name { font-family: var(--text); font-weight: 800; font-size: clamp(26px, 2.4vw, 42px); line-height: 0.9; letter-spacing: -0.04em; margin: 0; }
.foot__say { color: var(--ink-2); max-width: 44ch; }
.foot__links { display: flex; flex-wrap: wrap; align-content: start; gap: 12px 28px; }
.foot__links a { color: var(--ink); font-size: 0.84em; letter-spacing: 0.1em; text-transform: uppercase; }
.foot__links a:hover { color: var(--amber); }
.foot__dom { color: var(--ink-3); font-size: 0.84em; margin-top: 12px; }

/* ---------- shared furniture ---------- */
.eyebrow { font-size: 0.8em; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 800; color: var(--amber);
  display: flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.band__head { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; margin-bottom: clamp(30px, 3.2vw, 56px); }
.band__head h2 { font-size: clamp(26px, 3.1vw, 52px); max-width: 24ch; }
.band__head p { margin: 0; color: var(--ink-2); max-width: 46ch; margin-left: auto; }
.rulehead { border-top: 2px solid var(--ink); padding-top: 16px; }

/* ---------- article document grid (5 real widths) ---------- */
.doc {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [wide-start] minmax(0, var(--wide))
    [wide-end] minmax(var(--gutter), 1fr)
    [full-end];
  --inset: calc((100% - min(var(--measure), 100%)) / 2);
}
/* default: the prose measure, centred inside the breakout width */
.doc > * { grid-column: wide-start / wide-end; width: 100%; max-width: min(var(--measure), 100%); margin-inline: auto; }
.doc > .u-wide { max-width: none; }
.doc > .u-full { grid-column: full-start / full-end; max-width: none; }
/* offset: starts on the prose edge, runs out to the breakout edge — real cargo on the right */
.doc > .u-offset { max-width: none; margin-inline: var(--inset) 0; width: auto; }
.doc > .u-left { max-width: none; margin-inline: 0 var(--inset); width: auto; }
@media (max-width: 900px) { .doc > .u-offset, .doc > .u-left { margin-inline: 0; } }
.art-head { padding-top: clamp(30px, 3.4vw, 60px); }
.art-kicker { font-size: 0.84em; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 800; color: var(--amber);
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.art-head h1 { font-size: clamp(32px, 4.6vw, 84px); }
.lead { font-family: var(--display); font-size: clamp(20px, 1.7vw, 30px); line-height: 1.4; color: var(--ink);
  margin: 22px 0 0; max-width: 40ch; }
.art-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; margin: 24px 0 0;
  border-top: 1px solid var(--rule); padding-top: 14px; font-size: 0.84em; color: var(--ink-2); }
.art-meta .sec { color: var(--amber); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.doc > h2, .prose h2 { font-size: clamp(25px, 2.4vw, 40px); margin: clamp(40px, 4.2vw, 78px) 0 18px; }
.doc > h3, .prose h3 { font-size: clamp(20px, 1.5vw, 28px); margin: clamp(28px, 2.8vw, 44px) 0 12px; }
.doc > h2, .doc > h3 { grid-column: wide-start / wide-end; max-width: min(var(--measure), 100%); }
/* a heading directly after an insertion keeps its air without doubling it */
.doc > .fig + h2, .doc > .insert + h2, .doc > .unit + h2 { margin-top: clamp(26px, 2.6vw, 44px); }
.prose a { border-bottom: 1px solid rgba(217,138,43,.45); }

/* insertions — every unit reserves real space on both sides, in flow, never negative */
.insert { margin-block: var(--insert-gap); }
.doc > .insert:last-child { margin-bottom: var(--insert-gap); }

/* figure system — three treatments, one drawing family */
.fig { margin-block: var(--insert-gap); }
.fig img { width: 100%; }
.fig figcaption { font-size: 0.9em; line-height: 1.45; }
.fig__credit { display: block; font-family: var(--text); font-size: 0.74em; color: var(--ink-3); letter-spacing: 0.01em; }

/* (a) plate — full-bleed image, amber-ruled caption block at breakout width */
.fig--plate img { height: clamp(260px, 44vw, 760px); object-fit: cover; }
.fig--plate figcaption { max-width: calc(var(--wide) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.fig--plate .cap-inner { border-left: 4px solid var(--amber); padding: 14px 0 14px 18px; margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: baseline; }
.fig--plate .cap-text { max-width: 68ch; flex: 1 1 320px; }
.fig--plate .fig__credit { margin-left: auto; text-align: right; flex: 0 1 auto; }
@media (max-width: 700px) { .fig--plate .fig__credit { margin-left: 0; text-align: left; } }

/* (b) offset — image 60%, caption column 40%, sized by the caption not the image */
.fig--offset { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(16px, 1.6vw, 30px); align-items: start; }
@media (max-width: 780px) { .fig--offset { grid-template-columns: minmax(0, 1fr); } }
.fig--offset img { padding: 10px; background: var(--ground-3); border: 1px solid var(--rule-2); box-sizing: border-box; }
.fig--flat img { padding: 12px; background: var(--ground-3); box-sizing: border-box; }
.fig--plate img { border-block: 1px solid var(--rule-2); }
.fig--offset figcaption { font-family: var(--display); font-style: italic; font-size: 1.02em; line-height: 1.4;
  align-self: start; border-top: 1px solid var(--rule-2); padding-top: 12px; }
.fig--offset .fig__credit { font-style: normal; margin-top: 10px; font-size: 0.68em; }

/* (c) document-flat — prose measure, centred caption in small caps */
.fig--flat figcaption { text-align: center; margin-top: 14px; font-variant: all-small-caps; letter-spacing: 0.08em;
  font-size: 0.98em; color: var(--ink-2); }
.fig--flat .fig__credit { font-variant: normal; letter-spacing: 0; margin-top: 6px; }
.fig--flat img { border: 1px solid var(--rule-2); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.gallery figcaption { font-size: 0.8em; color: var(--ink-2); margin-top: 8px; }

/* components */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: minmax(112px, 176px) minmax(0, 1fr); gap: 6px 26px;
  padding: 14px 0; border-top: 1px solid var(--rule); align-items: start; }
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
/* the date sits on its own rail, right-ranged so years line up, with a marker on the rule */
.t-when { position: relative; font-family: var(--display); font-weight: 700; color: var(--amber);
  font-size: 1.05em; line-height: 1.3; text-align: right; padding-right: 24px;
  border-right: 2px solid var(--rule-2); font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1; text-wrap: balance; }
.t-when::after { content: ""; position: absolute; right: -5px; top: 0.52em; width: 8px; height: 8px;
  background: var(--amber); border-radius: 50%; }
.t-what { color: var(--ink); padding-top: 1px; }
@media (max-width: 560px) {
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .t-when { text-align: left; padding-right: 0; border-right: 0; font-size: 1.1em; }
  .t-when::after { display: none; }
}

.unit { background: var(--ground-2); border: 1px solid var(--rule); border-top: 3px solid var(--verdigris); padding: clamp(20px, 1.8vw, 34px); }
.unit--amber { border-top-color: var(--amber); }
.unit__head { font-family: var(--text); font-weight: 800; font-size: 0.84em; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--verdigris); margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.unit--amber .unit__head { color: var(--amber); }
/* scoped to the unit's own list so they cannot reach a .timeline nested inside it */
.unit > ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.unit > ul > li { display: grid; gap: 3px; }
.unit > ul > li b { font-family: var(--display); font-size: 1.06em; font-weight: 600; }
.unit > ul > li span { color: var(--ink-2); font-size: 0.94em; }
.unit p { margin: 0; color: var(--ink-2); }

.callout { background: var(--verdigris-dp); color: var(--ink); padding: clamp(20px, 1.8vw, 32px); border: 0; }
.callout p { margin: 0; font-family: var(--display); font-size: 1.16em; line-height: 1.42; }
.pullquote { margin: 0; border-top: 3px solid var(--amber); border-bottom: 1px solid var(--rule); padding: 20px 0; }
.pullquote p { font-family: var(--display); font-size: clamp(22px, 2vw, 34px); line-height: 1.22; margin: 0; }
.blockquote { margin: 0; border-left: 3px solid var(--verdigris); padding-left: 20px; }
.blockquote p { font-family: var(--display); font-size: 1.14em; margin: 0 0 10px; }
.blockquote cite { font-style: normal; font-size: 0.84em; color: var(--ink-3); }
.note { font-size: 0.92em; color: var(--ink-2); border-left: 2px solid var(--rule-2); padding-left: 16px; }
.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; background: var(--rule); }
.statblock { background: var(--ground-2); padding: 18px; display: grid; gap: 6px; }
.stat-num { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 2.6vw, 44px); line-height: 0.9; color: var(--amber); }
.stat-label { font-size: 0.82em; color: var(--ink-2); }
.tablewrap { overflow-x: auto; }
table.versus, table.datatable { width: 100%; border-collapse: collapse; font-size: 0.94em; min-width: 480px; }
.versus th, .versus td, .datatable th, .datatable td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.versus th, .datatable th { font-family: var(--text); font-weight: 800; font-size: 0.82em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.datatable caption, .versus caption { text-align: left; font-size: 0.84em; color: var(--ink-3); padding-bottom: 10px; }

.margin-note { font-size: 0.86em; color: var(--ink-2); border-top: 2px solid var(--amber); padding-top: 12px; }
.margin-note b { display: block; font-family: var(--text); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.82em; color: var(--amber); margin-bottom: 8px; }

/* related / end furniture */
.endmat { border-top: 1px solid var(--rule); margin-top: var(--insert-gap); padding-top: clamp(26px, 2.6vw, 44px);
  padding-bottom: clamp(40px, 5vw, 90px); }
.related-links { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 2px; background: var(--rule); }
.related-links li { background: var(--ground); }
.related-links a { display: grid; gap: 6px; padding: 16px 0; }
.related-links .r-sec { font-size: 0.76em; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: var(--verdigris); }
.related-links .r-title { font-family: var(--display); font-size: 1.14em; color: var(--ink); }
.related-links a:hover .r-title { color: var(--amber-lt); }

/* ---------- category / section pages ---------- */
.sec-open { position: relative; }
.sec-open img { width: 100%; height: clamp(240px, 34vw, 560px); object-fit: cover; }
.sec-open__body { background: var(--ground); padding: clamp(24px, 3vw, 48px) 0 0; }
.sec-open h1 { font-size: clamp(34px, 5vw, 88px); }
.sec-open p { font-size: clamp(18px, 1.4vw, 26px); line-height: 1.4; margin: 20px 0 0; max-width: 52ch; color: var(--ink); }
.sec-count { font-size: 0.84em; color: var(--ink-3); margin-top: 18px; letter-spacing: 0.06em; text-transform: uppercase; }

.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(24px, 2.4vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cat-list > li { display: flex; }
.cat-list .entry { display: flex; flex-direction: column; background: var(--ground-2); border: 1px solid var(--rule); width: 100%; }
.cat-list .entry img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cat-list .entry__body { padding: clamp(16px, 1.4vw, 26px); display: flex; flex-direction: column; flex: 1 1 auto; }
.cat-list .entry h2, .cat-list .entry h3 { font-size: clamp(20px, 1.5vw, 28px); line-height: 1.1; min-height: 2.3em; }
.cat-list .entry p { margin: 12px 0 0; color: var(--ink-2); font-size: 0.92em; }
.cat-list .entry p.more, .cat-list .entry .more { margin-top: auto; padding-top: 16px; font-size: 0.76em; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 800; color: var(--amber); }
/* lead entry gets more room, driven by a class not a position */
.cat-list > li.lead-entry { grid-column: 1 / -1; }
@media (min-width: 900px) { .cat-list > li.lead-entry .entry { flex-direction: row; }
  .cat-list > li.lead-entry .entry img { width: 52%; aspect-ratio: 3 / 2; }
  .cat-list > li.lead-entry .entry__body { justify-content: center; padding: clamp(20px, 2.4vw, 46px); }
  .cat-list > li.lead-entry h2 { font-size: clamp(26px, 2.8vw, 48px); min-height: 0; }
  .cat-list > li.lead-entry p { font-size: 1.02em; max-width: 52ch; } }

.hub { display: grid; gap: 2px; background: var(--rule); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.hub a { background: var(--ground-2); padding: clamp(18px, 1.6vw, 30px); display: grid; gap: 10px; align-content: start; }
.hub a:hover { background: var(--ground-3); }
.hub .h-name { font-family: var(--text); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); display: flex; align-items: center; gap: 10px; }
.hub .h-line { color: var(--ink-2); font-size: 0.9em; }
.hub a:hover .h-name { color: var(--amber); }

/* register (archive / glossary / sources) */
.register { display: grid; gap: 0; }
.register__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 32px; padding: clamp(18px, 1.6vw, 26px) 0;
  border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .register__row { grid-template-columns: minmax(160px, 220px) minmax(0, 2fr) minmax(0, 1.1fr); align-items: start; } }
.register__row:last-child { border-bottom: 1px solid var(--rule); }
.register__key { font-size: 0.8em; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: var(--verdigris); }
.register__title { font-family: var(--display); font-size: 1.24em; line-height: 1.16; }
.register__line { color: var(--ink-2); font-size: 0.92em; }
.register dl { margin: 0; }
.gloss { display: grid; gap: 0; }
.gloss__row { padding: clamp(18px, 1.6vw, 26px) 0; border-top: 1px solid var(--rule); display: grid; gap: 10px 32px;
  grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .gloss__row { grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); } }
.gloss__row:last-child { border-bottom: 1px solid var(--rule); }
.gloss dt { font-family: var(--display); font-size: 1.3em; font-weight: 600; }
.gloss dd { margin: 0; color: var(--ink-2); }
.gloss dd .src { display: block; margin-top: 10px; font-size: 0.8em; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 800; }

.expander { margin-top: 22px; }
.expander summary { cursor: pointer; font-size: 0.82em; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: var(--amber); }
.expander[open] summary { color: var(--ink-2); }

/* simple text pages */
.page-body { padding-block: clamp(30px, 3vw, 60px) clamp(48px, 6vw, 100px); }
.page-body h1 { font-size: clamp(32px, 4vw, 68px); margin-bottom: 24px; }
.page-body p { font-size: 1.04em; }
.page-body .lede { font-family: var(--display); font-size: 1.24em; line-height: 1.44; }

/* styleguide only */
.sg-block { border-top: 1px solid var(--rule); padding-block: clamp(28px, 3vw, 52px); }
.sg-block > h2 { font-size: clamp(22px, 2vw, 34px); margin-bottom: 8px; }
.sg-note { font-size: 0.82em; color: var(--ink-3); margin-bottom: 24px; }
.sg-narrow { max-width: 360px; border: 1px dashed var(--rule-2); padding: 12px; }

/* the short-piece case-file strip: header furniture inside .art-head, never a sibling insertion */
.art-headunit-block { margin-top: clamp(24px, 2.4vw, 38px); background: var(--ground-2); border: 1px solid var(--rule);
  border-top: 3px solid var(--amber); padding: clamp(18px, 1.6vw, 30px); }
.art-headunit-block .unit__head { color: var(--amber); }
.art-headunit-block .timeline li:first-child { border-top: 0; padding-top: 0; }

/* ---- homepage revisions ---- */
.foot .band--tight { padding-block: clamp(24px, 2.2vw, 38px); }
.foot__grid { align-items: start; gap: clamp(16px, 1.8vw, 34px); }
.foot__say { max-width: 54ch; margin: 0; }
.foot__links { gap: 8px 30px; }

/* figures on cards sit on a mat with a hairline inset — one treatment across every card class */
.feature > a, .cat-list .entry > a { display: block; background: var(--ground-3); padding: 8px; }
.feature img, .cat-list .entry img, .pair img, .gallery img { border: 1px solid var(--rule-2); }
.pair__long > img { padding: 10px; background: var(--ground-3); box-sizing: border-box; }

/* the section label is a filled chip, not loose coloured text */
.feature p.feature__sec, .feature__sec, p.chip, .chip { display: inline-flex; align-items: center; gap: 9px; background: var(--amber); color: var(--ground-3);
  padding: 7px 13px; font-size: 0.76em; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800;
  align-self: flex-start; margin: 0 0 16px; }
p.chip--verdigris, .chip--verdigris { background: var(--verdigris); }

/* the sections band leads with its icon */
.sections__item { padding: 26px 22px 30px; }
.sections__item h3 { flex-direction: column; align-items: flex-start; gap: 16px; font-size: 0.94em; }
.sections__item h3 svg { width: 46px; height: 46px; stroke-width: 1.25; }

/* long read: its own panel */
.pair--feature { background: var(--ground-2); border: 1px solid var(--rule); border-top: 4px solid var(--amber);
  padding: clamp(20px, 2.4vw, 46px); align-items: start; }
.pair--feature .pair__long h2 { font-size: clamp(32px, 4.2vw, 76px); }
.pair--feature .pair__long > img { aspect-ratio: 21 / 9; }
.pair--feature .pair__long p { font-size: 1.08em; }
.pair--feature .pair__short { background: var(--ground); border-left: 3px solid var(--verdigris);
  padding: clamp(18px, 1.6vw, 30px); display: flex; flex-direction: column; }
.pair--feature .pair__short p:last-child { margin-top: 18px; }
.pair--feature .pair__short > img { margin-bottom: 20px; aspect-ratio: 4 / 3; }

/* the chronology band: one row of year tabs, one panel */
.chrono-tabs { margin-top: clamp(22px, 2.2vw, 36px); }
.chrono-tabs__row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.chrono-tabs__row::-webkit-scrollbar { display: none; }
.chrono-tab { flex: 0 0 auto; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 1.7vw, 30px);
  line-height: 1; padding: 11px 17px; background: transparent; color: var(--ink-2);
  border: 1px solid var(--rule-2); cursor: pointer; letter-spacing: -0.01em; transition: color .12s, border-color .12s; }
.chrono-tab:hover, .chrono-tab:focus-visible { color: var(--verdigris); border-color: var(--verdigris); outline: none; }
.chrono-tab[aria-selected="true"] { background: var(--amber); color: var(--ground-3); border-color: var(--amber); }
.chrono-panels { margin-top: 20px; }
.chrono-panel { display: grid; gap: 6px 26px; align-items: baseline; background: var(--ground-2);
  border-left: 3px solid var(--amber); padding: clamp(16px, 1.6vw, 26px) clamp(18px, 1.8vw, 30px); }
@media (min-width: 700px) { .chrono-panel { grid-template-columns: auto minmax(0, 1fr); } }
.chrono-panel__yr { font-family: var(--display); font-weight: 700; line-height: 0.86; color: var(--amber);
  font-size: clamp(34px, 3.2vw, 56px); }
.chrono-panel p { margin: 0; font-size: 1.04em; max-width: 68ch; }
.chrono-panel .sec-link { display: inline-block; margin-top: 10px; font-size: 0.8em; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 800; color: var(--verdigris); }
.chrono-tabs.is-tabs .chrono-panel[hidden] { display: none; }
.chrono-tabs:not(.is-tabs) .chrono-panel { border-bottom: 1px solid rgba(237,231,218,.18); padding-bottom: 16px; }

/* mobile hit targets: every nav and footer link clears 44px */
@media (max-width: 719px) {
  .nav a { min-height: 44px; padding-block: 11px; }
  .nav { padding-block: 8px 10px; }
  .foot__links a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot__links { gap: 2px 24px; }
  .chrono-tab { min-height: 46px; }
  .related-links a { padding-block: 14px; }
}

/* sp-contain-guard: sponsor logos are wordmarks — never object-fit:cover (crops).
   object-fit ONLY. This block used to also set width:auto, padding:4px 10px,
   max-width:calc(100% - 20px) and min/max-height, which overrode Design's own frame and
   let every plate shrink-wrap its logo — the recurring "inconsistent sizing" and
   "lacks padding". Geometry belongs to Design. */
.sponsor img,.sponsor-box img,.sp-logo img{object-fit:contain!important;display:block;margin-left:auto;margin-right:auto;align-self:center}

/* sp-mark-align: marks sit CENTRED in their box. Placement only — Design's size,
   padding, panel and object-fit are untouched. */
.sponsor img,.sponsor-box img,.sp-logo img{object-position:center!important;margin-left:auto!important;margin-right:auto!important;display:block}
.sponsor .sp-logo,.sponsor-box{display:flex;align-items:center;justify-content:center}

/* sp-tile-uniform: a slot never grows to fill its row — every tile the same width in
   every row, whatever the count. Only flex-grow is touched. */
.sponsor{flex-grow:0!important}
.sponsor.lead-line,.sponsor.feat.lead-line{flex-grow:1!important}
.sponsor__box{flex-wrap:wrap!important}
.sponsor__box > .sponsor{flex:1 1 var(--sp-min,220px)!important;min-width:min(220px,100%)!important}
.sponsor:not(.lead-line){grid-column:span 1!important;grid-row:span 1!important}

/* sp-blurb-stack: a slot holding BOTH a mark and our copy stacks them —
   a fixed-height row clips the mark once the copy is un-hidden. */
.sponsor:has(> img):has(> .sponsor-blurb:not(:empty)){flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;height:auto!important;min-height:0!important;overflow:visible!important;gap:8px}
.sponsor:has(> img):has(> .sponsor-blurb:not(:empty)) > img{align-self:flex-start}

/* sp-blurb-unhide: every supporter slot shows its text — no half-texted grids */
.sponsor-blurb:not(:empty){display:block!important;line-height:1.5}

/* sp-tile-fit: a slot fills its track, keeps a symmetric inset, and cannot be inflated
   by one long line of our copy. */
.sponsor.sponsor{width:100%!important;box-sizing:border-box!important;align-self:stretch!important;align-items:center!important;height:auto!important;min-height:0!important;overflow:hidden}
.sponsor.sponsor{justify-content:center!important}
:has(> .sponsor.sponsor){align-items:stretch!important}
.sponsor.sponsor .sponsor-name{min-width:0!important;overflow-wrap:anywhere}
.sponsor.sponsor > img{flex:0 0 auto!important;align-self:center!important}
.sponsor.sponsor > .sponsor-txt,.sponsor.sponsor > span:not(.sponsor-name){flex:1 1 auto!important;min-width:0!important}
.sponsor.sponsor .sponsor-blurb{display:-webkit-box!important;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;margin:0!important}
/* the mobile un-clamp is retired: the operator asked for "2-3 rows max" on phones, which is
   what the desktop rule above already does — so mobile simply keeps it. */
@media (max-width:640px){.sponsor.sponsor .sponsor-blurb{-webkit-line-clamp:3!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;overflow:hidden!important}}

/* sp-blurb-link: money-link anchors in blurbs must inherit the blurb colour (readable on dark OR light tiles) */
.sponsor-blurb a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* pipeline: one brand treatment per tile — the name reads at the blurb's own size */
.sponsor .sp-brand{font:inherit!important;font-weight:700!important;letter-spacing:inherit!important;text-transform:none!important;color:inherit!important;display:inline!important;}

/* sp-mark-frame: a uniform plate for the money mark, in the tiers where Design sized the plate
   to the artwork instead. Operator's rule: the dark ground is unified whatever the logo's
   size. width:100% (or one fixed width where copy shares the row) + one height for the tier
   + object-fit:contain, so the plate is the same box everywhere and the artwork fits inside
   it. A ground and an inset are added ONLY where none exists — adding a second ground gives
   co-cure's rectangle-inside-a-rectangle. Design's framed tiers are not touched at all. */
.support__grid .sponsor .sponsor__box.sponsor__box{display:block!important;width:100%!important}
.support__grid .sponsor.sponsor img{height:44px!important;display:block!important;width:100%!important}

/* op-money-columns: the supporters block ran one tile per row — 6 tiles,
   1170px at 390, 14% of the whole page. Two columns bring it to
   812px (31% shorter). Checked before writing: no new overflow, smallest mark still
   98px wide, longest blurb 2 lines, tile heights 253-253px.
   A block that fails any of those is left in one column — two narrow columns can make a block
   TALLER once the copy rewraps, which is the case the operator warned about.
   Only the tier(s) that were one-per-row are touched (.support__grid), never the section
   that holds several tiers: forcing a grid on that would put a featured row and a regulars run
   side by side. Phone widths only. */
@media (max-width:640px){
  .support__grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:26px!important}
    .support__grid > *{min-width:0!important;max-width:100%;width:auto!important;flex:0 1 auto!important}
    .support__grid > * *{min-width:0!important;max-width:100%}
    .support__grid img,.support__grid svg{max-width:100%;height:auto}
}

/* op-odd-tier-lead: money_slots changed a tier's size — .support__grid (7 tiles) now show an ODD count on phones, so the lead tile takes the whole row (operator: "the 1st item in such rows to be 100% width, then split"). Parity-guarded: it steps aside again when the count is even. */
@media (max-width:640px){
  .support__grid:has(> *:nth-child(odd):last-child) > *:first-child{grid-column:1 / -1!important}
}
@media (min-width:700px) and (max-width:1100px){.support__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.support__grid > [data-partner]:nth-child(odd of [data-partner]):nth-last-child(1 of [data-partner]){grid-column:1/-1!important}}[data-partner] .sponsor__box{background:transparent!important}
