:root {
  --bg: #f7f4ec;
  --panel: #fffdf7;
  --panel-2: #efeadf;
  --ink: #20261f;
  --muted: #5c635a;
  --quiet: #8b9188;
  --line: rgba(32, 38, 31, 0.18);
  --acid: #55700a;
  --violet: #6050c0;
  --sky: #0e7396;
  --coral: #bc4527;
  --gold: #8f6b10;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

html,
body {
  background: var(--bg);
}

.reveal {
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 9%, rgba(14, 115, 150, 0.08), transparent 28%),
    radial-gradient(circle at 16% 88%, rgba(96, 80, 192, 0.07), transparent 31%),
    var(--bg);
  font-family: var(--sans);
  font-size: 34px;
}

.reveal .slides {
  text-align: left;
}

.reveal .slides section {
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  height: 100%;
  padding: 18px 32px;
  text-align: left;
}

.reveal .slides section > * {
  flex-shrink: 0;
}

.reveal h1,
.reveal h2,
.reveal h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-transform: none;
}

.reveal h1 {
  margin: 0.22em 0;
  font-size: 2.75em;
  line-height: 0.95;
}

.reveal h2 {
  max-width: 1260px;
  margin: 0.34em 0 0.65em;
  font-size: 2.05em;
  line-height: 1.03;
}

.reveal h3 {
  font-size: 1.35em;
}

.reveal p {
  line-height: 1.35;
}

.reveal em {
  color: var(--acid);
  font-weight: 400;
}

.reveal strong,
.reveal b {
  color: inherit;
}

