:root {
  color-scheme: light;
  --paper: #fafaf9;
  --white: #ffffff;
  --ink: #232833;
  --muted: #555f70;
  --line: #c9cfd9;
  --panel: #edf1f7;
  --accent: #284ec7;
  --accent-hover: #193ba4;
  --accent-tint: #eaf0ff;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, Helvetica, sans-serif;
  --mono: Consolas, "Liberation Mono", monospace;
  --mast-height: 60px;
  --footer-height: 50px;
  --r-background-color: var(--paper);
  --r-main-font: var(--sans);
  --r-main-font-size: 26px;
  --r-main-color: var(--ink);
  --r-heading-color: var(--ink);
  --r-link-color: var(--accent);
  --r-overlay-element-bg-color: var(--ink);
  --r-selection-background-color: #d5dfff;
  --r-selection-color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html, body, .reveal-viewport { background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: var(--sans); }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .16em; }
a:hover { color: var(--accent-hover); }
button, a, summary { touch-action: manipulation; }
button, summary { cursor: pointer; }
button {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  font: inherit;
  padding: 8px 12px;
}
button:hover:enabled { border-color: var(--muted); background: var(--panel); }
button:disabled { color: #636d7c; background: #f3f4f6; cursor: default; }
:is(a, button, summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Persistent lesson navigation stays outside the Reveal canvas. */
#mast, #bottom {
  position: fixed;
  left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding-inline: clamp(12px, 3.4vw, 54px);
  background: var(--paper);
}
#mast { top: 0; height: var(--mast-height); gap: 12px; border-bottom: 1px solid var(--line); }
#bottom { bottom: 0; height: var(--footer-height); justify-content: center; gap: 14px; border-top: 1px solid var(--line); }
#mast a, #mast button, #bottom button, #course-nav summary { font: 600 14px/1.2 var(--sans); text-decoration: none; white-space: nowrap; }
#mast .brand { display: inline-flex; gap: .55em; align-items: center; color: var(--ink); letter-spacing: -.025em; }
.mark { display: inline-block; width: 31px; height: 31px; padding: 0 2px 3px 0; border-radius: 4px; color: var(--white); background: var(--ink); text-align: center; font: 400 25px/1.12 var(--serif); letter-spacing: -2px; }
.mark span { color: #a8baff; }
#mast nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
#mast nav a { padding: 8px 10px; border-radius: 4px; color: var(--muted); }
#mast nav a:hover, #mast nav a[aria-current=true] { color: var(--accent); background: var(--accent-tint); }
#mast button { padding: 8px 10px; }
#bottom button { width: 44px; height: 36px; padding: 0; font-size: 22px; }
#position { color: var(--muted); font: 600 13px/1.2 var(--sans); min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
#course-nav { position: absolute; right: clamp(12px, 3.4vw, 54px); }
#course-nav summary { list-style: none; border: 1px solid var(--line); border-radius: 5px; padding: 8px 12px; background: var(--white); }
#course-nav summary::-webkit-details-marker { display: none; }
#course-nav summary::after { content: "⌃"; margin-left: .4em; color: var(--muted); }
#course-nav[open] summary { background: var(--panel); }
#course-nav .course-list {
  position: absolute; right: 0; bottom: calc(100% + 9px);
  display: grid; gap: 3px; width: min(246px, calc(100vw - 24px));
  padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 7px;
  box-shadow: 0 8px 28px #23283324;
}
#course-nav .course-list a { display: block; padding: 9px 10px; border-radius: 3px; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; }
#course-nav .course-list a:hover, #course-nav .course-list a[aria-current=page] { color: var(--accent); background: var(--accent-tint); }
#course-nav small { display: block; margin-top: 3px; font: 400 12px/1.3 var(--sans); color: var(--muted); }

/* Reveal scales this fixed-ratio canvas. Keep slide measurements in canvas units. */
.reveal {
  top: var(--mast-height);
  height: calc(100dvh - var(--mast-height) - var(--footer-height));
  color: var(--ink);
  font: 400 var(--r-main-font-size)/1.34 var(--sans);
}
.reveal .slides { text-align: left; }
.reveal .slides section { padding: 0; }
.reveal .progress { color: var(--accent); height: 3px; background: var(--panel); }
.screen { min-height: 495px; padding: 29px 38px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.eyebrow { margin-bottom: 16px; color: var(--muted); font: 600 .56em/1.3 var(--sans); letter-spacing: .025em; }
.reveal h1, .reveal h2, .reveal h3 { margin: 0 0 .28em; color: var(--ink); text-transform: none; }
.reveal h1, .reveal h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.04; }
.reveal h1 { font-size: 2.85em; }
.reveal h2 { font-size: 1.85em; }
.reveal h3 { font: 650 .97em/1.18 var(--sans); letter-spacing: -.02em; }
.reveal p { margin: .5em 0; }
.reveal strong { font-weight: 700; }
.reveal code, #terms-dialog code { font-family: var(--mono); font-size: .9em; padding: .05em .2em; border-radius: 3px; background: var(--panel); color: var(--ink); }
.reveal .lede { max-width: 33em; color: var(--muted); font-size: 1em; line-height: 1.38; }
.accent { color: var(--accent); }
.footnote, .legend { color: var(--muted); font-size: .71em; line-height: 1.4; }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 25px; }
.hero > * { min-width: 0; }
.hero .flow { width: 100%; max-width: 450px; height: auto; margin: 0 auto; display: block; overflow: visible; }
.flow pattern circle { fill: #cbd3df; }
.flow > path { stroke: #73809a; }
.flow rect[stroke], .flow g[stroke] { fill: var(--panel); stroke: #8795aa; }
.flow [stroke="#fcd47c"], .flow [stroke="#ffd788"] { fill: var(--accent-tint); stroke: var(--accent); }
.flow text { fill: var(--ink); font-family: var(--sans); }
.signal-label { font-size: 16px; font-weight: 650; text-anchor: middle; }
.signal-small { font-size: 12px; text-anchor: middle; }
.reveal .pill, .hero .study-paths {
  display: inline-block; margin: 5px 5px 0 0; padding: 7px 11px;
  border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink);
  font: 600 .69em/1.3 var(--sans); text-decoration: none;
}
.reveal .pill:hover, .hero .study-paths:hover { color: var(--accent); background: var(--accent-tint); border-color: var(--accent); }
.hero .pill[href^="#/"]:first-of-type {
  color: var(--white); background: var(--accent); border-color: var(--accent);
}
.hero .pill[href^="#/"]:first-of-type:hover { background: var(--accent-hover); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin-top: 17px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { min-width: 0; padding: 12px 0 4px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.tile .tag, .study-node b, .study-row b { display: block; margin-bottom: 5px; color: var(--muted); font: 650 .55em/1.32 var(--sans); letter-spacing: .06em; }
.tile p { margin: 0; color: var(--muted); font-size: .78em; line-height: 1.38; }
.compact-list .tile p { font-size: .75em; }
.loop { display: flex; align-items: center; gap: 8px; margin: 18px 0; }
.node { min-width: 0; flex: 1; padding: 9px; background: var(--panel); border-radius: 4px; color: var(--ink); text-align: center; font: 600 .74em/1.3 var(--sans); }
.arrow { color: var(--accent); font-size: .85em; }
.callout, .study-note { margin-top: 15px; padding: 9px 13px; border-left: 3px solid var(--accent); background: var(--panel); color: var(--ink); font-size: .76em; line-height: 1.4; }
.callout p { margin: 0; }
.reveal .slides .steps { margin: 10px 0; padding-left: 1.3em; font-size: .86em; line-height: 1.5; }
.reveal .slides .steps li { margin: .15em 0; }
.scope-grid, .rulemap { display: grid; gap: 0; margin: 15px 0; }
.scope-line, .rulemap > div { display: grid; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 7px 0; font-size: .77em; }
.scope-line { grid-template-columns: 95px 1fr; }
.scope-line strong { color: var(--accent); }
.rulemap > div { grid-template-columns: 1.35fr 1fr; }
.rulemap code { overflow-wrap: anywhere; }
.hero-terminal, .terminal {
  margin: .5em 0; padding: 15px 18px; border-radius: 5px; background: var(--ink); color: #f7f8fb;
  font: 500 .73em/1.45 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere;
}
.hero-terminal strong, .terminal strong { color: #bacaff; }
.terminal .dim { color: #c6cfdf; }
.terminal .warn { color: #f5cf9f; }
.compact-text { color: var(--muted); font-size: .79em; line-height: 1.4; }

/* Study references, decision traces and case notes. */
.screen.study { padding: 25px 35px; }
.study .eyebrow { margin-bottom: 10px; }
.reveal .study h2, .quiz-screen h2 { font-size: 1.64em; line-height: 1.07; }
.reveal .study-intro { margin: .35em 0 .68em; max-width: 65ch; color: var(--muted); font-size: .82em; line-height: 1.35; }
.study-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.study-terms { margin: 0; }
.study-term { min-width: 0; padding: 9px 0; border-top: 1px solid var(--line); }
.study-term dt, .study-node strong { display: block; color: var(--ink); font: 650 .84em/1.2 var(--sans); }
.study-term dd, .reveal .study-node p, .reveal .study-row p { margin: 4px 0 0; color: var(--ink); font-size: .71em; line-height: 1.32; }
.study-term small { display: block; margin-top: 4px; color: var(--muted); font-size: .93em; }
.study-code { white-space: pre-wrap; overflow-wrap: anywhere; }
.study-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 12px 0 0; padding: 0; }
.study-flow.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.study-node { position: relative; min-width: 0; padding: 10px 12px; background: var(--panel); border-radius: 4px; }
.study-flow .study-node:not(:last-child)::after { position: absolute; content: "→"; right: -17px; top: 43%; color: var(--accent); font-size: 15px; }
.study-rows { display: grid; }
.study-row { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.25fr) minmax(0,1.3fr); gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.study-row strong { font-size: .75em; line-height: 1.25; }
.reveal .study-row p { margin: 0; }
.study-row .verdict b { display: inline; font-size: .9em; letter-spacing: 0; color: var(--accent); }
.study-branch { display: grid; grid-template-columns: 1fr 40px 1fr; grid-template-areas: "a link c" "b link c"; gap: 8px; align-items: stretch; }
.study-branch .study-node:nth-of-type(1) { grid-area: a; }
.study-branch .study-node:nth-of-type(2) { grid-area: b; }
.study-branch .study-node:last-of-type { grid-area: c; align-self: center; }
.study-branch svg { grid-area: link; width: 100%; height: 100%; color: var(--accent); }
.reveal .story-copy { margin: .5em 0 .7em; max-width: 75ch; font-size: .84em; line-height: 1.45; }

/* Practice feedback also spells out the answer in the live region. */
.screen.quiz-screen { min-height: 540px; padding: 20px 34px; }
.quiz-screen .eyebrow { margin-bottom: 8px; }
.reveal .quiz-screen .stem, .reveal .quiz-screen .legend { margin: 5px 0; }
.stem { font-size: .9em; line-height: 1.33; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0; }
.choice { display: flex; align-items: flex-start; gap: 10px; min-height: 48px; padding: 6px 10px; text-align: left; font-size: .75em; line-height: 1.31; }
.letter { color: var(--accent); font-weight: 700; }
.choice[aria-pressed=true] { background: var(--accent-tint); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.choice.right, .choice.right:hover:enabled { background: #e6f2eb; border-color: #35774f; box-shadow: inset 0 0 0 1px #35774f; }
.choice.wrong, .choice.wrong:hover:enabled { background: #fbede8; border-color: #9c4430; box-shadow: inset 0 0 0 1px #9c4430; }
.choice.right .letter { color: #285e3e; }
.choice.wrong .letter { color: #863928; }
.answer-action { font-size: .71em; line-height: 1.24; font-weight: 600; padding: 6px 11px; }
.answer-action:enabled { color: var(--white); border-color: var(--accent); background: var(--accent); }
.answer-action:hover:enabled { color: var(--white); border-color: var(--accent-hover); background: var(--accent-hover); }
.reveal .answer { margin: 5px 0 0; color: var(--ink); font-size: .76em; line-height: 1.34; }
.reveal .answer:empty { margin: 0; }

/* Reference tools use normal viewport units, independent of slide scaling. */
#narration, #terms-dialog {
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 12px 40px #23283328; font-family: var(--sans);
}
#narration { position: fixed; z-index: 15; top: calc(var(--mast-height) + 5px); right: 12px; width: min(calc(100% - 24px), 414px); max-height: 75dvh; overflow: auto; padding: 15px; }
.audtop, .terms-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#narration audio { width: 100%; margin: 11px 0; }
#narration p, #narration summary { font-size: .95rem; line-height: 1.5; }
#narration summary { color: var(--accent); }
#narration button, #terms-dialog button { font-size: .875rem; }
#terms-dialog { width: min(740px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0 20px 16px; overscroll-behavior: contain; }
#terms-dialog::backdrop { background: #23283370; }
.terms-bar { position: sticky; top: 0; z-index: 1; padding: 13px 0; border-bottom: 1px solid var(--line); background: var(--white); }
#terms-dialog h2 { margin: 0; font: 400 1.6rem/1.12 var(--serif); }
#terms-dialog h3 { margin: 15px 0 7px; font-size: 1rem; }
.terms-hint { margin: 12px 0; color: var(--muted); font-size: .94rem; line-height: 1.4; }
#terms-dialog .study-term dt { font-size: 1rem; }
#terms-dialog .study-term dd { font-size: .94rem; line-height: 1.42; }
#terms-dialog code { overflow-wrap: anywhere; }

@media (max-width: 760px) {
  #mast { gap: 6px; padding-inline: 9px; }
  #mast a, #mast button { font-size: 12px; }
  #mast nav { gap: 1px; }
  #mast nav a, #mast button { padding: 8px 6px; }
}
@media (max-width: 570px) {
  :root { --mast-height: 76px; }
  #mast { display: grid; grid-template-columns: 1fr auto auto; grid-template-rows: auto auto; align-content: center; gap: 3px 6px; }
  #mast .brand { grid-column: 1; grid-row: 1; width: fit-content; }
  #mast nav { grid-column: 1 / -1; grid-row: 2; margin: 0; justify-content: center; }
  #mast nav a { padding: 5px 9px; }
  #mast button { padding: 6px 8px; }
  #terms-dialog .study-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) and (orientation: portrait) {
  .reveal { font-size: 24.5px; }
  .screen, .screen.study { min-height: 610px; padding: 19px; }
  .screen.quiz-screen { min-height: 725px; padding: 15px 19px; }
  .eyebrow { margin-bottom: 12px; }
  .hero { grid-template-columns: 1fr; gap: 13px; }
  .hero .flow { max-width: 320px; }
  .hero-terminal, .terminal { padding: 11px 13px; }
  .reveal h1 { font-size: 2.48em; }
  .reveal h2 { font-size: 1.63em; }
  .reveal .study h2, .reveal .quiz-screen h2 { font-size: 1.48em; }
  .reveal .lede { font-size: .95em; }
  .grid { gap: 8px 12px; margin-top: 10px; }
  .grid.three { grid-template-columns: 1fr; }
  .tile { padding: 8px 0 2px; }
  .compact-list .tile h3 { font-size: .9em; }
  .loop { gap: 5px; margin: 12px 0; flex-wrap: wrap; }
  .node { padding: 7px 4px; }
  .choices { grid-template-columns: 1fr; gap: 6px; }
  .choice { min-height: 42px; padding: 7px 10px; }
  .study-grid { gap: 3px 10px; }
  .study-term { padding: 6px 0; }
  .study-flow, .study-flow.three-up { grid-template-columns: 1fr; gap: 8px; }
  .study-flow .study-node { display: grid; grid-template-columns: minmax(0, 116px) minmax(0, 1fr); align-items: center; gap: 2px 8px; padding: 6px 9px; overflow-wrap: anywhere; }
  .study-flow .study-node b { grid-column: 1 / -1; margin: 0; }
  .study-flow .study-node p { margin: 0; }
  .study-flow .study-node:not(:last-child)::after { content: "↓"; right: 6px; top: auto; bottom: -13px; z-index: 2; }
  .study-row { grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 3px 9px; }
  .study-row .verdict { grid-column: 2; }
  .study-branch { grid-template-columns: 1fr 26px 1fr; }
  .scope-line { grid-template-columns: 70px 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
@media print {
  #mast, #bottom, #narration, #terms-dialog { display: none !important; }
  .reveal { top: 0; }
  .screen, .screen.study { border: 0; min-height: 0; }
}

/* The cover introduces a learner to the job before the technical material. */
.screen:has(.case-brief) {
  padding: 30px 38px 34px;
  border: 0;
  background: transparent;
}
.screen:has(.case-brief) > .eyebrow {
  margin: 0 0 22px; color: var(--accent); font-size: .62em; letter-spacing: .005em;
}
.case-brief {
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
  align-items: center; gap: 35px;
}
.reveal .case-brief h1 {
  max-width: 14ch; margin: 0; font-size: 2.38em; line-height: 1.03; text-wrap: balance;
}
.reveal .case-brief .lede {
  margin: 15px 0 0; max-width: 39ch; font-size: .88em; line-height: 1.41;
}
.case-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; margin-top: 20px; }
.case-actions .pill, .case-actions .listen-intro {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 8px 13px; margin: 0;
  font: 600 .7em/1.22 var(--sans);
}
.case-actions .listen-intro { color: var(--accent); border-color: var(--line); }
.case-actions .listen-intro:hover { background: var(--accent-tint); border-color: var(--accent); }
.case-file {
  padding: 20px 22px; border-top: 3px solid var(--accent); background: var(--panel); color: var(--ink);
}
.reveal .case-file-label { margin: 0 0 10px; color: var(--accent); font: 650 .61em/1.3 var(--sans); }
.reveal .case-file blockquote {
  display: block; width: auto; margin: 0; padding: 0; border: 0; box-shadow: none;
  background: transparent; color: var(--ink); text-align: left;
  font: 400 1.24em/1.16 var(--serif); letter-spacing: -.025em; text-wrap: pretty;
}
.case-file dl { display: grid; margin: 16px 0 0; }
.case-file dl > div {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); align-items: baseline;
  gap: 10px; padding: 8px 0; border-top: 1px solid #c3cad5;
}
.case-file dl > div:last-child { padding-bottom: 0; }
.case-file dt, .case-file dd { margin: 0; font: 400 .68em/1.32 var(--sans); overflow-wrap: anywhere; }
.case-file dt { color: var(--muted); font-weight: 600; }
#narration #transcript { white-space: pre-line; }
#listen[aria-expanded=true] { color: var(--accent); background: var(--accent-tint); border-color: var(--accent); }

.coach-check, .case-terms { margin: 10px 0 0; border-top: 1px solid var(--line); }
.coach-check > summary, .case-terms > summary {
  width: fit-content; max-width: 100%; padding: 7px 3px;
  color: var(--accent); font: 600 .75em/1.25 var(--sans); text-decoration: underline;
  text-underline-offset: .15em;
}
.coach-check[open] > p { max-width: 65ch; margin: 4px 0 8px; line-height: 1.36; font-size: .76em; }
.case-terms[open] > dl { margin: 4px 0 8px; }
#bottom button { width: auto; min-width: 58px; padding: 6px 10px; font-size: 14px; }
@media (max-width: 570px) {
  #bottom { justify-content: flex-start; gap: 4px; }
}
@media (max-width: 400px) {
  #bottom { padding-inline: 8px; }
  #bottom button { min-width: 42px; padding: 6px 8px; font-size: 13px; }
  #position { min-width: 56px; font-size: 12px; }
  #course-nav { right: 8px; }
  #course-nav summary { font-size: 12px; padding: 8px; }
}

/* Give the introduction and its first decision a readable phone layout. */
@media (max-width: 700px) and (orientation: portrait), (max-width: 950px) and (max-height: 520px) and (orientation: landscape) {
  .reveal .slides:has(> section.present > .case-cover, > section.present .coach-check) {
    inset: 0 !important; width: 100% !important; height: 100% !important; transform: none !important;
  }
  .reveal .slides > section.present:has(> .case-cover, .coach-check) {
    inset: 0 !important; height: 100%; overflow-y: auto; overscroll-behavior-y: contain;
    touch-action: pan-y; -webkit-overflow-scrolling: touch;
  }
  .screen:has(.coach-check) {
    min-height: 0; margin: 0; padding: 22px clamp(15px,5vw,28px) 26px;
    border: 0; border-radius: 0; background: var(--paper); font-size: 18px;
  }
  .screen:has(.coach-check) > .eyebrow { margin-bottom: 14px; font-size: 13px; }
  .reveal .screen:has(.coach-check) h2 { font-size: clamp(29px,6vw,38px); }
  .reveal .screen:has(.coach-check) > :is(.lede,.study-intro,.compact-text) { margin-block: 12px 16px; font-size: 17px; line-height: 1.44; }
  .coach-check > summary, .case-terms > summary { min-height: 44px; padding: 12px 2px; font-size: 16px; }
  .coach-check[open] > p { font-size: 16px; line-height: 1.45; }
  .case-terms .study-term dt, .case-terms .study-term dd { font-size: 15px; }
  .case-terms .study-term small { font-size: 14px; }
  .case-terms .study-grid { grid-template-columns: minmax(0,1fr); }
  .screen.case-cover {
    min-height: 0; padding: clamp(20px,5vh,44px) clamp(15px,5vw,28px) 24px;
    font: 400 20px/1.35 var(--sans);
  }
  .screen.case-cover > .eyebrow { margin-bottom: 16px; font-size: 13px; }
  .case-brief { gap: 20px; }
  .reveal .case-brief h1 { margin: 0; font-size: clamp(34px,7vw,48px); }
  .reveal .case-brief .lede { margin-top: 10px; font-size: 17px; }
  .case-actions { margin-top: 12px; gap: 7px 9px; }
  .case-actions .pill, .case-actions .listen-intro { min-height: 42px; font-size: 14px; }
  .case-file { padding: 13px 16px; }
  .reveal .case-file-label { margin-bottom: 5px; font-size: 13px; }
  .reveal .case-file blockquote { font-size: 24px; }
  .case-file dl { margin-top: 10px; }
  .case-file dl > div { padding-block: 6px; }
  .case-file dt, .case-file dd { font-size: 14px; }
}
@media (max-width: 700px) and (orientation: portrait) {
  .case-brief { grid-template-columns: minmax(0,1fr); }
  .reveal .case-brief h1 { max-width: 19ch; font-size: clamp(34px,9vw,50px); }
  .screen.case-cover > .eyebrow { max-width: 42ch; }
}
@media (max-width: 950px) and (max-height: 520px) and (orientation: landscape) {
  .screen.case-cover { padding: 14px 3.5vw 20px; }
  .screen.case-cover > .eyebrow { margin-bottom: 9px; }
  .reveal .case-brief h1 { font-size: 32px; }
  .reveal .case-brief .lede { font-size: 15px; }
  .case-actions .pill, .case-actions .listen-intro { min-height: 36px; }
}
