/* M28 Investigates · prototype v0.6 · every page is built from this file.
   v0.6.0 (Bex, 23 Nov 2026): the prototype keeps its content and menu structure and takes the LOOK of the live site.
   Step 1 changed three things here: the colours (black, red and white, as on the live site), the font (Source Sans 3
   for everything: no serif headlines, no monospace labels) and the header with its menu panel. The other components
   below are still drawn as in v0.5 and only pick up the new colours and font; they are restyled page by page.
   No inline styles anywhere (the security policy forbids them): generated rules go to gen.css. */

/* ---------------------------------------------------------------- font (v0.6.0): Source Sans 3, the live site's font, self-hosted
   (SIL Open Font License 1.1; cut down and renamed "M28 Text" by tools/make_fonts.py, as the licence asks) */
@font-face { font-family: "M28 Text"; src: url(/assets/fonts/m28-text.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "M28 Text"; src: url(/assets/fonts/m28-text-italic.woff2) format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

/* ---------------------------------------------------------------- tokens */
:root {
  /* v0.6.0: black, red and white, as on the live site (its --bg #050505, --red #D71920, --red-dark #A91419, panels
     #0D0D0D and #151515, muted text #B9B9B9). The names are v0.5's and stay, because every rule below uses them:
     "charcoal" is now the live black, "grey" a neutral near-white, and their steps are neutral greys. */
  --charcoal: #050505; --white: #FFFFFF; --red: #D71920; --grey: #F2F2F2;
  --charcoal-d2: #000000; --charcoal-d1: #020202;
  --charcoal-t04: #0D0D0D; --charcoal-t07: #151515; --charcoal-t10: #1A1A1A; --charcoal-t12: #222222; --charcoal-t25: #4A4A4A;
  --charcoal-t30: #555555; --charcoal-t33: #5E5E5E; --charcoal-t40: #707070; --charcoal-t50: #8A8A8A;
  --grey-t50: #F7F7F7; --grey-t75: #FAFAFA;
  --grey-s08: #DDDDDD; --grey-s18: #C8C8C8; --grey-s22: #B9B9B9; --grey-s38: #999999;
  /* red: the live red for areas, buttons, lines, marks and large text (3.9 to 1 on the black, 5.2 to 1 on white);
     its darker steps are the live site's own (--red-dark, and the Donate pill's #8B1A1A); for SMALL red text on
     black the live red is too dark to read (WCAG 2.2 AA asks 4.5 to 1), so that one use takes a brighter red */
  --red-s15: #A91419; --red-s30: #8B1A1A; --red-t25: #D71920; --red-t45: #F23B41; --red-t88: #FBE9EA;

  /* v0.6.0: one family for everything. The four names stay for the rules below; all of them are Source Sans 3 */
  --f-text: "M28 Text", ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-serif: var(--f-text); --f-ui: var(--f-text); --f-mono: var(--f-text);
  /* type scale (brief §2.3). hero: 44–56 px on a phone, 96–128 px on a desktop; story headline: 38–44 / 64–80;
     section titles: 30–34 / 40–52 */
  --t-display: clamp(2.75rem, 1rem + 7.6vw, 8rem);
  --t-h1: clamp(2.375rem, 1.35rem + 4.3vw, 5rem);
  --t-h2: clamp(1.875rem, 1.3rem + 2.4vw, 3.25rem);
  --t-h3: clamp(1.5rem, 1.3rem + .9vw, 2.125rem);
  --t-h4: 1.375rem;
  --t-h5: 1.125rem;
  --t-deck: clamp(1.1875rem, 1.08rem + .5vw, 1.5rem);
  --t-body: 1.125rem;
  --t-small: 1.0625rem;
  --t-meta: .875rem;
  --t-label: .8125rem;
  --t-mono: .8125rem;
  --w-head: 800;      /* the live site asks for 900 and loads 800: its headlines are ExtraBold */
  /* THE SITE'S TYPE SCALE: seven steps, taken from the story page (Bex, 24 and 25 Nov 2026; D-181, D-183). Defined
     once, here. The story page and the homepage use them; every other page takes them when it is edited ("Typography
     for other pages waits until we edit them"). The top bar and the controls keep their own sizes. */
  --ts-label: .8125rem;                                         /* 13 px: the category label, the only letter-spaced capitals */
  /* Headline, reduced on 25 Nov 2026 (Bex: "HEADLINES TOO BIG … Desktop: from 76 px to 56 px (line height about 1.08).
     Phone: from 41 px to about 34 px. Keep the weight and the slightly tight letter-spacing."). It was
     clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem) with a line height of 1.03 */
  --ts-headline: clamp(2.125rem, 1.6rem + 2.2vw, 3.5rem); --ts-headline-lh: 1.08;      /* 34 px on a phone, 56 px on a desktop */
  --ts-stand: clamp(1.25rem, 1.1rem + .75vw, 1.625rem);         /* 20 px, 26 px */
  --ts-section: clamp(1.625rem, 1.25rem + 1.6vw, 2.125rem);     /* 26 px, 34 px */
  --ts-sub: clamp(1.375rem, 1.25rem + .55vw, 1.625rem);         /* 22 px, 26 px */
  --ts-body: 1.3125rem; --ts-body-lh: 1.72;                     /* 21 px */
  --ts-small: .9375rem;                                         /* 15 px: dates, captions, credits, bylines */

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --sec: clamp(2.75rem, 1.75rem + 3.6vw, 5rem);
  --gutter: 1rem;
  --gap: 1rem;
  --wrap: 90rem;
  --measure: 41rem;
  --bar: 6px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 6.375rem;     /* the header: the prototype line (1.75rem) and the black bar (4.625rem, 74 px as on the live site) */
  --stick: 4.625rem;     /* where a pinned bar sits: under the black bar */

  /* light surface (reading) */
  --bg: var(--white); --bg-2: var(--grey-t50); --bg-3: var(--grey);
  --head: var(--charcoal); --ink: var(--charcoal); --ink-2: var(--charcoal-t25); --ink-3: var(--charcoal-t33);
  --line: var(--grey-s08); --line-2: var(--grey-s18); --rule: var(--charcoal);
  --accent: var(--red); --accent-ink: var(--red); --accent-hover: var(--red-s15);
  --field: var(--white); --field-line: var(--charcoal-t40); --focus: var(--charcoal);
  --btn-bg: var(--charcoal); --btn-ink: var(--white); --btn-hover: var(--charcoal-t12);
  --plate: var(--charcoal);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23050505' stroke-width='1.6'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (max-width: 61.99em) { :root { --ts-body: 1.125rem; --ts-body-lh: 1.7; } }      /* body text on a phone: 18 px */
@media (min-width: 48em) { :root { --gutter: 1.5rem; --gap: 1.5rem; --t-body: 1.25rem; } }

.s-dark, :root[data-surface="dark"], :root[data-theme="night"] {
  --bg: var(--charcoal); --bg-2: var(--charcoal-t04); --bg-3: var(--charcoal-t07);
  --head: var(--white); --ink: var(--grey); --ink-2: var(--grey-s22); --ink-3: var(--grey-s38);
  --line: var(--charcoal-t12); --line-2: var(--charcoal-t25); --rule: var(--grey);
  --accent: var(--red-t25); --accent-ink: var(--red-t45); --accent-hover: var(--red-s15);
  --field: var(--charcoal-t04); --field-line: var(--grey-s38); --focus: var(--white);
  --btn-bg: var(--white); --btn-ink: var(--charcoal); --btn-hover: var(--grey);
  --plate: var(--charcoal-d2);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F2F2F2' stroke-width='1.6'/%3E%3C/svg%3E");
  color-scheme: dark;
}
.s-light {
  --bg: var(--white); --bg-2: var(--grey-t50); --bg-3: var(--grey);
  --head: var(--charcoal); --ink: var(--charcoal); --ink-2: var(--charcoal-t25); --ink-3: var(--charcoal-t33);
  --line: var(--grey-s08); --line-2: var(--grey-s18); --rule: var(--charcoal);
  --accent: var(--red); --accent-ink: var(--red); --field: var(--white); --field-line: var(--charcoal-t40); --focus: var(--charcoal);
  --btn-bg: var(--charcoal); --btn-ink: var(--white); --btn-hover: var(--charcoal-t12); --plate: var(--charcoal);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23050505' stroke-width='1.6'/%3E%3C/svg%3E");
  color-scheme: light;
}
.s-grey { --bg: var(--grey); --bg-2: var(--grey-t50); --bg-3: var(--grey-s08); --line: var(--grey-s18); --line-2: var(--grey-s22); --field: var(--white); }
:root[data-theme="night"] .s-light, :root[data-theme="night"] .s-grey {
  --bg: var(--charcoal); --bg-2: var(--charcoal-t04); --bg-3: var(--charcoal-t07);
  --head: var(--white); --ink: var(--grey); --ink-2: var(--grey-s22); --ink-3: var(--grey-s38);
  --line: var(--charcoal-t12); --line-2: var(--charcoal-t25); --rule: var(--grey);
  --accent: var(--red-t25); --accent-ink: var(--red-t45); --field: var(--charcoal-t04); --field-line: var(--grey-s38); --focus: var(--white);
  --btn-bg: var(--white); --btn-ink: var(--charcoal); --btn-hover: var(--grey); --plate: var(--charcoal-d2);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F2F2F2' stroke-width='1.6'/%3E%3C/svg%3E");
  color-scheme: dark;
}
:root[data-theme="night"] .s-grey { --bg: var(--charcoal-t04); --bg-2: var(--charcoal-t07); --bg-3: var(--charcoal-t10); }
.s-dark, .s-light, .s-grey { background: var(--bg); color: var(--ink); }
.s-deep { --bg: var(--charcoal-d2); background: var(--charcoal-d2); }
/* the one full-red band: white on the live red, 5.2 to 1 */
.s-red { --bg: var(--red); --bg-2: var(--red-s15); --bg-3: var(--red-s30); --head: var(--white); --ink: var(--white); --ink-2: var(--white); --ink-3: var(--red-t88);
  --line: var(--red-s15); --line-2: var(--red-t25); --rule: var(--white); --accent: var(--white); --accent-ink: var(--white); --focus: var(--white);
  --btn-bg: var(--white); --btn-ink: var(--charcoal); --btn-hover: var(--grey); background: var(--red); color: var(--white); color-scheme: dark; }

:root[data-size="1"] { font-size: 112.5%; }
:root[data-size="2"] { font-size: 125%; }
:root[data-contrast="high"] { --ink-2: var(--ink); --ink-3: var(--ink); --line: var(--line-2); }
:root[data-lite="on"] { --f-text: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--stick) + 4.5rem); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-body)/1.6 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
@media (min-width: 48em) { body { line-height: 1.65; } }
main { display: block; min-height: 50vh; }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--head); font-family: var(--f-serif); font-weight: var(--w-head); line-height: 1.04; letter-spacing: -.018em; text-wrap: balance; }
h1 { font-size: var(--t-h1); letter-spacing: -.024em; line-height: 1.02; }
h2 { font-size: var(--t-h2); letter-spacing: -.02em; }
h3 { font-size: var(--t-h3); line-height: 1.08; }
h4 { font-size: var(--t-h4); line-height: 1.15; letter-spacing: -.01em; }
h5 { font: 600 var(--t-h5)/1.25 var(--f-ui); letter-spacing: 0; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }
small { font-size: var(--t-meta); }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
summary { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
:target { scroll-margin-top: calc(var(--stick) + 5rem); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s-4); top: -4rem; z-index: 100; background: var(--white); color: var(--charcoal); padding: .75rem 1rem; font: 600 var(--t-meta)/1 var(--f-ui); border: 2px solid var(--charcoal); }
.skip:focus { top: var(--s-2); }

