/* deck.css: theme for "Copy, Contract, Tilt" (maths seminar, 13 November 2026), on the engine and look of the
   WK deck ("What Is Left to Write?", 1 October 2026). Dark only. The background is dye in water (assets/dye.js);
   the violet is brighter than WK's and comes in four candidates (key P: violet, lilac, electric, wk).
   Chart colours are constant across palettes and were checked with the dataviz validator for the WK deck:
   gold #c98500 and blue #3987e5 pass together; red #e66767 passes with blue but NOT with gold, so red never
   shares a chart with gold; violet is decoration only (it collapses into blue under protanopia). */

/* ---------- fonts (self-hosted, OFL; licences in fonts/) ---------- */
@font-face {
  font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: block;
  src: url(fonts/newsreader-latin-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Newsreader'; font-style: italic; font-weight: 200 800; font-display: block;
  src: url(fonts/newsreader-latin-standard-italic.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: block;
  src: url(fonts/newsreader-latin-ext-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader'; font-style: italic; font-weight: 200 800; font-display: block;
  src: url(fonts/newsreader-latin-ext-standard-italic.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: block;
  src: url(fonts/inter-latin-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: italic; font-weight: 100 900; font-display: block;
  src: url(fonts/inter-latin-standard-italic.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: block;
  src: url(fonts/inter-latin-ext-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---------- animatable tokens (registered so colour changes can transition) ---------- */
@property --accent  { syntax: '<color>'; inherits: true; initial-value: #d8b765; }
@property --ground  { syntax: '<color>'; inherits: true; initial-value: #050507; }
@property --wave-a  { syntax: '<color>'; inherits: true; initial-value: #a88f55; }
@property --wave-b  { syntax: '<color>'; inherits: true; initial-value: #8b6cff; }
@property --wave-c  { syntax: '<color>'; inherits: true; initial-value: #4a6fc0; }
@property --text-2  { syntax: '<color>'; inherits: true; initial-value: #c9c5bb; }
@property --text-3  { syntax: '<color>'; inherits: true; initial-value: #8d8a82; }

/* ---------- palettes (base values; the animated tokens above point at these). Only the violet differs. ---------- */
html, html[data-palette="violet"] {
  --bg: #050507;          /* the WK flyer's black, a hair lifted */
  --ink: #f4f1ea;         /* warm white */
  --ink-2: #c9c5bb;
  --ink-3: #8d8a82;
  --hair: #26262b;        /* gridlines */
  --axis: #3c3c42;
  --gold: #d8b765;        /* text accent: the em dash */
  --w-gold: #a88f55;      /* the dye: gold, violet, blue (WK's wave colours; the violet brighter) */
  --w-violet: #8b6cff;
  --w-blue: #4a6fc0;
}
html[data-palette="lilac"]    { --w-violet: #a58bff; }
html[data-palette="electric"] { --w-violet: #7c4dff; }
html[data-palette="wk"]       { --w-violet: #6c5fae; }   /* the WK deck's violet, for comparison */

/* chart series: constant across palettes (colour follows the entity) */
:root {
  --s-gold: #c98500;      /* flagship models; "up" */
  --s-blue: #3987e5;      /* small tier; "down" */
  --s-red:  #e66767;      /* flagged: never in a chart with gold */
  --s-neutral: #8d8a82;   /* human reference marks */
  --floor: #50524d;       /* the zero-floor band: a neutral grey */
  --s-grey: #6f716b;      /* a stance that takes no side: neutral grey, lifted to 4:1 on the ground.
                             With gold and blue as the two poles: CVD and contrast checks pass; its
                             chroma "fails" by design (a diverging midpoint must read as no hue) */
}

body {
  --accent: var(--gold);
  --ground: var(--bg);
  --wave-a: var(--w-gold);
  --wave-b: var(--w-violet);
  --wave-c: var(--w-blue);
  --text-2: var(--ink-2);
  --text-3: var(--ink-3);
  transition: --accent 2s ease, --ground 2.4s ease 0.6s, --wave-a 2s ease, --wave-b 2s ease,
              --wave-c 2s ease, --text-2 2s ease, --text-3 2s ease;
}

/* ---------- page ---------- */
html, body { margin: 0; height: 100%; }
body, .reveal-viewport {
  background: var(--ground);
  color: var(--ink);
}
.reveal {
  font-family: 'Newsreader', Georgia, serif;
  font-optical-sizing: auto;
  color: var(--ink);
  position: relative;
  z-index: 1;
  background: transparent;
}
.reveal .slides { text-align: left; }
.reveal .slides > section { height: 1080px; box-sizing: border-box; }
.reveal .progress { height: 4px; color: var(--accent); background: transparent; }
.reveal .pause-overlay { background: #000; }
.reveal ::selection { background: var(--accent); color: #000; }
.reveal a { color: inherit; text-decoration-color: var(--text-3); text-underline-offset: 0.18em; }

/* inner frame carries the padding (print CSS zeroes section padding) */
.frame {
  position: absolute; inset: 0;
  padding: 104px 132px 96px;
  box-sizing: border-box;
  display: flex; flex-direction: column;
}
.frame.center { justify-content: center; }
.frame.split { flex-direction: row; gap: 96px; align-items: center; }

/* ---------- type ---------- */
.kicker {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 30px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 28px;
}
.h1 { font-size: 132px; line-height: 1.02; font-weight: 440; letter-spacing: -0.012em; margin: 0; }
.h2 { font-size: 84px;  line-height: 1.08; font-weight: 430; letter-spacing: -0.008em; margin: 0 0 36px; }
.h3 { font-size: 58px;  line-height: 1.12; font-weight: 450; margin: 0 0 18px; }
.lede { font-size: 56px; line-height: 1.28; font-weight: 380; color: var(--ink); margin: 0 0 28px; max-width: 1500px; }
.body { font-size: 46px; line-height: 1.34; font-weight: 400; color: var(--text-2); margin: 0 0 22px; }
.small { font-family: 'Inter', system-ui, sans-serif; font-size: 30px; line-height: 1.4; color: var(--text-3); }
.quote { font-style: italic; font-size: 56px; line-height: 1.28; font-weight: 380; margin: 0 0 22px; }
.cite {
  font-family: 'Inter', system-ui, sans-serif; font-style: normal;
  font-size: 30px; line-height: 1.4; color: var(--text-3); margin: 0 0 12px;
}
.sans { font-family: 'Inter', system-ui, sans-serif; }
.num { font-family: 'Inter', system-ui, sans-serif; font-weight: 600; }
.muted { color: var(--text-3); }
.dash { color: var(--accent); font-family: 'Inter', system-ui, sans-serif; font-weight: 300; }   /* the em dash as object of study: Inter's is a full 1.00 em; Newsreader's only 0.68 */

/* tags that must be resolved before the talk */
.tag {
  display: inline-block; vertical-align: 0.32em;
  font-family: 'Inter', system-ui, sans-serif; font-size: 20px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; margin-left: 12px;
  border: 1.5px solid currentColor; border-radius: 6px;
  color: var(--text-3);
}
.tag.pending { color: #e0a25a; }
.tag.wip { color: #8fb3e8; }
html.is-print .tag.pending, html.is-print .tag.wip { border-width: 1px; }

/* ---------- layouts ---------- */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 72px; margin-top: 24px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; margin-top: 12px; }
.col h3 { font-family: 'Inter', system-ui, sans-serif; font-size: 34px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 22px; }
.col .quote { font-size: 44px; }
.col .body { font-size: 40px; }
.rule { height: 2px; background: var(--axis); margin: 26px 0; border: 0; }
/* the ledger (slides 4 and 5): a label and a line per row, then the point */
.ledger { margin: 8px 0 44px; }
.ledger .row { display: grid; grid-template-columns: 320px 1fr; align-items: baseline;
  padding: 16px 0; border-top: 2px solid var(--axis); }
.ledger .row:last-child { border-bottom: 2px solid var(--axis); }
.ledger .where { font-family: 'Inter', system-ui, sans-serif; font-size: 30px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.ledger .what { font-size: 46px; line-height: 1.25; color: var(--text-2); }
.lede.point { font-size: 64px; line-height: 1.2; margin-bottom: 20px; }
#sources .cite { font-size: 28px; margin-bottom: 9px; }   /* the appendix list: one size down so it fits */
/* title slide */
.title-main { font-size: 138px; line-height: 0.98; font-weight: 450; letter-spacing: -0.015em; margin: 0 0 40px; }
.title-sub { font-size: 54px; line-height: 1.22; font-weight: 380; color: var(--text-2); margin: 0 0 64px; max-width: 1000px; }
.byline { font-family: 'Inter', system-ui, sans-serif; font-size: 34px; font-weight: 500; color: var(--ink); margin: 0 0 8px; }
.byline-2 { font-family: 'Inter', system-ui, sans-serif; font-size: 28px; color: var(--text-3); margin: 0; }

/* the big mark */
.bigdash {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 400px; line-height: 0.8; font-weight: 200; color: var(--accent);
  margin: 0 0 12px -12px;
}

#thanks .bigdash { margin-bottom: -40px; }

/* numbers table (the table-view twin of the figures) */
table.numbers { border-collapse: collapse; font-family: 'Inter', system-ui, sans-serif; font-size: 23px; width: 100%; }
table.numbers th, table.numbers td { text-align: left; padding: 4px 14px 4px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
table.numbers th { color: var(--text-3); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 20px; }
table.numbers td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- figures ---------- */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font-family: 'Inter', system-ui, sans-serif; fill: var(--text-2); }
.chart .tick text { font-size: 28px; fill: var(--text-3); font-variant-numeric: tabular-nums; }
.chart .grid line { stroke: var(--hair); stroke-width: 2; }
.chart .axis line, .chart .axis path { stroke: var(--axis); stroke-width: 2; }
.chart .ref line { stroke: var(--ink-2); stroke-width: 3; }
.chart .ref text { font-size: 30px; fill: var(--ink-2); }
.chart .floor rect { fill: var(--floor); opacity: 0.55; }
.chart .floor text { font-size: 26px; fill: var(--text-3); }
.chart .label { font-size: 32px; fill: var(--ink); font-weight: 600; }
.chart .label-2 { font-size: 28px; fill: var(--text-2); }
.chart .xlab { font-size: 28px; fill: var(--text-2); }
.chart .xlab-2 { font-size: 22px; fill: var(--text-3); }
.chart .gold { fill: var(--s-gold); stroke: var(--s-gold); }
.chart .blue { fill: var(--s-blue); stroke: var(--s-blue); }
.chart .red  { fill: var(--s-red);  stroke: var(--s-red); }
.chart .neutral { fill: var(--s-neutral); stroke: var(--s-neutral); }
.chart .dot { stroke: var(--ground); stroke-width: 4; }       /* 2px surface ring, scaled for projection */
.chart .line { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.chart .bar { stroke: none; }
.chart .legend text { font-size: 28px; fill: var(--text-2); }
.chart .pendingmark { font-size: 20px; fill: #e0a25a; font-weight: 600; letter-spacing: 0.06em; }
.chart .wipmark { font-size: 20px; fill: #8fb3e8; font-weight: 600; letter-spacing: 0.06em; }

/* step-driven state: hidden step markers are reveal fragments; the figure reads them with :has().
   This makes back-navigation, hash jumps and print all land in the right state. */
.step-marker { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.chart [class*="st-"] { opacity: 0; transition: opacity 0.7s ease, transform 0.9s cubic-bezier(.2,.7,.2,1); }
section:has(.step-marker[data-step="1"].visible) .chart .st-1,
section:has(.step-marker[data-step="2"].visible) .chart .st-2,
section:has(.step-marker[data-step="3"].visible) .chart .st-3,
section:has(.step-marker[data-step="4"].visible) .chart .st-4,
section:has(.step-marker[data-step="5"].visible) .chart .st-5 { opacity: 1; }
.chart .st-0 { opacity: 1; }
/* bars grow from the baseline when their step arrives */
.chart .grow { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0.001); }
section:has(.step-marker[data-step="1"].visible) .chart .st-1 .grow,
section:has(.step-marker[data-step="2"].visible) .chart .st-2 .grow,
section:has(.step-marker[data-step="3"].visible) .chart .st-3 .grow,
section:has(.step-marker[data-step="4"].visible) .chart .st-4 .grow { transform: scaleY(1); }
/* the 39 flagged entries swell in */
.chart .pop { transform-box: fill-box; transform-origin: 50% 50%; transform: scale(0.2); transition: transform 0.9s cubic-bezier(.3,1.6,.4,1); }
section:has(.step-marker[data-step="2"].visible) .chart .st-2 .pop { transform: scale(1); }
/* lines draw in */
.chart .draw { stroke-dasharray: var(--len, 4000); stroke-dashoffset: var(--len, 4000); transition: stroke-dashoffset 1.6s ease; }
section:has(.step-marker[data-step="1"].visible) .chart .st-1 .draw,
section:has(.step-marker[data-step="2"].visible) .chart .st-2 .draw,
section:has(.step-marker[data-step="3"].visible) .chart .st-3 .draw { stroke-dashoffset: 0; }

/* ---------- the panel slide (questions): no text, just the dye, carried on from the thank-you slide (state rules below) ---------- */
#panel .slide-no { display: none; }
body.panel .reveal .progress { opacity: 0; transition: opacity 1s ease; }

/* ---------- text fragments: a quiet rise ---------- */
.reveal .fragment.rise { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal .fragment.rise.visible { opacity: 1; transform: none; }

/* ---------- the background (behind the slides): dye in water (dye.js), or ?bg=waves for WK's lines ---------- */
.waves { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.waves .drift { position: absolute; top: 0; left: 0; width: 200%; height: 100%; animation: drift 160s linear infinite; will-change: transform; }
.waves .drift.slow { animation-duration: 220s; }
.waves .drift.rev  { animation-direction: reverse; }
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.waves svg { width: 100%; height: 100%; display: block; }
.waves path { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.waves .ba path { stroke: var(--wave-a); }
.waves .bb path { stroke: var(--wave-b); }
.waves .bc path { stroke: var(--wave-c); }
.waves > .amp { position: absolute; inset: 0; }
.waves canvas.dye { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.waves .amp { transform-box: view-box; transform-origin: 50% 93%; transition: transform 1.6s cubic-bezier(.6,0,.2,1), opacity 1.6s ease; }
.waves { transition: opacity 1.2s ease; opacity: 0.9; }
body.quiet .waves { opacity: 0.22; }
html:not(.bg-lines) .waves { opacity: 0.8; }
html:not(.bg-lines) body.quiet .waves { opacity: 0.3; }
/* thank you (before the credits): the waves at full strength, a gentle swell */
body.thanks .waves, body.panel .waves { opacity: 1; }
/* 13 Nov (Tommie): no stretch on the thank-you and questions slides; the dye flows as on the interludes */
/* a turn slide (data-state="turn"): the dye comes up and swells while one word stands alone, then settles like a chart slide's */
body.turn .waves { opacity: 1; }
body.turn .waves .amp { transform: scaleY(1.75); }
body.turn:has(.reveal .slides section.present .step-marker[data-step="open"].visible) .waves { opacity: 0.22; }
body.turn:has(.reveal .slides section.present .step-marker[data-step="open"].visible) .waves .amp { transform: none; }

/* ---------- dev overlays ---------- */
.toast {
  position: fixed; right: 28px; bottom: 28px; z-index: 50;
  font: 600 16px/1.3 'Inter', system-ui, sans-serif; color: #111; background: #e8e3d6;
  padding: 8px 14px; border-radius: 8px; opacity: 0; transition: opacity 0.25s ease; pointer-events: none;
}
.toast.on { opacity: 0.95; }
.keytest {
  position: fixed; inset: 6vh 8vw; z-index: 60; display: none;
  background: rgba(8,8,12,0.94); border: 2px solid #5b5b66; border-radius: 16px;
  padding: 28px 36px; box-sizing: border-box; color: #eee;
  font: 400 18px/1.45 'Inter', system-ui, sans-serif; overflow: hidden;
}
.keytest.on { display: block; }
.keytest h2 { font: 600 26px/1.2 'Inter', system-ui, sans-serif; margin: 0 0 6px; }
.keytest p { margin: 0 0 14px; color: #aaa; }
.keytest table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.keytest td, .keytest th { text-align: left; padding: 6px 12px 6px 0; border-bottom: 1px solid #2a2a33; }
.keytest th { color: #999; font-weight: 600; }
.keytest td.act { color: #e9c56b; }

/* ---------- motion off (prefers-reduced-motion unless ?motion=on, or ?motion=off) ---------- */
html.motion-off *, html.motion-off *::before, html.motion-off *::after { transition-duration: 0s !important; animation: none !important; }
html.motion-off body { transition: none !important; }

/* ---------- print (reveal ?print-pdf) ---------- */
html.is-print .waves { display: none; }
html.is-print, html.is-print * { transition: none !important; animation: none !important; }
html.is-print .reveal .slides section .frame { position: absolute; }

/* schematic strokes */
.chart .line.dashed { stroke-dasharray: 14 12; }
.chart .dot.hollow.gold { fill: var(--ground); stroke: var(--s-gold); stroke-width: 5; }
.chart .whisker line { stroke: var(--s-gold); stroke-width: 5; stroke-linecap: round; }
.nobr { white-space: nowrap; }

/* provenance: a faint guide under each row of dots */
.chart .rowguide { stroke: var(--hair); stroke-width: 2; }

/* stance (Figure 6 of Abdulhai et al., redrawn): gold and blue poles around a grey middle.
   Each row opens sideways from the centre of its neutral share; its numbers follow. */
.chart .for { fill: var(--s-gold); }
.chart .against { fill: var(--s-blue); }
.chart .nostance { fill: var(--s-grey); }
.chart .seglabel { font-size: 30px; font-weight: 650; fill: #050507; font-variant-numeric: tabular-nums; }
.chart .grow-x { transform-box: view-box; transform: scaleX(0.001); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.chart .late { opacity: 0; transition: opacity 0.4s ease; }
section:has(.step-marker[data-step="1"].visible) .chart .st-1 .grow-x,
section:has(.step-marker[data-step="2"].visible) .chart .st-2 .grow-x,
section:has(.step-marker[data-step="3"].visible) .chart .st-3 .grow-x { transform: scaleX(1); }
section:has(.step-marker[data-step="1"].visible) .chart .st-1 .late,
section:has(.step-marker[data-step="2"].visible) .chart .st-2 .late,
section:has(.step-marker[data-step="3"].visible) .chart .st-3 .late { opacity: 1; transition-delay: 0.8s; }

/* slide numbers (for reference; G jumps by number). Inside the slide, so they scale and print with it */
.reveal .slides section > .slide-no {
  position: absolute; right: 46px; bottom: 30px; z-index: 2;
  font-family: 'Inter', system-ui, sans-serif; font-size: 22px; font-weight: 500; line-height: 1;
  letter-spacing: 0.06em; font-variant-numeric: tabular-nums;
  color: var(--text-3); opacity: 0.75; pointer-events: none;
}
.reveal .slides section > .slide-no.overview-only { display: none; }
.reveal.overview .slides section > .slide-no { display: block; font-size: 120px; font-weight: 600; opacity: 0.9; right: 64px; bottom: 48px; }

/* the G box: bottom right, over the number; screen pixels, not slide pixels */
.jump {
  position: fixed; right: 24px; bottom: 20px; z-index: 55;
  display: none; align-items: center; gap: 12px;
  padding: 8px 16px; border-radius: 10px;
  background: rgba(10, 10, 14, 0.94); border: 1.5px solid #3c3c42;
  font: 500 17px/1.2 'Inter', system-ui, sans-serif; color: var(--text-2);
}
.jump.on { display: flex; }
.jump-label { color: var(--text-3); letter-spacing: 0.04em; }
.jump input {
  width: 3.4em; padding: 3px 4px; border: 0; border-bottom: 1.5px solid var(--text-3); border-radius: 0;
  background: transparent; color: var(--ink); font: 600 20px/1.2 'Inter', system-ui, sans-serif;
  font-variant-numeric: tabular-nums; text-align: center; outline: none; caret-color: var(--gold);
}
.jump-hint { color: var(--text-3); max-width: 28em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jump.bad { border-color: #e0a25a; animation: jump-shake 0.34s ease; }
.jump.bad .jump-hint { color: #e0a25a; }
@keyframes jump-shake { 20% { transform: translateX(-6px); } 60% { transform: translateX(5px); } 100% { transform: none; } }
html.is-print .jump { display: none; }

/* print view: reveal moves each section into a .pdf-page, so the height rule above no longer
   matches; without an explicit height the absolute .frame collapses and content is clipped */
html.reveal-print .reveal .slides .pdf-page section { height: 1080px !important; }

/* the title slide opens in the dark of the talk page (the landing page fades to it before it opens the slides);
   deck.js lifts it once reveal is ready, and the drop of dye falls from the title's em dash. index.html's head sets
   the class, so the dark is the first thing painted. */
html.from-dark::after { content: ''; position: fixed; inset: 0; z-index: 2147483000; background: #050507; pointer-events: none; opacity: 1; transition: opacity 1.8s ease-in-out; }
html.from-dark.lifting::after { opacity: 0; }


/* ======================= Copy, Contract, Tilt: the new talk's own pieces (11 November 2026) ======================= */

/* title */
.title-wrap { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.title-main.cct { font-size: 168px; line-height: 0.98; letter-spacing: -0.02em; margin: 0 0 30px; }
.title-main .title-dash { color: var(--accent); font-family: 'Inter', system-ui, sans-serif; font-weight: 200; display: inline-block; margin: 0 0.04em; }
.title-sub.cct { font-size: 58px; max-width: 1660px; margin-bottom: 70px; }

/* a turn slide (data-state="turn"): one word or line first, large; the first click sets it as the heading */
.turn-word { margin: 0 0 14px; transform-origin: 0 0; transform: translate(0, 260px) scale(2.2); transition: transform 1.3s cubic-bezier(.6,0,.2,1); }
.turn-body { opacity: 0; transition: opacity 0.8s ease 0.7s; }
section:has(.step-marker[data-step="open"].visible) .turn-word { transform: none; }
section:has(.step-marker[data-step="open"].visible) .turn-body { opacity: 1; }
html.is-print .turn-word { transform: none; }
html.is-print .turn-body { opacity: 1; }

/* the field (opening): a Venn of linguistics and computer science beside three short lines; the overlap in the dash's gold */
.field-grid { display: grid; grid-template-columns: 640px 1fr; gap: 80px; align-items: center; }
.venn { width: 640px; height: auto; display: block; }
.venn .v-a, .venn .v-b { fill: none; stroke: var(--ink-3); stroke-width: 3; }
.venn .v-mid { fill: rgba(216,183,101,0.22); stroke: none; }
.venn .v-lab { font-family: 'Inter', system-ui, sans-serif; font-size: 30px; font-weight: 600; fill: var(--ink-2); }
.venn .v-cl { font-family: 'Inter', system-ui, sans-serif; font-size: 40px; font-weight: 700; fill: var(--gold); letter-spacing: 0.04em; }
.props.one { grid-template-columns: 1fr; gap: 26px; margin-top: 0; }
.props.one .p .t { font-size: 40px; }

/* the three verbs, as a recurring label: copy (people's grey), contract (blue), tilt (gold) */
.verb { font-family: 'Inter', system-ui, sans-serif; font-weight: 650; letter-spacing: 0.02em; }
.verb.copy { color: var(--ink-2); }
.verb.contract { color: var(--s-blue); }
.verb.tilt { color: var(--s-gold); }
.kicker .verb { letter-spacing: 0.14em; }
.verbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin: 18px 0 30px; }
.verbs .v { border-top: 4px solid var(--axis); padding-top: 22px; }
.verbs .v.copy { border-color: var(--ink-2); }
.verbs .v.contract { border-color: var(--s-blue); }
.verbs .v.tilt { border-color: var(--s-gold); }
.verbs .v .name { font-family: 'Inter', system-ui, sans-serif; font-size: 52px; font-weight: 650; margin: 0 0 6px; }
.verbs .v.copy .name { color: var(--ink); }
.verbs .v.contract .name { color: var(--s-blue); }
.verbs .v.tilt .name { color: var(--s-gold); }
.verbs .v .stage { font-family: 'Inter', system-ui, sans-serif; font-size: 26px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 16px; }
.verbs .v .what { font-size: 40px; line-height: 1.28; color: var(--text-2); margin: 0 0 14px; }
.verbs .v .eqs { font-size: 40px; color: var(--ink); }

/* maths, set by hand (no maths library: the deck must run offline) */
.eq { font-family: 'Newsreader', Georgia, serif; font-size: 66px; line-height: 1.25; color: var(--ink); margin: 10px 0 26px; white-space: nowrap; }
.eq.big { font-size: 92px; }
.eq.mid { font-size: 54px; }
.eq i, .math i { font-style: italic; }
.eq .op, .math .op { font-family: 'Inter', system-ui, sans-serif; font-weight: 300; padding: 0 0.18em; }
.eq sub, .eq sup, .math sub, .math sup { font-size: 0.6em; line-height: 0; }
.eq .gl { font-family: 'Inter', system-ui, sans-serif; font-size: 28px; color: var(--text-3); letter-spacing: 0.04em; margin-left: 28px; vertical-align: 0.4em; white-space: nowrap; }
.math { font-family: 'Newsreader', Georgia, serif; white-space: nowrap; }
.frac { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; margin: 0 0.12em; }
.frac > span:first-child { border-bottom: 3px solid currentColor; padding: 0 0.12em; }
.frac > span { line-height: 1.05; }
.hl-gold { color: var(--s-gold); }
.hl-blue { color: var(--s-blue); }
.boxed { border: 2px solid var(--axis); border-radius: 14px; padding: 22px 30px; display: inline-block; }

/* a plain list of points, one per click */
.points p { font-size: 44px; line-height: 1.3; color: var(--text-2); margin: 0 0 24px; padding-left: 52px; position: relative; max-width: 1560px; }
.points p .n { position: absolute; left: 0; top: 2px; font-family: 'Inter', system-ui, sans-serif; font-size: 30px; font-weight: 650; color: var(--accent); }
.points p b { color: var(--ink); font-weight: 600; }

/* the tracer properties */
.props { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 72px; margin-top: 10px; }
.props .p { border-top: 2px solid var(--axis); padding-top: 16px; }
.props .p .h { font-family: 'Inter', system-ui, sans-serif; font-size: 30px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.props .p .t { font-size: 38px; line-height: 1.28; color: var(--text-2); margin: 0; }

/* the toy table */
table.toy { border-collapse: collapse; font-family: 'Inter', system-ui, sans-serif; font-size: 34px; font-variant-numeric: tabular-nums; }
table.toy th, table.toy td { padding: 10px 30px 10px 0; text-align: right; border-bottom: 1.5px solid var(--hair); }
table.toy th { font-size: 24px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
table.toy td.l, table.toy th.l { text-align: left; }
table.toy tr.em td { color: var(--ink); }
table.toy td.em-glyph { font-weight: 300; color: var(--accent); }

/* charts: the new talk's marks (lines stay unfilled whatever their colour class) */
.chart .copy { fill: var(--ink-2); stroke: var(--ink-2); }
.chart .contract { fill: var(--s-blue); stroke: var(--s-blue); }
.chart .tilt { fill: var(--s-gold); stroke: var(--s-gold); }
.chart .idline { stroke: var(--text-3); stroke-width: 3; stroke-dasharray: 12 10; fill: none; }
.chart .band { fill: var(--floor); opacity: 0.45; }
.chart .band-label { font-size: 26px; fill: var(--text-3); }
.chart .box { fill: rgba(255,255,255,0.03); stroke: var(--axis); stroke-width: 2.5; }
.chart .box.on { stroke: var(--accent); }
.chart .box-t { font-size: 38px; font-weight: 650; fill: var(--ink); }
.chart .box-s { font-size: 29px; fill: var(--text-2); }
.chart .arrow { stroke: var(--text-3); stroke-width: 3; fill: none; }
.chart .arrowhead { fill: var(--text-3); }
.chart .drop { fill: var(--accent); }
.chart .pairbox { fill: rgba(255,255,255,0.025); stroke: var(--axis); stroke-width: 2; }
.chart .pairtxt { font-size: 24px; fill: var(--text-3); }
.chart .pairdash { font-size: 30px; font-weight: 300; fill: var(--accent); }
.chart .bigval { font-size: 44px; font-weight: 650; fill: var(--ink); font-variant-numeric: tabular-nums; }
.chart .tilt-bar { fill: var(--s-gold); }
.chart .ref-bar { fill: var(--ink-2); opacity: 0.35; }
.chart .line.copy, .chart .line.contract, .chart .line.tilt, .chart .line.gold, .chart .line.blue { fill: none; }

/* the whole pipeline in one picture: one gold step per pretraining dose (0, quarter, natural, four-fold), dark to
   bright. Ordinal ramp checked with the dataviz validator on #050507 (12 Nov): monotone, steps >= 0.06 in L,
   light end 3.8:1. Every line is also labelled directly. */
.chart .dose0 { fill: #8a6420; stroke: #8a6420; }
.chart .dose1 { fill: #b07a00; stroke: #b07a00; }
.chart .dose2 { fill: #d99400; stroke: #d99400; }
.chart .dose3 { fill: #ffc45c; stroke: #ffc45c; }
.chart .dot.dose0, .chart .dot.dose1, .chart .dot.dose2, .chart .dot.dose3 { stroke: var(--ground); stroke-width: 3; }
.chart .line.dose0, .chart .line.dose1, .chart .line.dose2, .chart .line.dose3 { fill: none; }
/* rare items: the SFT doses as shapes (hollow, filled, diamond), all gold since the value is DPO's factor; the
   near-zero dose, queued, as a dashed column in the work-in-progress blue (also on the design figure) */
.chart .dot.hollow.tilt { fill: var(--ground); stroke: var(--s-gold); stroke-width: 5; }
.chart .nextbox { fill: rgba(143,179,232,0.05); stroke: #8fb3e8; stroke-width: 3; stroke-dasharray: 12 10; }
.chart .nexttxt { font-size: 26px; fill: #8fb3e8; font-weight: 600; letter-spacing: 0.04em; }
/* the read-out: T 1 hollow, T 0.8 filled, both SFT blue */
.chart .dot.hollow.blue { fill: var(--ground); stroke: var(--s-blue); stroke-width: 5; }
.chart .dot.contract { stroke: var(--ground); stroke-width: 3; }

/* credits */
.people p { font-size: 38px; line-height: 1.3; color: var(--text-2); margin: 0 0 16px; max-width: 1600px; }
.people p b { color: var(--ink); font-weight: 600; }

/* the toy tilt: the gold bars morph from beta = 2 to 1 to 1/2 (one rule per step; the later rule wins) */
.chart .toybar { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(var(--b1)); transition: transform 1.1s cubic-bezier(.3,.8,.3,1); }
section:has(.step-marker[data-step="2"].visible) .chart .toybar { transform: scaleY(var(--b2)); }
section:has(.step-marker[data-step="3"].visible) .chart .toybar { transform: scaleY(var(--b3)); }
.chart .toylab { opacity: 0; transition: opacity 0.5s ease; }
section:has(.step-marker[data-step="1"].visible) .chart .toylab.b1 { opacity: 1; }
section:has(.step-marker[data-step="2"].visible) .chart .toylab.b1 { opacity: 0; }
section:has(.step-marker[data-step="2"].visible) .chart .toylab.b2 { opacity: 1; }
section:has(.step-marker[data-step="3"].visible) .chart .toylab.b2 { opacity: 0; }
section:has(.step-marker[data-step="3"].visible) .chart .toylab.b3 { opacity: 1; }
/* text that swaps with the steps: .swap holds .sw0 ... .sw3, one shown at a time */
.swap { position: relative; }
.swap > * { position: absolute; left: 0; top: 0; margin: 0; opacity: 0; transition: opacity 0.5s ease; white-space: nowrap; }
.swap > .sw0 { opacity: 1; }
section:has(.step-marker[data-step="1"].visible) .swap > .sw0 { opacity: 0; }
section:has(.step-marker[data-step="1"].visible) .swap > .sw1 { opacity: 1; }
section:has(.step-marker[data-step="2"].visible) .swap > .sw1 { opacity: 0; }
section:has(.step-marker[data-step="2"].visible) .swap > .sw2 { opacity: 1; }
section:has(.step-marker[data-step="3"].visible) .swap > .sw2 { opacity: 0; }
section:has(.step-marker[data-step="3"].visible) .swap > .sw3 { opacity: 1; }
section:has(.step-marker[data-step="4"].visible) .swap > .sw3 { opacity: 0; }
section:has(.step-marker[data-step="4"].visible) .swap > .sw4 { opacity: 1; }

/* the tilt slide carries the most maths: tighter there only */
#tilt-eq .h3 { margin-bottom: 6px; }
#tilt-eq .eq.big { font-size: 80px; margin: 0 0 2px; }
#tilt-eq .eq.mid { font-size: 50px; }
#tilt-res .points p { font-size: 36px; margin-bottom: 8px; }
#tilt-res .h3 { margin-bottom: 6px; }
#tilt-res .eq.big { font-size: 80px; margin: 0 0 2px; }
#tilt-res .eq.mid { font-size: 50px; }
#tilt-res .note { font-size: 32px; line-height: 1.35; color: var(--text-2); margin: 14px 0 0; padding-left: 22px; border-left: 3px solid var(--s-gold); margin-bottom: 20px; }
/* 13 November (Tommie): the objective's terms, one by one */
#tilt-eq .eq.mid { margin: 0 0 22px; }
#tilt-eq .terms > div { display: grid; grid-template-columns: 290px 1fr; gap: 30px; align-items: baseline; margin: 0 0 16px; }
#tilt-eq .terms p { margin: 0; font-size: 34px; line-height: 1.32; color: var(--text-2); }
#tilt-eq .terms p.sym { font-family: 'Newsreader', Georgia, serif; font-size: 40px; color: var(--ink); white-space: nowrap; }
#tilt-eq .terms p.sym sub { font-size: 0.6em; line-height: 0; }
#tilt-eq .terms .kl-def { display: inline-block; margin-top: 4px; font-family: 'Newsreader', Georgia, serif; font-size: 36px; color: var(--ink); white-space: nowrap; }
#tilt-eq .terms .kl-def sub { font-size: 0.6em; line-height: 0; }

/* 12 November, evening (Tommie's notes): the paper's figure on a light card; the wall of mist; the exposure numbers;
   the ledger in a tighter form; the highlighter, as on the talk page */
.figcard { margin: 4px 0 0; background: #fbfaf7; border-radius: 14px; padding: 12px 18px 6px; box-sizing: border-box; }
.figcard img { display: block; width: 100%; height: auto; }
.mist-wrap { position: relative; width: 100%; margin-top: 10px; }
.mist-wrap .chart { width: 1290px; }
.mist-card { position: absolute; right: 0; top: -130px; width: 290px; }
.mist-card img { display: block; width: 100%; height: auto; border-radius: 14px; transform: rotate(3deg); box-shadow: 0 18px 50px rgba(0,0,0,0.65); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 6px; }
.stats .st { border-top: 2px solid var(--axis); padding-top: 12px; }
.stats .v { font-family: 'Inter', system-ui, sans-serif; font-size: 62px; font-weight: 650; line-height: 1.1; color: var(--ink); margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.stats .t { font-size: 32px; line-height: 1.26; color: var(--text-2); margin: 0 0 8px; }
.stats .s { font-family: 'Inter', system-ui, sans-serif; font-size: 22px; line-height: 1.35; color: var(--text-3); margin: 0; }
.ledger.rows-tight { margin: 0 0 26px; }
.ledger.rows-tight .row { grid-template-columns: 300px 1fr; padding: 12px 0; }
.ledger.rows-tight .what { font-size: 40px; }
.hl { color: var(--ink); background: linear-gradient(transparent 58%, rgba(201,133,0,0.42) 58%, rgba(201,133,0,0.42) 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 2px; }
#everywhere .points p { font-size: 40px; margin-bottom: 16px; }
#sources-open .refs { columns: 2; column-gap: 64px; }
#sources-open .cite { font-size: 24px; line-height: 1.38; margin: 0 0 12px; break-inside: avoid; }

/* overview, point 5: the preliminary findings as a short list */
#overview .findings { list-style: none; margin: -14px 0 0 52px; padding: 0; }
#overview .findings li { font-size: 42px; line-height: 1.3; color: var(--text-2); margin: 0 0 4px; padding-left: 34px; position: relative; }
#overview .findings li::before { content: ''; position: absolute; left: 4px; top: 0.6em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* the speech slide: the paper's Figure 2, with the two headline numbers beside it */
#uptake .fig-row { display: flex; align-items: center; gap: 52px; }
#uptake .fig-side { flex: 1; display: flex; flex-direction: column; gap: 34px; }
#uptake .fig-side .lab { font-family: 'Inter', system-ui, sans-serif; font-size: 26px; color: var(--text-3); margin: 0 0 6px; }
#uptake .fig-side .v { font-size: 56px; line-height: 1.1; color: var(--ink); margin: 0 0 6px; }
#uptake .fig-side .s { font-size: 28px; line-height: 1.3; color: var(--text-2); margin: 0; }
/* the interlude before "Why the overuse?": no text, the dye alone (state rules: body.panel) */
#interlude .slide-no, #interlude-2 .slide-no, #close .slide-no { display: none; }

/* the interlude: the dye at full strength, no stretch, no text (Tommie, 13 Nov) */
body.interlude .waves { opacity: 1; }
body.interlude .reveal .progress { opacity: 0; transition: opacity 1s ease; }
/* model development (slide "pipeline", chart "stages"): step 1 lights the three stages this talk follows */
.chart .bracket { fill: none; stroke: var(--text-3); stroke-width: 2.5; }
.chart .bracket.on { stroke: var(--s-gold); }
#pipeline .chart .later, #pipeline .chart .focus .box { transition: opacity 0.7s ease, stroke 0.7s ease, stroke-width 0.7s ease; }
#pipeline:has(.step-marker[data-step="1"].visible) .chart .later { opacity: 0.3; }
#pipeline:has(.step-marker[data-step="1"].visible) .chart .focus .box { stroke-width: 4.5; }
#pipeline .chart .focus .box-t { transition: fill 0.7s ease; }
#pipeline:has(.step-marker[data-step="1"].visible) .chart .f-copy .box { stroke: var(--ink-2); }
#pipeline:has(.step-marker[data-step="1"].visible) .chart .f-contract .box { stroke: var(--s-blue); }
#pipeline:has(.step-marker[data-step="1"].visible) .chart .f-contract .box-t { fill: var(--s-blue); }
#pipeline:has(.step-marker[data-step="1"].visible) .chart .f-tilt .box { stroke: var(--s-gold); }
#pipeline:has(.step-marker[data-step="1"].visible) .chart .f-tilt .box-t { fill: var(--s-gold); }

/* 13 November: the toy tilt, worked in plain multipliers */
#tilt-toy .toy-steps .lede { margin: 0 0 10px; }
#tilt-toy .toy-steps .body { margin: 0; }
#tilt-toy .dash-v { color: var(--s-gold); font-weight: 500; }
#implicit .h3 { margin-bottom: 10px; }
#implicit .points p { font-size: 33px; line-height: 1.32; margin-bottom: 10px; }
#implicit .eq.mid { font-size: 44px; }
.kicker .kmath { text-transform: none; letter-spacing: 0.02em; font-family: 'Newsreader', Georgia, serif; font-size: 1.15em; }
/* 13 November: the insights slide, with two side notes in a quieter register */
#lessons .side-notes { margin-top: 26px; padding-top: 18px; border-top: 1.5px solid var(--hair); }
#lessons .side-notes .sn-head { font-family: 'Inter', system-ui, sans-serif; font-size: 24px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 10px; }
#lessons .side-notes p:not(.sn-head) { font-size: 30px; line-height: 1.35; color: var(--text-3); margin: 0 0 8px; padding-left: 52px; position: relative; }
#lessons .side-notes .n { position: absolute; left: 0; font-family: 'Inter', system-ui, sans-serif; font-size: 24px; color: var(--text-3); top: 0.2em; }
#lessons .side-notes b { color: var(--text-2); }

/* ---------- tilt-kl: KL by hand, and against beta (13 Nov) ---------- */
#tilt-kl .kl-grid { display: grid; grid-template-columns: 860px 1fr; gap: 80px; align-items: start; margin-top: 18px; }
#tilt-kl .body { font-size: 36px; }
#tilt-kl .body.small { font-size: 32px; color: var(--text-2); line-height: 1.35; }
#tilt-kl table { border-collapse: collapse; font-variant-numeric: tabular-nums; }
#tilt-kl td { padding: 8px 18px 8px 0; font-size: 34px; color: var(--text-2); vertical-align: baseline; }
#tilt-kl .kl-sum td:nth-child(2) { padding-right: 34px; font-family: 'Newsreader', Georgia, serif; font-size: 36px; color: var(--ink); white-space: nowrap; }
#tilt-kl .kl-sum td:last-child, #tilt-kl .kl-beta td:not(:first-child) { text-align: right; color: var(--ink); }
#tilt-kl .kl-sum .dash-row td:first-child, #tilt-kl .kl-beta td:nth-child(2) { color: var(--s-gold); }
#tilt-kl .kl-sum .tot td { border-top: 2px solid var(--axis); padding-top: 12px; color: var(--ink); font-weight: 600; }
#tilt-kl .kl-beta td { padding-right: 34px; }
#tilt-kl .kl-beta .hd td { font-size: 26px; letter-spacing: 0.04em; color: var(--text-3); border-bottom: 2px solid var(--axis); }
#tilt-kl .kl-beta .hd td:nth-child(2) { color: var(--s-gold); }
#tilt-kl .kl-beta td:first-child { font-family: 'Newsreader', Georgia, serif; font-size: 38px; color: var(--ink); }

/* ---------- ratio: the settings, visible from the start (13 Nov) ---------- */
#ratio .settings { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 6px; }
#ratio .chip { font-size: 28px; line-height: 1.2; padding: 7px 18px; border-radius: 999px; border: 2px solid; color: var(--ink); }
#ratio .chip b { font-weight: 650; margin-right: 6px; }
#ratio .chip.c-copy { border-color: var(--ink-2); background: rgba(201,197,187,0.12); }
#ratio .chip.c-copy b { color: var(--ink-2); }
#ratio .chip.c-contract { border-color: var(--s-blue); background: rgba(57,135,229,0.18); }
#ratio .chip.c-contract b { color: var(--s-blue); }
#ratio .chip.c-tilt { border-color: var(--s-gold); background: rgba(201,133,0,0.16); }
#ratio .chip.c-tilt b { color: var(--s-gold); }

/* ---------- the maths, 2 and 3: term grids as on the maths, 1; epsilon highlighted (13 Nov) ---------- */
#tilt-res .terms > div, #tilt-law .terms > div { display: grid; grid-template-columns: 290px 1fr; gap: 30px; align-items: baseline; margin: 0 0 12px; }
#tilt-res .terms p, #tilt-law .terms p { margin: 0; font-size: 33px; line-height: 1.3; color: var(--text-2); }
#tilt-res .terms p.sym, #tilt-law .terms p.sym { font-family: 'Newsreader', Georgia, serif; font-size: 40px; color: var(--ink); white-space: nowrap; }
#tilt-res .terms p.sym sub, #tilt-law .terms p.sym sub { font-size: 0.6em; line-height: 0; }
#tilt-res .eq.big { margin: 0 0 18px; }
#tilt-law .eq.mid { font-size: 44px; }
#tilt-law .points p { font-size: 32px; margin-bottom: 4px; }
#tilt-law .terms > div { margin-bottom: 8px; }
#tilt-law .eq.mid .boxed { padding-top: 8px; padding-bottom: 8px; }
#tilt-law .note { font-size: 28px; line-height: 1.3; color: var(--text-2); margin: 8px 0 14px; padding-left: 22px; border-left: 3px solid var(--s-gold); }
.eps { color: var(--s-gold); }
#tilt-law .terms .eps-row { background: rgba(201,133,0,0.14); border-left: 4px solid var(--s-gold); border-radius: 6px; padding: 8px 0 8px 14px; margin-left: -18px; }
#tilt-law .terms .eps-row p { color: var(--ink); }
#epsbeta .eps-def { font-size: 32px; line-height: 1.35; color: var(--ink); background: rgba(201,133,0,0.14); border-left: 4px solid var(--s-gold); border-radius: 6px; padding: 10px 16px; margin: 6px 0 18px; }
#epsbeta .eps-def i:first-child { color: var(--s-gold); }

/* ---------- tilt-read: reading KL values, and why beta matters (Tommie's text, 13 Nov) ---------- */
#tilt-read .read-grid { display: grid; grid-template-columns: 820px 1fr; gap: 80px; align-items: start; margin-top: 14px; }
#tilt-read .sub { font-size: 26px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--s-gold); margin: 0 0 12px; font-weight: 600; }
#tilt-read .sub i { text-transform: none; }
#tilt-read .kl-read { border-collapse: collapse; }
#tilt-read .kl-read td { font-size: 33px; padding: 6px 28px 6px 0; color: var(--text-2); vertical-align: baseline; }
#tilt-read .kl-read td:first-child { font-family: 'Newsreader', Georgia, serif; font-size: 36px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
#tilt-read .kl-read td:first-child sub { font-size: 0.6em; line-height: 0; }
#tilt-read .beta-rows p { font-size: 33px; line-height: 1.3; color: var(--text-2); margin: 0 0 16px; }
#tilt-read .beta-rows .b { display: block; font-family: 'Newsreader', Georgia, serif; font-size: 36px; color: var(--ink); margin-bottom: 2px; }
#tilt-read .note { font-size: 30px; line-height: 1.35; color: var(--text-2); margin: auto 0 10px; padding-left: 22px; border-left: 3px solid var(--s-gold); }

/* ---------- tilt-kldef: the KL definition, after Tommie's note (kl.jpg, 13 Nov) ---------- */
#tilt-kldef .eq.kd { font-size: 54px; margin: 0; white-space: nowrap; line-height: 1.2; }
#tilt-kldef .eq.kd sub { font-size: 0.55em; line-height: 0; }
#tilt-kldef .boxed-eq { width: fit-content; border: 2px solid var(--axis); border-radius: 10px; padding: 14px 30px; }
#tilt-kldef .eq.kd .frac, #tilt-kldef .eq.kd .sumop, #tilt-kldef .eq.kd .br { vertical-align: middle; }
#tilt-kldef .frac > span:first-child { border-bottom-width: 2px; }
#tilt-kldef .frac > span { font-size: 0.86em; line-height: 1.2; }
#tilt-kldef .br { font-size: 1.7em; font-weight: 300; line-height: 1; margin: 0 0.04em; }
#tilt-kldef .sumop { display: inline-flex; flex-direction: column; align-items: center; line-height: 0.9; margin: 0 0.1em; }
#tilt-kldef .sumop > span:first-child { font-size: 1.5em; }
#tilt-kldef .sumop > span:last-child { font-size: 0.5em; }
#tilt-kldef .kd-notes { margin-top: 26px; }
#tilt-kldef .kd-notes p { font-size: 32px; line-height: 1.35; color: var(--text-2); margin: 0 0 10px; }
#tilt-kldef .kd-notes b { color: var(--ink); font-weight: 600; }

/* ---------- which model: a violet tag on every dose-grid slide, a box on "design" (13 Nov, Tommie) ---------- */
.kicker .mtag { float: right; text-transform: none; letter-spacing: 0.02em; font-weight: 600; font-size: 0.92em; color: var(--ink);
  border: 2px solid var(--w-violet); background: color-mix(in srgb, var(--w-violet) 22%, transparent); border-radius: 999px; padding: 2px 16px; margin-top: -4px; }
.kicker .mtag.alt { border-color: var(--ink-2); background: rgba(201,197,187,0.12); }
.model-box { font-size: 32px; line-height: 1.35; color: var(--ink); margin: 2px 0 10px; padding: 10px 18px; border-left: 5px solid var(--w-violet);
  border-radius: 6px; background: color-mix(in srgb, var(--w-violet) 16%, transparent); }
.model-box b { color: var(--w-violet); font-weight: 650; }
.cite .mname { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--w-violet); }
