/* ==========================================================================
   FAQ Off — "Ledger"
   Palette (3 + 2 support), each with a job:
     --ground     #14120F  ink-black ground, the filing cabinet
     --paper      #F0EDE3  cream stock, the second ground
     --accent     #FFD400  highlighter yellow  (saturated, hue ~50)
     --secondary  #1B2FD8  ultramarine        (saturated, hue ~240)
     --rule/--quiet        hairlines and attribution
   The two saturated members sit ~190 degrees apart and both carry real area:
   ultramarine as panel/plate grounds, yellow as datelines, marks and figures.
   ========================================================================== */

:root {
  --ground: #14120F;
  --ground-2: #1C1A16;
  --paper: #F0EDE3;
  --paper-2: #E4DFD1;
  --accent: #FFD400;
  --secondary: #1B2FD8;
  --secondary-lift: #4C5CE0;
  --rule: #3A352E;
  --rule-paper: #C5BEB1;
  --quiet: #9A9284;
  --quiet-paper: #6E675C;

  --display: Anton, "Arial Narrow", Impact, sans-serif;
  --text: Chivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* three visibly different widths + full bleed */
  --shell: 1280px;
  --breakout: 960px;
  --measure: 68ch;
  --gutter: clamp(1.25rem, 3vw, 4rem);

  --fs-body: 17px;
  --fs-article: 18px;
  --fs-cap: 15px;
  --fs-mono: 13px;
  --step: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--paper);
  font-family: var(--text);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }
p { text-wrap: pretty; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--paper); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 0.94; letter-spacing: -0.015em; margin: 0; text-transform: none; }

.wrap { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.bleed-band { padding-inline: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--accent); color: var(--ground); padding: .6rem 1rem; }

/* ---------- masthead --------------------------------------------------- */