/* layout: a 12-column grid inside 1440 px, gutters of 24 px (16 px on a phone) (brief §2.6) */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 62rem; }
.wrap--text { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * .6); }
.sec--flush { padding-top: 0; }
.stack > * + * { margin-top: var(--s-4); }
.sec-k { margin-block: 1.35rem 1rem; }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .02em; font-feature-settings: "zero"; }
.serif { font-family: var(--f-serif); }
.ui { font-family: var(--f-ui); }
.muted { color: var(--ink-2); }
.center { text-align: center; }

/* ---------------------------------------------------------------- type styles */
.display { font: var(--w-head) var(--t-display)/.98 var(--f-serif); letter-spacing: -.03em; color: var(--head); text-wrap: balance; }
.deck { font: 400 var(--t-deck)/1.45 var(--f-text); color: var(--ink); max-width: 44rem; text-wrap: pretty; }
.lede { font-size: 1.25rem; line-height: 1.55; }
/* labels are data: monospace capitals, in red where they name the case (brief §2.3, §2.4) */
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .55rem; font: 500 var(--t-label)/1.35 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); font-feature-settings: "zero"; }
.kicker a:hover { text-decoration: underline; text-underline-offset: .25em; }
.kicker > * + *::before { content: "·"; margin-right: .55rem; color: var(--ink-3); }
.kicker > span:not(.caseno):not(:only-child), .kicker > a { color: var(--ink-2); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .7rem; font: 400 var(--t-mono)/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); font-feature-settings: "zero"; }
.meta > * + * { display: inline-flex; align-items: center; gap: .7rem; }
.meta > * + *::before { content: ""; width: 1px; height: .8em; background: var(--line-2); }
.ref { font: 500 var(--t-mono)/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-feature-settings: "zero"; }
.label { font: 500 var(--t-label)/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-feature-settings: "zero"; }

/* running text: 20 px on 1.65 on a desktop, 18 px on 1.6 on a phone, charcoal on white, 62 to 70 characters a line */
.prose { font: 400 var(--t-body)/1.6 var(--f-text); color: var(--ink); max-width: var(--measure); }
@media (min-width: 48em) { .prose { line-height: 1.65; } }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { font-size: clamp(1.75rem, 1.5rem + 1.1vw, 2.5rem); margin-top: 2.2em; padding-top: 1.25rem; position: relative; }
.prose h2::before { content: ""; position: absolute; left: 0; top: 0; width: 4.5rem; height: var(--bar); background: var(--accent); }
.prose h3 { font-size: clamp(1.375rem, 1.25rem + .5vw, 1.75rem); margin-top: 1.9em; }
.prose h4 { font: 600 1.125rem/1.3 var(--f-ui); letter-spacing: 0; margin-top: 1.7em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .75em; }
.prose a:not([class]), .runlink, .textlink { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.prose a:not([class]):hover, .runlink:hover, .textlink:hover { color: var(--accent-ink); }
.prose :is(ul, ol):not([class]) { padding-left: 1.4em; }
.prose ul:not([class]) { list-style: none; }
.prose ul:not([class]) > li { position: relative; }
.prose ul:not([class]) > li::before { content: ""; position: absolute; left: -1.25em; top: .68em; width: .5em; height: .5em; background: var(--accent); }
.prose ol:not([class]) { list-style: decimal; }
.prose ol:not([class]) > li::marker { font: 500 .85em var(--f-mono); color: var(--accent-ink); }
.prose :is(ul, ol):not([class]) > li + li { margin-top: .55em; }
.prose blockquote:not([class]) { margin-inline: 0; padding: .2em 0 .2em 1.25em; border-left: var(--bar) solid var(--accent); font: 500 1.2em/1.45 var(--f-serif); color: var(--head); }
.prose figure { margin-block: 2.25em; }
.prose img { width: 100%; }
.prose table { font-size: var(--t-small); }
.prose th, .prose td { text-align: left; padding: .7rem .9rem .7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 var(--t-label)/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--rule); }
.prose--wide { max-width: none; }
figcaption, .caption { margin-top: .7rem; font: 400 var(--t-meta)/1.5 var(--f-text); color: var(--ink-2); max-width: 44rem; }
.credit { display: block; margin-top: .3rem; font: 400 .75rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

/* ---------------------------------------------------------------- signature elements (brief §2.4) */
/* 1 the case number: every investigation, project and paper carries one */
.caseno { font: 500 var(--t-mono)/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); white-space: nowrap; font-feature-settings: "zero"; }
/* 2 the case bar: a solid 6 px red bar that opens every section and every card, and runs under the active menu item */
.casebar { display: block; width: 7.5rem; height: var(--bar); background: var(--accent); border: 0; margin: 0; }
.casebar--full { width: 100%; }
.casebar--red { background: var(--red); }
/* 3 the exhibit tag: a small plate in the bottom-left corner of a photograph, with a red dot */
.exhibit { position: absolute; left: 0; bottom: 0; z-index: 2; display: inline-flex; align-items: center; gap: .55rem; max-width: 100%; padding: .42rem .7rem .4rem .6rem; background: var(--charcoal); color: var(--white);
  font: 500 .6875rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-feature-settings: "zero"; }
.exhibit::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--red-t25); }
.exhibit--lg { font-size: .75rem; padding: .55rem .9rem .5rem .75rem; }
/* 4 the redaction reveal: a phrase of a headline sits under a bar that slides away once (never under reduced motion) */
.redact { position: relative; display: inline-block; }
.redact::after { content: ""; position: absolute; inset: -.04em -.08em -.02em; background: var(--charcoal-d2); transform-origin: right center; animation: redact .55s .75s var(--ease) both; pointer-events: none; }
.s-light .redact::after, :root[data-surface="light"] .redact:not(.s-dark *)::after { background: var(--charcoal); }
.redact--j::after { right: -.34em; }
.redact--d1::after { animation-delay: .86s; } .redact--d2::after { animation-delay: .97s; } .redact--d3::after { animation-delay: 1.08s; } .redact--d4::after { animation-delay: 1.19s; }
/* on a dark photograph the bar is a tint of charcoal, so that it can be seen */
.hero .redact::after, .s-dark .redact::after { background: var(--charcoal-t25); }
@keyframes redact { from { transform: scaleX(1); } to { transform: scaleX(0); } }
/* 5 dossier tabs: the section navigation of a project or story looks like the tabs of a file */
.dtabs, .subnav ul, .tabs { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; border-bottom: var(--bar) solid var(--accent); }
.dtabs::-webkit-scrollbar, .subnav ul::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
.dtabs a, .dtabs button, .subnav a, .tabs a, .tabs button { flex: none; display: inline-flex; align-items: center; gap: .5em; min-height: 2.5rem; padding: .55rem 1.5rem .45rem 1rem; background: var(--bg-3); color: var(--ink);
  font: 500 var(--t-label)/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; clip-path: polygon(0 0, calc(100% - .8rem) 0, 100% .8rem, 100% 100%, 0 100%); transition: background .2s, color .2s; }
.dtabs a:hover, .dtabs button:hover, .subnav a:hover, .tabs a:hover, .tabs button:hover { background: var(--line-2); color: var(--head); }
.dtabs [aria-current], .dtabs .is-on, .subnav a[aria-current], .tabs [aria-current], .tabs [aria-selected="true"] { background: var(--red); color: var(--white); }
.s-dark .dtabs a:not([aria-current]):not(.is-on), .s-dark .subnav a:not([aria-current]), .s-dark .tabs a:not([aria-current]) { background: var(--charcoal-t10); color: var(--grey); }
/* 6 the stamp: a status in monospace capitals inside a 1 px frame */
.stamp, .badge { display: inline-flex; align-items: center; gap: .45em; padding: .3rem .5rem .26rem; border: 1px solid currentColor; font: 500 .6875rem/1.1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; font-feature-settings: "zero"; }
.stamp--red, .badge--red { color: var(--accent-ink); }
.stamp--solid, .badge--solid { background: var(--head); border-color: var(--head); color: var(--bg); }
.stamp--fill { background: var(--red); border-color: var(--red); color: var(--white); }
.stamp svg { width: .85rem; height: .85rem; }

/* ---------------------------------------------------------------- photographs: one treatment (brief §2.5; made in lib/media.py) */
.ph { position: relative; display: block; overflow: hidden; background: var(--charcoal-t07); aspect-ratio: 3 / 2; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ph--32 { aspect-ratio: 3 / 2; }
.ph--169 { aspect-ratio: 16 / 9; }
.ph--43 { aspect-ratio: 4 / 3; }
.ph--11 { aspect-ratio: 1; }
.ph--45 { aspect-ratio: 4 / 5; }
.ph--21 { aspect-ratio: 2 / 1; }
.ph--auto { aspect-ratio: auto; }
/* no picture: a typographic case card, made on purpose: charcoal, the bar, the case number, the name */
.ph--none { display: grid; align-content: space-between; gap: 1rem; padding: 1.1rem 1.1rem 1rem; background: var(--charcoal); color: var(--white); }
.ph--none::before { content: ""; width: 4.5rem; height: var(--bar); background: var(--red-t25); }
.ph--none b { font: 500 var(--t-mono)/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red-t45); }
.ph--none span { align-self: end; font: var(--w-head) clamp(1.125rem, .9rem + 1vw, 1.75rem)/1.08 var(--f-serif); letter-spacing: -.015em; color: var(--white); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
:root[data-lite="on"] .ph img, :root[data-lite="on"] .lite-hide { display: none; }
:root[data-lite="on"] .ph { background: var(--bg-3); min-height: 0; }
:root[data-lite="on"] .ph[class*="ph--"]:not(.ph--none) { aspect-ratio: auto; height: var(--bar); background: var(--accent); }

/* ---------------------------------------------------------------- buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 3rem; padding: .75rem 1.5rem; border: 2px solid var(--btn-bg); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-ink); font: 600 .9375rem/1.15 var(--f-ui); letter-spacing: .01em; text-align: center; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-s15); border-color: var(--red-s15); }
.btn--ghost { background: transparent; color: var(--head); border-color: var(--head); }
.btn--ghost:hover { background: var(--head); color: var(--bg); border-color: var(--head); }
.btn--sm { min-height: 2.5rem; padding: .45rem 1rem; font-size: .875rem; }
.btn--lg { min-height: 3.5rem; padding: .95rem 2rem; font-size: 1.0625rem; }
.btn[aria-disabled="true"] { opacity: 1; background: var(--bg-3); border-color: var(--line-2); color: var(--ink-2); cursor: not-allowed; }
.btnrow { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.more { display: inline-flex; align-items: center; gap: .5em; padding-bottom: .3rem; border-bottom: 2px solid var(--accent); font: 600 .9375rem/1.2 var(--f-ui); color: var(--head); white-space: nowrap; }
.more::after { content: "→"; transition: transform .2s var(--ease); }
.more:hover::after { transform: translateX(.3rem); }
.more--ext::after { content: "↗"; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------------------------------------------------------------- section heads: the case bar opens every section */
.rule { height: var(--bar); width: 7.5rem; background: var(--accent); border: 0; }
.sh { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .6rem 2rem; padding-top: 1.4rem; margin-bottom: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); }
.sh::before { content: ""; position: absolute; left: 0; top: 0; width: 7.5rem; height: var(--bar); background: var(--accent); }
.sh h2, .sh h1, .sh h3 { font-size: var(--t-h2); letter-spacing: -.02em; line-height: 1.02; }
.sh p { grid-column: 1; max-width: 46rem; font: 400 1.125rem/1.5 var(--f-text); color: var(--ink); }
.sh .more { grid-column: 2; grid-row: 1; margin-bottom: .4rem; }
.sh--plain { padding-top: 0; }
.sh--plain::before { content: none; }
@media (max-width: 40em) { .sh { grid-template-columns: minmax(0, 1fr); } .sh .more { grid-column: 1; grid-row: auto; justify-self: start; } }

