/* Writ News. Two-colour print: ink and Writ red on stark white paper. Every grey is neutral (no warm tint).
   Every colour, size and the column sheet live in :root. */
:root {
  --paper: #ffffff;
  --field: #f5f5f7;        /* small controls only: gallery buttons, empty image slots */
  --ink: #111111;
  --ink-2: #5f5f64;        /* dates, bylines, captions (6.4:1 on paper) */
  --red: #b0181e;          /* brand red: the dot, section links, the source note */
  --red-text: #b0181e;
  --on-red: #ffffff;
  --black: #111111;        /* bar and footer */
  --on-black: #ffffff;
  --on-black-2: #a1a1a6;
  --rule: #e3e3e6;         /* table rows only */

  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Libre Franklin', 'Franklin Gothic Medium', 'Helvetica Neue', Arial, sans-serif;

  /* Five steps, far apart. */
  --s-small: 0.875rem;                                    /* 14  dates, labels, nav */
  --s-body: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);      /* 17–20  reading */
  --s-lead: clamp(1.25rem, 1.1rem + 0.55vw, 1.5rem);      /* 20–24  standfirsts, brief headlines */
  --s-head: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);       /* 28–40  section titles */
  --s-display: clamp(2.375rem, 1.3rem + 3.2vw, 4rem);     /* 38–64  the lead headline, page titles */

  --m: clamp(1rem, 3vw, 2.5rem);                          /* outer margin */
  --gap: clamp(1rem, 2vw, 2rem);                          /* column gap */
  --space: clamp(4.5rem, 9vw, 8.5rem);                    /* between sections */
  --bar-h: 3.5rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light; /* always the white paper, whatever the device's appearance setting */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 1.5rem); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--s-body)/1.55 var(--serif); font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; hyphens: none; }
:focus-visible { outline: 3px solid var(--red-text); outline-offset: 3px; }
::selection { background: var(--red); color: var(--on-red); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: .5rem; z-index: 100; padding: .75rem 1rem; background: var(--paper); color: var(--ink); font: 600 var(--s-small)/1 var(--sans); }
.skip:focus { left: var(--m); }
.empty { grid-column: 5 / -1; font: 400 var(--s-lead)/1.4 var(--serif); color: var(--ink-2); }

/* The sheet: twelve columns, one pair of margins. Column 5 is the axis everything hangs from. */
.sheet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); width: min(100% - var(--m) * 2, 1440px); margin-inline: auto; }

/* Shared atoms */
.meta { font: 400 var(--s-small)/1.5 var(--sans); color: var(--ink-2); }
.sec { color: var(--red-text); font-weight: 600; }
/* Source label: what kind of evidence the story rests on. */
.src-type { color: var(--red-text); font: 600 var(--s-small)/1.4 var(--sans); white-space: nowrap; }
.r-hl .src-type, .r-hl .kind { margin-left: .5rem; }
/* Analysis tag: a solid ink tag so opinion-adjacent work is never mistaken for the report. */
.kind { display: inline-block; padding: .15em .45em .1em; background: var(--ink); color: var(--paper); font: 600 .75rem/1.3 var(--sans); letter-spacing: .02em; vertical-align: .1em; }
.kind-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; font: 400 var(--s-small)/1.4 var(--sans); color: var(--ink-2); }
.dateline { font: 600 .8em/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; }

.hl { font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; }
.hl a, .r-hl a { text-decoration: underline 2px transparent; text-underline-offset: .14em; transition: text-decoration-color 200ms ease; }
.dek { font: 400 var(--s-lead)/1.38 var(--serif); }
.block { padding-top: var(--space); row-gap: 1.75rem; }
.block-title { grid-column: 1 / 5; font: 600 var(--s-head)/1.08 var(--serif); letter-spacing: -.015em; }
@media (hover: hover) {
  .hl a:hover, .r-hl a:hover { text-decoration-color: var(--red); }
  .sec:hover, .meta a:hover { text-decoration: underline; text-underline-offset: .18em; }
}

.button {
  display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.375rem;
  background: var(--ink); color: var(--paper); font: 600 var(--s-small)/1 var(--sans); letter-spacing: .01em;
  transition: transform 160ms var(--ease), background-color 200ms ease;
}
.button:active { transform: scale(.97); }
@media (hover: hover) { .button:hover { background: var(--red); color: var(--on-red); } }