.masthead { border-bottom: 2px solid var(--paper); }
.masthead__top {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding-block: clamp(.9rem, 1.4vw, 2rem) clamp(.6rem, .9vw, 1.1rem);
}
.wordmark { display: flex; align-items: flex-end; gap: clamp(.5rem, 1vw, 1.2rem); color: var(--paper); }
.wordmark:hover { color: var(--paper); }
.wordmark svg { width: clamp(24px, 2.4vw, 54px); height: auto; flex: none; color: var(--accent); }
.wordmark__name {
  font-family: var(--display); font-size: clamp(44px, 7vw, 132px);
  line-height: .76; letter-spacing: -0.02em; text-transform: uppercase;
}
.masthead__strap {
  font-size: var(--fs-cap); font-style: italic; color: var(--quiet);
  max-width: 44ch; text-align: right; margin-left: auto;
}
.masthead__rule { border-top: 1px solid var(--rule); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 3.6rem); flex-wrap: wrap; padding-block: clamp(.8rem, 1.2vw, 1.6rem); }
.nav a {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: clamp(14px, 1vw, 20px); font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--paper); padding-block: .25rem;
}
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 currentColor; }
.nav a svg {
  width: clamp(30px, 2.2vw, 42px); height: clamp(30px, 2.2vw, 42px); flex: none;
  box-sizing: border-box; padding: 6px;
  border: 1.5px solid currentColor; background: rgba(240, 237, 227, .07);
}
.nav a:hover svg { background: currentColor; }
.nav a:hover svg path { stroke: var(--ground); }
/* one palette colour per section, keyed to the destination, never to position */
.nav a[href$="/category/record/"], .nav a[href$="/category/losses/"] { color: var(--accent); }
.nav a[href$="/category/money/"], .nav a[href$="/category/vocabulary/"] { color: #96A2FF; }
.nav a[href$="/category/addresses/"] { color: var(--paper); }
.nav a:hover { color: var(--paper); }
.nav a[href$="/category/addresses/"]:hover { color: var(--accent); }
.nav__spacer { margin-left: auto; }
.nav__archive { color: var(--quiet) !important; }
.nav__archive:hover { color: var(--accent) !important; }

.nav-toggle, .nav-toggle-label { display: none; }

/* ---------- signature: the ruled dateline ------------------------------ */

.dateline { display: block; }
.dateline__rule { display: block; width: 100%; height: 10px; color: var(--accent); }
.dateline__mark {
  display: block; font-family: var(--display);
  font-size: clamp(56px, 9vw, 168px); line-height: .82; letter-spacing: -0.035em;
  color: var(--accent);
}
.dateline__src {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: var(--fs-mono);
  letter-spacing: .06em; text-transform: uppercase; color: var(--quiet);
  padding-top: .55rem; border-top: 1px solid var(--rule); margin-top: .6rem;
}
a.dateline__src { color: var(--quiet); }
a.dateline__src:hover { color: var(--accent); }
.dateline__src svg { width: 17px; height: 17px; flex: none; }
.on-paper .dateline__src, .paper .dateline__src { color: var(--quiet-paper); border-top-color: var(--rule-paper); }
.paper .dateline__mark { color: var(--secondary); }

/* ---------- homepage bands --------------------------------------------- */

.band { border-bottom: 1px solid var(--rule); }
.band--paper { background: var(--paper); color: var(--ground); border-bottom-color: var(--rule-paper); }
.band--blue { background: var(--secondary); color: var(--paper); border-bottom-color: var(--secondary-lift); }
.band--accent { background: var(--accent); color: var(--ground); border-bottom-color: rgba(20, 18, 15, .25); }
.band--accent a { color: var(--ground); }
.band--accent a:hover { color: var(--secondary); }
.band--accent .opener__head { border-top-color: var(--ground); }
.band--accent .opener__icon { background: var(--ground); }
.band--accent .opener__icon path { stroke: var(--accent); }
.band--accent .opener__blurb, .band--accent .story__kicker, .band--accent .story__dek { color: rgba(20, 18, 15, .72); }
.band--accent .story { border-top-color: rgba(20, 18, 15, .3); }
.band--accent .u-mono { color: rgba(20, 18, 15, .72); }
.band--accent .figcap { border-top-color: rgba(20, 18, 15, .3); }
.band--accent .figcap__credit { color: rgba(20, 18, 15, .68); }
.band--accent .u-more { border-bottom-color: var(--ground); }
.band--accent a.story:hover .story__title { color: var(--secondary); }
.band--paper a { color: var(--secondary); }
.band--paper a:hover { color: var(--ground); }
.band--blue a { color: var(--accent); }
.band__inner { padding-block: clamp(2rem, 3.4vw, 5.5rem); }
.band__inner--tight { padding-block: clamp(1.1rem, 1.6vw, 2.4rem); }

/* lead */
.lead-band { position: relative; border-bottom: 1px solid var(--rule); }
.lead-band__img { position: relative; width: 100%; height: clamp(380px, 58vw, 1080px); background: var(--ground-2); }
.lead-band__img img { width: 100%; height: 100%; object-fit: cover; }
.lead-band__plate {
  position: relative; margin-top: clamp(-9rem, -7vw, -3rem);
  background: var(--secondary); color: var(--paper);
  padding: clamp(1.1rem, 1.6vw, 2.4rem) clamp(1.2rem, 2vw, 3rem) clamp(1.4rem, 2vw, 2.6rem);
  width: min(100%, 62ch);
}
.lead-band__kicker {
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: .8rem;
}
.lead-band__figure { font-family: var(--display); font-size: clamp(56px, 8.4vw, 190px); line-height: .8; letter-spacing: -0.04em; display: block; }
.lead-band__h1 { font-family: var(--text); font-weight: 700; font-size: clamp(20px, 1.7vw, 34px); line-height: 1.18; letter-spacing: -0.01em; margin: .9rem 0 0; }
.lead-band__dek { margin: .8rem 0 0; font-size: var(--fs-cap); color: #DDE0FA; }
.lead-band .figcap { padding-top: .5rem; margin-top: .5rem; gap: .2rem 1.5rem; }
.lead-band .figcap__text { font-size: clamp(13px, .8vw, 15px); line-height: 1.4; color: var(--quiet); max-width: 92ch; }
.lead-band .figcap__credit { font-size: 12px; }
.lead-band__more { display: inline-block; margin-top: 1.1rem; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid var(--accent); padding-bottom: 3px; }

/* horizontal dateline — four dated entries, no prose */
.htimeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.htimeline > li { border-top: 3px solid var(--accent); }
.htimeline a { display: block; padding: clamp(.8rem, 1.1vw, 1.3rem) clamp(1rem, 1.4vw, 1.8rem) clamp(1rem, 1.3vw, 1.6rem) 0; color: var(--paper); position: relative; }
.htimeline a::before { content: ""; position: absolute; top: -3px; left: 0; width: 12px; height: 12px; background: var(--accent); }
.htimeline a:hover { color: var(--accent); }
.htimeline .ht-year { display: block; font-family: var(--display); font-size: clamp(30px, 3.4vw, 76px); line-height: .86; letter-spacing: -0.03em; color: var(--accent); padding-top: .5rem; }
.htimeline .ht-what { display: block; margin-top: .5rem; font-size: clamp(14px, .95vw, 18px); line-height: 1.4; }
.htimeline .ht-sec { display: block; margin-top: .55rem; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); }
@media (min-width: 760px) { .htimeline { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* the dateline ledger row — no prose */
.ledger { width: 100%; border-collapse: collapse; }
.ledger caption {
  text-align: left; font-family: var(--mono); font-size: var(--fs-mono);
  letter-spacing: .12em; text-transform: uppercase; color: var(--quiet); padding-bottom: .8rem;
}
.ledger th, .ledger td { text-align: left; padding: .75rem 1.25rem .75rem 0; border-top: 1px solid var(--rule); vertical-align: baseline; }
.ledger th { font-family: var(--display); font-size: clamp(20px, 2vw, 40px); color: var(--accent); font-weight: 400; white-space: nowrap; width: 1%; }
.ledger td { font-size: clamp(15px, 1.05vw, 21px); }
.ledger td:last-child { font-family: var(--mono); font-size: var(--fs-mono); color: var(--quiet); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; text-align: right; padding-right: 0; }

/* section openers */
.opener { display: grid; gap: clamp(1.5rem, 2.4vw, 3.5rem); }
.opener__head {
  display: flex; align-items: center; gap: clamp(.7rem, 1.2vw, 1.6rem); flex-wrap: wrap;
  border-top: 5px solid var(--accent); padding-top: clamp(.7rem, 1.1vw, 1.4rem);
}
.band--paper .opener__head { border-top-color: var(--secondary); }
.band--blue .opener__head { border-top-color: var(--accent); }
.opener__icon {
  width: clamp(38px, 3vw, 60px); height: clamp(38px, 3vw, 60px); flex: none; color: var(--accent);
  box-sizing: border-box; padding: 7px; background: var(--accent); color: var(--ground);
}
.opener__icon path { stroke: var(--ground); }
.band--paper .opener__icon { background: var(--secondary); }
.band--paper .opener__icon path { stroke: var(--paper); }
.band--blue .opener__icon { background: var(--accent); }
.opener__title { font-size: clamp(42px, 6.2vw, 140px); letter-spacing: -0.035em; text-transform: uppercase; line-height: .84; }
.opener__blurb { margin: 0; max-width: 56ch; font-size: clamp(15px, 1vw, 20px); color: var(--quiet); }
.band--paper .opener__blurb { color: var(--quiet-paper); }
.band--blue .opener__blurb { color: #DDE0FA; }
.opener__body { display: grid; gap: clamp(1.5rem, 2.4vw, 3.5rem); align-items: start; }
.opener__body > * { align-self: start; }
/* inside a section opener the figure column is narrow — let the caption use all of it */
.opener__body .figcap { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) {
  .opener__body { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .opener__body--flip > :first-child { order: 2; }
}

/* unequal-weight story stack */
.stack { display: grid; gap: 0; }
.stack--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); column-gap: clamp(1.2rem, 2.2vw, 3rem); }
.stack--row .story, .stack--row .story:first-child { border-top: 2px solid currentColor; padding-top: clamp(.8rem, 1.1vw, 1.3rem); }
.story { display: block; padding-block: clamp(.9rem, 1.2vw, 1.5rem); border-top: 1px solid var(--rule); }
.band--paper .story { border-top-color: var(--rule-paper); }
.band--blue .story { border-top-color: var(--secondary-lift); }
.story:first-child { border-top: 0; padding-top: 0; }
.story__kicker { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); display: block; }
.band--paper .story__kicker { color: var(--quiet-paper); }
.band--blue .story__kicker { color: #AEB6F0; }
.story__title { display: block; font-family: var(--text); font-weight: 700; letter-spacing: -0.01em; line-height: 1.16; margin: .35rem 0 0; color: inherit; }
.story--lead .story__title { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 56px); line-height: .98; letter-spacing: -0.025em; }
.story--mid .story__title { font-size: clamp(19px, 1.5vw, 30px); }
.story--min .story__title { font-size: clamp(16px, 1.1vw, 22px); }
.story__dek { display: block; margin: .5rem 0 0; font-size: var(--fs-cap); color: var(--quiet); max-width: 60ch; }
.band--paper .story__dek { color: var(--quiet-paper); }
.band--blue .story__dek { color: #DDE0FA; }
a.story:hover .story__title { color: var(--accent); }
.band--paper a.story:hover .story__title { color: var(--secondary); }
.band--blue a.story:hover .story__title { color: var(--accent); }

/* ---------- figure system --------------------------------------------
   Four treatments, one drawing system: square corners, 2px ink frames,
   caption with a yellow hairline kicker rule, credit quiet and subordinate.
   -------------------------------------------------------------------- */

figure { margin: 0; }

.figcap { display: grid; gap: .3rem 2rem; padding-top: .7rem; border-top: 1px solid var(--rule); margin-top: .7rem; }
.band--paper .figcap, .paper .figcap { border-top-color: var(--rule-paper); }
.figcap__text { font-size: var(--fs-cap); line-height: 1.45; max-width: 78ch; }
.figcap__credit { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--quiet); align-self: start; }
.band--paper .figcap__credit, .paper .figcap__credit { color: var(--quiet-paper); }
@media (min-width: 900px) {
  /* caption runs, credit ranged right on the same row — sized by the caption */
  .figcap { grid-template-columns: minmax(0, auto) max-content; align-items: baseline; justify-content: space-between; }
}

.fig-bleed img { width: 100%; height: clamp(260px, 42vw, 860px); object-fit: cover; }
.fig-bleed .figcap { padding-inline: var(--gutter); max-width: var(--shell); margin-inline: auto; }

.fig-mat { background: var(--ground-2); border-top: 5px solid var(--accent); padding: clamp(.7rem, 1.1vw, 1.6rem); }
.fig-mat img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.fig-mat .figcap { border-top-color: var(--rule); }
.fig-mat .figcap__text { color: var(--paper); }
.fig-mat .figcap__credit { color: var(--quiet); }
.band--paper .fig-mat, .paper .fig-mat { background: var(--paper-2); border-top-color: var(--secondary); }
.band--paper .fig-mat .figcap { border-top-color: var(--rule-paper); }
.band--paper .fig-mat .figcap__text { color: var(--ground); }
.band--paper .fig-mat .figcap__credit { color: var(--quiet-paper); }
.band--accent .fig-mat { background: rgba(20, 18, 15, .1); border-top-color: var(--ground); }
.band--accent .fig-mat .figcap__text { color: var(--ground); }

.fig-plate { background: var(--paper-2); padding: clamp(.7rem, 1.1vw, 1.6rem); color: var(--ground); }
.fig-plate img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--ground); }
.fig-plate .figcap { border-top-color: var(--rule-paper); }
.fig-plate .figcap__credit { color: var(--quiet-paper); }