/* ---------------------------------------------------------------- prototype notes and moved pages */
.moved__in { padding-block: clamp(4rem, 14vh, 9rem); display: grid; gap: 1rem; max-width: 46rem; }
.moved h1 { font-size: var(--t-h2); }
.moved a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
.pbar { display: none; }
.proto { display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; align-items: baseline; padding: .85rem 1rem; border: 1px dashed var(--ink-3); background: var(--bg-2); font: 400 var(--t-meta)/1.5 var(--f-text); color: var(--ink); max-width: 46rem; }
.proto > b { font: 500 .6875rem/1.5 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; border: 1px solid currentColor; color: var(--accent-ink); padding: .1rem .45rem; align-self: start; margin-top: .1rem; white-space: nowrap; }
.proto a { text-decoration: underline; text-underline-offset: .2em; }
.note { font: 400 var(--t-meta)/1.5 var(--f-text); color: var(--ink-2); }

/* ---------------------------------------------------------------- header (v0.6.0, corrected in v0.6.0a): the live site's header, the
   same on every page. One black bar that holds only, in this order: the menu button at the left, the logo in the
   centre; at the right the language button, the search, OSINT Analytica (outlined in red) and Donate (filled in
   red). Above it, for the prototype only, one thin line that scrolls away. The menu is a panel that slides in from
   the left over a darkened page (lib/shell.py); Ask M28 is inside it. On a phone the bar is menu button, logo, Donate.
   Sizes, colours and lettering are the live site's own: its .m28-header, .m28-lang-btn, .m28-pill and .m28-drawer
   rules, read from the backup of 14 Nov 2026. Two things differ on purpose: the lettering of the pills is 11 px, not
   10 (nothing on this site is smaller than 11 px), and red TEXT on the black uses the brighter red, so that it can be
   read. */
.hdr { position: sticky; top: -1.75rem; z-index: 40; background: var(--charcoal); color: var(--grey); color-scheme: dark;
  --bg: var(--charcoal); --head: var(--white); --ink: var(--grey); --ink-2: var(--grey-s22); --ink-3: var(--grey-s38); --focus: var(--white); }
.hdr__proto { display: flex; align-items: center; justify-content: center; height: 1.75rem; padding-inline: var(--gutter); background: var(--charcoal-d2); }
.hdr__proto p { font: 600 .6875rem/1.2 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--grey-s22); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr__proto b { color: var(--white); font-weight: 700; }
.hdr__proto a { color: var(--white); text-decoration: underline; text-underline-offset: .25em; }
.hdr__bar { height: 4.625rem; border-bottom: 1px solid var(--charcoal-t10); }
.hdr__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; max-width: 93.75rem; margin-inline: auto; padding-inline: 1rem; }
.hdr__menu { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; margin-left: -.375rem; color: var(--white); transition: color .2s; }
.hdr__menu .icon { width: 2rem; height: 2rem; stroke-width: 2.3; }      /* as heavy as the live site's menu sign */
.hdr__menu:hover, .hdr__search:hover, .drawer__close:hover { color: var(--red); }
/* the logo, exactly as supplied, in the centre of the bar, at the size it has on the live site (36, 43 and 50 px tall) */
.hdr__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hdr__logo img { display: block; width: auto; height: 2.25rem; }
.hdr__act { display: flex; align-items: center; flex: none; gap: 1rem; }
.hdr__search { display: none; place-items: center; width: 2.25rem; height: 2.5rem; color: var(--white); transition: color .2s; }
.hdr__search .icon { width: 1.5rem; height: 1.5rem; stroke-width: 2; }
/* the language button, as on the live site: a globe, the current language, a small arrow. It opens a short list of the
   three languages under their own names; the current one is red and ticked. A <details>: it opens without the script */