/* ---------- Bar: wordmark over the record column, sections from the axis ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--on-black); padding-top: env(safe-area-inset-top); }
.bar .sheet { align-items: center; min-height: var(--bar-h); }
.brand { grid-column: 1 / 5; justify-self: start; font: 700 1.75rem/1 var(--serif); letter-spacing: -.03em; }
.brand span { color: var(--red); }
.bar .brand span, .footer .brand span { color: #ff3b3f; }
.nav { grid-column: 5 / -1; min-width: 0; }
.nav ul { display: flex; gap: clamp(1rem, 1.8vw, 1.75rem); margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a { position: relative; display: block; padding: 1.125rem 0 1rem; white-space: nowrap; font: 500 var(--s-small)/1 var(--sans); color: var(--on-black-2); transition: color 150ms ease; }
.nav a::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: #ff3b3f; transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease); }
.nav [aria-current="page"] { color: var(--on-black); }
.nav [aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) { .nav a:hover { color: var(--on-black); } }

/* ---------- Front: the promise in the record column, the lead story from the axis ---------- */
.front { padding-top: clamp(2.5rem, 5vw, 4.5rem); grid-template-rows: auto 1fr; row-gap: 2rem; align-items: start; }
.front-side { grid-column: 1 / 5; display: grid; gap: 1.25rem; justify-items: start; padding-right: clamp(0rem, 2vw, 2rem); }
.front-date { font: 600 var(--s-head)/1.08 var(--serif); letter-spacing: -.015em; }
.front-edition { font: 400 var(--s-small)/1.5 var(--sans); color: var(--ink-2); max-width: 30ch; }
.front-edition a { color: var(--ink); text-decoration: underline 1px var(--rule); text-underline-offset: .2em; transition: text-decoration-color 150ms ease; }
@media (hover: hover) { .front-edition a:hover { text-decoration-color: var(--red-text); } }
.front-source { grid-column: 1 / 5; grid-row: 2; padding-right: clamp(0rem, 2vw, 2rem); }

.lead { grid-column: 5 / -1; grid-row: 1 / span 2; display: grid; gap: 1.125rem; }
.hl-lead { font-size: var(--s-display); line-height: 1.02; letter-spacing: -.022em; margin-left: -.03em; }
.lead .dek { max-width: 40ch; }
.lead-photo { display: block; margin-top: 1rem; }
.lead-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--field); }

/* The source note: the document behind the story, set in Writ red. */
.source { background: var(--red); color: var(--on-red); padding: 1.125rem 1.375rem 1.25rem; }
.source h2 { font: 600 var(--s-small)/1.3 var(--sans); margin-bottom: .35rem; }
.source p { font: 400 var(--s-body)/1.4 var(--serif); }
.source a { text-decoration: underline 1px; text-underline-offset: .18em; }
.source ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; font: 400 var(--s-body)/1.35 var(--serif); }
.s-type { display: block; font: 600 var(--s-small)/1.3 var(--sans); opacity: .85; }
.s-arch { white-space: nowrap; font: 500 var(--s-small)/1 var(--sans); }

/* ---------- Also today: text page, two columns from the axis ---------- */
.briefs { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.25rem var(--gap); }
.brief { display: grid; gap: .6rem; align-content: start; }
.brief-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: .4rem; }
.brief .hl { font-size: var(--s-lead); line-height: 1.2; letter-spacing: -.01em; }
.brief p:not(.meta) { max-width: 46ch; }

/* ---------- In focus: a full field, headline set large against its summary ---------- */
.focus { padding-top: var(--space); }
.focus .sheet { row-gap: clamp(2.5rem, 4vw, 3.5rem); }
.focus .block-title { grid-row: 1 / span 3; align-self: start; }
.focus-item { grid-column: 5 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem var(--gap); align-items: start; }
.focus-photo { grid-column: 1 / -1; }
.focus-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.focus-item .hl { font-size: var(--s-lead); line-height: 1.2; letter-spacing: -.01em; }
.focus-text { display: grid; gap: .6rem; }