.reveal blockquote {
  width: auto;
  margin: 1.1em 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  color: var(--ink);
  background: transparent;
  font-family: var(--serif);
  font-size: 2.18em;
  font-style: normal;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.reveal .controls {
  color: var(--acid);
}

.reveal .progress {
  height: 3px;
  color: var(--acid);
}

.reveal .slide-number {
  right: 28px;
  bottom: 24px;
  padding: 0;
  color: var(--quiet);
  background: transparent;
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.12em;
}

.kicker,
.folio,
.source,
.caveat {
  font-family: var(--sans);
  font-size: 0.46em;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker,
.folio {
  color: var(--muted);
}

.folio {
  position: absolute;
  top: 30px;
  left: 32px;
  margin: 0 !important;
}

.folio + h2 {
  margin-top: 1.4em;
}

.source {
  position: absolute;
  right: 32px;
  bottom: 18px;
  color: var(--quiet);
}

.caveat {
  display: inline-block;
  margin-top: 28px !important;
  padding: 10px 14px;
  border: 1px solid rgba(188, 69, 39, 0.55);
  color: var(--coral);
}

.air {
  margin-top: 34px !important;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.72em;
  font-style: italic;
}

.question {
  margin-top: 38px !important;
  color: var(--acid);
  font-family: var(--serif);
  font-size: 0.86em;
  font-style: italic;
}

.title-slide {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
}

.title-slide::after {
  position: absolute;
  top: 8%;
  right: 10%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(85, 112, 10, 0.18);
  border-radius: 47% 53% 39% 61% / 55% 38% 62% 45%;
  content: "";
  transform: rotate(18deg);
  box-shadow:
    0 0 0 42px rgba(85, 112, 10, 0.05),
    0 0 0 82px rgba(14, 115, 150, 0.043);
}

.title-slide h1 {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin: 0.2em 0 0.14em;
  font-size: 3.75em;
}

.title-slide h2 {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 1.05em;
  font-style: italic;
}

.amp {
  color: var(--acid);
  font-style: italic;
}

.title-meta {
  display: flex;
  gap: 34px;
  margin-top: 62px;
  color: var(--muted);
  font-size: 0.54em;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.quote-slide {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}

.quote-slide .folio {
  position: absolute;
  top: 30px;
}

.quote-slide blockquote {
  font-size: 2.55em;
}

.world-signals {
  position: relative;
  width: 100%;
  height: 470px;
  margin-top: -8px;
}

.world-node {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  border: 1px solid var(--acid);
  border-radius: 50%;
  color: var(--acid);
  background: var(--bg);
  font-family: var(--serif);
  font-size: 0.9em;
  font-style: italic;
  transform: translate(-50%, -50%);
}

.signal-node {
  position: absolute;
  z-index: 2;
  width: 280px;
  padding: 18px 22px;
  border: 1px solid currentColor;
  background: var(--bg);
  font-size: 0.55em;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-node small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76em;
  font-weight: 450;
  letter-spacing: 0.03em;
  text-transform: none;
}

.signal-node.vision { top: 7%; left: 6%; color: var(--violet); }
.signal-node.language { top: 7%; right: 6%; color: var(--acid); }
.signal-node.audio { bottom: 5%; left: 6%; color: var(--sky); }
.signal-node.body { right: 6%; bottom: 5%; color: var(--coral); }

.ray {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 35%;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}

.r1 { transform: rotate(211deg); }
.r2 { transform: rotate(329deg); }
.r3 { transform: rotate(149deg); }
.r4 { transform: rotate(31deg); }

.four-up,
.negative-map,
.blind-spots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.four-up > div,
.negative-map > div,
.blind-spots > div {
  min-height: 150px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.85);
}

.four-up b,
.negative-map b,
.blind-spots b {
  display: block;
  margin-bottom: 15px;
  color: var(--acid);
  font-family: var(--serif);
  font-size: 0.82em;
  font-weight: 400;
}

.four-up span,
.negative-map span,
.blind-spots span {
  display: block;
  color: var(--muted);
  font-size: 0.6em;
  line-height: 1.45;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.application-grid > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-content: center;
  min-height: 150px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.85);
}

.application-grid > div:nth-child(1) { border-color: var(--violet); }
.application-grid > div:nth-child(2) { border-color: var(--sky); }
.application-grid > div:nth-child(3) { border-color: var(--coral); }
.application-grid > div:nth-child(4) { border-color: var(--acid); }

.application-grid small {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--quiet);
  font-size: 0.25em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.application-grid b {
  display: block;
  margin-bottom: 11px;
  color: var(--ink);
  font: 400 0.76em var(--serif);
}

.application-grid span {
  color: var(--muted);
  font-size: 0.37em;
  line-height: 1.4;
}

.taxonomy {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 20px;
}

.taxonomy span {
  min-height: 160px;
  padding: 30px;
  border-top: 2px solid var(--violet);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.62em;
  line-height: 1.5;
}

.taxonomy span:nth-child(2) { border-color: var(--sky); }
.taxonomy span:nth-child(3) { border-color: var(--acid); }
.taxonomy span:nth-child(4) { border-color: var(--gold); }
.taxonomy span:nth-child(5) { border-color: var(--coral); }

.taxonomy b {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.8em;
  font-weight: 400;
}

.chapter-slide {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}

.chapter-slide::before {
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(96, 80, 192, 0.25);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 100px rgba(96, 80, 192, 0.075);
}

.action-chapter::before { border-color: rgba(188, 69, 39, 0.31); }
.jepa-chapter::before { border-color: rgba(85, 112, 10, 0.31); }
.audio-chapter::before { border-color: rgba(14, 115, 150, 0.31); }

.chapter-no {
  margin: 0 !important;
  color: var(--acid);
  font-family: var(--serif);
  font-size: 0.8em;
  font-style: italic;
}

.chapter-slide h1 {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  margin: 0.12em 0;
  font-size: 3.35em;
}

.chapter-slide h2 {
  color: var(--muted);
  font-size: 1em;
  font-style: italic;
}

.chapter-line {
  margin-top: 62px !important;
  color: var(--quiet);
  font-size: 0.54em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.construction {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.3fr;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
}

.raw-sample,
.relation,
.views span {
  display: grid;
  min-height: 120px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.55em;
}

.views {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.views span:first-child { border-color: var(--violet); }
.views span:last-child { border-color: var(--sky); }
.relation { border-color: var(--acid); color: var(--acid); }
.arrow { color: var(--quiet); }

.pair-stage {
  position: relative;
  width: 760px;
  height: 320px;
  margin: 0 auto;
}

.crop {
  position: absolute;
  display: grid;
  width: 310px;
  height: 230px;
  place-items: center;
  border: 1px solid currentColor;
  background:
    linear-gradient(145deg, rgba(96, 80, 192, 0.18), transparent 55%),
    var(--panel);
}

.crop span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
}

.crop-a { top: 0; left: 40px; color: var(--violet); transform: rotate(-3deg); }
.crop-b { top: 24px; right: 40px; color: var(--sky); transform: rotate(4deg); }
.pair-brace {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  color: var(--acid);
  font-family: var(--serif);
  font-size: 0.55em;
  text-align: center;
}

.declared,
.strengths,
.heterogeneity {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.declared span,
.strengths span,
.heterogeneity span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  font-size: 0.52em;
}

.embedding {
  position: relative;
  height: 390px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(32, 38, 31, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 38, 31, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
}

.point {
  position: absolute;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--bg);
  font: 500 0.54em var(--sans);
}

.p-a { top: 42%; left: 25%; color: var(--violet); }
.p-b { top: 48%; left: 36%; color: var(--sky); }
.n-1 { top: 14%; right: 20%; color: var(--coral); }
.n-2 { right: 9%; bottom: 16%; color: var(--gold); }
.n-3 { top: 17%; left: 58%; color: var(--muted); }
.pull,
.push {
  position: absolute;
  color: var(--acid);
  font-size: 0.44em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pull { top: 40%; left: 31%; }
.push { color: var(--coral); }
.push-1 { top: 29%; left: 49%; transform: rotate(-20deg); }
.push-2 { right: 22%; bottom: 27%; transform: rotate(18deg); }

.space-row {
  display: flex;
  gap: 18px;
  align-items: stretch;
  margin-top: 14px;
}

.space-row .joint-space {
  flex: 1.5;
  height: 168px;
  margin-top: 0;
}

.anim-footage {
  flex: 1;
  margin: 0;
}

.anim-footage video {
  width: 100%;
  height: 168px;
  border: 1px solid var(--line);
  object-fit: cover;
}

figure.footage.anim-wide {
  width: 560px;
  margin: 20px auto 0;
}

.anim-wide video {
  width: 100%;
  border: 1px solid var(--line);
}

.joint-space {
  position: relative;
  height: 190px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(32, 38, 31, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 38, 31, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}

.joint-space .sp {
  position: absolute;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: var(--panel);
  font: italic 0.66em var(--serif);
}

.joint-space .sp small {
  position: absolute;
  top: 100%;
  margin-top: 6px;
  color: var(--muted);
  font: 400 0.5em var(--sans);
  font-style: normal;
  white-space: nowrap;
}

.sp-v { top: 16%; left: 24%; color: var(--violet); }
.sp-u { top: 34%; left: 37%; color: var(--acid); }
.sp-far { top: 12%; right: 11%; color: var(--coral); }

.joint-space .space-label {
  position: absolute;
  right: 22px;
  bottom: 10px;
  max-width: 42%;
  color: var(--quiet);
  font: italic 0.56em var(--serif);
  text-align: right;
}

.two-lines {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.two-lines p {
  font-size: 0.6em;
}

.two-lines b {
  color: var(--acid);
}

.info-nce-stage {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 92px;
}

.anchor,
.candidate {
  display: grid;
  min-height: 190px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.43em;
  text-align: center;
}

.anchor {
  border-color: var(--violet);
  color: var(--violet);
}

.candidate.positive {
  border-color: var(--acid);
  color: var(--acid);
  box-shadow: inset 0 -8px 0 rgba(85, 112, 10, 0.12);
}

.anchor b,
.candidate b {
  font-family: var(--serif);
  font-size: 2em;
}

.formula {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 270px;
  margin-top: 50px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-family: var(--serif);
  font-size: 1.02em;
}

.fraction {
  display: inline-grid;
  min-width: 620px;
  text-align: center;
}

.fraction b,
.fraction i {
  padding: 16px;
  font-weight: 400;
  font-style: normal;
}

.fraction b {
  border-bottom: 1px solid var(--ink);
  color: var(--acid);
}

.fraction-gloss {
  display: inline-grid;
  align-content: center;
  row-gap: 26px;
  margin-left: 26px;
  text-align: left;
}

.fraction-gloss b,
.fraction-gloss i {
  font: 500 0.4em var(--sans);
  font-style: normal;
  letter-spacing: 0.02em;
}

.fraction-gloss b { color: var(--acid); }
.fraction-gloss i { color: var(--muted); }

.formula-reading {
  margin-top: 20px !important;
  color: var(--muted);
  font: italic 0.6em var(--serif);
  text-align: center;
}

.formula-reading em {
  color: var(--ink);
}

.formula-key {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.formula-key span {
  padding: 12px 18px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.5em;
}

.formula-key b { color: var(--ink); }

.temperature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 80px;
}

.temperature > div {
  min-height: 270px;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.thermo {
  display: block;
  width: max-content;
  margin-bottom: 30px;
  padding: 8px 13px;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-size: 0.52em;
}

.cold { color: var(--sky); }
.warm { color: var(--coral); }

.temperature b {
  display: block;
  font-family: var(--serif);
  font-size: 1.2em;
  font-weight: 400;
}

.temperature p {
  color: var(--muted);
  font-size: 0.6em;
}

.negative-map {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
}

.negative-map > div {
  min-height: 230px;
}

.false-negative {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  width: 1040px;
  margin: 80px auto 0;
}

.anchor-card,
.negative-card {
  min-height: 230px;
  padding: 60px 40px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.55em;
  text-align: center;
}

.anchor-card { border-color: var(--violet); }
.negative-card { border-color: var(--coral); }
.versus-mark { color: var(--coral); font-family: var(--serif); font-size: 1.4em; }
.loss-callout {
  position: absolute;
  right: 0;
  bottom: -44px;
  left: 0;
  color: var(--coral);
  font-size: 0.52em;
  text-align: center;
}

.ontology {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 70px;
}

.ontology > div {
  min-height: 270px;
  padding: 34px;
  border: 1px solid var(--line);
}

.ontology small,
.research-frontier small,
.audio-objectives small,
.connectors small,
.action-interfaces small,
.newer-steps small,
.replace-grid small,
.hybrid small,
.prediction-targets small,
.evidence-limits small,
.evaluation small,
.balance-sheet small,
.why-vla small {
  display: block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.44em;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ontology b {
  display: block;
  margin: 15px 0;
  font-family: var(--serif);
  font-size: 0.82em;
  font-weight: 400;
}
.kept { border-color: rgba(85, 112, 10, 0.5) !important; }
.discarded { border-color: rgba(188, 69, 39, 0.5) !important; }
.kept b { color: var(--acid); }
.discarded b { color: var(--coral); }

.clip-pair {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 140px;
  align-items: center;
  width: 980px;
  margin: 25px auto 0;
}

.clip-image,
.clip-caption {
  position: relative;
  min-height: 280px;
  border: 1px solid var(--violet);
  background: var(--panel);
}

.clip-caption {
  display: grid;
  place-items: center;
  border-color: var(--acid);
  font-family: var(--serif);
  font-size: 0.78em;
  font-style: italic;
  text-align: center;
}

.shape {
  position: absolute;
  display: block;
}

.shape.cup {
  top: 70px;
  left: 160px;
  width: 80px;
  height: 100px;
  border: 8px solid var(--coral);
  border-top: 0;
  border-radius: 0 0 20px 20px;
}

.shape.table {
  right: 40px;
  bottom: 65px;
  left: 40px;
  height: 8px;
  background: var(--gold);
  box-shadow: -0px 40px 0 -2px var(--gold);
}

.clip-link {
  position: absolute;
  top: 50%;
  right: calc(50% - 55px);
  width: 110px;
  padding: 9px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.46em;
  text-align: center;
  transform: translateY(-50%);
}

.matrix-caption {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.5em;
}

.matrix-caption b { color: var(--acid); }

.channel {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 55px;
}

.channel > div {
  display: flex;
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 12px;
}

.channel small {
  flex-basis: 100%;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.35em;
  text-transform: uppercase;
}

.channel span {
  height: max-content;
  padding: 10px 15px;
  border: 1px solid var(--violet);
  border-radius: 100px;
  color: var(--violet);
  font-size: 0.5em;
}

.channel > div:last-child span {
  border-color: var(--acid);
  color: var(--acid);
}

.channel i {
  color: var(--muted);
  font: italic 0.48em var(--serif);
  text-align: center;
}

.collapse {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
  margin-top: 70px;
}

.before,
.after {
  position: relative;
  width: 400px;
  height: 260px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.before span,
.after span {
  position: absolute;
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid var(--violet);
  border-radius: 50%;
}

.before span:nth-child(1) { top: 19%; left: 12%; }
.before span:nth-child(2) { top: 26%; right: 18%; border-color: var(--sky); }
.before span:nth-child(3) { right: 33%; bottom: 15%; border-color: var(--coral); }
.before span:nth-child(4) { bottom: 22%; left: 24%; border-color: var(--acid); }
.before span:nth-child(5) { top: 47%; left: 48%; border-color: var(--gold); }
.after span { top: 50%; left: 50%; border-color: var(--coral); transform: translate(-50%, -50%); }
.collapse-arrow { color: var(--coral); font-family: var(--serif); font-size: 1.2em; }
.formula-small {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.54em;
  text-align: center;
}

.vicreg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 70px;
}

.vicreg > div {
  min-height: 290px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.vicreg > div:nth-child(1) { border-top: 4px solid var(--violet); }
.vicreg > div:nth-child(2) { border-top: 4px solid var(--acid); }
.vicreg > div:nth-child(3) { border-top: 4px solid var(--sky); }
.vicreg b {
  display: block;
  color: var(--quiet);
  font: italic 2.8em/1 var(--serif);
}
.vicreg strong {
  display: block;
  margin: 24px 0 14px;
  font: 400 0.78em var(--serif);
}
.vicreg span { color: var(--muted); font-size: 0.43em; }

.research-frontier {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 60px;
}

.research-frontier > div {
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.research-frontier > div:nth-child(1) { border-color: var(--sky); }
.research-frontier > div:nth-child(3) { border-color: var(--violet); }
.research-frontier > div:nth-child(5) { border-color: var(--acid); }
.research-frontier b {
  display: block;
  margin-bottom: 22px;
  font: 400 0.72em var(--serif);
}
.research-frontier span { color: var(--muted); font-size: 0.52em; line-height: 1.45; }
.research-frontier > span { color: var(--quiet); }

.objective-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 78px;
}

.objective-map > div {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.objective-map > div:nth-child(1) { border-top: 4px solid var(--violet); }
.objective-map > div:nth-child(2) { border-top: 4px solid var(--gold); }
.objective-map > div:nth-child(3) { border-top: 4px solid var(--coral); }
.objective-map > div:nth-child(4) { border-top: 4px solid var(--acid); }
.objective-map b {
  display: block;
  margin-bottom: 28px;
  font: 400 0.78em var(--serif);
}
.objective-map span { color: var(--muted); font-size: 0.52em; line-height: 1.4; }
.objective-map.compact {
  margin-top: 60px;
}
.objective-map.compact > div {
  min-height: 180px;
}

.audio-objectives,
.connectors,
.action-interfaces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 55px;
}

.audio-objectives > div,
.connectors > div,
.action-interfaces > div {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.audio-objectives > div:nth-child(1) { border-color: var(--violet); }
.audio-objectives > div:nth-child(2) { border-color: var(--coral); }
.audio-objectives > div:nth-child(3) { border-color: var(--sky); }
.connectors > div:nth-child(1) { border-color: var(--violet); }
.connectors > div:nth-child(2) { border-color: var(--sky); }
.connectors > div:nth-child(3) { border-color: var(--acid); }
.action-interfaces > div:nth-child(1) { border-color: var(--violet); }
.action-interfaces > div:nth-child(2) { border-color: var(--sky); }
.action-interfaces > div:nth-child(3) { border-color: var(--coral); }

.audio-objectives b,
.connectors b,
.action-interfaces b {
  display: block;
  margin-bottom: 24px;
  font: 400 0.78em var(--serif);
}
.audio-objectives span,
.connectors span,
.action-interfaces span {
  color: var(--muted);
  font-size: 0.52em;
  line-height: 1.45;
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100px;
  margin-top: 20px;
}
.waveform i {
  width: 8px;
  height: 20px;
  border-radius: 10px;
  background: var(--sky);
}
.waveform i:nth-child(2n) { height: 68px; }
.waveform i:nth-child(3n) { height: 92px; background: var(--violet); }
.waveform i:nth-child(5n) { height: 42px; background: var(--acid); }

.whisper {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.3fr;
  gap: 26px;
  align-items: center;
  margin-top: 90px;
}

.whisper > div {
  display: grid;
  min-height: 190px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.62em;
  text-align: center;
}
.audio-block { border-color: var(--sky) !important; }
.encoder-block { border-color: var(--violet) !important; }
.decoder-block { border-color: var(--coral) !important; }

.hub {
  position: relative;
  width: 100%;
  height: 470px;
  margin-top: -20px;
}
.hub-centre,
.hub-node {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--bg);
}
.hub-centre {
  top: 50%;
  left: 50%;
  width: 170px;
  height: 170px;
  color: var(--violet);
  font: italic 0.75em var(--serif);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 85px rgba(96, 80, 192, 0.07),
    0 0 0 170px rgba(96, 80, 192, 0.047);
}
.hub-node {
  width: 110px;
  height: 110px;
  color: var(--acid);
  font-size: 0.37em;
}
.h-text { top: 2%; left: 25%; }
.h-audio { top: 5%; right: 22%; color: var(--sky); }
.h-depth { top: 43%; right: 7%; color: var(--gold); }
.h-thermal { right: 27%; bottom: 0; color: var(--coral); }
.h-imu { bottom: 3%; left: 20%; color: var(--violet); }

.lesson-stack {
  display: grid;
  gap: 18px;
  width: 1100px;
  margin: 90px auto 0;
}
.lesson-stack p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 25px 30px;
  border: 1px solid var(--line);
  background: var(--panel);
  font: 400 0.65em var(--serif);
}
.lesson-stack span { color: var(--acid); }

.break-slide {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}
.break-slide h1 { font-size: 2.8em; }
.break-time {
  margin-top: 45px !important;
  color: var(--muted);
  font-size: 0.62em;
  text-align: right;
}
.break-time span { color: var(--acid); font-family: var(--serif); font-size: 1.8em; }

.interface-problem {
  display: grid;
  grid-template-columns: 1fr 190px 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 80px;
}
.vision-tower,
.language-tower {
  display: grid;
  min-height: 260px;
  place-items: center;
  border: 1px solid var(--violet);
  background: var(--panel);
  font: 400 0.82em var(--serif);
  text-align: center;
}
.language-tower { border-color: var(--acid); }
.interface-problem small {
  display: block;
  color: var(--muted);
  font: 400 0.45em var(--sans);
}
.connector {
  display: grid;
  width: 130px;
  height: 130px;
  place-self: center;
  place-items: center;
  border: 1px dashed var(--coral);
  border-radius: 50%;
  color: var(--coral);
  font: italic 1.4em var(--serif);
}

.strengths {
  gap: 18px;
  margin-top: 110px;
}
.strengths span {
  padding: 18px 24px;
  border-color: rgba(85, 112, 10, 0.4);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.63em;
}

.vl-jepa {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr auto 0.7fr;
  gap: 20px;
  align-items: center;
  margin-top: 48px;
}
.vl-jepa > div {
  display: grid;
  min-height: 180px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.6em;
  text-align: center;
}
.semantic-target { border-color: var(--acid) !important; color: var(--acid); }
.vl-output { border-color: var(--coral) !important; }
.optional {
  color: var(--muted);
  font-size: 0.42em;
  text-align: center;
}
.evidence-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.evidence-strip span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.44em;
}

.vla-loop {
  position: relative;
  width: 1000px;
  height: 430px;
  margin: 0 auto;
}
.vla-loop > div {
  position: absolute;
  display: grid;
  width: 230px;
  height: 150px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  font: 400 0.7em var(--serif);
  text-align: center;
}
.vla-loop small {
  display: block;
  color: var(--muted);
  font: 400 0.43em var(--sans);
}
.observe { top: 20px; left: 20px; border-color: var(--violet) !important; }
.interpret { top: 20px; right: 20px; border-color: var(--acid) !important; }
.act { right: 20px; bottom: 20px; border-color: var(--coral) !important; }
.world-change { bottom: 20px; left: 20px; border-color: var(--sky) !important; }
.vla-loop i {
  position: absolute;
  background: var(--line);
}
.loop-a { top: 93px; left: 250px; width: 500px; height: 1px; }
.loop-b { top: 170px; right: 134px; width: 1px; height: 90px; }
.loop-c { right: 250px; bottom: 93px; width: 500px; height: 1px; }
.loop-d { bottom: 170px; left: 134px; width: 1px; height: 90px; }

.why-vla {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-vla > div {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.why-vla b {
  display: block;
  margin-bottom: 16px;
  color: var(--acid);
  font: 400 0.74em var(--serif);
}
.why-vla span { color: var(--muted); font-size: 0.48em; line-height: 1.4; }

.embodiments {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  width: 1100px;
  margin: 50px auto 40px;
}
.robot {
  display: grid;
  min-height: 230px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  font: italic 2em var(--serif);
  text-align: center;
}
.robot small { display: block; color: var(--muted); font: 400 0.2em var(--sans); }
.r-a { border-color: var(--violet); }
.r-b { border-color: var(--sky); }
.r-c { border-color: var(--coral); }
.normaliser {
  position: absolute;
  right: 40%;
  bottom: -30px;
  left: 40%;
  z-index: 2;
  padding: 12px;
  border: 1px solid var(--acid);
  background: var(--bg);
  color: var(--acid);
  font-size: 0.44em;
  text-align: center;
}

.failure-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 80px;
}
.failure-pipeline > div {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.failure-pipeline > div:nth-child(1) { border-color: var(--violet); }
.failure-pipeline > div:nth-child(3) { border-color: var(--acid); }
.failure-pipeline > div:nth-child(5) { border-color: var(--gold); }
.failure-pipeline > div:nth-child(7) { border-color: var(--coral); }
.failure-pipeline b {
  display: block;
  margin-bottom: 34px;
  font: 400 0.85em var(--serif);
}
.failure-pipeline span { color: var(--muted); font-size: 0.5em; line-height: 1.55; }
.failure-pipeline i { color: var(--quiet); font-style: normal; }

.intention-gap {
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  align-items: center;
  margin-top: 65px;
}
.intent,
.execution {
  min-height: 290px;
  padding: 34px;
  border: 1px solid var(--acid);
  background: var(--panel);
}
.execution { border-color: var(--coral); }
.intent small,
.execution small {
  display: block;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 0.46em;
  text-transform: uppercase;
}
.intent b,
.execution b {
  display: block;
  margin: 18px 0;
  font: 400 0.78em var(--serif);
}
.intent b { color: var(--acid); }
.execution b { color: var(--coral); }
.gap {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, var(--acid), var(--coral));
}
.gap span {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.44em;
  transform: translate(-50%, -50%);
}

.evaluation,
.prediction-targets,
.evidence-limits,
.newer-steps,
.replace-grid,
.balance-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 60px;
}
.evaluation > div,
.prediction-targets > div,
.evidence-limits > div,
.newer-steps > div,
.replace-grid > div,
.balance-sheet > div {
  min-height: 300px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.evaluation > div:first-child { border-color: var(--violet); }
.evaluation > div:last-child { border-color: var(--coral); }
.evaluation b,
.prediction-targets b,
.evidence-limits b,
.newer-steps b,
.replace-grid b {
  display: block;
  margin-bottom: 30px;
  font: 400 0.82em var(--serif);
}
.evaluation span,
.prediction-targets p,
.newer-steps span,
.replace-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.52em;
  line-height: 1.5;
}

.balance-sheet > div {
  display: grid;
  align-content: start;
  gap: 16px;
}
.balance-sheet .credit { border-color: var(--acid); }
.balance-sheet .debit { border-color: var(--coral); }
.balance-sheet span {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font: 400 0.55em var(--serif);
}
.credit span { color: var(--acid); }
.debit span { color: var(--coral); }

.prediction-targets > div:first-child { border-color: var(--coral); }
.prediction-targets > div:last-child { border-color: var(--acid); }
.noise-field,
.latent-field {
  display: grid;
  height: 110px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid var(--line);
}
.noise-field {
  background:
    radial-gradient(circle at 13% 37%, var(--violet) 0 3px, transparent 4px),
    radial-gradient(circle at 71% 19%, var(--coral) 0 4px, transparent 5px),
    radial-gradient(circle at 42% 79%, var(--sky) 0 3px, transparent 4px),
    repeating-linear-gradient(17deg, rgba(32, 38, 31, 0.1) 0 2px, transparent 2px 13px);
}
.latent-field {
  color: var(--acid);
  font: italic 1.3em var(--serif);
}

.world-model {
  position: relative;
  width: 1120px;
  height: 410px;
  margin: 20px auto 0;
}
.world-model > div {
  position: absolute;
  display: grid;
  min-width: 210px;
  min-height: 130px;
  padding: 18px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.54em;
  text-align: center;
}
.state { top: 30px; left: 20px; border-color: var(--violet) !important; }
.candidate { bottom: 30px; left: 20px; border-color: var(--coral) !important; }
.predictor { top: 140px; left: 440px; border-color: var(--sky) !important; }
.future { top: 30px; right: 20px; border-color: var(--acid) !important; }
.goal { right: 20px; bottom: 30px; border-color: var(--gold) !important; }
.wm-arrow { position: absolute; color: var(--muted); font-family: var(--serif); }
.wm-arrow.a1 { top: 181px; left: 340px; }
.wm-arrow.a2 { top: 181px; right: 340px; }
.wm-arrow.a3 {
  top: 186px;
  right: 108px;
  z-index: 2;
  padding: 2px 12px;
  background: var(--bg);
  color: var(--quiet);
  font-size: 0.5em;
  font-style: italic;
  text-align: center;
}
.wm-score {
  position: absolute !important;
  bottom: 4px;
  left: 50%;
  min-width: 150px !important;
  min-height: 36px !important;
  padding: 8px 12px !important;
  border-style: dashed !important;
  color: var(--muted);
  font: 500 0.4em var(--sans) !important;
  transform: translateX(-50%);
}

.evidence-limits .evidence { border-color: var(--acid); }
.evidence-limits .limits { border-color: var(--coral); }
.evidence-limits b {
  margin: 15px 0;
  font-size: 0.7em;
}
.evidence b { color: var(--acid); }
.limits b { color: var(--coral); }

.newer-steps > div:first-child { border-color: var(--violet); }
.newer-steps > div:last-child { border-color: var(--acid); }
.newer-steps i {
  display: block;
  margin-top: 25px;
  color: var(--coral);
  font: italic 0.38em var(--serif);
}

.replace-grid .policy-side { border-color: var(--coral); }
.replace-grid .planner-side { border-color: var(--acid); }
.replace-grid span {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.answer {
  margin-top: 30px !important;
  font: 400 0.85em var(--serif);
  text-align: center;
}

.hybrid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 90px;
}
.hybrid > div {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.hybrid > div:nth-child(1) { border-color: var(--violet); }
.hybrid > div:nth-child(3) { border-color: var(--acid); }
.hybrid > div:nth-child(5) { border-color: var(--coral); }
.hybrid > div:nth-child(7) { border-color: var(--sky); }
.hybrid b { font: 400 0.74em/1.35 var(--serif); }
.hybrid > span { color: var(--quiet); }

.capstone-lens {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 85px;
}

.capstone-lens > div {
  min-height: 230px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.capstone-lens > div:nth-child(1) { border-color: var(--violet); }
.capstone-lens > div:nth-child(3) { border-color: var(--sky); }
.capstone-lens > div:nth-child(5) { border-color: var(--gold); }
.capstone-lens > div:nth-child(7) { border-color: var(--coral); }
.capstone-lens > span { color: var(--quiet); }
.capstone-lens small,
.reading-route small {
  display: block;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.capstone-lens b {
  font: 400 0.55em/1.35 var(--serif);
}

.checkpoint-slide {
  background:
    linear-gradient(120deg, rgba(85, 112, 10, 0.06), transparent 46%);
}

.checkpoint-slide .folio {
  color: var(--acid);
}

.case-card {
  max-width: 1250px;
  margin: 12px 0 25px !important;
  padding: 22px 26px;
  border-left: 3px solid var(--acid);
  background: var(--panel);
  color: var(--ink);
  font: 400 0.55em/1.45 var(--serif);
}

.case-card p { margin: 0; }

.checkpoint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.checkpoint-grid span {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.5em;
  text-align: center;
}

.checkpoint-time {
  position: absolute;
  right: 32px;
  bottom: 22px;
  color: var(--acid);
  font-size: 0.44em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.augmentation-case,
.inspection-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 35px;
}

.augmentation-case > div,
.inspection-case > div {
  min-height: 150px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.augmentation-case > div:first-child,
.inspection-case > div:first-child { border-color: var(--violet); }
.augmentation-case > div:last-child,
.inspection-case > div:last-child { border-color: var(--coral); }
.augmentation-case small,
.inspection-case small {
  display: block;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.42em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.augmentation-case b,
.inspection-case b { font: 400 0.72em/1.35 var(--serif); }

.checkpoint-steps {
  display: grid;
  gap: 10px;
  margin: 26px 0 0 48px !important;
  color: var(--muted);
  font-size: 0.54em;
  line-height: 1.4;
}

.speech-pipelines {
  display: grid;
  gap: 20px;
  margin-top: 42px;
}

.pipeline {
  display: grid;
  grid-template-columns: 150px 1fr auto 1fr auto 1.25fr auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 120px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.pipeline.native {
  grid-template-columns: 150px 1fr auto 1fr auto 1.35fr;
  border-color: var(--sky);
}

.pipeline.cascade { border-color: var(--violet); }
.pipeline small {
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pipeline span {
  padding: 14px 10px;
  border: 1px solid var(--line);
  font-size: 0.46em;
  text-align: center;
}
.pipeline i { color: var(--quiet); font-style: normal; }

.tradeoff-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}
.tradeoff-strip span {
  color: var(--muted);
  font-size: 0.46em;
  line-height: 1.4;
}
.tradeoff-strip b { color: var(--ink); }

.omni-architecture,
.qwen-vl {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 76px;
}
.omni-architecture > div,
.qwen-vl > div {
  display: grid;
  min-height: 190px;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  font: 400 0.7em/1.3 var(--serif);
  text-align: center;
}
.omni-architecture i,
.qwen-vl i { color: var(--quiet); font-style: normal; }
.omni-architecture small,
.qwen-vl small {
  display: block;
  color: var(--muted);
  font: 400 0.6em/1.35 var(--sans);
}
.stream-inputs { border-color: var(--violet) !important; }
.thinker-block { border-color: var(--sky) !important; }
.talker-block { border-color: var(--acid) !important; }
.render-block { border-color: var(--coral) !important; }
.stream-inputs span {
  display: block;
  color: var(--muted);
  font: 400 0.74em/1.7 var(--sans);
}

.failure-log {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 25px;
}
.failure-log span {
  min-height: 120px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  font: 400 0.45em/1.35 var(--serif);
}
.failure-log small {
  display: block;
  margin-bottom: 14px;
  color: var(--acid);
  font: 650 0.72em var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qwen-vl {
  grid-template-columns: 1fr auto 0.75fr auto 1.2fr;
  margin-top: 45px;
}
.qwen-vision { border-color: var(--violet) !important; }
.qwen-merge { border-color: var(--sky) !important; }
.qwen-llm { border-color: var(--acid) !important; }
.qwen-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}
.qwen-features span {
  padding: 15px 18px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.33em;
  line-height: 1.35;
}
.qwen-features b { color: var(--ink); }

.checkpoint-pipeline {
  margin-top: 24px;
}

.reading-route {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 70px;
}
.reading-route > div {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.reading-route > div:nth-child(1) { border-color: var(--violet); }
.reading-route > div:nth-child(2) { border-color: var(--sky); }
.reading-route > div:nth-child(3) { border-color: var(--coral); }
.reading-route b { font: 400 0.68em/1.5 var(--serif); }
.reading-url {
  margin-top: 32px !important;
  color: var(--acid);
  font-size: 0.46em;
  letter-spacing: 0.04em;
}

.final-slide {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}
.final-slide blockquote {
  margin-top: 0.35em;
  font-size: 1.8em;
}
.final-chain {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
}
.final-chain span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.5em;
}
.final-chain i { color: var(--quiet); font-style: normal; }

.closing-slide {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}
.closing-slide h1 {
  max-width: 1200px;
  font-size: 3.5em;
}
.closing-prompts {
  display: flex;
  gap: 14px;
  margin-top: 50px;
}
.closing-prompts span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.5em;
}
.reading-link {
  position: absolute;
  bottom: 26px;
  left: 28px;
  color: var(--quiet);
  font-size: 0.46em;
  letter-spacing: 0.1em;
}

/* Narrative scaffold and recurring lecture scene */

.hook-slide {
  background:
    radial-gradient(circle at 75% 58%, rgba(85, 112, 10, 0.075), transparent 30%);
}

.spoken-request {
  max-width: 1180px;
  margin: 18px 0 36px;
  font: 400 1.55em/1.08 var(--serif);
  letter-spacing: -0.025em;
}

.hook-scene {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.hook-speech,
.hook-camera,
.hook-body,
.hook-question {
  min-height: 130px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  font: 500 0.6em/1.35 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hook-speech { border-color: var(--sky); }
.hook-camera { border-color: var(--violet); }
.hook-body { border-color: var(--coral); }
.hook-speech small,
.hook-camera small,
.hook-body small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.72em;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hook-question {
  grid-column: 1 / -1;
  display: grid;
  min-height: 90px;
  place-items: center;
  border-color: var(--acid);
  color: var(--muted);
  font: 400 0.74em/1.3 var(--serif);
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

.hook-question b {
  color: var(--acid);
  font-weight: 400;
}

.hook-question.compact {
  display: block;
  min-height: auto;
  margin: 24px 0 0 !important;
  padding: 18px 24px;
}

.request-pair,
.difficulty-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.request-pair > div {
  /* a flex column so the first-step line can sit on the bottom edge of both
     cards, level, even when one quote wraps to two lines and the other does not */
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.request-symbolic { border-color: var(--sky) !important; }
.request-embodied { border-color: var(--coral) !important; }
.request-pair small,
.difficulty-comparison small {
  display: block;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.4em;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.request-pair q {
  display: block;
  color: var(--ink);
  font: 400 0.78em/1.3 var(--serif);
  quotes: none;
}
.request-pair q em { color: var(--coral); }
.request-pair .request-first {
  display: block;
  margin-top: auto;                 /* bottom-aligned; 22px stays the floor when a card is full */
  padding-top: 22px;
  color: var(--muted);
  font: italic 400 0.56em/1.35 var(--serif);
}
.request-pair .request-first em { color: var(--coral); font-style: normal; }
.request-symbolic .request-first em { color: var(--sky); }

/* the step ladder: the whole block bottom-aligns, its rows stack evenly */
.request-pair .request-steps {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 22px;
}
.request-pair .request-steps .request-first {
  margin-top: 0;
  padding-top: 0;
}

.difficulty-comparison {
  margin-top: 50px;
}
.difficulty-comparison > div {
  min-height: 285px;
  padding: 30px 32px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.difficulty-comparison > div:first-child { border-color: var(--sky); }
.difficulty-comparison > div:last-child { border-color: var(--coral); }
.difficulty-comparison b,
.difficulty-comparison span {
  display: block;
}
.difficulty-comparison b {
  min-height: 115px;
  font: 400 0.74em/1.35 var(--serif);
}
.difficulty-comparison span {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.44em;
  line-height: 1.45;
}

.return-pair > div {
  min-height: 245px;
}
.return-pair b {
  display: block;
  font: 400 0.74em/1.4 var(--serif);
}

.requirement-chain,
.demonstration-strip,
.hybrid-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 72px;
}

.requirement-chain > div,
.demonstration-strip > div {
  min-height: 210px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.requirement-chain > div:nth-child(1) { border-color: var(--violet); }
.requirement-chain > div:nth-child(3) { border-color: var(--sky); }
.requirement-chain > div:nth-child(5) { border-color: var(--coral); }
.requirement-chain > div:nth-child(7) { border-color: var(--acid); }
.requirement-chain > span,
.demonstration-strip > span { color: var(--quiet); }
.requirement-chain small,
.demonstration-strip small {
  display: block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.4em;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.requirement-chain b,
.demonstration-strip b {
  font: 400 0.53em/1.4 var(--serif);
}

.bio-path {
  max-width: 1300px;
  margin-top: 42px;
}

.bio-name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.bio-name b {
  color: var(--ink);
  font: 400 0.82em var(--serif);
}

.bio-name span {
  color: var(--muted);
  font-size: 0.35em;
  letter-spacing: 0.035em;
}

.bio-path ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.bio-path li {
  min-height: 160px;
  padding: 24px 26px;
  border-top: 2px solid var(--violet);
  background: var(--panel);
}

.bio-path li:nth-child(2) { border-color: var(--sky); }
.bio-path li:nth-child(3) { border-color: var(--coral); }

.bio-path small {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.25em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bio-path li b {
  display: block;
  font: 400 0.49em/1.36 var(--serif);
}

.bio-path p {
  margin: 0 !important;
  padding: 21px 27px;
  border-left: 3px solid var(--acid);
  background: var(--panel);
  font: 400 0.62em/1.42 var(--serif);
}

.teaching-contract {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.teaching-contract > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  min-height: 155px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.teaching-contract > div:nth-child(1) { border-color: var(--violet); }
.teaching-contract > div:nth-child(2) { border-color: var(--sky); }
.teaching-contract > div:nth-child(3) { border-color: var(--coral); }
.teaching-contract > div:nth-child(4) { border-color: var(--acid); }
.teaching-contract small {
  grid-row: 1 / 3;
  color: var(--quiet);
  font: 650 0.4em var(--sans);
}
.teaching-contract b {
  font: 400 0.68em var(--serif);
}
.teaching-contract span {
  color: var(--muted);
  font-size: 0.46em;
  line-height: 1.4;
}

.journey-line {
  margin-top: 26px !important;
  color: var(--acid);
  font: italic 0.56em var(--serif);
  text-align: center;
}

.journey-line.large {
  margin-top: 70px !important;
  font-size: 0.72em;
}

.paper-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 11px;
  align-items: stretch;
  margin-top: 48px;
}

.paper-timeline > div {
  min-height: 340px;
  padding: 23px 20px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.paper-timeline > div:nth-child(1) { border-color: var(--violet); }
.paper-timeline > div:nth-child(3) { border-color: var(--sky); }
.paper-timeline > div:nth-child(5) { border-color: var(--gold); }
.paper-timeline > div:nth-child(7) { border-color: var(--coral); }
.paper-timeline > div:nth-child(9) { border-color: var(--acid); }
.paper-timeline > i {
  align-self: center;
  width: 18px;
  height: 1px;
  background: var(--quiet);
}
.paper-timeline time,
.paper-timeline b,
.paper-timeline span,
.paper-timeline small {
  display: block;
}
.paper-timeline time {
  margin-bottom: 24px;
  color: var(--acid);
  font: 650 0.29em var(--sans);
  letter-spacing: 0.1em;
}
.paper-timeline b {
  margin-bottom: 24px;
  font: 400 0.68em var(--serif);
}
.paper-timeline span {
  min-height: 92px;
  color: var(--muted);
  font-size: 0.44em;
  line-height: 1.45;
}
.paper-timeline small {
  margin-top: 28px;
  color: var(--quiet);
  font-size: 0.26em;
  line-height: 1.4;
}

.compact-false {
  width: 760px;
  margin: 18px auto 0;
}
.compact-false .anchor-card,
.compact-false .negative-card {
  min-height: 70px;
  padding: 18px;
  font-size: 0.48em;
}
.compact-false .loss-callout {
  font-size: 0.4em;
}

.cascade,
.digital-loop {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 48px;
}

.cascade > div,
.digital-loop > div {
  min-height: 145px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.cascade > div:nth-child(1),
.digital-loop > div:nth-child(1) { border-color: var(--sky); }
.cascade > div:nth-child(3),
.digital-loop > div:nth-child(3) { border-color: var(--violet); }
.cascade > div:nth-child(5),
.digital-loop > div:nth-child(5) { border-color: var(--acid); }
.cascade > div:nth-child(7),
.digital-loop > div:nth-child(7) { border-color: var(--coral); }
.cascade i,
.digital-loop i { color: var(--quiet); font-style: normal; }
.cascade small,
.digital-loop small {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.4em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cascade b,
.digital-loop b {
  font: 400 0.62em/1.35 var(--serif);
}

.comparison-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 72px;
}
.comparison-stage > div {
  min-height: 270px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.comparison-stage > div:first-child { border-color: var(--violet); }
.comparison-stage > div:last-child { border-color: var(--acid); }
.comparison-stage > i {
  color: var(--coral);
  font: 400 1.1em var(--serif);
}
.comparison-stage small,
.comparison-stage b,
.comparison-stage span {
  display: block;
}
.comparison-stage small {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.29em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.comparison-stage b {
  margin-bottom: 30px;
  font: 400 0.72em var(--serif);
}
.comparison-stage span {
  color: var(--muted);
  font-size: 0.5em;
  line-height: 1.5;
}

.practical-balance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}
.practical-balance > div {
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.practical-balance > div:first-child { border-color: var(--acid); }
.practical-balance > div:last-child { border-color: var(--coral); }
.practical-balance b {
  display: block;
  margin-bottom: 12px;
  font: 400 0.45em var(--serif);
}
.practical-balance span {
  color: var(--muted);
  font-size: 0.42em;
  line-height: 1.4;
}

.demonstration-strip {
  grid-template-columns: 1fr auto 1fr auto 1.3fr;
  margin-top: 55px;
}
.demonstration-strip > div:nth-child(1) { border-color: var(--violet); }
.demonstration-strip > div:nth-child(3) { border-color: var(--sky); }
.demonstration-strip > div:nth-child(5) { border-color: var(--coral); }

.hybrid-line {
  grid-template-columns: 1fr auto 1fr auto 1.1fr auto 1fr;
  margin-top: 28px;
}
.hybrid-line span {
  min-height: 86px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.31em;
  line-height: 1.35;
  text-align: center;
}
.hybrid-line span:first-child { border-color: var(--violet); }
.hybrid-line span:nth-child(3) { border-color: var(--coral); }
.hybrid-line span:nth-child(5) { border-color: var(--acid); }
.hybrid-line span:nth-child(7) { border-color: var(--sky); }
.hybrid-line i { color: var(--quiet); font-style: normal; }

.return-chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 64px;
}
.return-chain > div {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.return-chain > div:nth-child(1) { border-color: var(--violet); }
.return-chain > div:nth-child(2) { border-color: var(--sky); }
.return-chain > div:nth-child(3) { border-color: var(--coral); }
.return-chain > div:nth-child(4) { border-color: var(--acid); }
.return-chain small {
  display: block;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 0.4em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.return-chain b {
  font: 400 0.62em/1.4 var(--serif);
}

.closing-links {
  display: flex;
  gap: 22px;
  margin-top: 62px;
}
.closing-links span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.46em;
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------------ */
/* Teaching contract · five movements                                  */
/* ------------------------------------------------------------------ */

.teaching-contract.five-part > div {
  min-height: 120px;
}
.teaching-contract.five-part > div:nth-child(1) { border-color: var(--acid); }
.teaching-contract.five-part > div:nth-child(2) { border-color: var(--violet); }
.teaching-contract.five-part > div:nth-child(3) { border-color: var(--sky); }
.teaching-contract.five-part > div:nth-child(4) { border-color: var(--coral); }
.teaching-contract.five-part > div:nth-child(5) {
  grid-column: 1 / -1;
  border-color: var(--gold);
}

/* ------------------------------------------------------------------ */
/* Chapter 01 · cloze prediction                                       */
/* ------------------------------------------------------------------ */

.cloze {
  margin-top: 64px;
  text-align: center;
}

.cloze-sentence {
  font-family: var(--serif);
  font-size: 1.5em;
  letter-spacing: -0.02em;
}

.cloze-blank {
  padding: 0 20px;
  border-bottom: 3px solid var(--acid);
  color: var(--acid);
}

.cloze-candidates {
  display: grid;
  row-gap: 14px;
  width: 980px;
  margin: 56px auto 0;
}

.cloze-candidates > div {
  display: grid;
  grid-template-columns: 200px 1fr 90px;
  gap: 20px;
  align-items: center;
}

.cloze-candidates b {
  font: 400 0.7em var(--serif);
  text-align: right;
}

.cloze-candidates i {
  width: calc(var(--p) * 1%);
  height: 26px;
  background: rgba(32, 38, 31, 0.2);
}

.cloze-candidates > div:first-child i {
  background: var(--acid);
}

.cloze-candidates span {
  color: var(--muted);
  font-size: 0.52em;
  text-align: left;
}

/* ------------------------------------------------------------------ */
/* Chapter 01 · sliding window                                         */
/* ------------------------------------------------------------------ */

.window-strip {
  display: grid;
  row-gap: 18px;
  width: 1000px;
  margin: 72px auto 0;
}

.window-row {
  display: grid;
  grid-template-columns: 1fr auto 240px;
  gap: 26px;
  align-items: center;
}

.window-context {
  justify-self: end;
  padding: 14px 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.72em;
}

.window-row i {
  color: var(--quiet);
  font-style: normal;
}

.window-row b {
  padding: 14px 24px;
  border: 1px solid var(--acid);
  color: var(--acid);
  font: 400 0.72em var(--serif);
  text-align: center;
}

/* ------------------------------------------------------------------ */
/* Chapter 01 · the language-model machine                             */
/* ------------------------------------------------------------------ */

.lm-machine {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 52px;
}

.lm-machine > i {
  align-self: center;
  color: var(--quiet);
  font-style: normal;
}

.lm-stage {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 250px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.lm-stage:nth-of-type(1) { border-color: var(--acid); }
.lm-stage:nth-of-type(2) { border-color: var(--violet); }
.lm-stage:nth-of-type(3) { border-color: var(--sky); }

.lm-stage small {
  color: var(--muted);
  font-size: 0.4em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lm-stage b {
  margin-top: auto;
  font: 400 0.56em/1.4 var(--serif);
}

.lm-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lm-tokens span {
  padding: 8px 12px;
  border: 1px solid var(--acid);
  color: var(--acid);
  font-size: 0.48em;
}

.lm-mixer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding: 0 10px;
}

.lm-mixer::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  left: 10px;
  border-top: 1px solid var(--violet);
  opacity: 0.55;
}

.lm-mixer span {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid var(--violet);
  border-radius: 50%;
  background: var(--panel-2);
}

.lm-dist {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  height: 88px;
}

.lm-dist i {
  flex: 1;
  height: calc(var(--p) * 1%);
  background: rgba(85, 112, 10, 0.35);
}

.lm-dist i:first-child {
  background: var(--acid);
}

.lm-loss {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 38px;
  padding: 22px 30px;
  border: 1px solid var(--gold);
  background: var(--panel);
}

.lm-loss > span:first-child {
  color: var(--gold);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lm-loss b {
  font: 400 0.74em var(--serif);
  color: var(--gold);
}

.lm-loss > span:last-child {
  color: var(--muted);
  font-size: 0.48em;
  line-height: 1.4;
}

/* ------------------------------------------------------------------ */
/* Chapter 01 · naming self-supervision                                */
/* ------------------------------------------------------------------ */

.ssl-naming {
  display: grid;
  row-gap: 16px;
  margin-top: 52px;
}

.ssl-naming > div {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.ssl-naming > div:nth-child(1) { border-color: var(--acid); }
.ssl-naming > div:nth-child(2) { border-color: var(--sky); }
.ssl-naming > div:nth-child(3) { border-color: var(--violet); }

.ssl-naming small {
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ssl-naming b {
  font: 400 0.66em/1.35 var(--serif);
}

/* ------------------------------------------------------------------ */
/* Chapter 02 · paired data as supervision                             */
/* ------------------------------------------------------------------ */

.pair-supervision {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 56px;
}

.paired-record {
  display: grid;
  gap: 22px;
  padding: 26px;
  border: 1px solid var(--violet);
  background: var(--panel);
}

.mini-scene {
  position: relative;
  height: 190px;
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.mini-scene i {
  position: absolute;
  right: 8%;
  bottom: 20px;
  left: 8%;
  border-bottom: 2px solid var(--line);
}

.mini-mug {
  position: absolute;
  bottom: 22px;
  left: 24%;
  width: 60px;
  height: 54px;
  border-radius: 4px 4px 10px 10px;
  background: var(--coral);
}

.mini-mug::after {
  content: "";
  position: absolute;
  top: 8px;
  right: -20px;
  width: 18px;
  height: 24px;
  border: 6px solid var(--coral);
  border-left: 0;
  border-radius: 0 12px 12px 0;
}

.mini-kettle {
  position: absolute;
  right: 22%;
  bottom: 22px;
  width: 84px;
  height: 62px;
  border-radius: 40px 40px 8px 8px;
  background: #7d8a91;
}

.mini-kettle::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -15px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-right: 18px solid #7d8a91;
  border-bottom: 7px solid transparent;
  transform: rotate(14deg);
}

.mini-kettle::after {
  content: "";
  position: absolute;
  top: -17px;
  right: 24px;
  left: 24px;
  height: 20px;
  border: 4px solid #7d8a91;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}

.paired-text {
  font-family: var(--serif);
  font-size: 0.7em;
}

.paired-text small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font: 650 0.62em var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.relation-arrow {
  color: var(--quiet);
  font-size: 1.1em;
}

.matching-task {
  display: grid;
  gap: 12px;
  padding: 32px 30px;
  border: 1px solid var(--acid);
  background: var(--panel);
}

.matching-task small {
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.matching-task b {
  font: 400 0.74em/1.3 var(--serif);
}

.matching-task span {
  color: var(--muted);
  font-size: 0.48em;
}

/* ------------------------------------------------------------------ */
/* Chapter 02 · the contrastive machine                                */
/* ------------------------------------------------------------------ */

.contrastive-machine {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}

.machine-lane {
  display: grid;
  grid-template-columns: 360px auto 1fr auto 340px;
  gap: 22px;
  align-items: center;
}

.machine-lane > i {
  color: var(--quiet);
  font-style: normal;
}

.machine-input {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.image-input {
  display: grid;
  grid-template-columns: repeat(3, 74px);
  gap: 4px;
  justify-content: center;
  padding: 12px;
}

.image-input span {
  width: 74px;
  height: 56px;
  border-radius: 2px;
  background-image: url("assets/scene.jpg");
  background-size: 300% 300%;
}

.image-input span:nth-child(1) { background-position: 0% 0%; }
.image-input span:nth-child(2) { background-position: 50% 0%; }
.image-input span:nth-child(3) { background-position: 100% 0%; }
.image-input span:nth-child(4) { background-position: 0% 50%; }
.image-input span:nth-child(5) { background-position: 50% 50%; }
.image-input span:nth-child(6) { background-position: 100% 50%; }
.image-input span:nth-child(7) { background-position: 0% 100%; }
.image-input span:nth-child(8) { background-position: 50% 100%; }
.image-input span:nth-child(9) { background-position: 100% 100%; }

.token-input span {
  padding: 6px 10px;
  border: 1px solid var(--acid);
  color: var(--acid);
  font-size: 0.44em;
}

.machine-encoder {
  display: grid;
  gap: 8px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  text-align: center;
}

.visual-lane .machine-encoder { border-color: var(--violet); }
.text-lane .machine-encoder { border-color: var(--acid); }

.machine-encoder small {
  color: var(--muted);
  font-size: 0.4em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.machine-encoder b {
  font: 400 0.76em var(--serif);
}

.machine-vector {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.machine-vector span {
  width: 26px;
  height: 46px;
  border-radius: 2px;
}

.visual-lane .machine-vector span { background: rgba(96, 80, 192, 0.45); }
.visual-lane .machine-vector span:nth-child(2n) { background: rgba(96, 80, 192, 0.8); }
.text-lane .machine-vector span { background: rgba(85, 112, 10, 0.4); }
.text-lane .machine-vector span:nth-child(2n) { background: rgba(85, 112, 10, 0.75); }

.machine-vector small {
  margin-left: 10px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.54em;
}

.machine-compare {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 6px;
  padding: 20px 30px;
  border: 1px solid var(--sky);
  background: var(--panel);
}

.machine-compare small {
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.machine-compare b {
  font: 400 0.72em var(--serif);
  color: var(--sky);
}

/* ------------------------------------------------------------------ */
/* Chapter 02 · similarity matrix                                      */
/* ------------------------------------------------------------------ */

.matrix-worked {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-top: 26px;
}

.matrix-anchor {
  margin: 60px 0 0;
  border: 1px solid var(--violet);
  background: var(--panel);
}

.matrix-anchor img {
  display: block;
  width: 100%;
  height: 220px;
  margin: 0;
  object-fit: cover;
}

.matrix-anchor figcaption {
  display: grid;
  gap: 7px;
  padding: 17px 20px 20px;
  color: var(--muted);
  font-size: 0.43em;
  line-height: 1.25;
}

.matrix-anchor figcaption b {
  color: var(--violet);
}

.matrix-anchor figcaption q {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.94em;
  quotes: none;
}

.matrix-board {
  min-width: 0;
}

.similarity-matrix {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.55em;
}

.similarity-matrix th {
  padding: 14px 18px;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}

.similarity-matrix th small {
  display: block;
  color: var(--quiet);
  font-size: 0.72em;
}

.similarity-matrix tbody th {
  text-align: right;
}

.similarity-matrix td {
  padding: 17px 0;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  text-align: center;
}

.similarity-matrix td.matrix-positive {
  background: var(--acid);
  color: var(--bg);
  font-weight: 650;
}

.matrix-reading {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.matrix-reading span {
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.39em;
  line-height: 1.25;
}

.matrix-reading span:nth-child(1) { border-color: var(--violet); }
.matrix-reading span:nth-child(2) { border-color: var(--sky); }
.matrix-reading span:nth-child(3) { border-color: var(--acid); }

.matrix-reading b {
  display: block;
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 0.78em;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.temperature-bridge {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 12px 0 0 !important;
  padding: 13px 16px;
  border: 1px solid var(--sky);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.38em;
  line-height: 1.25;
  text-align: left;
}

.temperature-bridge > span {
  color: var(--sky);
  font-weight: 650;
}

.temperature-bridge > b {
  color: var(--ink);
  font: 400 1.35em var(--serif);
  white-space: nowrap;
}

.temperature-bridge > small {
  font-size: 0.95em;
}

/* ------------------------------------------------------------------ */
/* Chapter 02 · InfoNCE walkthrough                                    */
/* ------------------------------------------------------------------ */

.loss-walkthrough {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 42px;
}

.loss-walkthrough > i {
  align-self: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.68em;
  font-style: normal;
}

.loss-walkthrough > div {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 190px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.loss-walkthrough small {
  color: var(--muted);
  font-size: 0.4em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loss-walkthrough b {
  font: 400 0.68em var(--serif);
}

.loss-walkthrough span {
  color: var(--muted);
  font-size: 0.46em;
  line-height: 1.4;
}

.loss-walkthrough .loss-result {
  border-color: var(--gold);
}

.loss-walkthrough .loss-result b {
  color: var(--gold);
}

.formula.compact-formula {
  min-height: 0;
  margin-top: 34px;
  padding: 24px;
  font-size: 0.9em;
}

.compact-formula .fraction {
  min-width: 460px;
}

/* ------------------------------------------------------------------ */
/* Chapter 02 · positive-pair contracts                                */
/* ------------------------------------------------------------------ */

.pair-contracts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.pair-premise {
  margin: 24px 0 0 !important;
  color: var(--muted);
  font: 400 0.62em/1.35 var(--serif);
  text-align: left;
}

.pair-premise b {
  color: var(--ink);
  font-weight: 400;
}

.pair-contracts.clear-contracts {
  margin-top: 26px;
}

.clear-contracts > div {
  display: grid;
  grid-template-rows: auto auto 1fr 1fr;
  gap: 13px;
  min-height: 300px;
  padding: 26px;
}

.clear-contracts > div > b {
  color: var(--ink);
  font: 400 0.72em/1.2 var(--serif);
}

.clear-contracts > div > span {
  min-height: 52px;
  color: var(--muted);
  font: italic 0.48em/1.35 var(--serif);
}

.clear-contracts p {
  margin: 0 !important;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.42em;
  line-height: 1.35;
  text-align: left;
}

.clear-contracts p strong,
.clear-contracts p em {
  display: block;
  margin-bottom: 4px;
  color: var(--acid);
  font-size: 0.88em;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clear-contracts p em {
  color: var(--coral);
}

.pair-consequence {
  margin: 22px 0 0 !important;
  color: var(--muted);
  font: 400 0.54em/1.35 var(--serif);
}

.pair-consequence b {
  color: var(--coral);
  font-weight: 400;
}

.pair-contracts > div {
  padding: 28px 26px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.pair-contracts > div:nth-child(1) { border-color: var(--violet); }
.pair-contracts > div:nth-child(2) { border-color: var(--sky); }
.pair-contracts > div:nth-child(3) { border-color: var(--gold); }

.pair-symbol {
  display: flex;
  gap: 14px;
  align-items: center;
  height: 62px;
  margin-bottom: 18px;
}

.pair-symbol i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--violet);
  border-radius: 6px;
  background: var(--panel-2);
  color: var(--violet);
  font-size: 0.56em;
  font-style: normal;
}

.pair-symbol i:last-child {
  transform: rotate(7deg);
}

.image-text-symbol i {
  width: auto;
  min-width: 44px;
  padding: 0 12px;
  border-color: var(--sky);
  color: var(--sky);
  transform: none !important;
}

.time-symbol i {
  border-color: var(--gold);
  border-radius: 50%;
  color: var(--gold);
  transform: none !important;
}

.pair-contracts b {
  display: block;
  margin-bottom: 14px;
  font: 400 0.66em var(--serif);
}

.pair-contracts p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.48em;
  line-height: 1.45;
}

.pair-contracts strong {
  margin-right: 8px;
  color: var(--acid);
  font-size: 0.82em;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pair-contracts em {
  margin-right: 8px;
  color: var(--coral);
  font-size: 0.82em;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ */
/* Chapter 02 · the negatives audit                                    */
/* ------------------------------------------------------------------ */

.negative-audit {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 46px;
}

.negative-anchor {
  display: grid;
  gap: 12px;
  padding: 36px 30px;
  border: 1px solid var(--violet);
  background: var(--panel);
}

.negative-anchor small {
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.negative-anchor b {
  font: 400 0.72em/1.3 var(--serif);
}

.negative-candidates {
  display: grid;
  gap: 16px;
}

.negative-candidates > div {
  position: static;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 26px;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 20px 26px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.negative-candidates small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.4em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.negative-candidates b {
  font: 400 0.62em/1.3 var(--serif);
}

.negative-candidates span {
  color: var(--muted);
  font-size: 0.46em;
  line-height: 1.4;
}

.negative-candidates .useful-negative { border-color: var(--sky); }
.negative-candidates .false-negative { border-color: var(--coral); }
.negative-candidates .easy-negative { opacity: 0.85; }

/* ------------------------------------------------------------------ */
/* Chapter 02 · the joint-embedding family                             */
/* ------------------------------------------------------------------ */

.joint-embedding-family {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

.joint-trunk {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: center;
  width: 980px;
  margin: 0 auto;
}

.joint-trunk > div {
  display: grid;
  gap: 6px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: center;
}

.joint-trunk small {
  color: var(--muted);
  font-size: 0.4em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.joint-trunk b {
  font: 400 0.62em var(--serif);
}

.joint-trunk > div > span {
  color: var(--sky);
  font-family: var(--serif);
  font-size: 0.56em;
}

.joint-trunk > i {
  padding: 10px 18px;
  border: 1px dashed var(--acid);
  color: var(--acid);
  font-size: 0.46em;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.joint-fork {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.joint-fork > div {
  display: grid;
  gap: 10px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.joint-fork .contrastive-branch { border-color: var(--sky); }
.joint-fork .predictive-branch { border-color: var(--gold); }

.joint-fork small {
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.joint-fork b {
  font: 400 0.66em/1.3 var(--serif);
}

.joint-fork span {
  color: var(--muted);
  font-size: 0.48em;
  line-height: 1.4;
}

.joint-fork .diff {
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.joint-fork .diff b {
  display: inline;
  margin-right: 10px;
  color: var(--ink);
  font: 650 0.82em var(--sans);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fusion-demo {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.15fr;
  gap: 16px;
  align-items: center;
  margin-top: 56px;
}

.fusion-demo > div {
  min-height: 190px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.fusion-demo > i {
  color: var(--quiet);
  font: 400 1.3em var(--serif);
  font-style: normal;
}

.fusion-demo .identity { border-color: var(--violet); }
.fusion-demo .position { border-color: var(--sky); }
.fusion-demo .fusion-sum { border-color: var(--gold); }

.fusion-demo small {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.4em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fusion-demo b {
  display: block;
  margin-bottom: 12px;
  font: 400 0.64em/1.35 var(--serif);
}

.fusion-demo span {
  display: block;
  color: var(--muted);
  font-size: 0.48em;
  line-height: 1.45;
}

/* ------------------------------------------------------------------ */
/* Chapter 02 · collapse and its prevention                            */
/* ------------------------------------------------------------------ */

.anti-collapse {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 42px;
}

.collapse-demo {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--coral);
  background: var(--panel);
}

.collapse-demo small {
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.collapse-points {
  position: relative;
  height: 150px;
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.collapse-points i {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.3;
}

.collapse-points i:nth-child(1) { top: 16%; left: 12%; }
.collapse-points i:nth-child(2) { top: 12%; right: 16%; }
.collapse-points i:nth-child(3) { bottom: 14%; left: 20%; }
.collapse-points i:nth-child(4) { right: 10%; bottom: 20%; }

.collapse-points i:nth-child(5) {
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  opacity: 1;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 8px rgba(188, 69, 39, 0.25);
}

.collapse-demo b {
  font: 400 0.64em var(--serif);
  color: var(--coral);
}

.collapse-demo span {
  color: var(--muted);
  font-size: 0.48em;
}

.anti-collapse-methods {
  display: grid;
  gap: 16px;
}

.anti-collapse-methods > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 6px 26px;
  align-items: center;
  padding: 20px 26px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.anti-collapse-methods > div:nth-child(1) { border-color: var(--violet); }
.anti-collapse-methods > div:nth-child(2) { border-color: var(--sky); }
.anti-collapse-methods > div:nth-child(3) { border-color: var(--gold); }

.anti-collapse-methods small {
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.anti-collapse-methods b {
  font: 400 0.58em/1.35 var(--serif);
}

.anti-collapse-methods span {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.44em;
  line-height: 1.4;
}

/* ------------------------------------------------------------------ */
/* Chapter 02 · the case against negatives                             */
/* ------------------------------------------------------------------ */

.lecun-argument {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 42px;
}

.lecun-argument > i {
  align-self: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.68em;
  font-style: italic;
}

.lecun-argument > div {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 230px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.lecun-argument > div:nth-of-type(1) { border-color: var(--sky); }
.lecun-argument > div:nth-of-type(2) { border-color: var(--coral); }
.lecun-argument > div:nth-of-type(3) { border-color: var(--gold); }

.lecun-argument small {
  color: var(--muted);
  font-size: 0.4em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lecun-argument b {
  font: 400 0.62em/1.3 var(--serif);
}

.lecun-argument span {
  color: var(--muted);
  font-size: 0.46em;
  line-height: 1.4;
}

/* ------------------------------------------------------------------ */
/* Chapter 02 · information funnel                                     */
/* ------------------------------------------------------------------ */

.information-funnel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 50px;
}

.scene-information,
.aligned-information {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.scene-information small,
.aligned-information small {
  width: 100%;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scene-information span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--ink);
  font-size: 0.48em;
}

.scene-information span:nth-of-type(n+4) {
  border-style: dashed;
  color: var(--muted);
}

.funnel-neck {
  position: relative;
  display: grid;
  place-items: center;
  width: 230px;
  height: 190px;
  padding: 0 20px;
  background: rgba(85, 112, 10, 0.09);
  clip-path: polygon(0 0, 100% 32%, 100% 68%, 0 100%);
}

.funnel-neck span {
  color: var(--acid);
  font-size: 0.46em;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.aligned-information { border-color: var(--acid); }

.aligned-information span {
  padding: 10px 16px;
  border: 1px solid var(--acid);
  color: var(--acid);
  font-size: 0.52em;
}

/* ------------------------------------------------------------------ */
/* Chapter 02 · transfer bridge to action                              */
/* ------------------------------------------------------------------ */

.transfer-bridge {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: stretch;
  margin-top: 46px;
}

.pretrained-side,
.action-side {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.pretrained-side { border-color: var(--acid); }
.action-side { border-color: var(--coral); }

.pretrained-side small,
.action-side small,
.bridge-result small {
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pretrained-side b,
.action-side b {
  font: 400 0.68em var(--serif);
}

.pretrained-side span,
.action-side span {
  color: var(--muted);
  font-size: 0.5em;
}

.bridge-plus {
  align-self: center;
  color: var(--quiet);
  font-family: var(--serif);
  font-size: 1.1em;
}

.bridge-result {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 26px;
  align-items: center;
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 24px 30px;
  border: 1px solid var(--gold);
  background: var(--panel);
}

.bridge-result b {
  font: 400 0.7em/1.3 var(--serif);
  color: var(--gold);
}

/* ------------------------------------------------------------------ */
/* Chapter 04 · the vector door                                        */
/* ------------------------------------------------------------------ */

.vector-door {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 80px;
}

.vector-door > i {
  color: var(--quiet);
  font-style: normal;
}

.door-stage {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 150px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.door-stage:nth-of-type(1) { border-color: var(--acid); }
.door-stage:nth-of-type(2) { border-color: var(--violet); }
.door-stage:nth-of-type(3) { border-color: var(--sky); }

.door-stage small {
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.door-stage b {
  font: 400 0.66em/1.35 var(--serif);
}

/* ------------------------------------------------------------------ */
/* Chapter 04 · patch pipeline                                         */
/* ------------------------------------------------------------------ */

.patch-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 36px;
}

.patch-pipeline > i {
  align-self: center;
  color: var(--quiet);
  font-style: normal;
}

.pp-stage {
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: start;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.pp-stage:nth-of-type(1) { border-color: var(--violet); }
.pp-stage:nth-of-type(2) { border-color: var(--violet); }
.pp-stage:nth-of-type(3) { border-color: var(--sky); }

.pp-stage small {
  color: var(--muted);
  font-size: 0.4em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pp-stage b {
  font: 400 0.56em/1.4 var(--serif);
}

.pp-grid {
  display: grid;
  grid-template-columns: repeat(3, 42px);
  gap: 5px;
}

.pp-grid span {
  width: 42px;
  height: 42px;
  border-radius: 3px;
  background: rgba(96, 80, 192, 0.35);
}

.pp-grid span:nth-child(2n) { background: rgba(96, 80, 192, 0.55); }
.pp-grid span:nth-child(5) { background: rgba(188, 69, 39, 0.75); }
.pp-grid span:nth-child(3n) { background: rgba(188, 69, 39, 0.35); }

.pp-feat {
  display: grid;
  grid-template-columns: repeat(9, 18px);
  gap: 6px;
  align-items: end;
  height: 64px;
}

.pp-feat span {
  width: 18px;
  height: 30%;
  background: rgba(96, 80, 192, 0.8);
}

.pp-feat span:nth-child(2n) { height: 62%; }
.pp-feat span:nth-child(3n) { height: 45%; opacity: 0.7; }
.pp-feat span:nth-child(5) { height: 92%; background: var(--coral); }

.pp-proj {
  display: grid;
  place-items: center;
  width: 74px;
  height: 64px;
  border: 1px solid var(--sky);
  background: var(--panel-2);
  color: var(--sky);
  font-family: var(--serif);
  font-size: 0.72em;
}

.pp-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  padding: 20px 26px 40px;
  border: 1px solid var(--acid);
  background: var(--panel);
}

.pp-vis {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--violet);
  background: var(--panel-2);
  color: var(--violet);
  font-size: 0.54em;
}

.pp-txt {
  padding: 10px 14px;
  border: 1px solid var(--acid);
  color: var(--acid);
  font-size: 0.5em;
}

.pp-sequence b {
  margin-left: auto;
  font: 400 0.58em var(--serif);
}

/* ------------------------------------------------------------------ */
/* Chapter 04 · two-stage training                                     */
/* ------------------------------------------------------------------ */

.stage-training {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 56px;
}

.stage-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 240px;
  padding: 34px 30px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.stage-card:first-child { border-color: var(--violet); }
.stage-card:last-child { border-color: var(--acid); }

.stage-card small {
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-card b {
  font: 400 0.7em/1.3 var(--serif);
}

.stage-card span {
  color: var(--muted);
  font-size: 0.5em;
  line-height: 1.5;
}

/* ------------------------------------------------------------------ */
/* Return slide                                                        */
/* ------------------------------------------------------------------ */

.return-pair .request-symbolic b,
.return-pair .request-embodied b {
  display: block;
  margin-top: 14px;
  font: 400 0.7em/1.35 var(--serif);
}

/* ------------------------------------------------------------------ */
/* Footage                                                             */
/* ------------------------------------------------------------------ */

.footage {
  margin: 0;
}

.footage video {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel-2);
}

.footage figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.52em;
  line-height: 1.4;
}

.footage figcaption b {
  color: var(--acid);
  font-weight: 650;
}

.footage-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.chapter-footage {
  width: 1060px;
  margin: 52px auto 0;
}

.chapter-footage .footage figcaption {
  font-family: var(--serif);
  font-size: 0.62em;
  text-align: center;
}

.footage-credit {
  margin-top: 22px !important;
  color: var(--quiet);
  font-size: 0.5em;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.loop-with-footage {
  display: grid;
  grid-template-columns: 940px 1fr;
  gap: 40px;
  align-items: center;
}

.loop-with-footage .vla-loop {
  width: 940px;
}

.checkpoint-footage-row {
  display: grid;
  grid-template-columns: 760px 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 30px;
}

.stacked-gap {
  grid-template-columns: 1fr;
  row-gap: 16px;
  align-self: center;
  margin-top: 0;
}

.stacked-gap > div {
  min-height: 120px !important;
  padding: 22px 26px !important;
}

.stacked-gap .gap {
  min-height: 0 !important;
  justify-self: center;
  padding: 0 !important;
}

.pipeline-footage {
  width: 1100px;
  margin: 34px auto 0;
}

.systems-with-footage {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ------------------------------------------------------------------ */
/* Real scene photo                                                    */
/* ------------------------------------------------------------------ */

.scene-photo {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.pp-grid.photo-grid {
  grid-template-columns: repeat(3, 74px);
  gap: 4px;
}

.pp-grid.photo-grid { counter-reset: patch -1; }

.pp-grid.photo-grid span {
  position: relative;
  width: 74px;
  height: 56px;
  border-radius: 2px;
  background-image: url("assets/scene.jpg");
  background-size: 300% 300%;
  counter-increment: patch;
}

.pp-grid.photo-grid span::after {
  content: counter(patch);
  position: absolute;
  top: 2px;
  left: 5px;
  color: #fff;
  font: 650 0.34em var(--sans);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.pp-grid.photo-grid span.cup-tile {
  z-index: 1;
  outline: 3px solid var(--coral);
}

.pp-vis {
  position: relative;
}

.pp-vis::after {
  content: attr(data-p);
  position: absolute;
  bottom: -26px;
  left: 50%;
  color: var(--muted);
  font: 550 0.46em var(--sans);
  transform: translateX(-50%);
}

.pp-vis.cup-token {
  border-color: var(--coral);
}

.pp-vis.cup-token::after {
  color: var(--coral);
  font-weight: 650;
}

.photo-grid span:nth-child(1) { background-position: 0% 0%; }
.photo-grid span:nth-child(2) { background-position: 50% 0%; }
.photo-grid span:nth-child(3) { background-position: 100% 0%; }
.photo-grid span:nth-child(4) { background-position: 0% 50%; }
.photo-grid span:nth-child(5) { background-position: 50% 50%; }
.photo-grid span:nth-child(6) { background-position: 100% 50%; }
.photo-grid span:nth-child(7) { background-position: 0% 100%; }
.photo-grid span:nth-child(8) { background-position: 50% 100%; }
.photo-grid span:nth-child(9) { background-position: 100% 100%; }

.pp-vis.photo-token {
  border-color: var(--violet);
  background-image: url("assets/scene.jpg");
  background-size: 300% 300%;
  background-position: var(--px) var(--py);
}

/* ------------------------------------------------------------------ */
/* Bio path · four steps                                               */
/* ------------------------------------------------------------------ */

.bio-path ol {
  grid-template-columns: repeat(4, 1fr);
}

.bio-path li:nth-child(4) { border-color: var(--acid); }

@media print {
  .reveal .slide-number {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* Mechanical pass · legibility, collision repair and integrated demos */
/* ------------------------------------------------------------------ */

/* Keep credits away from Reveal's controls and number. */
.source,
.demo-source {
  right: auto;
  bottom: 28px;
  left: 32px;
  font-size: 20px;
}

/* Student-facing secondary type must survive a 1080p room. */
.reveal small {
  font-size: 22px !important;
}

.reveal small.no-caps {
  text-transform: none !important;
}

.difficulty-comparison span,
.teaching-contract span,
.loss-walkthrough span,
.comparison-stage span,
.audio-objectives span,
.action-interfaces span,
.why-vla span,
.failure-pipeline span,
.evaluation span,
.prediction-targets p,
.evidence-limits span,
.replace-grid span,
.stage-card span,
.fusion-demo span,
.negative-candidates span,
.joint-fork span,
.anti-collapse-methods span,
.application-grid span,
.practical-balance span,
.intent b,
.execution b {
  font-size: 22px !important;
}

/* Short cards follow their content; rows still share the tallest card. */
.request-pair > div,
.difficulty-comparison > div,
.teaching-contract > div,
.loss-walkthrough > div,
.comparison-stage > div,
.audio-objectives > div,
.whisper > div,
.ontology > div,
.demonstration-strip > div,
.why-vla > div,
.failure-pipeline > div,
.evaluation > div,
.prediction-targets > div,
.evidence-limits > div,
.replace-grid > div,
.stage-card,
.action-interfaces > div {
  min-height: 0;
}

.difficulty-comparison,
.loss-walkthrough,
.comparison-stage,
.audio-objectives,
.ontology,
.evaluation,
.prediction-targets,
.evidence-limits,
.replace-grid {
  align-items: stretch;
}

/* Slide 2: make the first physical step a deliberate, readable callout. */
.request-pair .request-first {
  width: fit-content;
  padding: 9px 13px;
  border-left: 3px solid var(--coral);
  background: rgba(188, 69, 39, 0.06);
  font-size: 22px;
}

/* Slide 8: label the two columns whose meaning is otherwise implicit. */
.wt-head {
  display: grid;
  grid-template-columns: 1fr 34px 150px 34px 210px 34px 92px;
  gap: 14px;
  color: var(--muted);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.wt-head span:nth-child(1) { grid-column: 1; text-align: right; }
.wt-head span:nth-child(2) { grid-column: 3; text-align: center; }
.wt-head span:nth-child(3) { grid-column: 5; text-align: center; }
.wt-head span:nth-child(4) { grid-column: 7; text-align: right; }

/* Slide 11: stop the rays at the inner edges of the signal boxes. */
.ray { width: 29%; }
.r1 { transform: rotate(201deg); }
.r2 { transform: rotate(339deg); }
.r3 { transform: rotate(158deg); }
.r4 { transform: rotate(22deg); }

/* Slide 14: the photo card now clears the progress strip. */
.pair-supervision { margin-top: 20px; }
.paired-record { gap: 14px; padding: 18px; }
.paired-record .scene-photo { height: 220px; object-fit: cover; }
.paired-text { font-size: 0.62em; }
.matching-task { padding: 28px; }

/* Slide 16: Reveal writes a top offset on sections; neutralise it for this centred turn. */
.reveal .slides section.concept-slide {
  top: 0 !important;
  display: flex !important;
  height: 100% !important;
  justify-content: center !important;
}

/* Slide 17: leave room for the full caption without wrapping an orphaned token. */
.machine-lane {
  grid-template-columns: 330px auto 180px auto 340px;
}
.machine-encoder { width: 180px; box-sizing: border-box; }
.token-input { flex-wrap: nowrap; }
.token-input span { padding-inline: 8px; }

/* Slide 30: two concise claims, aligned without empty 300px card bodies. */
.retention-grid {
  align-items: stretch;
  margin-top: 34px;
}
.retention-grid > div {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px 30px;
}
.retention-grid b { margin-bottom: 4px; }

/* Slide 38: nine patches remain nine vectors and nine visual tokens. */
.pp-feat {
  grid-template-columns: repeat(3, auto);
  gap: 8px;
  width: 164px;
  height: 106px;
}
.pp-feat > span {
  display: flex;
  gap: 2px;
  align-items: end;
  width: 46px;
  height: 30px;
  padding: 3px;
  border: 1px solid rgba(96, 80, 192, 0.34);
  background: transparent !important;
}
.pp-feat > span i {
  flex: 1;
  height: 45%;
  background: rgba(96, 80, 192, 0.55);
}
.pp-feat > span i:nth-child(2) { height: 90%; }
.pp-feat > span i:nth-child(3) { height: 66%; }
.pp-feat > span:nth-child(5) { border-color: var(--coral); }
.pp-feat > span:nth-child(5) i { background: rgba(188, 69, 39, 0.68); }
.pp-sequence {
  gap: 7px;
  padding: 18px 22px 38px;
}
.pp-sequence .pp-vis { width: 34px; height: 34px; }
.pp-sequence .pp-txt { padding: 8px 11px; }
.pp-sequence b {
  flex-basis: 100%;
  margin: 12px 0 0;
  text-align: right;
}

/* Slide 41: pipeline, two-column objective row, then the conclusion. */
.whisper { margin-top: 44px; }
.whisper > div { min-height: 120px; }
.two-lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 920px;
  margin: 26px auto 0;
}
.two-lines p {
  margin: 0 !important;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 22px;
  text-align: center;
}
.whisper + .two-lines + .air { margin-top: 22px !important; text-align: center; }

/* Slide 44: a visible critique-to-action return closes the digital loop. */
.digital-loop {
  position: relative;
  margin-top: 30px;
  padding-bottom: 82px;
}
.digital-return {
  position: absolute;
  right: 3%;
  bottom: 0;
  left: 20%;
  width: 77%;
  height: 74px;
  overflow: visible;
}
.digital-return path {
  fill: none;
  stroke: var(--acid);
  stroke-width: 3;
}
.digital-return marker path { fill: var(--acid); stroke: none; }

/* Slide 46: chapter ornament behind the footage; credit above the nav strip. */
.chapter-slide::before { z-index: 0; }
.chapter-slide > * { position: relative; z-index: 1; }
.action-chapter .chapter-footage { margin-top: 24px; }
.action-chapter .chapter-footage video { max-height: 255px; object-fit: contain; }
.action-chapter .footage-credit { margin-top: 12px !important; transform: translateY(-4px); }

/* Slide 47: clockwise cycle, with each connector touching its boxes. */
.vla-loop i::after {
  position: absolute;
  width: 0;
  height: 0;
  content: "";
}
.loop-a::after {
  top: -6px;
  right: -1px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 11px solid var(--acid);
}
.loop-b::after {
  right: -5px;
  bottom: -1px;
  border-top: 11px solid var(--acid);
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
}
.loop-c::after {
  top: -6px;
  left: -1px;
  border-top: 6px solid transparent;
  border-right: 11px solid var(--acid);
  border-bottom: 6px solid transparent;
}
.loop-d::after {
  top: -1px;
  left: -6px;
  border-right: 6px solid transparent;
  border-bottom: 11px solid var(--acid);
  border-left: 6px solid transparent;
}

/* Slide 52 in the original deck: empty upper-left canvas, never the burnt-in instruction. */
.cinema-slide .failure-question {
  top: 42px;
  right: auto;
  bottom: auto;
  left: 48px;
}

/* World-model computation: equal symbols, routed arrows, unobstructed comparison. */
.world-model > div { z-index: 2; }
.world-model > div b {
  display: block;
  margin-top: 5px;
  font: 400 1.65em/1 var(--serif);
}
.wm-connectors {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.wm-connectors path {
  fill: none;
  stroke: var(--muted);
  stroke-width: 3;
}
.wm-connectors marker path { fill: var(--muted); stroke: none; }
.wm-compare {
  position: absolute;
  top: 188px;
  right: 72px;
  z-index: 3;
  padding: 6px 10px;
  background: var(--bg);
  color: var(--quiet);
  font: italic 22px var(--serif);
}
.wm-score {
  bottom: 0 !important;
  min-width: 520px !important;
  min-height: 0 !important;
  font-size: 22px !important;
  white-space: nowrap;
}

/* Slide 60: one readable, vertically centred line rather than tall empty boxes. */
.hybrid-line {
  align-items: center;
  margin-top: 24px;
}
.hybrid-line span {
  display: flex;
  min-height: 0;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: 13px 14px;
  font-size: 22px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Demo beats: one promise, one observation cue, one local pointer. */
.demo-slide::before {
  border-color: rgba(143, 107, 16, 0.38);
  box-shadow: inset 0 0 100px rgba(143, 107, 16, 0.08);
}
.demo-mark {
  width: fit-content;
  margin: 0 0 12px !important;
  padding: 8px 14px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: 0.18em;
}
.demo-slide h1 {
  max-width: 1180px;
  font-size: 2.8em;
}
.demo-contract {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  width: 1180px;
  margin-top: 32px;
}
.demo-contract p {
  display: grid;
  gap: 12px;
  align-content: start;
  margin: 0 !important;
  padding: 24px 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.demo-contract p:first-child { border-color: var(--violet); }
.demo-contract p:last-child { border-color: var(--acid); }
.demo-contract small {
  color: var(--muted);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.demo-contract b { font: 400 0.72em/1.3 var(--serif); }
.demo-source {
  position: absolute;
  color: var(--quiet);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.matrix-reading .matrix-anim {
  width: 100%;
  margin: 4px 0 0;
}

.matrix-reading .matrix-anim video {
  width: 100%;
  border: 1px solid var(--line);
}

.collapse-video {
  width: 100%;
  margin: 10px 0;
  border: 1px solid var(--line);
}

figure.footage.projection-anim {
  width: 880px;
  margin: 24px auto 0;
}

figure.footage.projection-anim video {
  width: 100%;
  border: 1px solid var(--line);
}

.matrix-reading .matrix-anim video {
  display: block;
  width: auto;
  height: 205px;
  margin: 0 auto;
}

.drift-row {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 16px;
}

.drift-copy {
  flex: 1;
}

.drift-copy .two-lines {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

figure.footage.drift-anim {
  width: 500px;
  margin: 0;
}

/* Full-canvas teaching beats: motion carries the slide. */
.reveal .slides section.cinema-slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.reveal .slides section.cinema-slide > p:empty {
  display: none;
}

.reveal .slides section.cinema-slide > p:has(> .cinema-video) {
  width: 100%;
  height: 100%;
  margin: 0;
  line-height: 0;
}

.cinema-slide .cinema-video {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  object-fit: contain;
  background: var(--bg);
  box-shadow: none;
}

.stepped-cinema {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
}

.stepped-cinema > .cinema-video {
  position: absolute;
  inset: 0;
}

.stepped-cinema > .fragment-video {
  z-index: 2;
}

.cinema-slide .cinema-quote,
.cinema-slide .cinema-line,
.cinema-slide .failure-question {
  position: absolute;
  z-index: 2;
  margin: 0;
  border: 1px solid rgba(32, 38, 31, 0.16);
  background: rgba(247, 244, 236, 0.94);
  box-shadow: 0 18px 56px rgba(32, 38, 31, 0.12);
}

.cinema-slide .cinema-quote {
  top: 42px;
  left: 48px;
  max-width: 760px;
  padding: 20px 26px;
  font-size: 1.38em;
}

.projection-cinema .cinema-quote {
  top: auto;
  right: auto;
  bottom: 36px;
  left: 50%;
  width: min(1080px, calc(100% - 96px));
  max-width: none;
  box-sizing: border-box;
  transform: translateX(-50%);
  text-align: center;
}

.cinema-slide .cinema-line {
  right: 48px;
  bottom: 38px;
  padding: 16px 22px;
  color: var(--acid);
  font-family: var(--serif);
  font-size: 0.9em;
  font-style: italic;
}

.cinema-slide .failure-question {
  right: 52px;
  bottom: 44px;
  display: grid;
  gap: 6px;
  max-width: 620px;
  padding: 20px 24px;
}

.cinema-slide .failure-question b {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 1.25em;
  font-weight: 400;
}

.cinema-slide .failure-question span {
  color: var(--muted);
  font-size: 0.58em;
}

.cinema-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
  height: 100%;
  padding: 24px;
  box-sizing: border-box;
}

.cinema-pair figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--panel-2);
}

.cinema-pair video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cinema-pair figcaption {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(247, 244, 236, 0.92);
  color: var(--muted);
  font-size: 0.48em;
}

.cinema-pair figcaption b {
  color: var(--ink);
}

.comparison-cinema .comparison-line {
  right: 50%;
  bottom: 34px;
  transform: translateX(50%);
  white-space: nowrap;
}

/* One idea, one turn: used where a title would merely repeat the diagram. */
.reveal .slides section.concept-slide {
  justify-content: center;
}

.concept-line {
  margin: 0 0 46px !important;
  font-family: var(--serif);
  font-size: 1.55em;
  letter-spacing: -0.025em;
}

.concept-slide .fusion-demo {
  margin: 0;
}

.concept-turn {
  margin: 46px 0 0 !important;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.86em;
  line-height: 1.25;
}

.concept-turn b {
  color: var(--acid);
  font-weight: 400;
}

.action-target {
  max-width: 980px;
  margin-top: 54px !important;
}

.collapse-summary {
  min-height: 310px;
  justify-content: center;
}

.collapse-summary b {
  margin-top: 32px;
  font-size: 1.42em;
}

.matrix-worked {
  grid-template-columns: 350px minmax(0, 1fr);
}

.fusion-problem {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
}

.fusion-problem > div {
  min-height: 108px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.fusion-problem .fp-a { border-color: var(--violet); }
.fusion-problem .fp-b { border-color: var(--acid); }

.fusion-problem > i {
  color: var(--quiet);
  font: italic 0.8em var(--serif);
}

.fusion-problem small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.4em;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fusion-problem b {
  display: block;
  margin-bottom: 8px;
  font: 400 0.62em var(--serif);
}

.fusion-problem span {
  color: var(--muted);
  font-size: 0.46em;
}

.fusion-problem .fp-q {
  grid-column: 1 / -1;
  color: var(--muted);
  font: italic 0.56em var(--serif);
  text-align: center;
}

.fusion-demo {
  margin-top: 22px;
}

.fusion-demo > div {
  min-height: 150px;
}

.fusion-example .concept-line {
  margin-bottom: 28px !important;
  font-size: 1.36em;
}

.fusion-example .concept-kicker {
  margin: 0 0 18px !important;
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fusion-example .concept-turn {
  margin-top: 30px !important;
}

.joint-application .pair-premise {
  margin-top: 22px;
}

.joint-application .contrastive-machine {
  margin-top: 24px;
}

/* ------------------------------------------------------------------ */
/* Chapter 01 · scoring the prediction, and the machine's two visuals  */
/* ------------------------------------------------------------------ */

.cloze-row {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 46px;
  align-items: center;
  width: 1190px;
  margin: 40px auto 0;
}

.cloze-row .cloze-candidates {
  width: auto;
  margin: 0;
}

.cloze-score {
  padding: 22px 26px;
  border-left: 3px solid var(--acid);
  background: var(--panel);
}

.cloze-score small {
  display: block;
  color: var(--muted);
  font: 650 0.34em var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cloze-score .score-target {
  display: block;
  margin: 8px 0 16px;
  color: var(--acid);
  font: 400 0.86em var(--serif);
}

.cloze-score .score-calc {
  margin: 0 0 4px;
  font: 400 0.54em var(--serif);
}

.cloze-score .score-calc em {
  color: var(--acid);
  font-style: normal;
}

.cloze-score .score-alt {
  margin: 16px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 400 0.46em/1.45 var(--serif);
}

.cloze-score .score-alt b {
  color: var(--coral);
  font-weight: 400;
}

.cloze-score .score-name {
  color: var(--quiet);
}

.lm-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Chapter 01 · prediction → cross-entropy → one number */

.pred-flow {
  display: grid;
  row-gap: 7px;
}

.pf-cap {
  color: var(--muted);
  font: 650 0.3em var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pf-rows {
  display: grid;
  row-gap: 4px;
}

.pf-rows > div {
  display: grid;
  grid-template-columns: 62px 1fr 40px;
  gap: 10px;
  align-items: center;
}

.pf-rows b {
  color: var(--muted);
  font: 400 0.4em var(--serif);
  text-align: right;
}

.pf-rows i {
  width: calc(var(--p) * 1%);
  height: 11px;
  border-radius: 1px;
  background: rgba(32, 38, 31, 0.18);
}

.pf-rows span {
  color: var(--muted);
  font: 400 0.36em var(--sans);
}

.pf-rows .pf-true b { color: var(--ink); }
.pf-rows .pf-true i { background: var(--sky); }
.pf-rows .pf-true span { color: var(--ink); }
.pf-surprise .pf-true i { background: var(--coral); }

.pf-arrow {
  color: var(--quiet);
  font: 400 0.34em/1.35 var(--sans);
}

.pf-arrow i {
  margin-right: 5px;
  color: var(--sky);
  font-style: normal;
}

.pf-arrow em {
  color: var(--ink);
  font-style: normal;
}

.pf-out {
  margin-top: 3px;
  padding: 8px 12px;
  border: 1px solid var(--coral);
  color: var(--muted);
  font: 400 0.42em var(--sans);
}

.pf-out b {
  margin-left: 6px;
  color: var(--coral);
  font: 400 1.5em var(--serif);
}

.window-score {
  display: grid;
  grid-template-columns: 1fr 620px;
  gap: 54px;
  align-items: center;
  margin-top: 30px;
}

.window-score .window-strip {
  width: auto;
  margin: 0;
}

.window-score .window-row.picked .window-context {
  border-color: var(--coral);
}

.window-score .window-row.picked b {
  border-color: var(--coral);
  color: var(--coral);
}

.window-figure > small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font: 650 0.34em var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ce-panel .ce-svg {
  display: block;
  width: 100%;
  height: auto;
}

.ce-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Chapter 01 · every window row is scored */

.window-table {
  display: grid;
  row-gap: 12px;
  width: 1120px;
  margin: 44px auto 0;
}

.wt-row {
  display: grid;
  grid-template-columns: 1fr 34px 150px 34px 210px 34px 92px;
  gap: 14px;
  align-items: center;
}

.wt-ctx {
  justify-self: end;
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  font: 400 0.62em var(--serif);
}

.wt-arrow {
  color: var(--quiet);
  font-style: normal;
  text-align: center;
}

.wt-tgt {
  padding: 12px 10px;
  border: 1px solid var(--acid);
  color: var(--acid);
  font: 400 0.62em var(--serif);
  text-align: center;
}

.wt-dist {
  display: flex;
  gap: 7px;
  align-items: flex-end;
  height: 46px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}

.wt-dist i {
  width: 100%;
  height: calc(5px + var(--p) * 0.44px);
  border-radius: 1px 1px 0 0;
  background: rgba(32, 38, 31, 0.2);
}

.wt-dist i.hit { background: var(--acid); }

.wt-loss {
  color: var(--coral);
  font: 400 0.66em var(--serif);
  text-align: right;
}

.wt-row.last .wt-ctx { border-color: var(--coral); }
.wt-row.last .wt-tgt { border-color: var(--coral); color: var(--coral); }

.moravec-slide .pull-quote {
  position: relative;
  width: 1180px;
  margin: 0 auto;
  padding: 12px 108px 0;
}

.moravec-slide .pull-quote::before,
.moravec-slide .pull-quote::after {
  position: absolute;
  color: var(--acid);
  font: 400 5.2em/0.72 var(--serif);
  opacity: 0.28;
}

.moravec-slide .pull-quote::before {
  top: 0.52em;
  left: 0;
  content: "\201C";
}

.moravec-slide .pull-quote::after {
  right: 0;
  bottom: 0.34em;
  content: "\201D";
}

.moravec-slide .quote-lead {
  margin: 0 0 0.7em !important;
  color: var(--muted);
  font: italic 0.56em var(--serif);
  letter-spacing: 0.02em;
}

.moravec-slide blockquote {
  max-width: 100%;
  margin: 0;
  font-size: 1.5em;
  font-style: normal;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-wrap: balance;
}

.moravec-slide blockquote em {
  color: var(--acid);
  font-style: normal;
}

.moravec-slide .quote-attrib {
  margin: 1.05em 0 0 !important;
  color: var(--muted);
  font: 400 0.5em var(--serif);
  letter-spacing: 0.04em;
}

.moravec-slide .quote-attrib em {
  color: var(--ink);
  font-style: italic;
}

/* Final-room legibility: these are claims and labels students must read. */
.journey-line,
.chapter-line,
.lm-stage b,
.matching-task span,
.fusion-problem b,
.fusion-problem span,
.fusion-problem .fp-q,
.concept-kicker,
.fusion-demo b,
.pair-premise b,
.joint-trunk b,
.joint-trunk > div > span,
.joint-trunk > i,
.joint-fork .diff b,
.scene-information span,
.funnel-neck span,
.aligned-information span,
.pretrained-side span,
.action-side span,
.objective-map span,
.pp-stage b,
.whisper > div,
.cascade b,
.digital-loop b,
.footage-credit,
.footage figcaption,
.demonstration-strip b,
.world-model .predictor,
.closing-links span,
.practical-balance b,
.cinema-pair figcaption b {
  font-size: 22px !important;
}

.wt-ctx,
.wt-tgt {
  font-size: 22px;
}

/* This override must follow the full-canvas cinema rules above. */
.reveal .slides section.failure-cinema .failure-question {
  top: 42px;
  right: 52px;
  bottom: auto;
  left: auto;
}


/* Coordinator review pass (2026-08-17): the RT-2 question card sits top-right,
   clear of both the burnt-in instruction (bottom) and the "4× speed" mark
   (top-left); demo contract cards stay clear of the chapter ring. */
.demo-slide::before {
  right: 2%;
  bottom: 4%;
  width: 400px;
  height: 400px;
}
.demo-contract { width: 1040px; }

/* Coordinator visual pass (2026-08-17, second sweep): the remaining
   sub-22px student-facing type, the label/text overlap on the applications
   grid, the invisible "?" glyphs, and the VLA chapter footage size. */
.reveal .slides section .clear-contracts > div > b { font-size: 30px !important; }
.reveal .slides section .clear-contracts > div > span { font-size: 22px !important; min-height: 0; }
.reveal .slides section .clear-contracts p { font-size: 22px !important; }
.reveal .slides section .clear-contracts p strong,
.reveal .slides section .clear-contracts p em { font-size: 18px !important; }
.reveal .slides section .clear-contracts > div { min-height: 0; grid-template-rows: auto auto auto auto; }
.reveal .slides section .pair-premise { font-size: 24px !important; }
.reveal .slides section .pair-consequence { font-size: 24px !important; }

.reveal .slides section .anti-collapse-methods small { font-size: 20px !important; }
.reveal .slides section .anti-collapse-methods b { font-size: 26px !important; }
.reveal .slides section .collapse-summary span { font-size: 22px !important; }
.reveal .slides section .collapse-summary { min-height: 0; }

.reveal .slides section .fraction-gloss b,
.reveal .slides section .fraction-gloss i { font-size: 20px !important; }
.reveal .slides section .formula-reading { font-size: 26px !important; }

.reveal .slides section .application-grid > div {
  grid-template-columns: 150px 1fr;
  column-gap: 18px;
  align-items: center;
}
.reveal .slides section .application-grid small { font-size: 18px !important; line-height: 1.2; }

.reveal .slides section .fusion-problem > i { font-size: 44px !important; color: var(--coral); }
.reveal .slides section .fusion-problem .fp-q { font-size: 26px !important; }
.reveal .slides section .gap span { font-size: 30px !important; color: var(--coral); }
.reveal .slides section .intention-gap > div { min-height: 0; }

.reveal .slides section.action-chapter .chapter-footage video { max-height: 340px; }

.reveal .slides section p.pair-premise { font-size: 24px !important; }

/* =====================================================================
   Unboxed pilot (2026-08-17). Boxes only where a box is a thing: the two
   requests, photographs, matrix cells, pipeline nodes, the demo cards. The
   list-of-facts families below lose their frames and keep one accent rule
   above each column, so the eye reads label → statement → gloss instead of
   borders. Colour survives on the rule and the label only.
   ===================================================================== */
.reveal .slides section .difficulty-comparison > div,
.reveal .slides section .ssl-naming > div,
.reveal .slides section .teaching-contract > div,
.reveal .slides section .clear-contracts > div,
.reveal .slides section .negative-candidates > div,
.reveal .slides section .anti-collapse-methods > div,
.reveal .slides section .collapse-summary,
.reveal .slides section .replace-grid > div,
.reveal .slides section .objective-map > div,
.reveal .slides section .stage-card,
.reveal .slides section .audio-objectives > div,
.reveal .slides section .application-grid > div,
.reveal .slides section .why-vla > div,
.reveal .slides section .evaluation > div,
.reveal .slides section .prediction-targets > div,
.reveal .slides section .evidence-limits > div,
.reveal .slides section .comparison-stage > div,
.reveal .slides section .practical-balance > div,
.reveal .slides section .ontology > div,
.reveal .slides section .loss-walkthrough > div,
.reveal .slides section .joint-fork > div,
.reveal .slides section .fusion-problem > div,
.reveal .slides section .action-interfaces > div,
.reveal .slides section .transfer-bridge > div,
.reveal .slides section .intent,
.reveal .slides section .execution {
  border-width: 3px 0 0 0 !important;   /* keep the accent as a rule above the column */
  border-style: solid !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  padding: 18px 0 0 !important;
  min-height: 0 !important;
}
/* families whose accent lived on the top rule already: thicken to match */
.reveal .slides section .objective-map > div { border-top-width: 3px !important; }
/* neutral columns get the ink rule */
.reveal .slides section .ssl-naming > div,
.reveal .slides section .teaching-contract > div,
.reveal .slides section .loss-walkthrough > div,
.reveal .slides section .transfer-bridge > div,
.reveal .slides section .action-interfaces > div,
.reveal .slides section .replace-grid > div,
.reveal .slides section .evaluation > div,
.reveal .slides section .why-vla > div,
.reveal .slides section .stage-card { border-top-color: var(--line) !important; }
.reveal .slides section .replace-grid > div:first-child,
.reveal .slides section .evaluation > div:first-child,
.reveal .slides section .stage-card:first-child { border-top-color: var(--ink) !important; }
/* room between unframed columns, and inner hairlines instead of frames */
.reveal .slides section .difficulty-comparison,
.reveal .slides section .replace-grid,
.reveal .slides section .evaluation,
.reveal .slides section .prediction-targets,
.reveal .slides section .evidence-limits,
.reveal .slides section .practical-balance,
.reveal .slides section .comparison-stage,
.reveal .slides section .clear-contracts,
.reveal .slides section .why-vla,
.reveal .slides section .application-grid,
.reveal .slides section .audio-objectives,
.reveal .slides section .objective-map,
.reveal .slides section .stage-training { column-gap: 56px !important; row-gap: 40px !important; }
.reveal .slides section .clear-contracts p { border-top: 1px solid var(--line); }
.reveal .slides section .joint-fork .diff { border-top: 1px solid var(--line); }
/* the loss walk-through operators (÷τ, −log) sit between unframed columns */
.reveal .slides section .loss-walkthrough > i { align-self: start; margin-top: 30px; }

/* Unboxed pilot, part 2: without frames the type has to carry the hierarchy.
   Statement (serif) 34px, gloss 24px, label 18px; more air between rows. */
.reveal .slides section .difficulty-comparison > div b,
.reveal .slides section .teaching-contract > div b,
.reveal .slides section .negative-candidates > div b,
.reveal .slides section .anti-collapse-methods > div b,
.reveal .slides section .replace-grid > div b,
.reveal .slides section .objective-map > div b,
.reveal .slides section .stage-card b,
.reveal .slides section .audio-objectives > div b,
.reveal .slides section .application-grid > div b,
.reveal .slides section .why-vla > div b,
.reveal .slides section .evaluation > div b,
.reveal .slides section .prediction-targets > div b,
.reveal .slides section .evidence-limits > div b,
.reveal .slides section .comparison-stage > div b,
.reveal .slides section .practical-balance > div b,
.reveal .slides section .loss-walkthrough > div b,
.reveal .slides section .action-interfaces > div b,
.reveal .slides section .transfer-bridge > div b,
.reveal .slides section .clear-contracts > div > b,
.reveal .slides section .intent b,
.reveal .slides section .execution b { font-size: 34px !important; line-height: 1.25 !important; }
.reveal .slides section .difficulty-comparison > div span,
.reveal .slides section .teaching-contract > div span,
.reveal .slides section .negative-candidates > div span,
.reveal .slides section .anti-collapse-methods > div span,
.reveal .slides section .replace-grid > div span,
.reveal .slides section .objective-map > div span,
.reveal .slides section .stage-card span,
.reveal .slides section .audio-objectives > div span,
.reveal .slides section .application-grid > div span,
.reveal .slides section .why-vla > div span,
.reveal .slides section .evaluation > div span,
.reveal .slides section .comparison-stage > div span,
.reveal .slides section .practical-balance > div span,
.reveal .slides section .loss-walkthrough > div span,
.reveal .slides section .action-interfaces > div span,
.reveal .slides section .transfer-bridge > div span,
.reveal .slides section .evidence-limits > div span,
.reveal .slides section .prediction-targets > div span,
.reveal .slides section .clear-contracts p,
.reveal .slides section .clear-contracts > div > span { font-size: 24px !important; line-height: 1.4 !important; }
.reveal .slides section .difficulty-comparison > div,
.reveal .slides section .replace-grid > div,
.reveal .slides section .evaluation > div,
.reveal .slides section .comparison-stage > div,
.reveal .slides section .practical-balance > div,
.reveal .slides section .why-vla > div,
.reveal .slides section .objective-map > div,
.reveal .slides section .audio-objectives > div,
.reveal .slides section .stage-card { display: grid !important; gap: 14px !important; align-content: start !important; justify-content: start !important; }
.reveal .slides section .ssl-naming > div { padding: 22px 0 !important; }
.reveal .slides section .ssl-naming > div b { font-size: 30px !important; }
.reveal .slides section .transfer-bridge .bridge-plus { display: none; }
.reveal .slides section .formula.compact-formula { border: 0 !important; background: transparent !important; box-shadow: none !important; }

/* Slide 23: the loss as a worked calculation — one operation per line. */
.worked-loss { display: grid; gap: 0; margin-top: 12px; }
.worked-loss .wl-row {
  display: grid;
  grid-template-columns: 220px 560px 1fr;
  column-gap: 32px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.worked-loss .wl-row:first-child { border-top: 0; }
.worked-loss .wl-row i {
  color: var(--muted);
  font: 650 22px/1.2 var(--sans);
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: none;      /* τ and p₁ must keep their case */
  text-align: right;
}
.worked-loss .wl-row b { color: var(--ink); font: 400 40px/1.15 var(--serif); }
.worked-loss .wl-row:last-child b { color: var(--coral); }
.worked-loss .wl-row span { color: var(--muted); font: 24px/1.35 var(--sans); }
.reveal .slides section .formula.compact-formula { margin-top: 34px; }

/* Demo slides: one-click hub links (spawn a 4090 server, open the notebook in RISE). */
.demo-source .hub-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 107, 16, 0.45);
  padding-bottom: 1px;
}
.demo-source .hub-link:hover { border-bottom-color: var(--gold); }

/* Inline diagram SVGs (JEPA, pixel vs latent, planning, V-JEPA 2 pipeline). */
.reveal .slides section svg.diagram { display: block; width: 100%; height: auto; max-height: 560px; margin: 8px 0 0; }
.reveal .slides section svg.diagram text { font-family: var(--sans); }

/* Slide 38: audio objectives as three unframed rows — label · system · what survives / goes. */
.objective-rows { display: grid; row-gap: 0; margin-top: 28px; }
.objective-rows > div {
  display: grid;
  grid-template-columns: 300px 200px 1fr;
  column-gap: 32px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.objective-rows > div:first-child { border-top-color: var(--ink); }
.objective-rows small { color: var(--muted); font-size: 18px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; }
.objective-rows b { font: 400 32px/1.2 var(--serif); color: var(--ink); }
.objective-rows > div:nth-child(1) b { color: var(--coral); }
.objective-rows > div:nth-child(2) b { color: var(--sky); }
.objective-rows > div:nth-child(3) b { color: var(--violet); }
.objective-rows span { color: var(--muted); font-size: 24px; line-height: 1.4; }

/* ------------------------------------------------------------------ */
/* Recorded demo results (the canned form of the GPU beats)            */
/* ------------------------------------------------------------------ */

.footage-quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.footage-quad .footage figcaption {
  font-size: 0.42em;
}

.footage-stack {
  display: grid;
  gap: 12px;
  width: 880px;
  margin: 14px auto 0;
}

.footage-stack .footage figcaption {
  margin-top: 6px;
}

.footage img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.footage-wide {
  width: 960px;
  margin: 26px auto 0;
}

.footage-wide figcaption {
  text-align: center;
}

/* press-swapped recorded beats: figures stack in one grid cell; a shown
   fragment paints over the one beneath it */
.footage-swap {
  display: grid;
  width: 960px;
  margin: 26px auto 0;
}

.footage-swap > .footage {
  grid-area: 1 / 1;
  height: 100%;
  background: var(--bg);
}

.footage-swap figcaption {
  text-align: center;
}
