/* ============================================================
   SCHULDBUCH — the design system of Bund Check (fin-bonds)
   ------------------------------------------------------------
   German federal bonds exist only as entries in the
   Bundesschuldbuch, the federal debt register. This site is
   itself a register — of claims, verdicts and auctions — so the
   design is a modern ledger: archival paper, iron-gall ink,
   ruled lines, tabular numerals, stamped verdicts. Registerblau
   is the single working accent: the color of the official
   record. Verdict colors are semantic tokens, never decoration.
   Frozen visual spec: /design.html · token record: specs/design.md
   ============================================================ */

:root {
  /* ground & ink */
  --paper:       #F4F1E9;  /* Registerpapier — warm archival white, never pure */
  --paper-2:     #ECE8DA;  /* raised panels, table heads */
  --paper-3:     #E4DFCE;  /* pressed rows, code chips */
  --ink:         #1B2026;  /* Eisengallustinte — warm blue-black, never pure black */
  --ink-soft:    #494F58;  /* secondary prose */
  --ink-faint:   #86837A;  /* captions, kickers, folio numbers */
  --rule:        #D8D2C0;  /* ledger ruling */
  --rule-strong: #1B2026;  /* section cut lines */
  /* the one working accent */
  --accent:      #1F49D0;  /* Registerblau — the official record: links, active nav, primary chart series */
  --accent-dim:  #16337F;  /* pressed/visited record states */
  --accent-wash: color-mix(in srgb, var(--accent) 8%, transparent);
  /* verdict tokens — semantic weight only, one per classification */
  --v-true:       #1E7A4A;  /* true */
  --v-mostly:     #97781C;  /* mostly true */
  --v-misleading: #C05A21;  /* misleading */
  --v-false:      #B03036;  /* false */
  --v-opinion:    #7A7469;  /* opinion — not fact-checkable */
  --v-open:       #3A4048;  /* not verifiable / not yet verified */
  /* registers of the fact-check prose */
  --reg-finding:  var(--accent);  /* Finding — what the data shows */
  --reg-interp:   #8A6A2F;        /* Interpretation — bronze: inference, not record */
  /* type */
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Spectral", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-ui: "Bricolage Grotesque", sans-serif;
  /* layout */
  --measure: 66ch;
  --page: 72rem;
  /* template-structure aliases (resolve at use time, dark included) */
  --c-bg: var(--paper);
  --c-surface: var(--paper-2);
  --c-ink: var(--ink);
  --c-muted: var(--ink-faint);
  --c-rule: var(--rule);
  --c-accent: var(--accent);
  --c-accent-soft: var(--accent-dim);
}

html.dark {
  /* the same ledger, re-lit at the desk lamp — not an inversion */
  --paper:       #14171C;
  --paper-2:     #1A1E25;
  --paper-3:     #21262F;
  --ink:         #E8E4D8;
  --ink-soft:    #ADAFA6;
  --ink-faint:   #7E8079;
  --rule:        #2C313A;
  --rule-strong: #E8E4D8;
  --accent:      #7C9BFF;
  --accent-dim:  #A9BDFF;
  --v-true:       #4CAE7F;
  --v-mostly:     #C7A544;
  --v-misleading: #E08A55;
  --v-false:      #E06B70;
  --v-opinion:    #9B968B;
  --v-open:       #B9BDC4;
  --reg-interp:   #C09B54;
}

