/* Non-Alcoholic Wine by SOMM DIGI: "the sommelier's cut-up notebook".
   Agreed with Alper 30 Oct 2026: torn-paper collage, black + poster red + cream + kraft,
   Anton cut-out headlines, Space Mono typed notes, Instrument Sans for reading. Never serif.
   Every torn edge is a clip-path built per element in src/paper.mjs (--tear, --tilt). */

@font-face { font-family: "Anton"; src: url("/fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("/fonts/space-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #161412;
  --ink-2: #3d3833;
  --ink-3: #5f574e;
  --paper: #ebe4d5;
  --sheet: #f5f0e5;
  --cream: #f1ead9;
  --red: #c22a1f;
  --kraft: #c09062;
  --line: rgba(22, 20, 18, 0.16);
  --c-sparkling: #cf9f32;
  --c-white: #cfc57a;
  --c-rose: #e2846c;
  --c-red: var(--red);
  --c-regular: var(--ink);
  --c-neutral: #9d958a;
  --gutter: clamp(16px, 4vw, 56px);
  --wide: 1440px;
  --cut: "Anton", "Impact", "Arial Narrow", sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0; color: var(--ink); font: 400 17px/1.6 var(--text);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1  0 0 0 0 .08  0 0 0 0 .06  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
.card h3, .ranked b, .about-cols b, .next b { text-wrap: balance; }
b { font-weight: 600; }
p, li, dd { text-wrap: pretty; }
.nw { white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--cream); padding: 8px 14px; z-index: 50; }
.skip-link:focus { left: 8px; }

/* Paper tones and the torn edge */
.t-ink { background: var(--ink); color: var(--cream); }
.t-red { background: var(--red); color: var(--cream); }
.t-cream { background: var(--cream); color: var(--ink); }
.t-kraft { background: var(--kraft); color: var(--ink); }
.t-sparkling { background: var(--c-sparkling); color: var(--ink); }
.t-ink a, .t-red a { color: inherit; }
[style*="--tear"] { clip-path: var(--tear); }

/* Cut-out headlines: one torn strip per line */
.cut { font-family: var(--cut); text-transform: uppercase; line-height: 0.92; letter-spacing: 0.005em; filter: drop-shadow(2px 3px 0 rgba(22, 20, 18, 0.18)); }
.strip { text-wrap: balance; display: block; width: fit-content; max-width: 100%; padding: 0.26em 0.32em 0.2em; line-height: 1; margin-bottom: -0.1em; transform: rotate(var(--tilt)); overflow-wrap: anywhere; }
.strip:nth-child(2) { margin-left: 0.5em; }
.strip:nth-child(3) { margin-left: 0.18em; }
.strip:nth-child(4) { margin-left: 0.7em; }
.strip:nth-child(5) { margin-left: 0.3em; }
.cut-xl { font-size: clamp(36px, 8.4vw, 118px); }
.cut-md { font-size: clamp(38px, 4.6vw, 70px); }
.cut-sm { font-size: clamp(30px, 3vw, 46px); }
.g-head .cut { font-size: clamp(36px, 4.4vw, 68px); }
.tag { display: inline-block; font-family: var(--cut); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; padding: 0.3em 0.5em 0.24em; transform: rotate(var(--tilt)); }
.typed, .stamp, .typed-line { font-family: var(--mono); }
.typed { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 10px; }
.stamp { display: inline-block; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); border: 2px solid var(--red); padding: 5px 10px 4px; transform: rotate(-2.5deg); margin: 0 0 18px; }