.hlang { position: relative; display: none; }
.hlang > summary { position: relative; display: flex; align-items: center; gap: .3125rem; padding: .375rem .75rem; border: 1px solid #2A2A2A; border-radius: 4px; font: 800 .75rem/1 var(--f-text); letter-spacing: .0625rem; text-transform: uppercase; color: #A9A9A9; cursor: pointer; list-style: none; transition: color .2s, border-color .2s; }
.hlang > summary::-webkit-details-marker { display: none; }
.hlang > summary .icon { width: .9375rem; height: .9375rem; }
.hlang__tri { width: 0; height: 0; margin-top: .0625rem; border: .25rem solid transparent; border-top: .3125rem solid currentColor; border-bottom-width: 0; transition: transform .2s; }
.hlang[open] .hlang__tri { transform: rotate(180deg); }
.hlang > summary:hover, .hlang[open] > summary { color: var(--white); border-color: var(--charcoal-t30); }
.hlang > ul { position: absolute; top: calc(100% + .5rem); right: 0; z-index: 5; min-width: 10rem; overflow: hidden; background: #0F0F0F; border: 1px solid #1E1E1E; border-radius: 4px; box-shadow: 0 8px 32px rgb(0 0 0 / .6); }
.hlang > ul a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6875rem 1rem; border-bottom: 1px solid #161616; font: 700 .8125rem/1.3 var(--f-text); color: #BBBBBB; transition: background .15s, color .15s; }
.hlang > ul li:last-child a { border-bottom: 0; }
.hlang > ul a:hover { background: var(--charcoal-t10); color: var(--white); }
.hlang > ul a[aria-current] { color: var(--red-t45); }
.hlang > ul .icon { width: 1rem; height: 1rem; stroke-width: 2.4; }
/* the live site's pills: small capitals, fully rounded. Outlined in red (OSINT Analytica), filled in the live Donate
   red; outlined in grey (Ask M28, in the menu panel) */
.pill { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .625rem 1.5rem; border: 1px solid transparent; border-radius: 999px;
  font: 800 .6875rem/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: #F1F1F1; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.pill .icon { width: .95rem; height: .95rem; }
.pill--ask { border-color: var(--charcoal-t25); }
.pill--ask:hover { background: var(--white); border-color: var(--white); color: #000; }
.pill--line { border-color: var(--red); }
.pill--line:hover { background: var(--red); color: var(--white); }
.pill--red { background: var(--red-s30); color: var(--white); }
.pill--red:hover { background: #A52020; transform: translateY(-1px); }
.pill__s { display: none; }
/* what the bar shows at each width, measured so that nothing ever touches the centred logo in English, French or
   Dutch. A phone: menu button, logo, Donate. From 48em: the language button and the search as well. From 80em: OSINT
   Analytica too, and the bar is complete. What the bar does not show is at the top of the menu panel. */
.hdr__osint { display: none; }
@media (max-width: 55.99em) {
  /* a long word for "Donate" (French: "Faire un don") would run into the logo: the bar shows the short word ("Don");
     the long one is still read aloud */
  .hdr__donate .pill__s { display: inline; }
  .hdr__donate .pill__s + .pill__l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
/* below 64em the bar is a little tighter than the live site's (10 px between things, 16 px inside a pill; on a phone
   13 px), so that the Dutch and the English "Donate" keep their distance from the logo */
@media (max-width: 63.99em) { .hdr__act { gap: .625rem; } .hdr__act .pill { padding-inline: 1rem; } }
@media (max-width: 47.99em) { .hdr__act .pill { padding-inline: .8rem; } }
@media (max-width: 23.49em) { .hdr__logo img { height: 2rem; } }
@media (max-width: 22.49em) { .hdr__in { padding-inline: .75rem; } .hdr__logo img { height: 1.625rem; } }
@media (min-width: 25em) { .hdr__logo img { height: 2.6875rem; } }
@media (min-width: 40em) { .hdr__in { padding-inline: 1.5rem; } }
@media (min-width: 48em) { .hdr__logo img { height: 3.125rem; } .hdr__search { display: grid; } .hlang { display: block; } }
@media (min-width: 80em) { .hdr__osint { display: inline-flex; } }

/* the menu: a panel that slides in from the left over a darkened page (the live site's "drawer"). Without the script it
   opens through its #menu address; with it, Esc closes it, the keyboard stays inside it and the button says whether it
   is open (assets/js/core.js). Closed, it is hidden from the keyboard and from screen readers. */
.drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 90; display: flex; flex-direction: column; width: min(20rem, 88vw); background: #0A0A0A; color: var(--grey); border-right: 1px solid var(--charcoal-t10);
  transform: translateX(-102%); visibility: hidden; transition: transform .3s cubic-bezier(.4, 0, .2, 1), visibility 0s .3s; color-scheme: dark;
  --bg: #0A0A0A; --head: var(--white); --ink: var(--grey); --ink-2: var(--grey-s22); --ink-3: var(--grey-s38); --line: var(--charcoal-t12); --line-2: var(--charcoal-t25);
  --accent: var(--red); --accent-ink: var(--red-t45); --focus: var(--white); --field: var(--charcoal-t07); --field-line: var(--charcoal-t30); }
.drawer:target, .drawer.is-open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.4, 0, .2, 1), visibility 0s; }
.drawer__shade { position: fixed; inset: 0; z-index: 85; background: rgb(0 0 0 / .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.drawer:target ~ .drawer__shade, .drawer.is-open ~ .drawer__shade { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
.menu-open body { overflow: hidden; }
.drawer__head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.25rem .5rem 2.25rem; }
.drawer__t { font: 800 .8125rem/1 var(--f-text); letter-spacing: .15em; text-transform: uppercase; color: var(--charcoal-t50); }
.drawer__close { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: var(--white); transition: color .2s; }
.drawer__close .icon { width: 1.75rem; height: 1.75rem; stroke-width: 2.2; }
.drawer__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .5rem 2.25rem 1.5rem; }
/* the top of the panel. At every width: Ask M28. Where the bar has no room for them (a phone): the languages, the
   search field and OSINT Analytica as well. OSINT Analytica is in the panel once: here, or as the red line of the list */
.drawer__top { display: grid; gap: .875rem; padding-bottom: 1.25rem; margin-bottom: .25rem; border-bottom: 1px solid var(--charcoal-t12); }
.dlang { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; }
.dlang .icon { flex: none; width: 1.125rem; height: 1.125rem; color: var(--charcoal-t50); }
.dlang a { display: inline-flex; align-items: center; min-height: 2.75rem; font: 700 .875rem/1 var(--f-text); color: #BBBBBB; transition: color .2s; }
.dlang a:hover { color: var(--white); }
.dlang a[aria-current] { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .45em; }
.drawer__top .search input { min-height: 2.75rem; font-size: 1rem; }
.drawer__pills { display: flex; flex-wrap: wrap; gap: .625rem; }
.drawer__pills .pill { padding: .8rem 1.25rem; }
@media (min-width: 48em) { .dlang, .drawer__top .search { display: none; } }
@media (max-width: 79.99em) { .drawer__extli { display: none; } }
@media (min-width: 80em) { .drawer__osint { display: none; } }
/* the sections: uppercase, thin dividers, each opening in place. A section that is one link (.dlink: Investigations,
   Research & Analysis, Films & Documentaries since 25 Nov 2026) looks the same and has no arrow */
.drawer__list > li { border-bottom: 1px solid var(--charcoal-t12); }
.dsec > summary, .drawer__ext, .dlink { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.25rem; padding: .75rem 0; font: 700 1rem/1.2 var(--f-text); letter-spacing: .075em; text-transform: uppercase;
  color: var(--white); cursor: pointer; list-style: none; transition: color .2s, padding .2s; }
.dsec > summary::-webkit-details-marker { display: none; }
.dsec > summary > span { display: inline-flex; align-items: center; gap: .55em; }
.dsec > summary .icon { flex: none; width: 1.1rem; height: 1.1rem; }
.dsec > summary .dsec__chev { color: var(--charcoal-t50); transition: transform .2s; }
.dsec[open] > summary .dsec__chev { transform: rotate(180deg); }
.dsec > summary:hover, .drawer__ext:hover, .dlink:hover { color: var(--red-t45); padding-left: .375rem; }
.dsec--red > summary, .drawer__ext { color: var(--red-t45); }
.drawer__ext { justify-content: flex-start; gap: .45em; }      /* the arrow sits beside the name */
.dsec--red > summary:hover, .drawer__ext:hover { color: var(--white); }
.dsec__in { display: grid; padding-bottom: 1rem; }
.dsec__in a { display: flex; flex-direction: column; justify-content: center; min-height: 2.75rem; padding: .5rem 0 .5rem .875rem; border-left: 2px solid var(--charcoal-t12); transition: border-color .2s; }
.dsec__in a:hover, .dsec__in a[aria-current] { border-left-color: var(--red); }
.dsec__in b { display: block; font: 600 .9375rem/1.3 var(--f-text); color: var(--white); }
.dsec__in span { display: block; margin-top: .15rem; font: 400 .8125rem/1.4 var(--f-text); color: var(--grey-s22); }
.dsec__in .dsec__all b { font: 800 .75rem/1.3 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--grey-s22); }
.dsec__in .dsec__all b::after { content: " →"; }
.dsec__group { margin: .7rem 0 .15rem; font: 800 .6875rem/1.2 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal-t50); }
/* reading options (text size, night reading, contrast, low data): shown only when the script runs */
.dsec--quiet > summary { min-height: 2.75rem; font-size: .8125rem; color: var(--grey-s22); }
.dsec--quiet .tools__row:first-of-type { border-top: 0; }
.tools__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .75rem; padding: .5rem 0; border-top: 1px solid var(--charcoal-t12); font: 500 .875rem/1.2 var(--f-text); color: var(--grey); }
.tools__row div { display: flex; }
.tools__row button { min-width: 3rem; min-height: 2.75rem; padding: 0 .6rem; border: 1px solid var(--charcoal-t25); margin-left: -1px; font: 600 .8125rem/1 var(--f-text); color: var(--grey-s22); }
.tools__row button[aria-pressed="true"] { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.tools__note { margin: .7rem 0 1rem; font: 400 .8125rem/1.45 var(--f-text); color: var(--grey-s38); }
.drawer__foot { flex: none; padding: 1.25rem 2.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--charcoal-t10); }
.drawer__foot .pill { padding: .8rem 1.75rem; }

/* v0.6.2 (Bex, 24 Nov 2026): the header stays in place while the page scrolls, at every width, as on the live site.
   It no longer steps aside on phones and tablets. */

/* ---------------------------------------------------------------- breadcrumbs and page heads */
.crumbs { display: flex; flex-wrap: wrap; gap: .25rem .6rem; font: 400 .75rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--head); text-decoration: underline; text-underline-offset: .25em; }
.crumbs li { display: flex; gap: .6rem; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs [aria-current] { color: var(--ink-3); }
.phead { padding-block: clamp(1.25rem, 1rem + 1vw, 2rem) clamp(2rem, 1.5rem + 2.4vw, 3.75rem); border-bottom: 1px solid var(--line); background: var(--bg); }
.phead .crumbs { margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
.phead .kicker { margin-bottom: 1rem; padding-top: 1.25rem; position: relative; }
.phead .kicker::after { content: ""; position: absolute; left: 0; top: 0; width: 7.5rem; height: var(--bar); background: var(--accent); }
.phead h1 { max-width: 20ch; }
/* a page head without a kicker still opens with the case bar */
.phead .crumbs-nav + h1 { position: relative; padding-top: 1.75rem; }
.phead .crumbs-nav + h1::before { content: ""; position: absolute; left: 0; top: 0; width: 7.5rem; height: var(--bar); background: var(--accent); }
.phead .deck { margin-top: 1.25rem; }
.phead__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap) clamp(2rem, 5vw, 5rem); align-items: end; }
.phead__aside { font-size: var(--t-small); line-height: 1.55; color: var(--ink-2); }
@media (max-width: 56em) { .phead__grid { grid-template-columns: 1fr; } }
.subnav { margin-top: clamp(1.75rem, 1.25rem + 2vw, 3rem); margin-bottom: calc(-1 * clamp(2rem, 1.5rem + 2.4vw, 3.75rem)); }
.phead .subnav ul { border-bottom: 0; }

/* ---------------------------------------------------------------- cards (brief §2.6): picture, case bar, kicker with the case number,
   serif headline, a standfirst of two lines, date and country in monospace */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card .ph { flex: none; }
.card__body { display: flex; flex-direction: column; gap: .65rem; flex: 1; padding-top: 1rem; border-top: var(--bar) solid var(--accent); }
.card__title { font: 600 clamp(1.3125rem, 1.2rem + .5vw, 1.625rem)/1.12 var(--f-serif); letter-spacing: -.014em; color: var(--head); text-wrap: balance; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__title a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: .16em; }
.card:hover .ph img { transform: scale(1.035); }
.card__deck { font: 400 1rem/1.5 var(--f-text); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; padding-top: .2rem; }
.card--lg .card__title { font-size: clamp(1.875rem, 1.4rem + 2vw, 3.25rem); font-weight: var(--w-head); line-height: 1.03; letter-spacing: -.022em; }
.card--lg .card__deck { font-size: 1.1875rem; -webkit-line-clamp: 3; max-width: 40rem; }
.card--md .card__title { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); line-height: 1.08; }
.card--sm .card__title { font-size: 1.1875rem; line-height: 1.16; }
.card--sm .card__deck { display: none; }
.card--row { flex-direction: row; gap: 1.1rem; align-items: start; }
.card--row .ph { flex: 0 0 34%; }
.card--row .card__body { padding-top: .8rem; }
.card--row .card__title { font-size: 1.25rem; }
.card--row .card__deck { display: none; }
.card--text .card__body { padding-top: 1.1rem; }
.card a.kicker-link { position: relative; z-index: 2; }
.card .lang-tag, .lang-tag { font: 500 .6875rem/1 var(--f-mono); letter-spacing: .1em; border: 1px solid currentColor; padding: .2rem .35rem; color: var(--ink-2); }
/* a card laid over its picture (dark, cinematic) */
.card--over { justify-content: flex-end; min-height: clamp(20rem, 46vw, 34rem); color: var(--white); --head: var(--white); --ink-2: var(--grey); --accent: var(--red-t25); --accent-ink: var(--red-t45); --line-2: var(--charcoal-t40); }
.card--over .ph { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.card--over::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(0 0 0 / .96) 0%, rgb(0 0 0 / .72) 38%, rgb(0 0 0 / .12) 72%); pointer-events: none; }
.card--over .card__body { position: relative; z-index: 2; flex: none; margin: 0 clamp(1rem, 2.5vw, 2rem) clamp(1rem, 2.5vw, 2rem); padding-top: 1.1rem; }
.card--over .card__title { color: var(--white); }
.card--over .kicker > span:not(.caseno), .card--over .meta { color: var(--grey); }
.card--over .exhibit { bottom: auto; top: 0; }
.grid { display: grid; gap: clamp(1.75rem, 1.25rem + 2vw, 3rem) var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.grid--ruled > * + * { border-top: 0; }
@media (min-width: 62em) { .grid--fixed.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--fixed.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid--fixed.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.list-ruled > li { padding-block: 1.1rem; border-top: 1px solid var(--line); }
.list-ruled > li:first-child { border-top: var(--bar) solid var(--accent); }
.rail { position: relative; }
.rail__track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { flex: 0 0 min(78vw, 21rem); scroll-snap-align: start; min-width: 0; }
.rail__ctrl { display: none; }
.rail__ctrl button { position: absolute; top: 5.9rem; z-index: 3; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--charcoal); color: var(--white); border: 2px solid var(--white); transform: translateY(-50%); }
.rail__ctrl button[data-dir="-1"] { left: -.4rem; }
.rail__ctrl button[data-dir="1"] { right: -.4rem; }
.rail__ctrl button:hover { background: var(--red); border-color: var(--red); }
.js .rail__ctrl { display: block; }
@media (max-width: 61.99em), (hover: none) { .js .rail__ctrl { display: none; } }

/* ---------------------------------------------------------------- key findings, quotes, statistics */
.kf { background: var(--bg-2); border-top: var(--bar) solid var(--accent); padding: clamp(1.25rem, 1rem + 1.4vw, 2.25rem); }
.kf__title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font: 500 var(--t-label)/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 1rem; }
.kf ol { counter-reset: kf; display: grid; }
.kf li { counter-increment: kf; display: grid; grid-template-columns: 2.75rem 1fr; gap: .25rem; padding: .95rem 0; border-top: 1px solid var(--line-2); font: 400 1.125rem/1.5 var(--f-text); color: var(--ink); }
.kf li::before { content: counter(kf, decimal-leading-zero); font: 500 .875rem/1.9 var(--f-mono); color: var(--accent-ink); }
.kf li strong { color: var(--head); }
.kf li small { display: block; margin-top: .4rem; font: 400 var(--t-meta)/1.45 var(--f-text); color: var(--ink-2); }
.kf li small a { text-decoration: underline; text-underline-offset: .2em; }
.pull { position: relative; padding-top: 1.5rem; margin-block: 2.75rem; font: 600 clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem)/1.14 var(--f-serif); letter-spacing: -.018em; color: var(--head); text-wrap: balance; }
.pull::before { content: ""; position: absolute; left: 0; top: 0; width: 7.5rem; height: var(--bar); background: var(--accent); }
.pull cite, .pull footer { display: block; margin-top: 1rem; font: 400 var(--t-mono)/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal; color: var(--ink-2); }
/* key numbers are red and large */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0 var(--gap); border-top: var(--bar) solid var(--accent); }
.stats > * { padding: 1.1rem 0 1.2rem; border-bottom: 1px solid var(--line-2); }
.stats b { display: block; font: 700 clamp(2.5rem, 1.9rem + 2.4vw, 4.25rem)/.95 var(--f-serif); letter-spacing: -.03em; color: var(--accent-ink); font-feature-settings: "lnum"; }
.s-dark .stats b, :root[data-surface="dark"] .stats b { color: var(--red-t25); }
.stats span { display: block; margin-top: .55rem; font: 500 var(--t-label)/1.35 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* ---------------------------------------------------------------- chips and filters */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .5em; min-height: 2.375rem; padding: .3rem .85rem; border: 1px solid var(--line-2); border-radius: var(--radius); font: 500 .875rem/1.2 var(--f-ui); color: var(--ink); background: var(--bg); cursor: pointer; }
.chip:hover { border-color: var(--head); }
.chip[aria-pressed="true"], .chip[aria-current], .chip.is-on { background: var(--head); border-color: var(--head); color: var(--bg); }
.chip small { font: 400 .75rem/1 var(--f-mono); color: inherit; opacity: .8; }