/* ---------- base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

a { color: var(--c-accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--c-accent-soft); }

code, pre, .data { font-family: var(--font-mono); font-size: 0.9em; }
pre { overflow-x: auto; max-width: 100%; background: var(--paper-2); padding: .9rem 1.1rem; border-radius: .4rem; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--c-accent); color: var(--c-bg); padding: 0.5rem 1rem;
}
.skip-link:focus { left: 0; z-index: 10; }

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

.masthead { border-bottom: 1px solid var(--c-rule); }

.masthead__inner {
  max-width: var(--page); margin: 0 auto; padding: 0.9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.brand { text-decoration: none; color: var(--c-ink); }
.brand__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }

.masthead__links { display: flex; align-items: center; gap: 1.1rem; }

.navlink {
  font-family: var(--font-ui); font-size: 0.95rem;
  color: var(--c-ink); text-decoration: none;
}
.navlink:hover { color: var(--c-accent); }

.masthead__burger { display: none; }

.theme-toggle {
  background: none; border: 1px solid var(--c-rule); border-radius: 999px;
  width: 2.1rem; height: 2.1rem; padding: 0.35rem; cursor: pointer; color: var(--c-ink);
}
.theme-toggle svg { width: 100%; height: 100%; }
.theme-toggle__moon { display: none; }
html.dark .theme-toggle__sun { display: none; }
html.dark .theme-toggle__moon { display: block; }

@media (max-width: 40rem) {
  .masthead__burger {
    display: flex; flex-direction: column; gap: 4px;
    background: none; border: none; padding: 0.4rem; cursor: pointer;
  }
  .masthead__burger span { width: 20px; height: 2px; background: var(--c-ink); }
  .masthead__links {
    display: none; position: absolute; right: 1rem; top: 3.4rem;
    flex-direction: column; align-items: flex-end; gap: 0.8rem;
    background: var(--c-surface); border: 1px solid var(--c-rule);
    border-radius: 6px; padding: 1rem 1.25rem; z-index: 20;
  }
  .masthead__links.is-open { display: flex; }
}

/* ---------- content ---------- */

.hero { max-width: var(--measure); margin: 3.5rem auto 1rem; padding: 0 1.25rem; }
.hero__title { font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 0.5rem; }
.hero__dek { color: var(--c-muted); font-size: 1.15rem; margin: 0; }

.prose { max-width: var(--measure); margin: 2rem auto 4rem; padding: 0 1.25rem; }
.prose h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.prose img { max-width: 100%; height: auto; }
.prose blockquote {
  margin: 1.5rem 0; padding: 0.25rem 0 0.25rem 1.1rem;
  border-left: 3px solid var(--c-accent); color: var(--c-muted); font-style: italic;
}
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border-bottom: 1px solid var(--c-rule); padding: 0.4rem 0.6rem; text-align: left; }
.prose th { font-family: var(--font-ui); font-size: 0.85rem; }

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

.colophon { border-top: 1px solid var(--c-rule); margin-top: 2rem; }
.colophon__inner {
  max-width: var(--page); margin: 0 auto; padding: 2rem 1.25rem 2.5rem;
  font-family: var(--font-ui); font-size: 0.9rem; color: var(--c-muted);
}
.colophon__title { font-family: var(--font-display); color: var(--c-ink); margin: 0 0 0.5rem; }
.colophon__links { display: flex; flex-wrap: wrap; gap: 1rem; }
.colophon__links a { color: var(--c-muted); }
.colophon__foot { margin-top: 1.25rem; }

/* ============================================================
   Schuldbuch components (per /design.html, the frozen spec)
   ============================================================ */

::selection { background: var(--accent); color: var(--paper); }

/* grain atmosphere */
.grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 99; opacity: .05; mix-blend-mode: multiply; }
html.dark .grain { opacity: .09; mix-blend-mode: screen; }

/* shared primitives */
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 2rem; }
.kicker {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint);
}
.kicker b { color: var(--accent); font-weight: 600; }

/* verdict badges — stamped chips */
.badge {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .28em .7em; border: 1.5px solid currentColor; border-radius: .3em;
  background: color-mix(in srgb, currentColor 9%, transparent);
  white-space: nowrap;
}
.badge::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: currentColor; flex: none; }
.b-true { color: var(--v-true); } .b-mostly { color: var(--v-mostly); }
.b-misleading { color: var(--v-misleading); } .b-false { color: var(--v-false); }
.b-opinion { color: var(--v-opinion); } .b-open { color: var(--v-open); }
.b-open::before { border-radius: 0; }
.badge.stamp { transform: rotate(-1.5deg); font-size: .82rem; padding: .4em .9em; }

/* masthead, re-set as the register's head */
.masthead { border-bottom: 1.5px solid var(--rule-strong); }
.brand { display: flex; align-items: center; gap: .8rem; }
.mark { display: flex; align-items: flex-end; gap: .22rem; height: 1.35rem; }
.mark i { width: .34rem; background: var(--ink); }
.mark i:nth-child(1) { height: 100%; }
.mark i:nth-child(2) { height: 72%; }
.mark i:nth-child(3) { height: 38%; background: var(--accent); }
.brand__title { font-weight: 700; letter-spacing: -.01em; }
.brand__sub {
  display: block; font-family: var(--font-mono); font-weight: 400; font-size: .62rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint);
}
.navlink { font-family: var(--font-display); font-weight: 500; padding-bottom: .2rem; border-bottom: 2px solid transparent; }
.navlink:hover { border-bottom-color: var(--accent); }
.navlink.is-active { border-bottom-color: var(--accent); color: var(--accent); }