/* ---------- The record: every story as a table ---------- */
.record-wrap { grid-column: 1 / -1; }
.record { width: 100%; border-collapse: collapse; table-layout: fixed; }
.record td { padding: 1rem var(--gap) 1rem 0; vertical-align: baseline; border-top: 1px solid var(--rule); }
.record tr:last-child td { border-bottom: 1px solid var(--rule); }
.record td:last-child { padding-right: 0; }
/* Column widths (set on <col>) put the headline on the axis: date + section = four of twelve columns. */
.c-date, .c-sec { width: 16.9%; }
.c-by { width: 16.6%; }
.record:not(:has(.r-sec)) .c-date { width: 16.9%; }
.r-date, .r-by { font: 400 var(--s-small)/1.5 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.r-sec { font: 400 var(--s-small)/1.5 var(--sans); }
.r-hl { font: 500 var(--s-body)/1.35 var(--serif); }
.record tr[hidden] { display: none; }

/* ---------- Article: the record column carries the facts and the source ---------- */
/* Just the facts: a heavy ink bar on top, red markers, the facts in the reading face. */
.jtf { grid-column: 5 / -1; max-width: 42rem; padding-top: 1.25rem; box-shadow: inset 0 4px 0 var(--ink); }
.jtf h2 { font: 600 var(--s-small)/1.3 var(--sans); margin-bottom: .9rem; }
.jtf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.jtf li { position: relative; padding-left: 1.4rem; font: 500 var(--s-body)/1.45 var(--serif); }
.jtf li::before { content: ''; position: absolute; left: 0; top: .55em; width: .5rem; height: .5rem; background: var(--red); }
.jtf a { text-decoration: underline 1px; text-decoration-color: var(--red-text); text-underline-offset: .18em; }
.correction { grid-column: 5 / -1; max-width: 36em; padding-top: 1rem; box-shadow: inset 0 3px 0 var(--red); }
.correction h2 { font: 600 var(--s-small)/1.3 var(--sans); color: var(--red-text); margin-bottom: .4rem; }
.correction p { font: 400 var(--s-body)/1.5 var(--serif); font-style: italic; }
.facts dd a { text-decoration: underline 1px var(--rule); text-underline-offset: .18em; }
.story { padding-top: clamp(2.5rem, 5vw, 4.5rem); row-gap: 2.5rem; align-items: start; }
.story-head { grid-column: 5 / -1; grid-row: 1; display: grid; gap: 1.25rem; }
.story-head h1 { font: 600 var(--s-display)/1.03 var(--serif); letter-spacing: -.022em; margin-left: -.03em; }
.story-head .dek { max-width: 40ch; }
.story-side { grid-column: 1 / 5; grid-row: 1 / span 3; position: sticky; top: calc(var(--bar-h) + 1.5rem); display: grid; gap: 1.5rem; justify-items: start; padding-right: clamp(0rem, 3vw, 3rem); padding-top: .6rem; }
.facts { margin: 0; display: grid; gap: 1rem; font: 400 var(--s-small)/1.4 var(--sans); }
.facts dt { color: var(--ink-2); }
.facts dd { margin: .15rem 0 0; font-weight: 600; }
.story-side .source { width: 100%; }
.share {
  min-height: 2.75rem; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer;
  font: 600 var(--s-small)/1 var(--sans); text-decoration: underline 1px; text-decoration-color: var(--red-text); text-underline-offset: .3em;
  transition: transform 160ms var(--ease), color 150ms ease;
}
.share:active { transform: scale(.97); }
@media (hover: hover) { .share:hover { color: var(--red-text); } }
.story-media { grid-column: 5 / -1; }
.story-body { grid-column: 5 / -1; max-width: 36em; font: 400 var(--s-body)/1.65 var(--serif); }
.story-body > * + * { margin-top: 1.1em; }
.story-body h2, .story-body h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin-top: 2em; }
.story-body h2 { font-size: var(--s-lead); }
.story-body h3 { font-size: var(--s-body); }
.story-body blockquote { margin-inline: 0; padding-left: 1.25em; font-style: italic; color: var(--ink-2); }
.story-body a, .prose a { text-decoration: underline 1px; text-decoration-color: var(--red-text); text-underline-offset: .18em; }
@media (hover: hover) { .story-body a:hover, .prose a:hover { color: var(--red-text); } }
.story-body ul, .story-body ol { padding-left: 1.25em; }
/* Photos and videos placed in the article text sit a little apart from the paragraphs around them. */
.story-body figure { margin: 2em 0; }
.body-photo img { width: 100%; }
.body-photo figcaption { margin-top: .75rem; font: 400 var(--s-small)/1.5 var(--sans); color: var(--ink-2); }

