/* Old article-v2 pages inside the v2 chrome: remap the old tokens to the v2 ones (site.css), no layout changes. */
html:root { --bg: var(--c-paper); --bg-2: var(--c-band); --ink: var(--c-ink); --ink-2: var(--c-ink-700); --ink-3: var(--c-ink-500);
  --rule: var(--c-line); --rule-strong: var(--c-ink); --accent: var(--c-ink); --accent-soft: var(--c-band);
  --serif: var(--font-display); --sans: var(--font-body); --mono: var(--font-body); color-scheme: light; }
.legacy h1, .legacy h2, .legacy h3 { font-weight: 800; letter-spacing: -0.03em; }
.legacy .kicker { text-transform: none; letter-spacing: 0; }

/* every old picture fits one screen under the sticky masthead */
.legacy img, .legacy video { max-height: calc(100svh - var(--mast-h) - var(--sp-48)); width: auto; max-width: 100%; object-fit: contain; }

/* long source lines and figure labels wrap instead of pushing past the phone screen */
.legacy .sec .cite { white-space: normal; overflow-wrap: anywhere; }
.legacy .figs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.legacy .figs b, .legacy .figs span, .legacy .figs em { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