/* ledger ruling wash for heads */
.ruled {
  background: repeating-linear-gradient(to bottom,
    transparent 0 30px, color-mix(in srgb, var(--ink) 6%, transparent) 30px 31px);
}

/* home hero */
.hero-register { border-bottom: 1.5px solid var(--rule-strong); }
.hero-register .wrap {
  padding-top: 4rem; padding-bottom: 3rem;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(15rem, 1fr); gap: 3rem;
}
.hero-register h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.02;
  letter-spacing: -.03em; font-weight: 700; margin: 1rem 0 0;
}
.hero-register h1 em { font-style: normal; color: var(--accent); }
.hero-register .lede { margin-top: 1.4rem; font-size: 1.15rem; max-width: 36rem; color: var(--ink-soft); }
.hero-register .legend { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .5rem; }

.stat-rail { border-left: 1.5px solid var(--rule-strong); padding-left: 1.75rem; align-self: end; display: grid; gap: 1.5rem; }
.stat .kicker { margin: 0 0 .15rem; }
.stat .n {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; font-feature-settings: "tnum";
  margin: 0;
}
.stat .n small { font-size: .45em; font-weight: 600; color: var(--ink-faint); letter-spacing: 0; }
.stat .src { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-faint); margin: .2rem 0 0; }
.stat.hot .n { color: var(--v-misleading); }

/* the claim register */
.claims { padding: 3.2rem 0 1rem; }
.claims .claims__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.claims h2 { font-size: 1.9rem; letter-spacing: -.02em; margin: 0; }
.claim-row {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; gap: 1.2rem; align-items: baseline;
  padding: 1rem .5rem; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink);
}
.claim-row:first-of-type { border-top: 1.5px solid var(--rule-strong); }
.claim-row .folio { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-faint); }
.claim-row .t { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; display: block; }
.claim-row .d { font-size: .9rem; color: var(--ink-soft); margin-top: .15rem; max-width: 46rem; display: block; }
a.claim-row:hover { background: var(--accent-wash); }
a.claim-row:hover .t { color: var(--accent); }
.claim-row.deferred .t { color: var(--ink-soft); font-weight: 500; }

/* claim page head */
.claimhead { border-bottom: 1.5px solid var(--rule-strong); }
.claimhead .wrap { padding-top: 3rem; padding-bottom: 2.4rem; max-width: 56rem; }
.claimhead .crumbs { display: flex; gap: .6rem; align-items: center; margin: 0 0 1.6rem; }
.claimhead h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; letter-spacing: -.025em;
  margin: .9rem 0 1rem; font-weight: 700;
}
.claimhead .dek { font-size: 1.12rem; color: var(--ink-soft); max-width: 40rem; margin: 0; }

/* claim article */
.article { max-width: 56rem; margin: 0 auto; padding: 2.5rem 2rem 0; }
.article > p, .article > ul, .article > ol { max-width: var(--measure); }
.verdict-box {
  border: 1.5px solid; border-radius: .45rem; padding: 1.1rem 1.3rem; margin: 0 0 2.2rem;
  max-width: var(--measure);
}
.verdict-box .tag {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; display: block; margin-bottom: .4rem;
}
.verdict-box p { margin: 0; font-size: 1.05rem; }
.vb-true { border-color: var(--v-true); background: color-mix(in srgb, var(--v-true) 6%, transparent); }
.vb-true .tag { color: var(--v-true); }
.vb-mostly { border-color: var(--v-mostly); background: color-mix(in srgb, var(--v-mostly) 6%, transparent); }
.vb-mostly .tag { color: var(--v-mostly); }
.vb-misleading { border-color: var(--v-misleading); background: color-mix(in srgb, var(--v-misleading) 6%, transparent); }
.vb-misleading .tag { color: var(--v-misleading); }
.vb-false { border-color: var(--v-false); background: color-mix(in srgb, var(--v-false) 6%, transparent); }
.vb-false .tag { color: var(--v-false); }
.vb-opinion { border-color: var(--v-opinion); background: color-mix(in srgb, var(--v-opinion) 6%, transparent); }
.vb-opinion .tag { color: var(--v-opinion); }
.vb-open { border-color: var(--v-open); background: color-mix(in srgb, var(--v-open) 6%, transparent); }
.vb-open .tag { color: var(--v-open); }