/* Video: full width of the report column, 16:9, black ground. */
.video { margin: 0 0 2rem; }
.video video, .video iframe, .video-play { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--black); }
.video-play { position: relative; padding: 0; cursor: pointer; overflow: hidden; }
.video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.video-icon { position: absolute; left: 50%; top: 50%; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; background: var(--red); transition: transform 160ms var(--ease); }
.video-icon::after { content: ''; position: absolute; left: 1.8rem; top: 1.35rem; border-style: solid; border-width: .9rem 0 .9rem 1.5rem; border-color: transparent transparent transparent #fff; }
.video-play:active .video-icon { transform: scale(.94); }
@media (hover: hover) { .video-play:hover img { transform: scale(1.02); } }
.video figcaption { margin-top: .75rem; max-width: 60ch; font: 400 var(--s-small)/1.5 var(--sans); color: var(--ink-2); }
.gallery { margin: 0; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.slide img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--black); }
.slide figcaption { margin-top: .75rem; max-width: 60ch; font: 400 var(--s-small)/1.5 var(--sans); color: var(--ink-2); }
.credit { color: var(--ink); font-weight: 500; }
.gallery-nav { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; font: 500 var(--s-small)/1 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gallery-nav button { width: 2.75rem; height: 2.75rem; border: 0; background: var(--field); color: var(--ink); font: 500 var(--s-small)/1 var(--sans); cursor: pointer; transition: transform 160ms var(--ease), background-color 150ms ease, opacity 150ms ease; }
.gallery-nav button:active:not(:disabled) { transform: scale(.94); }
.gallery-nav button:disabled { opacity: .35; cursor: default; }
@media (hover: hover) { .gallery-nav button:hover:not(:disabled) { background: var(--rule); } }

/* ---------- Comments: the discussion hangs from the axis like the story ---------- */
.comments-body { grid-column: 5 / -1; max-width: 42rem; font: 400 var(--s-small)/1.5 var(--sans); }
.c-summary, .c-me, .c-signin p { color: var(--ink-2); margin-bottom: 1.25rem; }
.c-summary a { color: var(--ink); text-decoration: underline 1px var(--rule); text-underline-offset: .2em; }
.c-me strong { color: var(--ink); font-weight: 600; }
.c-signin { margin-bottom: 2rem; }
.c-google { min-height: 44px; }
.c-flash { margin: 0 0 1.25rem; padding: .75rem 1rem; background: var(--field); color: var(--ink); font-weight: 500; }
.comments-body button:not(.button) { padding: 0; border: 0; background: none; color: var(--ink-2); font: 500 var(--s-small)/1.4 var(--sans); cursor: pointer; text-decoration: underline 1px transparent; text-underline-offset: .2em; transition: color 150ms ease, text-decoration-color 150ms ease; }
@media (hover: hover) { .comments-body button:not(.button):hover:not(:disabled) { color: var(--ink); text-decoration-color: var(--ink); } }
.comments-body button:disabled { cursor: default; }
.c-me button { margin-left: .5rem; }
.c-form { display: grid; gap: .6rem; margin: 0 0 2.5rem; }
.c-form textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--rule); border-radius: 0; background: var(--paper); color: var(--ink); font: 400 var(--s-body)/1.5 var(--serif); resize: vertical; transition: border-color 150ms ease; }
.c-form textarea:focus { outline: none; border-color: var(--ink); }
.c-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.c-form-row { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; }
.c-count { margin-right: auto; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.c-status:empty { display: none; }
.c-status { color: var(--red-text); font-weight: 500; }
.c-form .button { min-height: 2.75rem; border: 0; cursor: pointer; }
.c-form .button:disabled { opacity: .5; cursor: progress; }
.c-item { padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.c-reply { margin-left: 1.75rem; padding-left: 1.25rem; border-top: 0; padding-top: .25rem; box-shadow: inset 2px 0 0 var(--rule); }
.c-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; margin-bottom: .4rem; }
.c-name { font-weight: 600; color: var(--ink); }
.c-head time { color: var(--ink-2); }
.c-pending { color: var(--red-text); font-weight: 500; }
.c-body { font: 400 var(--s-body)/1.55 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.c-body p + p { margin-top: .7em; }
.c-actions { display: flex; gap: 1.25rem; margin-top: .5rem; }
.c-item .c-form { margin: 1rem 0 0; }

/* ---------- Section pages reuse the front ---------- */
.front-section .front-side h1 { font-size: var(--s-display); line-height: 1; letter-spacing: -.025em; }

/* ---------- Static pages ---------- */
.page { padding-top: clamp(2.5rem, 5vw, 4.5rem); row-gap: 2rem; align-items: start; }
.page-side { grid-column: 1 / 5; grid-row: 1 / span 2; display: grid; gap: 2rem; align-content: start; padding-top: .9rem; padding-right: clamp(0rem, 2vw, 2rem); font: 600 var(--s-small)/1.4 var(--sans); color: var(--ink-2); }
.page-plate { margin: 0; }
.page-plate img { width: 100%; filter: grayscale(1) contrast(1.1); }
.page-plate figcaption { margin-top: .75rem; font: 400 var(--s-small)/1.45 var(--sans); color: var(--ink-2); }
.page h1 { grid-column: 5 / -1; grid-row: 1; font: 600 var(--s-display)/1.03 var(--serif); letter-spacing: -.022em; margin-left: -.03em; }
.prose { grid-column: 5 / -1; grid-row: 2; max-width: 36em; font: 400 var(--s-body)/1.6 var(--serif); }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.25em; font: 600 var(--s-lead)/1.2 var(--serif); }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.25em; }