/* ---------------------------------------------------------------- forms */
.field { display: grid; gap: .45rem; min-width: 0; }
.field > span, .field > label, .flabel { font: 600 .9375rem/1.3 var(--f-ui); color: var(--head); }
.field small { font: 400 var(--t-meta)/1.4 var(--f-text); color: var(--ink-2); }
.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .field select, .field textarea { width: 100%; min-width: 0; max-width: 100%; min-height: 3rem; padding: .65rem .85rem; border: 1px solid var(--field-line); border-radius: var(--radius); background: var(--field); color: var(--ink); font: 400 1.0625rem/1.4 var(--f-text); }
.field textarea { min-height: 8rem; resize: vertical; }
.field select, .filters select, select.input { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: var(--chev); background-repeat: no-repeat; background-position: right .9rem center; background-size: .75rem; }
.input:focus-visible, .field :is(input, select, textarea):focus-visible { outline-offset: 0; border-color: var(--focus); }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; max-width: 40rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: var(--t-small); line-height: 1.45; }
.check input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--red); }
.search { display: flex; min-width: 0; }
.search input { flex: 1; min-width: 0; min-height: 3rem; padding: .6rem .9rem; border: 1px solid var(--field-line); border-right: 0; background: var(--field); color: var(--ink); font: 400 1rem/1.3 var(--f-text); border-radius: var(--radius) 0 0 var(--radius); }
.search input:focus-visible { outline-offset: -2px; }
.search button { display: grid; place-items: center; width: 3.25rem; background: var(--red); color: var(--white); border-radius: 0 var(--radius) var(--radius) 0; }
.search button:hover { background: var(--red-s15); }
.signup { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; max-width: 34rem; }
.signup .field { grid-column: 1 / -1; }
.signup .note, .signup__msg { grid-column: 1 / -1; }
.signup__msg { font: 500 var(--t-meta)/1.4 var(--f-ui); color: var(--head); }
@media (max-width: 30em) { .signup { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- tables, definition lists, details */
.table { font-size: var(--t-small); }
.table th { text-align: left; padding: .7rem 1rem .7rem 0; font: 500 var(--t-label)/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--rule); white-space: nowrap; }
.table td { padding: .95rem 1rem .95rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table td.num, .table .mono { font-family: var(--f-mono); font-size: var(--t-mono); white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.dl { display: grid; grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr); border-top: 2px solid var(--rule); }
.dl dt { padding: .8rem 1rem .8rem 0; border-bottom: 1px solid var(--line); font: 500 var(--t-label)/1.5 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.dl dd { margin: 0; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); }
.acc { border-top: 1px solid var(--line-2); }
.acc > summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; list-style: none; font: 600 1.0625rem/1.3 var(--f-ui); color: var(--head); }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: "+"; font: 400 1.5rem/1 var(--f-mono); color: var(--accent-ink); }
.acc[open] > summary::after { content: "–"; }
.acc > div { padding-bottom: 1.25rem; }

/* ---------------------------------------------------------------- bands: network rows, newsletter, calls to action */
.band { padding-block: var(--sec); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap) clamp(2rem, 5vw, 6rem); align-items: center; }
@media (max-width: 56em) { .split { grid-template-columns: 1fr; } }
.net__intro { max-width: 46rem; font-size: 1.125rem; line-height: 1.5; color: var(--ink-2); }
/* Our Collaborative Network: four rows, alternate directions; they pause on hover and on keyboard focus (brief §3.7) */
.mq { overflow: hidden; border-top: 1px solid var(--line-2); }
.mq:last-child { border-bottom: 1px solid var(--line-2); }
.mq__track { display: flex; width: max-content; animation: mq-left var(--mq-dur, 60s) linear infinite; }
.mq:nth-child(odd) .mq__track { animation-name: mq-right; }
.mq__set { display: flex; flex: none; }
.mq__set li { flex: none; }
.mq:hover .mq__track, .mq:focus-within .mq__track { animation-play-state: paused; }
/* every logo sits in an equal cell, at an even optical size: grey at rest, its own colours on hover or focus */
.logo { display: grid; place-items: center; width: 13.5rem; height: 6.5rem; padding: 1.25rem 1.75rem; border-right: 1px solid var(--line-2); background: var(--white); font: 700 1rem/1.2 var(--f-ui); color: var(--charcoal); text-align: center; }
.logo img { max-width: min(9.5rem, 100%); max-height: 3rem; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .92; transition: filter .25s, opacity .25s; }
.logo--s80 img { max-width: min(8rem, 100%); max-height: 2.5rem; }
.logo--s65 img { max-width: min(7rem, 100%); max-height: 2.1rem; }
.logo--s120 img { max-width: min(10.5rem, 100%); max-height: 3.6rem; }
/* a logo whose own colours turn pale in greyscale is darkened at rest, so that no cell looks empty */
.logo--faint img { filter: grayscale(1) brightness(.5) contrast(1.6); opacity: 1; }
.logo:hover img, .logo:focus-visible img { filter: none; opacity: 1; }
.logo:hover, .logo:focus-visible { box-shadow: inset 0 calc(-1 * var(--bar)) 0 var(--red); }
.logo:focus-visible { outline-offset: -4px; }
@keyframes mq-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mq-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------------------------------------------------------------- the cinematic hero (brief §2.5, §3.1 to §3.3): a full-bleed treated
   photograph under a dark gradient; the case number, a headline with the redaction reveal, the standfirst; the exhibit
   tag in the bottom-left corner, the credit in the bottom-right. The homepage, stories, projects and landing pages
   all open with it; each adds its own modifier. */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(calc(100vh - var(--hdr-h)), 60rem); overflow: hidden; background: var(--charcoal-d2); color: var(--grey); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media .ph { width: 100%; height: 100%; aspect-ratio: auto; background: var(--charcoal-d2); }
.hero__media img { object-position: center 35%; }
.hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(0 0 0 / .95) 0%, rgb(0 0 0 / .8) 36%, rgb(0 0 0 / .2) 70%, rgb(0 0 0 / 0) 100%),
              linear-gradient(0deg, rgb(0 0 0 / .96) 0%, rgb(0 0 0 / .4) 34%, rgb(0 0 0 / 0) 60%),
              linear-gradient(180deg, rgb(0 0 0 / .7) 0%, rgb(0 0 0 / 0) 22%); }
.hero__in { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap) clamp(2rem, 4vw, 4.5rem); align-items: end; align-content: end; padding-block: clamp(6rem, 15vh, 9.5rem) 4.5rem; }
.hero .kicker { margin-bottom: 1.1rem; }
.hero .kicker > span:not(.caseno), .hero .kicker > a { color: var(--grey); }
.hero h1 { max-width: 16ch; font: var(--w-head) var(--t-display)/.96 var(--f-serif); letter-spacing: -.03em; color: var(--white); text-wrap: balance; }
.hero--l2 h1 { max-width: 19ch; font-size: clamp(2.75rem, .9rem + 6.3vw, 7rem); }
.hero--l3 h1 { max-width: 24ch; font-size: clamp(2.5rem, 1.1rem + 4.5vw, 5.25rem); line-height: .99; letter-spacing: -.026em; }
.hero h1 a:hover { text-decoration: underline; text-decoration-color: var(--red-t25); text-decoration-thickness: 4px; text-underline-offset: .1em; }
.hero__deck { margin-top: 1.5rem; max-width: 40rem; font: 400 var(--t-deck)/1.42 var(--f-text); color: var(--white); text-wrap: pretty; }
.hero .meta { margin-top: 1.25rem; color: var(--grey); }
.hero .btnrow { margin-top: 1.75rem; }
.hero__tag { z-index: 3; }
.hero__credit { position: absolute; right: 0; bottom: 0; z-index: 3; margin: 0; padding: .42rem var(--gutter) .4rem .8rem; background: rgb(0 0 0 / .82); font: 400 .6875rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--grey-s22); }
.hero--land { min-height: min(62vh, 40rem); }
.hero--land h1 { max-width: 18ch; font-size: var(--t-h1); line-height: 1; }
@media (max-width: 61.99em) {
  /* phones and tablets: the photograph stays large; the words start over its lower part and run on below it */
  .hero { min-height: 0; }
  .hero__media { bottom: auto; height: min(74vh, 40rem); }
  .hero__media::after { background: linear-gradient(0deg, rgb(0 0 0 / 1) 0%, rgb(0 0 0 / .9) 30%, rgb(0 0 0 / .3) 62%, rgb(0 0 0 / 0) 82%); }
  .hero__in { padding-block: min(34vh, 19rem) 1.75rem; }
  .hero__tag { top: 0; bottom: auto; }
  .hero__credit { position: static; margin-top: 1.25rem; padding: 0; background: none; }
  .hero--land { min-height: 0; }
  .hero--land .hero__in { padding-top: min(30vh, 16rem); }
}

/* ---------------------------------------------------------------- special projects: large dark cinematic cards with their key numbers
   in big red figures (brief §3.1) */
.pcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.pcard { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: clamp(31rem, 50vw, 43rem); overflow: hidden; background: var(--charcoal-d2); color: var(--grey); border-top: var(--bar) solid var(--red-t25); }
.pcard > .ph { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; height: 100%; background: var(--charcoal-d2); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(0 0 0 / .98) 0%, rgb(0 0 0 / .9) 40%, rgb(0 0 0 / .3) 76%, rgb(0 0 0 / .55) 100%); }
.pcard__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding: 1.1rem clamp(1.1rem, 2.4vw, 2.25rem) 0; }
.pcard__top .caseno { color: var(--white); background: var(--charcoal-d2); padding: .35rem .6rem; }
.pcard__top .stamp { color: var(--white); background: rgb(0 0 0 / .6); }
.pcard__body { margin-top: auto; padding: 2rem clamp(1.1rem, 2.4vw, 2.25rem) clamp(1.25rem, 2.2vw, 2rem); }
.pcard h3 { font: var(--w-head) clamp(2.5rem, 1.5rem + 3.7vw, 4.75rem)/.96 var(--f-serif); letter-spacing: -.028em; color: var(--white); }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard:hover h3 a { text-decoration: underline; text-decoration-color: var(--red-t25); text-decoration-thickness: 4px; text-underline-offset: .1em; }
.pcard:hover > .ph img { transform: scale(1.03); }
.pcard__sub { margin-top: .9rem; max-width: 34rem; font: 400 1.1875rem/1.42 var(--f-text); color: var(--white); }
.pcard__nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.25rem, 1fr)); gap: 0 1.25rem; margin: 1.6rem 0 0; border-top: 1px solid rgb(255 255 255 / .32); }
.pcard__nums div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding-top: 1rem; }
.pcard__nums dd { margin: 0; font: 700 clamp(2.5rem, 1.7rem + 2.7vw, 4.5rem)/.88 var(--f-serif); letter-spacing: -.035em; color: var(--red-t25); font-feature-settings: "lnum"; }
.pcard__nums dt { margin-top: .55rem; font: 500 var(--t-label)/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.pcard .more { margin-top: 1.5rem; color: var(--white); border-bottom-color: var(--red-t25); }
@media (max-width: 54em) {
  .pcards { grid-template-columns: minmax(0, 1fr); }
  .pcard { min-height: 38rem; }
  .pcard::before { background: linear-gradient(0deg, rgb(0 0 0 / .98) 0%, rgb(0 0 0 / .94) 52%, rgb(0 0 0 / .3) 76%, rgb(0 0 0 / .55) 100%); }
}

/* ---------------------------------------------------------------- a feature card: the picture at the left, the words at the right */
.card--feat { display: grid; grid-template-columns: minmax(0, 1fr); }
.card--feat .card__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.75rem); font-weight: var(--w-head); line-height: 1; letter-spacing: -.026em; }
.card--feat .card__deck { font-size: 1.1875rem; line-height: 1.5; color: var(--ink); -webkit-line-clamp: 4; }
@media (min-width: 62em) {
  .card--feat { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(1.5rem, 3vw, 3rem); align-items: stretch; }
  .card--feat .ph { height: 100%; min-height: 24rem; aspect-ratio: auto; }
  .card--feat .card__body { gap: 1rem; padding-top: 1.4rem; }
}

/* ---------------------------------------------------------------- a film: its own thumbnail (never treated), a play mark, the title */
.vc { position: relative; display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.vc__thumb { position: relative; border-top: var(--bar) solid var(--accent); }
.vc .ph { aspect-ratio: 16 / 9; background: var(--charcoal-d2); }
.vc__play { position: absolute; right: .75rem; bottom: .75rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgb(0 0 0 / .85); border: 2px solid var(--white); color: var(--white); transition: background .2s, border-color .2s; }
.vc__play .icon { width: 1rem; height: 1rem; transform: translateX(1px); }
.vc:hover .vc__play { background: var(--red); border-color: var(--red); }
.vc__label { position: absolute; left: 0; top: 0; max-width: calc(100% - 1rem); padding: .4rem .65rem .36rem; background: var(--charcoal); font: 500 .6875rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc__title { font: 600 1.1875rem/1.16 var(--f-serif); letter-spacing: -.01em; color: var(--head); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vc__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.vc:hover .vc__title a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .16em; }
.vc:hover .ph img { transform: scale(1.035); }
.rail--docs { --rail-w: min(78vw, 21.5rem); }
.rail--docs .rail__track > * { flex-basis: var(--rail-w); }

/* ---------------------------------------------------------------- the Evidence Room: its own identity inside the system (brief §3.4):
   a deep ground with a fine survey grid, the name between brackets, corner brackets around what is under examination,
   and large registry tiles */
.er { position: relative; --bg: var(--charcoal-d1); background-color: var(--charcoal-d1);
  background-image: linear-gradient(var(--charcoal-t04) 1px, transparent 1px), linear-gradient(90deg, var(--charcoal-t04) 1px, transparent 1px);
  background-size: 3rem 3rem; background-position: center top; }
.er-mark { display: inline-flex; align-items: center; gap: .7em; font: 500 var(--t-label)/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--white); }
.er-mark::before, .er-mark::after { content: ""; width: .6em; height: 1.6em; border: 2px solid var(--red-t25); }
.er-mark::before { border-right: 0; }
.er-mark::after { border-left: 0; }
.brk { position: relative; }
.brk::before, .brk::after { content: ""; position: absolute; width: 1rem; height: 1rem; border: 2px solid var(--grey-s38); pointer-events: none; transition: border-color .2s; }
.brk::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.brk::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
a.brk:hover::before, a.brk:hover::after, .brk:hover::before, .brk:hover::after { border-color: var(--red-t25); }
.regs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.reg { position: relative; display: flex; flex-direction: column; gap: .5rem; min-height: 14rem; padding: 1.1rem 1.25rem 1.2rem; background: var(--charcoal); border-top: var(--bar) solid var(--red-t25); color: var(--grey); transition: background .2s; }
.reg:hover { background: var(--charcoal-t07); }
.reg__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: auto; padding-bottom: 1.25rem; }
.reg__top .icon { width: 2.25rem; height: 2.25rem; color: var(--white); }
.reg__n { font: 700 clamp(2.75rem, 1.9rem + 2.6vw, 4.5rem)/.82 var(--f-serif); letter-spacing: -.035em; color: var(--red-t25); font-feature-settings: "lnum"; }
.reg__ref { font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey-s38); }
.reg b { font: 600 clamp(1.3125rem, 1.15rem + .6vw, 1.625rem)/1.08 var(--f-serif); letter-spacing: -.012em; color: var(--white); }
.reg:hover b { text-decoration: underline; text-decoration-color: var(--red-t25); text-decoration-thickness: 2px; text-underline-offset: .16em; }
.reg__d { font: 400 .9375rem/1.4 var(--f-text); color: var(--grey-s22); }
@media (max-width: 40em) { .regs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } .reg { min-height: 11.5rem; padding: .9rem .9rem 1rem; } .reg__top .icon { width: 1.75rem; height: 1.75rem; } .reg__d { display: none; } }

/* ---------------------------------------------------------------- a document as a thumbnail (brief §3.2, §3.4): a sheet of paper with
   its record number, its publisher and a stamp; the page itself where M28 holds a copy */
:root, .s-light, .s-dark { --sheet: var(--grey); --sheet-line: var(--grey-s18); }
.s-grey { --sheet: var(--white); --sheet-line: var(--grey-s08); }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); gap: 2rem var(--gap); margin-block: 1.25rem 1.5rem; }
.doc { display: flex; flex-direction: column; gap: .85rem; min-width: 0; }
.doc__sheet { position: relative; display: flex; flex-direction: column; gap: .45rem; aspect-ratio: 3 / 4; padding: 1rem .9rem .9rem; background: var(--sheet); color: var(--charcoal); overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 1.5rem) 0, 100% 1.5rem, 100% 100%, 0 100%); border-top: var(--bar) solid var(--red); transition: transform .25s var(--ease); }
.doc__sheet::after { content: ""; position: absolute; right: 0; top: 0; width: 1.5rem; height: 1.5rem; background: linear-gradient(225deg, transparent 50%, var(--sheet-line) 50%); }
.doc__no { font: 500 var(--t-mono)/1.2 var(--f-mono); letter-spacing: .08em; color: var(--red); }
.doc__pub { font: 500 .6875rem/1.35 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--charcoal-t25); overflow-wrap: anywhere; padding-right: 1rem; }
.doc__lines { flex: 1; margin-block: .6rem .5rem; background: repeating-linear-gradient(180deg, var(--sheet-line) 0 3px, transparent 3px .8rem); -webkit-mask-image: linear-gradient(90deg, #000 0 78%, transparent 78%); mask-image: linear-gradient(90deg, #000 0 78%, transparent 78%); }
.doc__sheet .stamp { align-self: flex-start; background: var(--sheet); color: var(--charcoal); transform: rotate(-3deg); transform-origin: left bottom; }
.doc__sheet .stamp--red { color: var(--red); }
.doc__sheet--img { padding: 0; }
.doc__sheet--img img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.1); }
.doc__sheet--img .stamp { position: absolute; left: .7rem; bottom: .8rem; }
.doc__txt { display: grid; gap: .3rem; }
.doc__txt b { font: 600 1.0625rem/1.2 var(--f-serif); letter-spacing: -.006em; color: var(--head); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.doc__m { font: 400 .75rem/1.4 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); overflow-wrap: anywhere; }
.doc:hover .doc__sheet { transform: translateY(-.25rem); }
.doc:hover .doc__txt b { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .16em; }
@media (max-width: 40em) { .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .75rem; } }

/* ---------------------------------------------------------------- an M28 Paper: contributor research, visibly apart from M28's own
   reports (brief §6): a cover of its own, set like the title page of a filed document */
.paper { position: relative; display: flex; flex-direction: column; min-width: 0; }
.paper__cover { position: relative; display: flex; flex-direction: column; gap: .9rem; flex: 1; min-height: 21rem; padding: 1.25rem 1.25rem 1.1rem; background: var(--charcoal); color: var(--grey); border-top: var(--bar) solid var(--red); }
.paper__cover::after { content: ""; position: absolute; right: 0; top: 0; border-style: solid; border-width: 0 1.5rem 1.5rem 0; border-color: transparent var(--bg) transparent transparent; }
.paper__series { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .75rem; padding-right: 1.25rem; font: 500 var(--t-label)/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.paper__series .caseno { color: var(--red-t45); }
.paper__title { margin-top: auto; font: var(--w-head) clamp(1.625rem, 1.35rem + 1vw, 2.25rem)/1.02 var(--f-serif); letter-spacing: -.02em; color: var(--white); text-wrap: balance; }
.paper__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.paper:hover .paper__title a { text-decoration: underline; text-decoration-color: var(--red-t25); text-decoration-thickness: 3px; text-underline-offset: .14em; }
.paper__sub { font: 500 1.0625rem/1.3 var(--f-serif); font-style: italic; color: var(--grey); }
.paper__by { padding-top: .8rem; border-top: 1px solid var(--charcoal-t25); font: 600 .9375rem/1.3 var(--f-ui); color: var(--white); }
.paper__by small { display: block; margin-top: .25rem; font: 400 var(--t-mono)/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--grey-s22); }
.paper__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.paper__foot .stamp { color: var(--grey); }
.paper__foot .stamp--red { color: var(--red-t45); }