/* section headings with folio numbers */
h2.sec {
  font-size: 1.5rem; letter-spacing: -.015em; margin: 2.8rem 0 1rem;
  display: flex; align-items: baseline; gap: .75rem;
}
h2.sec .no { font-family: var(--font-mono); font-weight: 500; font-size: .78rem; color: var(--accent); white-space: nowrap; }

/* the three registers of fact-check prose */
.register { border-left: 3px solid; padding: .9rem 1.2rem; margin: 1.4rem 0; max-width: var(--measure); }
.register .tag {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; display: block; margin-bottom: .35rem;
}
.register p { margin: 0; }
.reg-finding { border-color: var(--reg-finding); background: color-mix(in srgb, var(--reg-finding) 6%, transparent); }
.reg-finding .tag { color: var(--reg-finding); }
.reg-interp { border-color: var(--reg-interp); background: color-mix(in srgb, var(--reg-interp) 6%, transparent); }
.reg-interp .tag { color: var(--reg-interp); }
.reg-opinion { border-color: var(--v-opinion); background: transparent; font-style: italic; color: var(--ink-soft); }
.reg-opinion .tag { color: var(--v-opinion); font-style: normal; }

/* cross-reference to the concept layer (long-and-short) — the primer this site delegates teaching to */
.crossref {
  display: block; max-width: var(--measure); margin: 1.3rem 0;
  padding: .7rem 1rem .7rem .95rem;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--rule));
  border-left: 3px solid var(--accent);
  border-radius: .3rem; background: var(--accent-wash);
  font-size: .93rem; line-height: 1.5; color: var(--ink-soft);
}
.crossref .tag {
  font-family: var(--font-mono); font-size: .64rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-right: .5em;
}
.crossref .tag::before { content: "\2197\00a0"; /* ↗ off-site pointer */ }
.crossref a { font-weight: 600; }
.crossref em { color: var(--ink); font-style: italic; }
code.hash { word-break: break-all; }

/* German source quote device */
.quelle { margin: 1.6rem 0; max-width: var(--measure); border: 1px solid var(--rule); border-radius: .4rem; overflow: hidden; }
.quelle blockquote { margin: 0; padding: 1.2rem 1.4rem .9rem; border: none; font-style: italic; font-size: 1.08rem; line-height: 1.6; color: var(--ink); quotes: "\201E" "\201C"; }
.quelle blockquote::before { content: open-quote; color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 1.4em; margin-right: .05em; }
.quelle blockquote::after { content: close-quote; color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 1.4em; margin-left: .05em; }
.quelle .uebersetzung { padding: .9rem 1.4rem; border-top: 1px dashed var(--rule); font-size: .95rem; color: var(--ink-soft); }
.quelle .uebersetzung b {
  font-family: var(--font-mono); font-size: .65rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-faint); display: block; margin-bottom: .25rem;
}
.quelle .src { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 1.4rem; background: var(--paper-2); font-family: var(--font-mono); font-size: .72rem; color: var(--ink-faint); }
.quelle .src a { color: inherit; }

/* ledger tables */
.table-scroll { overflow-x: auto; }
.table-scroll table.ledger { min-width: 560px; }
table.ledger { width: 100%; border-collapse: collapse; font-feature-settings: "tnum"; }
.ledger caption { caption-side: bottom; text-align: left; padding-top: .6rem; font-size: .8rem; color: var(--ink-faint); font-style: italic; }
.ledger th {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint);
  text-align: left; padding: .55rem .75rem; border-bottom: 1.5px solid var(--rule-strong);
}
.ledger td { padding: .7rem .75rem; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.ledger tbody tr:hover td { background: var(--accent-wash); }
.ledger .num { text-align: right; font-family: var(--font-mono); font-size: .88rem; white-space: nowrap; }
.ledger th.num { text-align: right; }
.ledger .isin { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-soft); }
.ledger tr.flag td { background: color-mix(in srgb, var(--v-misleading) 7%, transparent); }