/* ---------- Footer: the name first ---------- */
.footer { margin-top: var(--space); padding: clamp(3rem, 6vw, 5rem) 0 calc(2.5rem + env(safe-area-inset-bottom)); background: var(--black); color: var(--on-black); }
.footer .sheet { row-gap: 2.5rem; }
.footer-id { grid-column: 1 / 5; display: grid; gap: .75rem; align-content: start; padding-right: 2rem; }
.footer-id .brand { font-size: 2.25rem; }
.footer-id p { font: 400 var(--s-body)/1.5 var(--serif); color: var(--on-black-2); }
.footer-links { grid-column: 5 / -1; display: grid; grid-template-columns: 2fr 1fr; gap: 2rem var(--gap); }
.footer-links h2 { font: 600 var(--s-small)/1.3 var(--sans); margin-bottom: .9rem; }
.footer-links ul { list-style: none; margin: 0; padding: 0; font: 400 var(--s-small)/1.4 var(--sans); }
.footer-links div:first-child ul { columns: 2; column-gap: var(--gap); }
.footer-links li { padding: .3rem 0; break-inside: avoid; }
.footer-links a { color: var(--on-black-2); transition: color 150ms ease; }
@media (hover: hover) { .footer-links a:hover { color: var(--on-black); } }
.footer-legal { grid-column: 1 / -1; font: 400 var(--s-small)/1.5 var(--sans); color: var(--on-black-2); }

/* ---------- Tablet and phone: the axis folds to the left margin ---------- */
@media (max-width: 1000px) {
  .front-side, .lead, .block-title, .briefs, .focus-item, .story-head, .story-side, .jtf, .story-media, .story-body, .correction, .comments-body, .page-side, .page h1, .prose, .footer-id, .footer-links, .front-source, .empty { grid-column: 1 / -1; }
  .story-side { grid-row: auto; position: static; padding: 0; }
  .story-head, .page-side, .page h1, .prose { grid-row: auto; }
  .page-side { padding: 0; }
  .page-plate { max-width: 28rem; }
  .page-side { order: 2; }
  .page h1 { order: 0; }
  .prose { order: 1; }
  .focus .block-title { grid-row: auto; position: static; }
  .front-side { padding-right: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; }
  .front:not(.front-section) .front-date { font: 600 var(--s-small)/1.5 var(--sans); }
  .lead, .front-source { grid-row: auto; }
  .front-source { order: 1; padding-right: 0; max-width: 34rem; }
  .front-edition { max-width: none; }
  .facts { grid-auto-flow: column; justify-content: start; gap: 2rem; }
  .c-date, .c-sec, .c-by, .record:not(:has(.r-sec)) .c-date { width: 9rem; }
}
@media (max-width: 700px) {
  .bar .sheet { grid-template-columns: 1fr; }
  .brand { grid-column: 1; padding-top: .9rem; font-size: 1.5rem; }
  .nav { grid-column: 1; margin-inline: calc(var(--m) * -1); }
  .nav ul { padding-inline: var(--m); }
  .nav a { padding-block: .9rem .85rem; }
  .briefs { grid-template-columns: 1fr; gap: 2.5rem; }
  .focus-item { grid-template-columns: 1fr; }
  .facts { grid-auto-flow: row; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.5rem; }
  .bar { position: static; }
  html { scroll-padding-top: 1rem; }
  .record, .record tbody, .record tr, .record td { display: block; width: auto !important; }
  .record tr { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
  .record tr:last-child { border-bottom: 1px solid var(--rule); }
  .record td, .record tr:last-child td { border: 0; padding: 0; }
  .r-hl { grid-column: 1 / -1; grid-row: 2; margin-top: .35rem; }
  .r-by { display: none !important; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-id { padding-right: 0; }
  .focus-item { gap: .6rem; }
}

/* ---------- Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: var(--ink); --rule: var(--ink); --on-black-2: #ffffff; }
}
@media print {
  .bar, .footer, .share, .gallery-nav { display: none; }
  .story-side { position: static; }
}