/* Header */
.top { position: relative; z-index: 20; border-bottom: 2px solid var(--ink); }
.top-in { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mark { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink); }
.mark b { font: 400 22px/1 var(--cut); text-transform: uppercase; letter-spacing: 0.02em; background: var(--ink); color: var(--cream); padding: 9px 12px 7px; transform: rotate(-1deg); white-space: nowrap; }
.mark span { font: 400 13px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); white-space: nowrap; }
.d-menu ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.d-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 11px; color: var(--ink); text-decoration: none; font: 400 13px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.d-menu a:hover { background: var(--cream); }
.d-menu a[aria-current="page"] { background: var(--red); color: var(--cream); }
.m-menu { display: none; position: relative; }
.m-menu summary { list-style: none; cursor: pointer; min-height: 44px; padding: 0 16px; display: flex; align-items: center; background: var(--ink); color: var(--cream); font: 400 14px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.m-menu summary::-webkit-details-marker { display: none; }
.m-panel { position: absolute; right: 0; top: 54px; width: min(320px, calc(100vw - 32px)); background: var(--cream); border: 2px solid var(--ink); padding: 6px; box-shadow: 6px 6px 0 var(--ink); }
.m-panel ul { list-style: none; margin: 0; padding: 0; }
.m-panel a { display: block; padding: 13px 14px; color: var(--ink); text-decoration: none; font: 400 14px/1.3 var(--mono); text-transform: uppercase; }
.m-panel a[aria-current="page"] { background: var(--red); color: var(--cream); }
@media (max-width: 1240px) { .d-menu { display: none; } .m-menu { display: block; } }

/* Shared pieces */
.byline { display: inline-flex; flex-direction: column; margin: 26px 0 0; padding: 10px 16px 9px; background: var(--kraft); color: var(--ink); font: 400 14px/1.5 var(--mono); transform: rotate(var(--tilt)); max-width: 100%; }
.byline a { color: inherit; }
@media (min-width: 601px) { .byline span { white-space: nowrap; } }
.dash { display: inline-block; transform: scaleX(1.6); margin: 0 0.12em; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 22px; padding: 0; font: 400 13px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.facts div { padding: 22px 24px 24px; transform: rotate(var(--tilt)); }
.facts dt { font: 400 clamp(40px, 4.4vw, 64px)/0.95 var(--cut); letter-spacing: 0.01em; white-space: nowrap; }
.facts dd { margin: 10px 0 0; font: 400 14px/1.5 var(--mono); }
.note-card { white-space: nowrap; margin: 0; padding: 16px 20px 15px; background: var(--sheet); font: 400 15px/1.4 var(--mono); transform: rotate(var(--tilt)); width: fit-content; max-width: 100%; }
.grid-paper {
  background-color: var(--sheet);
  background-image: linear-gradient(rgba(22, 20, 18, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 20, 18, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Home */
.hero-home { max-width: var(--wide); margin: 0 auto; padding: clamp(40px, 7vh, 80px) var(--gutter) clamp(56px, 8vh, 96px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); gap: clamp(36px, 5vh, 56px) clamp(32px, 4vw, 64px); align-items: start; }
.hero-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 24px; }
.hero-head .cut { flex: none; max-width: 100%; }
.lead { margin: 0; padding: 22px 26px 24px; background: var(--sheet); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; max-width: 34ch; transform: rotate(var(--tilt)); }
.hero-notes { display: grid; justify-items: start; gap: 16px; padding-bottom: 14px; flex: none; }
.hero-notes .note-card:nth-child(2) { background: var(--red); color: var(--cream); margin-left: 28px; }
.hero-404 { grid-template-columns: 1fr; }
.learn { background: var(--ink); color: var(--cream); padding: clamp(56px, 8vh, 96px) var(--gutter); }
.learn > * { max-width: calc(var(--wide) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.learn .cut { margin-bottom: 40px; filter: none; }
.styles-note, .more { max-width: var(--wide); margin: 0 auto; padding: clamp(56px, 8vh, 96px) var(--gutter); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: 36px; }
.typed-line { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); justify-self: end; max-width: 46ch; }

/* Cards: torn pieces of paper */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.cards-home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { transform: rotate(var(--tilt)); transition: transform 0.2s ease; }
.card:hover { transform: rotate(0deg) translateY(-3px); }
.card a { height: 100%; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 32px; color: inherit; text-decoration: none; }
.card .num { font: 400 13px/1 var(--mono); letter-spacing: 0.1em; }
.card h3 { font: 400 clamp(26px, 2.2vw, 32px)/1.02 var(--cut); text-transform: uppercase; letter-spacing: 0.01em; }
.card p { margin: 0; font-size: 16px; }
.card .go { margin-top: auto; font: 400 13px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; text-decoration: underline; text-underline-offset: 4px; }
.card.t-cream .num, .card.t-cream .go { color: var(--red); }
.card.t-kraft .num, .card.t-kraft .go { color: var(--ink); }
.card-big { grid-column: span 2; }
.card-big a { padding: 40px 40px 42px; }
.card-big h3 { font-size: clamp(32px, 4.4vw, 68px); max-width: 16ch; }
.card-big p { font-size: 19px; max-width: 46ch; }

/* Ranked styles: one torn card per style, in its wine colour */
.ranked { list-style: none; counter-reset: r; margin: 8px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ranked li { counter-increment: r; display: grid; align-content: start; gap: 10px; padding: 24px 22px 26px; background: var(--c); transform: rotate(var(--tilt)); color: var(--ink); }
.ranked li.s-red { color: var(--cream); }
.ranked li::before { content: counter(r, decimal-leading-zero); font: 400 13px/1 var(--mono); }
.ranked b { font: 400 30px/1 var(--cut); text-transform: uppercase; font-weight: 400; }
.ranked span { font-size: 16px; }
.g-main .ranked { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.s-sparkling { --c: var(--c-sparkling); }
.s-white { --c: var(--c-white); }
.s-rose { --c: var(--c-rose); }
.s-red { --c: var(--c-red); }
.s-regular { --c: var(--c-regular); }
.s-neutral { --c: var(--c-neutral); }
.s-limit { --c: var(--c-regular); }

/* Guide */
.g-head { max-width: var(--wide); margin: 0 auto; padding: clamp(28px, 5vh, 56px) var(--gutter) clamp(36px, 5vh, 56px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: end; }
.g-head { align-items: start; }
.g-title { padding-top: clamp(26px, 2.6vw, 38px); }
.g-title .crumbs ol { margin-top: -12px; }
.g-answer { background: var(--sheet); padding: clamp(26px, 2.6vw, 38px); transform: rotate(var(--tilt)); }
.answer { margin: 0; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; }
.answer-more { margin: 14px 0 0; color: var(--ink-2); }
.guide > .facts { max-width: var(--wide); margin: 0 auto clamp(48px, 7vh, 72px); padding: 0 var(--gutter); }
.g-body { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter) clamp(48px, 7vh, 80px); display: grid; grid-template-columns: 230px minmax(0, 780px) minmax(200px, 1fr); gap: clamp(28px, 3.4vw, 56px); align-items: start; }
.toc, .g-side { position: sticky; top: 24px; }
.toc { background: var(--kraft); padding: 20px 18px 22px; transform: rotate(var(--tilt)); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 0; color: var(--ink); text-decoration: none; font: 400 13.5px/1.4 var(--mono); }
.toc a:hover { text-decoration: underline; }
.next { display: block; padding: 24px 22px 26px; text-decoration: none; transform: rotate(var(--tilt)); }
.next b { display: block; font: 400 24px/1.04 var(--cut); text-transform: uppercase; }
.block { padding-bottom: 8px; }
.block + .block { margin-top: 52px; }
.block h2 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 22px; }
.block p { margin: 0 0 16px; color: var(--ink-2); max-width: 68ch; }
.list { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 68ch; }
.list li { position: relative; padding-left: 26px; color: var(--ink-2); }
.list li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 14px; height: 3px; background: var(--red); }
.list b, .steps b, .block p b { color: var(--ink); }
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--sheet); padding: 22px 22px 24px; color: var(--ink-2); transform: rotate(var(--tilt)); }
.steps li::before { content: counter(s); display: block; font: 400 44px/1 var(--cut); color: var(--red); margin-bottom: 10px; }
.note { margin: 22px 0 6px !important; padding: 16px 20px 15px; background: var(--kraft); color: var(--ink) !important; font: 400 14.5px/1.55 var(--mono); transform: rotate(var(--tilt)); max-width: 68ch; }

/* Tables on graph paper */
.table { margin: 4px 0 16px; overflow-x: auto; border: 2px solid var(--ink); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
thead th { font: 400 12px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream); background: var(--ink); }
tbody th { font-weight: 400; min-width: 150px; }
tbody tr:last-child > * { border-bottom: 0; }
td { color: var(--ink-2); }

/* Bar charts: each bar a torn strip */
.chart { margin: 8px 0 16px; padding: clamp(20px, 2.2vw, 30px); border: 2px solid var(--ink); }
.chart figcaption { font: 400 13px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 18px; padding: 0; font: 400 13px/1.3 var(--mono); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend li::before { content: ""; width: 14px; height: 14px; background: var(--c); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.bars li { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr) 68px; align-items: center; gap: 14px; font-size: 14.5px; }
.b-label { color: var(--ink-2); line-height: 1.3; }
.b-track { height: 20px; }
.b-fill { display: block; height: 100%; background: var(--c); min-width: 6px; }
.b-zero { width: 100%; height: 2px; min-width: 0; background: var(--ink); opacity: 0.35; margin-top: 9px; }
.b-val { text-align: right; font: 400 21px/1 var(--cut); letter-spacing: 0.02em; white-space: nowrap; }
.chart-note { margin: 18px 0 0 !important; font: 400 13.5px/1.55 var(--mono); color: var(--ink-2) !important; }

/* Sources */
.sources { margin-top: 56px; }
.sources h2 { font-size: 22px; margin-bottom: 18px; }
.sources ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; font: 400 13.5px/1.55 var(--mono); color: var(--ink-3); }
.sources a { color: var(--ink-2); }
.src-note { justify-self: start; margin-bottom: 16px; }
.src-links a { display: flex; align-items: center; min-height: 44px; }
.list-plain a { display: inline-block; padding: 12px 0; }
.list-plain { margin: 0; padding-left: 22px; display: grid; gap: 10px; font: 400 14px/1.55 var(--mono); max-width: 90ch; }
.learn-hub { padding-top: clamp(32px, 5vh, 56px); }
.learn-hub .crumbs ol { color: rgba(241, 234, 217, 0.7); }
.learn-hub .crumbs a { color: var(--cream); }

/* About */
.about-row { max-width: var(--wide); margin: 0 auto; padding: clamp(36px, 5vh, 56px) var(--gutter); }
.about-row h2 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 24px; }
.about-row p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.about-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.about-cols li { padding: 26px 26px 28px; display: grid; align-content: start; gap: 10px; transform: rotate(var(--tilt)); }
.about-cols b { font: 400 26px/1.05 var(--cut); text-transform: uppercase; font-weight: 400; }
.about-two { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); }

/* Footer */
.foot { background: var(--ink); color: rgba(241, 234, 217, 0.8); }
.foot-in { max-width: var(--wide); margin: 0 auto; padding: 60px var(--gutter); display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 40px; font-size: 15px; }
.foot-mark { margin: 0 0 18px; }
.foot-mark b { display: inline-block; font: 400 30px/1 var(--cut); text-transform: uppercase; background: var(--red); color: var(--cream); padding: 10px 14px 8px; transform: rotate(-1.2deg); }
.foot-about p { max-width: 42ch; }
.foot-h { font: 400 12px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(241, 234, 217, 0.6); margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; }
.foot a { color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.foot a:hover { text-decoration: underline; }

/* Small laptop: headline on top, words and the three numbers each full width */
@media (max-width: 1279px) {
  .hero-home { grid-template-columns: 1fr; }
  .hero-notes { display: none; }
  .hero-board .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-words { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 28px; }
  .hero-words .byline { margin-top: 0; }
}
.about .g-title { align-self: center; }
/* Short laptop windows: a smaller headline so the words and numbers show without scrolling */
@media (max-height: 700px) and (min-width: 601px) {
  .cut-xl { font-size: clamp(36px, 6vw, 84px); }
  .hero-home { padding-top: 28px; row-gap: 28px; }
  .g-head { padding-top: 20px; }
}
@media (max-height: 700px) and (min-width: 900px) { .hero-notes { display: grid; } }

/* Laptop */
@media (max-width: 1280px) {
  .g-body { grid-template-columns: 210px minmax(0, 1fr); }
  .g-side { display: none; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ranked { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Tablet */
@media (max-width: 900px) {
  .hero-head { flex-direction: column; align-items: flex-start; }
  .hero-board .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-board .facts div { display: block; }
  .hero-board .facts dd { margin-top: 10px; }
  .facts { grid-template-columns: 1fr; gap: 12px; }
  .facts div { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 28px; align-items: center; }
  .facts dd { margin: 0; }
  .hero-home, .g-head, .sec-head { grid-template-columns: 1fr; }
  .typed-line { justify-self: start; }
  .g-body { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .cards-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-cols, .about-two { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
/* Phone */
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .mark span { display: none; }
  .mark b { font-size: 19px; }
  .facts, .hero-board .facts { grid-template-columns: 1fr; gap: 12px; }
  .facts div { padding: 16px 18px 18px; display: block; }
  .facts dt { font-size: 34px; }
  .g-head .cut { font-size: 32px; }
  .tag { display: inline; clip-path: none; transform: none; line-height: 1.5; padding: 0.18em 0.4em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .facts dd { margin: 6px 0 0; font-size: 16px; }
  .hero-notes { display: none; }
  .cards-home, .cards-3, .ranked, .g-main .ranked, .steps { grid-template-columns: 1fr; }
  .card-big { grid-column: auto; }
  .card-big a, .card a { padding: 26px 22px 28px; }
  .byline, .sources ol, .chart-note, .note, .note-card, .toc a, .typed-line, .list-plain { font-size: 16px !important; }
  .bars li { grid-template-columns: minmax(0, 1fr) 60px; gap: 4px 10px; }
  .b-label { grid-column: 1 / -1; font-size: 16px; }
  .table { border: 0; overflow: visible; background: none; }
  table, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tbody tr { border: 2px solid var(--ink); margin-bottom: 14px; background: var(--sheet); }
  tbody th { background: var(--ink); color: var(--cream); }
  tbody th b { color: var(--cream); }
  td::before { content: attr(data-label); display: block; font: 400 11px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
  td[data-label=""]::before { display: none; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