/* charts (inline SVG keyed to tokens) */
figure.chart { margin: 1.8rem 0; }
figure.chart svg { display: block; width: 100%; height: auto; }
figure.chart figcaption { font-size: .8rem; color: var(--ink-faint); font-style: italic; margin-top: .5rem; }
.chart .axis { font-family: var(--font-mono); font-size: 10.5px; fill: var(--ink-faint); }
.chart .gridline { stroke: var(--rule); stroke-width: 1; }
.chart .baseline { stroke: var(--rule-strong); stroke-width: 1.5; }
.chart .bar { fill: var(--accent); }
.chart .bar.warn { fill: var(--v-misleading); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2; }
.chart .dot { fill: var(--accent); }
.chart .refline { stroke: var(--v-false); stroke-width: 1.5; stroke-dasharray: 5 4; }
.chart .reflabel { font-family: var(--font-mono); font-size: 10.5px; fill: var(--v-false); }
.chart .val { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; fill: var(--ink); }

/* page heads for evidence/dataset pages */
.page-head .wrap { padding-top: 3rem; padding-bottom: 1.8rem; display: flex; flex-wrap: wrap; align-items: end; gap: 2rem; justify-content: space-between; }
.page-head h1 { font-size: 2.4rem; letter-spacing: -.02em; margin: .3rem 0 0; }
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
  border: 1.5px solid var(--ink); border-radius: 2em; padding: .45em 1em;
  color: var(--ink); text-decoration: none;
}
.chip:hover { background: var(--ink); color: var(--paper); }
.chip svg { width: .9em; height: .9em; }
.provenance { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-faint); }
.ledger td.provenance { white-space: normal; min-width: 12ch; }

/* narrow-viewport variant: few rows, long artifact paths — stack each row
   as a ledger entry instead of scrolling columns off-screen */
@media (max-width: 40rem) {
  .table-scroll table.ledger--stack { min-width: 0; }
  .ledger--stack thead { display: none; }
  .ledger--stack tr { display: block; padding: .8rem 0; }
  .ledger--stack td { display: block; padding: .15rem 0; border-bottom: none; }
  .ledger--stack tr { border-bottom: 1px solid var(--rule); }
  .ledger--stack td code { word-break: break-all; }
  .ledger--stack td.provenance { min-width: 0; }
}

/* prose refinements */
.prose > p:first-of-type::first-letter {
  font-family: var(--font-display); font-weight: 600; font-size: 3.1em;
  float: left; line-height: .85; padding: .04em .12em 0 0; color: var(--accent);
}
.article .lead::first-letter {
  font-family: var(--font-display); font-weight: 600; font-size: 3.1em;
  float: left; line-height: .85; padding: .04em .12em 0 0; color: var(--accent);
}

/* colophon, mono'd */
.colophon { border-top: 1.5px solid var(--rule-strong); }
.colophon__inner { font-family: var(--font-mono); font-size: .72rem; }
.colophon__title { font-family: var(--font-display); font-weight: 700; }

/* pager between claims */
.pager { display: flex; justify-content: space-between; gap: 1rem; max-width: 56rem; margin: 3rem auto 0; padding: 1.2rem 2rem 0; border-top: 1px solid var(--rule); font-family: var(--font-display); font-weight: 500; }

@media (max-width: 44rem) {
  .wrap { padding: 0 1.25rem; }
  /* SVG text is in user units — larger units compensate the ~0.5x viewBox scale on phones */
  .chart .axis, .chart .reflabel { font-size: 15px; }
  .chart .val { font-size: 16px; }
  .hero-register .wrap { grid-template-columns: 1fr; }
  .stat-rail {
    border-left: none; border-top: 1.5px solid var(--rule-strong);
    padding: 1.5rem 0 0; grid-template-columns: repeat(3, 1fr);
  }
  .claim-row { grid-template-columns: 2rem minmax(0, 1fr); }
  .claim-row .badge { grid-column: 2; justify-self: start; }
  .article { padding: 2rem 1.25rem 0; }
  .claimhead .wrap, .page-head .wrap { padding-top: 2rem; }
}

/* ---------- motion & print floor (non-negotiable) ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .masthead, .colophon, .theme-toggle, .skip-link { display: none; }
  body { background: #fff; color: #000; }
}