/* ---------------------------------------------------------------- footer (v0.6.1): modelled on the live site's footer and much shorter
   than v0.5's. The logo (no motto under it: the motto is in the logo) and one short mission line; four short link
   columns; the contact e-mail and the postal address; below, the legal name and the small links. Lettering and
   colours are the live site's (.m28-footer, .footer-nav-grid, .footer-bottom), read from the backup of 14 Nov 2026. */
.ftr { padding-block: clamp(2.25rem, 1.75rem + 2vw, 3rem) 1.375rem; border-top: 1px solid rgb(215 25 32 / .3); background: var(--charcoal-d1); }
.ftr__main { display: grid; grid-template-columns: minmax(0, 16.25rem) minmax(0, 1fr) minmax(0, 15.5rem); gap: 2.125rem clamp(2rem, 4vw, 4rem); align-items: start; }
.ftr__brand a { display: inline-block; }
.ftr__brand img { width: 12.8125rem; height: auto; }
.ftr__brand p { margin-top: 1.125rem; font: 400 .875rem/1.55 var(--f-text); color: #D0D0D0; }
.ftr__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem 1.375rem; }
.ftr__cols > div { min-width: 0; }
.ftr h3 { margin-bottom: .75rem; font: 800 .8125rem/1.3 var(--f-text); letter-spacing: .0875rem; text-transform: uppercase; color: var(--white); }
.ftr__cols a { display: inline-flex; align-items: center; gap: .4em; padding-block: .3125rem; font: 400 .875rem/1.35 var(--f-text); color: #CFCFCF; overflow-wrap: anywhere; transition: color .18s; }
.ftr__cols a:hover, .ftr__contact a:hover, .ftr__legal a:hover { color: var(--red-t45); }
.ftr__cols .icon { width: .875rem; height: .875rem; color: var(--red-t45); }
.ftr__contact { padding-left: clamp(1.25rem, 2vw, 2rem); border-left: 1px solid rgb(255 255 255 / .18); }
.ftr__contact p { display: grid; justify-items: start; gap: .15rem; font: 400 .875rem/1.45 var(--f-text); color: #D8D8D8; }
.ftr__contact p + p { margin-top: .875rem; }
.ftr__contact b { font: 700 .875rem/1.3 var(--f-text); color: var(--white); }
.ftr__contact a { overflow-wrap: anywhere; transition: color .18s; }
.ftr__soc { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }       /* D-203: X, YouTube, LinkedIn as plain words */
.ftr__soc a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.ftr__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .375rem 2rem; margin-top: 2.125rem; padding-top: 1.125rem; border-top: 1px solid rgb(255 255 255 / .1);
  font: 400 .75rem/1.5 var(--f-text); letter-spacing: .04em; text-transform: uppercase; color: #9F9F9F; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem 1.125rem; }
.ftr__legal a { color: #BDBDBD; transition: color .18s; }
.ftr__note { grid-column: 1 / -1; letter-spacing: .01em; text-transform: none; color: #8F8F8F; }
@media (max-width: 79.99em) {
  .ftr__main { grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); }
  .ftr__contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem 3rem; padding: 1.375rem 0 0; border-left: 0; border-top: 1px solid rgb(255 255 255 / .16); }
  .ftr__contact h3 { margin: 0; }
  .ftr__contact p + p { margin-top: 0; }
}
@media (max-width: 55em) { .ftr__main { grid-template-columns: minmax(0, 1fr); } .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 35em) { .ftr__bottom { grid-template-columns: minmax(0, 1fr); } .ftr__legal { justify-content: flex-start; } .ftr__contact { display: block; } .ftr__contact h3 { margin-bottom: .75rem; } .ftr__contact p + p { margin-top: .875rem; } }
/* The "Support us" box of v0.6.2 (.sbox, as the live site's .support-card). Since v0.6.7 the block is drawn by the rules
   of .gv below and nothing of "Support us" uses these rules any more. They are left exactly as they were, on purpose:
   the search field of the Search and Ask pages carries the same class name and is reached by the first rule (its
   padding and gap). Removing them changes those two pages, which is Bex's to decide (REVIEW_PLAN, "Noticed, not
   changed", 24 Nov 2026) */
.sbox { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem clamp(2rem, 5vw, 5rem); padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); border: 1px solid rgb(255 255 255 / .14); background: linear-gradient(180deg, #151515, #0B0B0B); }
.sbox h2 { margin-bottom: 1.25rem; padding-bottom: 1.125rem; border-bottom: 1px solid rgb(255 255 255 / .12); font: 800 1.125rem/1.2 var(--f-text); letter-spacing: .0875rem; text-transform: uppercase; color: var(--white); }
.sbox p { max-width: 52rem; font: 400 1rem/1.7 var(--f-text); color: #D2D2D2; }
.sbox__a { display: grid; justify-items: start; gap: .625rem; }
.sbox__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.875rem; padding: .8125rem 1.75rem; border-radius: 4px; background: var(--red-s15); font: 800 .75rem/1 var(--f-text); letter-spacing: .0625rem; text-transform: uppercase; color: var(--white); transition: background .18s, transform .18s; }
.sbox__btn:hover { background: var(--red); transform: translateY(-2px); }
.sbox__how { display: inline-flex; align-items: center; gap: .45em; min-height: 2.75rem; font: 600 .875rem/1.2 var(--f-text); color: #D2D2D2; transition: color .18s; }
.sbox__how i { font-style: normal; color: var(--red-t45); }
.sbox__how:hover { color: var(--white); text-decoration: underline; text-underline-offset: .25em; }
.sgive { padding-block: clamp(2.5rem, 2rem + 2.2vw, 4rem); background: var(--charcoal-d1); }
/* "Support us" (v0.6.7; Bex, 24 Nov 2026): on black, two halves; on a phone one under the other. Left: a small drawing
   (lib/giveart.py), the headline, one paragraph, three points with small red icons. Right: the donation picker, a plain
   form that opens the Donate page with the choice in that page's address (it works without a script; nothing is stored
   on the reader's device), the Donate button, and the link to how M28 is funded. It stands on the homepage and at the end of every
   story (lib/shell.py, support_box). A chosen option is white; red is kept for the Donate button */
.gv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 2.5rem clamp(2rem, 5vw, 5rem); color-scheme: dark; }
.gv__art { width: clamp(10rem, 16vw, 14rem); margin-bottom: 1.375rem; }
.gv__art svg { display: block; width: 100%; height: auto; }
.gv h2 { max-width: 14ch; font: 800 clamp(2.125rem, 1.45rem + 2.9vw, 4.25rem)/1.02 var(--f-text); letter-spacing: -.03em; color: var(--white); text-wrap: balance; }
.gv__d { max-width: 34rem; margin-top: 1.125rem; font: 400 1.125rem/1.55 var(--f-text); color: #D2D2D2; text-wrap: pretty; }
.gv__pts { display: grid; gap: .625rem; margin-top: 1.5rem; }
.gv__pts li { display: flex; align-items: flex-start; gap: .75rem; max-width: 34rem; font: 600 1rem/1.4 var(--f-text); color: var(--white); }
.gv__pts .icon { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .0625rem; color: var(--red-t45); }
.gv__r { justify-self: end; width: 100%; max-width: 36rem; padding: clamp(1.25rem, 1rem + 1.4vw, 2rem); border: 1px solid #262626; border-top: 3px solid var(--red); border-radius: 4px; background: #0C0C0C; }
.gv__f { display: grid; gap: 1rem; }
.gv fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.gv fieldset > div { position: relative; display: grid; }
.gv input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.gv label { display: flex; align-items: center; justify-content: center; padding: .5rem; text-align: center; cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
.gv__sw > div { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .25rem; border: 1px solid #333333; border-radius: 999px; background: #050505; }
.gv__sw label { min-height: 2.75rem; border: 1px solid transparent; border-radius: 999px; font: 700 1rem/1.2 var(--f-text); color: #D2D2D2; }
.gv__sw label:hover { color: var(--white); }
.gv__am > div { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.gv__am label { min-height: 3.5rem; border: 1px solid #3A3A3A; border-radius: 4px; background: #111111; font: 800 1.1875rem/1.2 var(--f-text); color: var(--white); }
.gv__am label:hover { border-color: #8C8C8C; }
.gv input:checked + label { border-color: var(--white); background: var(--white); color: #000000; }
.gv input:focus-visible + label { outline: 2px solid var(--white); outline-offset: 3px; }
.gv__btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 3.75rem; padding: .875rem 1.5rem; border-radius: 4px; background: var(--red); font: 800 1.25rem/1.2 var(--f-text); color: var(--white); transition: background .18s; }
.gv__btn:hover { background: var(--red-s15); }
.gv__btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.gv__how { display: inline-flex; align-items: center; gap: .45em; min-height: 2.75rem; margin: .625rem 0 -.5rem; font: 600 .9375rem/1.2 var(--f-text); color: #D2D2D2; transition: color .18s; }
.gv__how i { font-style: normal; color: var(--red-t45); transition: transform .2s; }
.gv__how:hover { color: var(--white); text-decoration: underline; text-underline-offset: .25em; }
.gv__how:hover i { transform: translateX(.25rem); }
@media (max-width: 56em) {
  .gv { grid-template-columns: minmax(0, 1fr); }
  .gv__art { width: 10.5rem; }
  .gv__r { justify-self: stretch; max-width: 36rem; }
}
@media (max-width: 26em) { .gv__am label { padding-inline: .25rem; font-size: 1.0625rem; } }
@media (forced-colors: active) { .gv input:checked + label { outline: 3px solid Highlight; outline-offset: -3px; } }
/* the share band (v0.6.2: on every page, just above the footer), as the live site's .m28-social-banner. Plain links to
   M28's own accounts: nothing is loaded from the platforms. An account whose address is not confirmed is a button
   without a link */
.sband { border-block: 1px solid var(--charcoal-t10); background: radial-gradient(circle at center, rgb(215 25 32 / .1), transparent 42%), linear-gradient(90deg, #040404, #090909); color-scheme: dark; }
.sband__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding-block: 2.125rem; }
.sband h2 { max-width: 47.5rem; font: 800 clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem)/1.15 var(--f-text); letter-spacing: -.03em; color: #F5F5F5; }
.sband ul { display: flex; gap: .875rem; }
.sband li > * { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid #2F2F2F; border-radius: 50%; background: #0A0A0A; color: var(--white); transition: border-color .18s, color .18s, transform .18s; }
.sband svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.sband a:hover { border-color: var(--red); color: var(--red-t45); transform: translateY(-2px); }
@media (max-width: 51.25em) { .sband__in { justify-content: center; text-align: center; } }
.sband + .ftr { border-top: 0; }
@media (max-width: 48em) { .sbox { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- touch: on phones, tablets and any touch screen every control is
   at least 44 px high. Sizes for a mouse stay as designed above. */
@media (max-width: 61.99em), (pointer: coarse) {
  .btn--sm, .chip, .acc > summary { min-height: 2.75rem; }
  /* v0.6.0: the header's pills keep the live site's shape; an invisible area above and below makes them easy to hit */
  .pill::after { content: ""; position: absolute; left: 0; right: 0; top: -.45rem; bottom: -.45rem; }
  .hlang > summary::after { content: ""; position: absolute; left: 0; right: 0; top: -.55rem; bottom: -.55rem; }
  .hlang > ul a { min-height: 2.75rem; }
  .crumbs a { padding-block: .6rem; }
  .btn--sm { padding-inline: 1.05rem; font-size: .875rem; }
  .more { padding-block: .8rem; margin-block: -.45rem; border-bottom: 0; background: linear-gradient(var(--accent), var(--accent)) left calc(100% - .45rem) / 100% 2px no-repeat; }
  .ftr__cols a { padding-block: .5625rem; }
  .ftr__legal { gap: 0 1.5rem; }
  .ftr__legal a, .ftr__contact a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .dtabs a, .dtabs button, .subnav a, .tabs a, .tabs button { min-height: 2.75rem; min-width: 2.75rem; }
  /* small links that stand alone on a line: an invisible area above and below makes them easy to hit; the layout does not move */
  .kicker a, .kf__jump, .thr__src a, .ess a, .aplayer__file, .lr-reuse a, .rank a, .conn__src a, main small a, .step > a, .docs span a, .srcs .back, .parts h2 a, .hdr__proto a { position: relative; }
  .kicker a::after, .kf__jump::after, .thr__src a::after, .ess a::after, .aplayer__file::after, .lr-reuse a::after, .rank a::after, .conn__src a::after,
  main small a:not(.evi small a)::after, .step > a::after, .docs span a::after, .srcs .back::after, .parts h2 a::after, .hdr__proto a::after { content: ""; position: absolute; left: 0; right: 0; top: -.85rem; bottom: -.85rem; }
  .hit__p, .hit__more li a { position: relative; }
  .hit__p::after, .hit__more li a::after { content: ""; position: absolute; left: 0; right: 0; top: -.85rem; bottom: -.85rem; }
  :root .stools a, :root .stools button, :root .rep summary, :root .share a, :root .share button, :root .ptl__more > summary { min-height: 2.75rem; }
  :root .people a { padding-block: .45rem; }
  :root .pframe__name { min-height: 2.75rem; }
}
/* phones: in a list of stories the first keeps its full picture; the others become rows with a small picture at the
   right, so that a list of fifty stories is a list and not fifty screens */
@media (max-width: 40em) {
  .grid--fixed { gap: 1.25rem; }
  .arch__list { gap: 0; }
  .grid--fixed > .card:nth-child(n+2), .arch__list > .card { flex-direction: row-reverse; gap: 1rem; align-items: start; padding-top: 1.1rem; border-top: var(--bar) solid var(--accent); }
  .arch__list > .card { padding-block: 1.05rem; }
  .grid--fixed > .card:nth-child(n+2) .ph, .arch__list > .card .ph { flex: 0 0 6rem; aspect-ratio: 1; }
  .grid--fixed > .card:nth-child(n+2) .ph .exhibit, .arch__list > .card .ph .exhibit { display: none; }
  .grid--fixed > .card:nth-child(n+2) .ph--none, .arch__list > .card .ph--none { display: none; }
  .grid--fixed > .card:nth-child(n+2) .card__body, .arch__list > .card .card__body { flex: 1; gap: .45rem; padding-top: 0; border-top: 0; }
  .grid--fixed > .card:nth-child(n+2) .card__deck { display: none; }
  .grid--fixed > .card:nth-child(n+2) .card__title, .arch__list > .card .card__title { font-size: 1.1875rem; line-height: 1.16; }
  .arch__year { margin-top: 1.75rem; padding-bottom: .35rem; }
}
/* phones: the breadcrumb becomes one link back to the page above */
@media (max-width: 40em) {
  .crumbs li { display: none; }
  .crumbs li:nth-last-child(2) { display: flex; gap: .45em; }
  .crumbs li:nth-last-child(2)::before { content: "‹"; content: "‹" / ""; font: 400 1.25rem/1 var(--f-ui); color: var(--ink-3); }
  .crumbs a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-block: 0; }
  .sh p { order: 2; }
  .sh .more { order: 3; margin-top: .1rem; }
}

/* ---------------------------------------------------------------- motion (brief §2.9): 200–400 ms fades and slides; all of it off for
   readers who ask for less */
.reveal { opacity: 0; transform: translateY(1rem); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.reveal.is-in, :root:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  /* 0s, not a tiny value: see DECISIONS D-090 */
  *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
  .redact::after { content: none; }
  .reveal { opacity: 1; transform: none; }
  /* the network rows stand still: a tidy, complete grid of equal cells */
  .mq { overflow: visible; border: 0; }
  .mq:last-child { border: 0; }
  .mq__track { animation: none; width: auto; display: block; }
  .mq__set { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); }
  .mq__set[aria-hidden="true"] { display: none; }
  .mq .logo { width: auto; padding: 1rem 1.25rem; border: 1px solid var(--line-2); margin: 0 -1px -1px 0; }
}

/* ---------------------------------------------------------------- print */
@media print {
  .hdr, .drawer, .drawer__shade, .ftr, .no-print { display: none !important; }
  :root { --bg: #fff; --ink: #000; --head: #000; --ink-2: #222; --ink-3: #444; }
  body { background: #fff; color: #000; padding: 0; font-size: 11pt; }
  a { text-decoration: underline; }
}

/* ---------------------------------------------------------------------------------------------------------------------
   v0.7.3, the menu in two rows (Bex, 28 Nov 2026, D-195). Row 1, the black bar: the logo, the language button, search.
   Row 2, the menu: eight links, the red "Submit a story" button, a small "OSINT Analytica ↗" at the far right, on one
   line from 80em (1280 px); no dropdowns. Below 80em the bar shows the menu button, the logo in the centre (as approved
   on 23 Nov) and the panel lists the same items in the same order. Donate has left the bar until giving works (A4). */
.hdr--live { top: 0; }
.hnav { display: none; background: var(--charcoal); border-bottom: 1px solid var(--charcoal-t10); }
.hnav__in { display: flex; align-items: center; gap: 1rem; max-width: 93.75rem; height: 3rem; margin-inline: auto; padding-inline: 1.25rem; }
.hnav__list { display: flex; align-items: center; flex: 1 1 auto; gap: clamp(.75rem, 1.35vw, 1.5rem); min-width: 0; margin: 0; padding: 0; list-style: none; }
.hnav__list a { display: inline-flex; align-items: center; height: 3rem; border-bottom: 2px solid transparent; font: 700 .875rem/1 var(--f-text); color: #CFCFCF; white-space: nowrap; transition: color .2s, border-color .2s; }
.hnav__list a:hover { color: var(--white); }
.hnav__list a[aria-current] { color: var(--white); border-bottom-color: var(--red); }
.hnav__submit { flex: none; display: inline-flex; align-items: center; min-height: 2.25rem; padding: .5rem 1rem; border-radius: 999px; background: var(--red-s30);
  font: 800 .6875rem/1 var(--f-text); letter-spacing: .09em; text-transform: uppercase; color: var(--white); white-space: nowrap; transition: background .25s; }
.hnav__submit:hover, .hnav__submit[aria-current] { background: #A52020; }
.hnav__osint { flex: none; font: 600 .75rem/1 var(--f-text); color: var(--grey-s22); white-space: nowrap; transition: color .2s; }
.hnav__osint:hover { color: var(--white); }
@media (min-width: 80em) {
  .hnav { display: block; }
  .hdr__menu { display: none; }
  .hdr__logo { position: static; transform: none; }
  .hdr__in { padding-inline: 1.25rem; }
}
/* the panel (below 80em): the same items as plain links, Submit in red, OSINT Analytica after it, the reading options */
.drawer__extli { display: block !important; }
.dlink--submit { color: var(--red-t45); }
.dlink[aria-current] { color: var(--red-t45); }

/* v0.7.3, Signal is live (Bex, 28 Nov 2026, D-197): "Signal: M28Investigates.01", a copy button (shown only where the
   browser can copy) and "Message us on Signal", a plain link opening in a new tab. Used on Submit a Story, Contact, the
   homepage's pitch band and the Security page, on light and dark pages alike. */
.sig { display: grid; gap: .5rem; margin-block: .75rem; }
.sig__u { font: 600 1.0625rem/1.4 var(--f-text); }
.sig__u b { font-weight: 800; }
.sig__name { overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.sig__act { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 0; }
.sig__copy { min-height: 2.75rem; padding: .5rem 1rem; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: 700 .8125rem/1 var(--f-text); cursor: pointer; }
.sig__go { display: inline-flex; align-items: center; gap: .35em; min-height: 2.75rem; padding: .5rem 1.125rem; border-radius: 999px; background: var(--red-s30); font: 700 .875rem/1 var(--f-text); color: #FFFFFF !important; text-decoration: none !important; }
.sig__go:hover { background: #A52020; }
.sig--band { margin-block: .25rem 0; }
.sig--band .sig__u { font-size: 1rem; }
.safe { margin-top: 1.75rem; padding: 1.25rem 1.5rem; border-left: 3px solid var(--red); }
.safe h3 { margin-bottom: .5rem; font: 800 1.125rem/1.3 var(--f-text); }
.safe ul { display: grid; gap: .375rem; margin: 0; padding-left: 1.125rem; font: 400 1.0625rem/1.5 var(--f-text); }
.chans--two { display: grid; gap: 1.25rem; }
@media (min-width: 48em) { .chans--two { grid-template-columns: 1fr 1fr; } }
.chan__risk { font: 700 var(--ts-label)/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--red-t45, #E0413F); }
.legal .sig { max-width: 36rem; }

/* v0.7.3 (D-202): "Support us" is one line and a button to the Donate page; the bank box on other pages */
.gv--line .gv__r { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1rem; }
.gv--line .gv__btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* v0.7.3, the header logo a little bigger (Bex, 28 Nov 2026, D-207). The file as supplied, only its height changes;
   measured gaps: 1440 px 59 px tall (+18%, the bar 80 px); 1024 px 55 px (+10%); 480–767 px 46 px (+7%);
   400–479 px unchanged (43 px); 390 px 40 px (+10%); 360 px 34 px (+6%); narrower phones unchanged. */
.hdr__logo img { height: 2.5rem; }
@media (max-width: 23.49em) { .hdr__logo img { height: 2.125rem; } }      /* 360 px: +6%, so the Dutch "Doneren" keeps its distance */
@media (max-width: 22.49em) { .hdr__logo img { height: 1.625rem; } }
@media (min-width: 25em) { .hdr__logo img { height: 2.6875rem; } }      /* 400–479 px: as before (no room) */
@media (min-width: 30em) { .hdr__logo img { height: 2.875rem; } }
@media (min-width: 48em) { .hdr__logo img { height: 3.4375rem; } }
@media (min-width: 80em) { .hdr__logo img { height: 3.6875rem; } .hdr__bar { height: 5rem; } }