.fig-inset { border: 2px solid var(--rule); padding: .55rem; }
.fig-inset img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.fig-inset .figcap__text { font-size: 14px; }

/* the generic component the styleguide asks for */
.article-figure { margin-block: var(--step); }
.article-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-top: 3px solid var(--accent); }
.article-figure figcaption { padding-top: .7rem; font-size: var(--fs-cap); color: var(--paper); border-top: 1px solid var(--rule); margin-top: .7rem; }
.article-figure figcaption .credit { display: block; font-family: var(--mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--quiet); margin-top: .25rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-block: var(--step); }
.gallery figure { background: var(--ground); padding: .6rem; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery figcaption { font-size: 13px; color: var(--quiet); padding-top: .45rem; }

.map-figure { margin-block: var(--step); }
.map-figure .map-slot { width: 100%; aspect-ratio: 16 / 9; border: 2px dashed var(--rule); }
.map-figure figcaption { padding-top: .7rem; font-size: var(--fs-cap); color: var(--quiet); }

/* ---------- article page ---------------------------------------------- */

.article-head { border-bottom: 2px solid var(--paper); }
.article-head__inner { padding-block: clamp(1.1rem, 1.7vw, 2.4rem) clamp(1rem, 1.4vw, 1.9rem); }
.article-head .dateline__rule { height: 8px; }
.article-head .dateline__mark { font-size: clamp(40px, 5.4vw, 108px); }
.article-head .dateline__src { padding-top: .4rem; margin-top: .45rem; }
.article-kicker { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.article-kicker svg { width: 18px; height: 18px; }
.article-title { font-size: clamp(30px, 4.2vw, 88px); letter-spacing: -0.035em; margin: clamp(.5rem, .9vw, 1.2rem) 0 0; max-width: 26ch; text-transform: uppercase; }
.article-dek { margin: clamp(.8rem, 1.2vw, 1.6rem) 0 0; font-size: clamp(18px, 1.2vw, 25px); line-height: 1.4; color: var(--paper); max-width: 62ch; font-weight: 300; }

.article-grid {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [wide-start] minmax(0, var(--breakout))
    [wide-end] minmax(var(--gutter), 1fr) [full-end];
  padding-block: clamp(2rem, 3vw, 4.5rem) clamp(3rem, 4.5vw, 7rem);
  row-gap: 0;
}
.article-grid > * { grid-column: wide; }
.article-grid > .u-full { grid-column: full; }
.article-grid > .u-wide { grid-column: wide; }

/* prose sits inside the wide column at its own measure — a third width */
.prose { max-width: var(--measure); margin-inline: auto; }
.prose::after { content: ""; display: block; clear: both; }
.prose > p { font-size: var(--fs-article); line-height: 1.66; margin: 0 0 1.15em; }
.prose > p:last-child { margin-bottom: 0; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(255, 212, 0, .38); }
.prose a:hover { color: var(--paper); border-bottom-color: var(--paper); }

.article-h2 {
  width: 100%; clear: both;
  max-width: var(--measure); margin: clamp(2rem, 3vw, 3.4rem) auto clamp(.9rem, 1.2vw, 1.4rem);
  font-size: clamp(24px, 2.2vw, 44px); letter-spacing: -0.02em; position: relative;
}

/* every inserted unit reserves real space on BOTH sides: >= 2x the paragraph gap */
.article-grid > .u-insert { margin-block: clamp(3rem, 4.5vw, 6rem); clear: both; }
.article-grid > .related-nav { margin-top: clamp(3rem, 4.5vw, 6rem); clear: both; }

/* a figure sitting IN the column with prose wrapping beside it */
.fig-float {
  float: right; width: min(46%, 360px);
  margin: .3rem 0 1.3rem clamp(1.2rem, 2vw, 2.4rem);
  border: 2px solid var(--rule); padding: .5rem;
}
.fig-float img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fig-float .figcap { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
.fig-float .figcap__text { font-size: 14px; line-height: 1.4; }
.fig-float .figcap__credit { font-size: 12px; }
@media (max-width: 700px) {
  .fig-float { float: none; width: 100%; margin: 1.6rem 0; }
}
.article-h2__mark {
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em;
  color: var(--accent); display: block; margin-bottom: .5rem;
}

.lead { font-size: clamp(19px, 1.3vw, 26px); line-height: 1.42; font-weight: 300; margin: 0 0 1.2em; color: var(--paper); }

/* interruptions — these are what break the wall of text */
.notes-band { background: var(--secondary); color: var(--paper); margin-block: clamp(2rem, 3vw, 4rem); }
.notes-band__inner { max-width: var(--shell); margin-inline: auto; padding: clamp(1.4rem, 2.2vw, 3rem) var(--gutter); }
.notes-band__label { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: clamp(1rem, 1.6vw, 2rem); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; gap: .25rem 1.75rem; padding-block: .7rem; border-top: 1px solid var(--secondary-lift); align-items: start; }
.timeline li:last-child { border-bottom: 1px solid var(--secondary-lift); }
.t-when { font-family: var(--mono); font-size: calc(var(--fs-mono) + 1px); font-weight: 700; letter-spacing: .01em; color: var(--accent); text-wrap: balance; }
.t-what { font-size: clamp(15px, 1.05vw, 21px); line-height: 1.45; }
@media (min-width: 720px) {
  .timeline li { grid-template-columns: minmax(160px, 24%) minmax(0, 1fr); column-gap: clamp(1rem, 1.6vw, 2.4rem); }
  /* the when-column is ruled off like a ledger column and never wraps into the entry */
  .t-when { align-self: stretch; border-right: 1px solid var(--secondary-lift); padding-right: clamp(.8rem, 1.2vw, 1.6rem); padding-top: .2em; }
}
/* the same component on a dark ground (styleguide / archive) */
.on-dark .timeline li { border-color: var(--rule); }
.on-dark .timeline li:last-child { border-bottom-color: var(--rule); }
.on-dark .t-when { border-right-color: var(--rule); }

.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 1px; background: var(--secondary-lift); border: 1px solid var(--secondary-lift); }
.statblock { background: var(--secondary); padding: clamp(.85rem, 1.2vw, 1.5rem); display: flex; flex-direction: column; gap: .4rem; }
.stat-num { font-family: var(--display); font-size: clamp(28px, 2.6vw, 54px); line-height: .9; color: var(--accent); letter-spacing: -0.02em; }
.stat-label { font-size: 14px; line-height: 1.35; color: #DDE0FA; }
.on-dark .statrow { background: var(--rule); border-color: var(--rule); }
.on-dark .statblock { background: var(--ground-2); }
.on-dark .stat-label { color: var(--quiet); }

.callout { width: 100%; margin: clamp(1.6rem, 2.4vw, 2.6rem) auto; max-width: var(--measure); background: var(--ground-2); border-left: 6px solid var(--accent); padding: clamp(1rem, 1.4vw, 1.6rem) clamp(1.1rem, 1.6vw, 2rem); }
.callout p { margin: 0; font-size: clamp(16px, 1.1vw, 21px); }

.pullquote { width: 100%; margin: clamp(2rem, 3vw, 3.6rem) auto; max-width: 46ch; border-top: 3px solid var(--accent); border-bottom: 1px solid var(--rule); padding-block: clamp(1rem, 1.4vw, 1.8rem); }
.pullquote p { margin: 0; font-family: var(--display); font-size: clamp(24px, 2.4vw, 48px); line-height: 1.04; letter-spacing: -0.02em; color: var(--paper); }
.band--paper .pullquote p, .paper .pullquote p { color: var(--ground); }

.blockquote { width: 100%; margin: clamp(1.6rem, 2.4vw, 2.6rem) auto; max-width: var(--measure); padding-left: clamp(1rem, 1.6vw, 2rem); border-left: 2px solid var(--rule); }
.blockquote p { margin: 0; font-size: clamp(17px, 1.15vw, 23px); font-style: italic; }
.blockquote cite { display: block; margin-top: .6rem; font-family: var(--mono); font-size: var(--fs-mono); font-style: normal; letter-spacing: .05em; text-transform: uppercase; color: var(--quiet); }

.note { width: 100%; margin: clamp(1.2rem, 1.8vw, 2rem) auto; max-width: var(--measure); font-size: var(--fs-cap); color: var(--quiet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: .8rem; }

.datatable, .versus { width: 100%; border-collapse: collapse; font-size: clamp(14px, .95vw, 19px); margin-block: var(--step); }
.datatable caption, .versus caption { text-align: left; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--quiet); padding-bottom: .7rem; }
.datatable th, .versus th { text-align: left; font-family: var(--text); font-weight: 700; font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); border-bottom: 2px solid var(--accent); padding: 0 1.25rem .6rem 0; }
.datatable td, .versus td { padding: .7rem 1.25rem .7rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.datatable tr > *:last-child, .versus tr > *:last-child { padding-right: 0; }
.versus tbody th { border-bottom: 1px solid var(--rule); font-family: var(--text); text-transform: none; letter-spacing: 0; font-size: inherit; color: var(--paper); padding-block: .7rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll > table { min-width: 34rem; }

.chart { margin-block: var(--step); }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart figcaption { padding-top: .7rem; margin-top: .7rem; border-top: 1px solid var(--rule); font-size: var(--fs-cap); color: var(--quiet); }
.chart .bar-label { font-family: var(--mono); font-size: 11px; fill: var(--quiet); }
.chart .bar-value { font-family: var(--mono); font-size: 11px; fill: var(--accent); }

/* ---------- cards, profiles, orgs, related ---------------------------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.card { background: var(--ground); display: flex; flex-direction: column; padding: clamp(.9rem, 1.2vw, 1.4rem); min-height: 100%; }
.card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__kicker { display: block; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); margin-top: .8rem; }
.card__title { display: block; font-family: var(--text); font-weight: 700; font-size: clamp(16px, 1.05vw, 21px); line-height: 1.2; margin: .4rem 0 0; min-height: 2.4em; }
.card__foot { display: block; margin-top: auto; padding-top: .8rem; font-family: var(--mono); font-size: var(--fs-mono); color: var(--quiet); text-transform: uppercase; letter-spacing: .06em; }
a.card:hover .card__title { color: var(--accent); }

.profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(1rem, 1.6vw, 2rem); margin-block: var(--step); }
.profile-card { display: flex; flex-direction: column; background: var(--ground-2); border-top: 3px solid var(--accent); padding: clamp(.9rem, 1.2vw, 1.4rem); }
.profile-card .p-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: .8rem; }
.profile-card.no-photo { border-top-color: var(--secondary-lift); }
.profile-card h3 { font-family: var(--text); font-weight: 700; font-size: 19px; line-height: 1.2; }
.profile-card .p-role { font-family: var(--mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--quiet); margin: .35rem 0 .7rem; }
.profile-card p { margin: 0 0 .7rem; font-size: var(--fs-cap); }
.profile-card .p-links { margin-top: auto; padding-top: .5rem; font-size: 14px; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.profile-card .p-attr { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--quiet); margin: 0; }

.org-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-block: var(--step); }
.org-card { background: var(--ground-2); padding: clamp(.8rem, 1vw, 1.1rem); display: flex; flex-direction: column; gap: .3rem; color: var(--paper); }
.org-card:hover { background: var(--ground); color: var(--accent); }
.org-card .org-logo { height: 34px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; margin-bottom: .4rem; }
.org-card.no-logo { border-left: 4px solid var(--secondary-lift); }
.org-name { font-weight: 700; font-size: 16px; line-height: 1.2; }
.org-host { font-family: var(--mono); font-size: var(--fs-mono); color: var(--quiet); letter-spacing: .04em; }

.entity-ref { border-bottom: 1px solid rgba(255, 212, 0, .38); white-space: nowrap; }

.further-grid, .related-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); list-style: none; margin: 0; padding: 0; }
.further-grid > a, .related-links > li { background: var(--ground-2); }
.further-grid > a, .related-links > li > a { display: flex; min-height: 100%; padding: clamp(.9rem, 1.2vw, 1.3rem); font-family: var(--text); font-weight: 700; font-size: 17px; line-height: 1.22; color: var(--paper); background: var(--ground-2); }
.further-grid > a:hover, .related-links > li > a:hover { background: var(--secondary); color: var(--paper); }

.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list > li { border-top: 1px solid var(--rule); }
.cat-list > li:last-child { border-bottom: 1px solid var(--rule); }
.cat-list a { display: grid; gap: .3rem 2rem; padding-block: clamp(1rem, 1.4vw, 1.6rem); color: var(--paper); align-items: baseline; }
.cat-list a:hover { color: var(--accent); }
.cat-list__n { display: block; font-family: var(--mono); font-size: var(--fs-mono); color: var(--quiet); letter-spacing: .08em; }
.cat-list__t { display: block; font-family: var(--text); font-weight: 700; font-size: clamp(18px, 1.4vw, 28px); line-height: 1.18; }
.cat-list__d { display: block; font-size: var(--fs-cap); color: var(--quiet); max-width: 68ch; grid-column: 1 / -1; }
@media (min-width: 800px) {
  .cat-list a { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .cat-list__d { grid-column: 2; }
}

/* CSS-only expander for lists that can grow */
.expander { border: 0; margin: 0; padding: 0; }
.expander > summary { cursor: pointer; list-style: none; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); padding-block: .9rem; border-top: 1px solid var(--rule); }
.expander > summary::-webkit-details-marker { display: none; }
.expander > summary::after { content: " +"; }
.expander[open] > summary::after { content: " \2212"; }

/* ---------- supporters colophon --------------------------------------- */

.colophon { background: var(--ground-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.colophon__inner { padding-block: clamp(1.6rem, 2.4vw, 3.2rem); }
.colophon__label { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--quiet); padding-bottom: .7rem; border-bottom: 1px solid var(--rule); margin-bottom: clamp(1.1rem, 1.6vw, 1.8rem); }
/* constant-width tiles — a slot never grows, whatever the count */
.colophon__grid { display: grid; grid-template-columns: repeat(auto-fit, 236px); gap: 0; background: #0F0D0B; border: 1px solid var(--rule); justify-content: start; }
.sponsor { display: flex; align-items: center; justify-content: center; width: 236px; height: 78px; padding: .9rem 1.1rem; background: #0F0D0B; outline: 1px solid var(--rule); outline-offset: -1px; }
.sponsor:hover { background: var(--secondary); }
.sponsor img { max-height: 44px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.sponsor-blurb { display: none; }
@media (max-width: 560px) {
  .colophon__grid { grid-template-columns: 1fr; }
  .sponsor { width: 100%; }
}

/* ---------- footer ---------------------------------------------------- */

.foot { border-top: 2px solid var(--paper); }
.foot__inner { padding-block: clamp(2rem, 3vw, 4rem); display: grid; gap: clamp(1.5rem, 2.4vw, 3.5rem); }
@media (min-width: 780px) { .foot__inner { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); } }
.foot__name { font-family: var(--display); font-size: clamp(34px, 3.2vw, 78px); line-height: .8; letter-spacing: -0.03em; text-transform: uppercase; }
.foot__line { margin: 1rem 0 0; font-size: var(--fs-cap); color: var(--quiet); max-width: 46ch; }
.foot__col h2 { font-family: var(--mono); font-weight: 400; font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); margin-bottom: .8rem; }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot__col a { color: var(--paper); font-size: var(--fs-cap); }
.foot__col a:hover { color: var(--accent); }

/* ---------- utility --------------------------------------------------- */

.u-mono { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); }
.u-more { display: inline-block; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
.u-hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- mobile nav ------------------------------------------------ */

@media (max-width: 720px) {
  .nav-toggle-label {
    display: flex; align-items: center; gap: .5rem; cursor: pointer;
    font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .14em;
    text-transform: uppercase; color: var(--accent); padding-block: .8rem;
  }
  .nav-toggle-label svg { width: 20px; height: 20px; }
  .nav { display: none; padding-bottom: 1rem; }
  .nav-toggle:checked ~ .nav { display: grid; gap: .1rem; }
  .nav a { font-size: 15px; padding-block: .55rem; border-top: 1px solid var(--rule); }
  .nav__spacer { margin-left: 0; }
  .masthead__strap { display: none; }
}

/* ---------- large displays: the page gains, not the margin ------------ */

@media (min-width: 1600px) {
  :root {
    --shell: 1680px;
    --breakout: 1240px;
    --measure: 74ch;
    --fs-body: 18px;
    --fs-article: 20px;
    --fs-cap: 16px;
    --fs-mono: 14px;
  }
  /* the lead plate moves beside the image instead of below it */
  .lead-band { position: relative; }
  .lead-band__plate { width: min(58ch, 46%); margin-top: -14rem; }
  /* section openers get wider tracks, not a third empty one */
  .opener__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .opener__body--two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .colophon__grid { grid-template-columns: repeat(auto-fit, 288px); }
  .sponsor { width: 288px; height: 92px; }
  .sponsor img { max-height: 52px; }
  .ledger td:first-of-type { font-size: 22px; }
}

@media (min-width: 2200px) {
  :root {
    --shell: 2100px;
    --breakout: 1520px;
    --measure: 80ch;
    --fs-body: 19px;
    --fs-article: 22px;
    --fs-cap: 17px;
    --fs-mono: 15px;
    --step: 2rem;
  }
  /* the masthead gains a second ruled line carrying the subject sentence */
  .masthead__strap { font-size: 20px; max-width: 60ch; }
  .article-dek { max-width: 70ch; }
  .colophon__grid { grid-template-columns: repeat(auto-fit, 340px); }
  .sponsor { width: 340px; height: 104px; }
  .sponsor img { max-height: 58px; }
  .statrow { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
  .cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
}

@media print {
  body { background: #fff; color: #000; }
  .colophon, .nav, .masthead__strap { display: none; }
}

/* 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:not(.lead-line){flex-basis:var(--sp-tile,232px)!important}
.sponsor:not(.lead-line){grid-column:span 1!important;grid-row:span 1!important}

/* sp-grid-fill: fixed px columns leave a dead strip at wide widths — the tiles
   must stretch, and a tile with its own fixed width has to give that up too */
.colophon__grid{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))!important;justify-content:stretch!important}
.colophon__grid>[data-partner],.colophon__grid>*>[data-partner]{width:auto!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-blurb-size: the design never sized .sponsor-blurb, so it inherited body copy.
   Relative, so it still follows the design's scale. */
.sponsor .sponsor-blurb{font-size:.8em;line-height:1.45}
.sponsor .sp-brand{font-weight:700}

/* sp-blurb-contrast: the design never coloured .sponsor-blurb because its bar was
   marks-only; our copy would inherit the page's dark ink onto a dark tile. */
.sponsor .sponsor-blurb{color:rgba(255,255,255,.82)}
.sponsor .sponsor-name{color:rgba(255,255,255,.95)}

/* 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:3;-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}

/* 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. */
.colophon__grid .sponsor .sp-logo.sp-logo{display:block!important;width:100%!important}
.colophon__grid .sponsor.sponsor img{height:52px!important;display:block!important;width:100%!important}

/* op-footer-compact: the footer printed 5 rows for 5 link(s) in
   1 list(s) — 557px at 390, 6% of the whole page. Design's own
   good case (evbb) has no list at all: its footer links simply flow inline, 479px in total.
   Here the lists flow inline too,
   measured 557 -> 380px (32% shorter) with no new overflow. Both shapes were
   tried and the shorter one kept — two columns helps a wide group set and hurts a narrow one.
   Phone widths only; the desktop footer is untouched. */
@media (max-width:640px){
  footer ul,footer ol{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;column-gap:clamp(8px,2.43vw,35px)!important;row-gap:8px!important}
  footer ul > li,footer ol > li{width:auto!important;flex:0 0 auto;max-width:100%}
}

/* op-money-columns: the supporters block ran one tile per row — 8 tiles,
   584px at 390, 7% of the whole page. Two columns bring it to
   293px (50% shorter). Checked before writing: no new overflow, smallest mark still
   131px wide, longest blurb 0 lines, tile heights 73-73px.
   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 (.colophon__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){
  .colophon__grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:16px!important}
    .colophon__grid > *{min-width:0!important;max-width:100%;width:auto!important;flex:0 1 auto!important}
    .colophon__grid > * *{min-width:0!important;max-width:100%}
    .colophon__grid img,.colophon__grid svg{max-width:100%;height:auto}
}

/* op-img-dims — intrinsic width/height reserve image space; the proven height:auto guard (zero specificity) */
:where(aside > figure.fig-mat > img,
  div > figure.fig-inset > img,
  div.article-grid > figure.fig-mat.u-insert.u-wide > img,
  div.article-grid > figure.fig-plate.u-insert.u-wide > img,
  div.opener > figure.fig-bleed > img,
  div.opener__body > figure.fig-mat > img,
  div.opener__body.opener__body--flip > figure.fig-plate > img,
  div.opener__body.opener__body--two > figure.fig-inset > img,
  div.prose > figure.fig-float > img,
  main > figure.fig-bleed > img,
  section.lead-band > div.lead-band__img > img){height:auto}
/* op-img-dims:end */

/* op-odd-tier-lead: money_slots changed a tier's size — .colophon__grid (9 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){
  .colophon__grid:has(> *:nth-child(odd):last-child) > *:first-child{grid-column:1 / -1!important}
}
