/* ===========================================================
   English Course — shared deck styles
   Navy + amber theme for grammar lessons at 1920×1080.
   Used by Foundations / Simple Present / Prepositions / Questions / Present Continuous decks.
   =========================================================== */

:root {
  /* palette */
  --navy: #0a2540;
  --navy-2: #102f54;
  --navy-soft: #1c4470;
  --cream: #f6f1e7;
  --cream-2: #ede4d0;
  --paper: #fbf7ed;
  --ink: #0a2540;
  --ink-soft: #4a5e7a;
  --ink-mute: #8092a8;
  --amber: #f59e0b;
  --amber-2: #d97706;
  --amber-soft: #fde68a;
  --wrong: #b8412a;
  --wrong-bg: #f6dcd4;
  --right: #2d7a4b;
  --right-bg: #d6e8d6;
  --rule: rgba(10,37,64,.14);

  /* type */
  --type-display: 132px;
  --type-title: 80px;
  --type-subtitle: 52px;
  --type-body: 32px;
  --type-small: 26px;
  --type-tiny: 24px;
  --type-mono: 30px;

  /* spacing */
  --pad-top: 96px;
  --pad-bottom: 96px;
  --pad-x: 110px;
  --gap-title: 56px;
  --gap-item: 28px;

  /* webcam zone (right corner) */
  --webcam-w: 380px;
  --webcam-h: 340px;
  --safe-w: 1490px;
}

html, body { margin: 0; padding: 0; background: #0e0e10; font-family: 'DM Sans', sans-serif; color: var(--ink); }
deck-stage { background: #0e0e10; }

section {
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--type-body);
  line-height: 1.45;
}
section.dark { background: var(--navy); color: #fff; }
section.amber { background: var(--amber); color: var(--navy); }
section.paper { background: var(--paper); }

.frame {
  position: absolute; inset: 0;
  padding: var(--pad-top) var(--pad-x) var(--pad-bottom);
  box-sizing: border-box;
  display: flex; flex-direction: column;
}

/* ---------- webcam guide circle ----------
   Hidden by default. Set .webcam-zone { display: flex !important; }
   to show the circle on every slide (useful when recording with a webcam). */
.webcam-zone { display: none; }

/* ---------- generic row + body containers ---------- */
.body { flex: 1; display: flex; flex-direction: column; gap: var(--gap-item); }
.row { display: flex; gap: 48px; align-items: stretch; }
.row.top { align-items: flex-start; }
.row.center { align-items: center; }

/* ---------- topbar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 24px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
}
section.dark .topbar { color: rgba(255,255,255,.55); }
section.amber .topbar { color: rgba(10,37,64,.65); }
.brand-mark { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark img.logo {
  display: block;
  height: 80px;
  width: auto;
}
section.dark .brand-mark img.logo,
.recap-bg .brand-mark img.logo,
.section-divider .brand-mark img.logo,
.cover .brand-mark img.logo {
  filter: invert(1) brightness(2);
}
.brand-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--amber); display: inline-block; }
section.amber .brand-dot { background: var(--navy); }
.topbar .lesson-tag { font-family: 'JetBrains Mono', monospace; font-weight: 500; }

/* ---------- titles ---------- */
.eyebrow {
  font-size: var(--type-small);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber-2);
  font-weight: 600;
  margin: 0 0 24px;
}
section.dark .eyebrow { color: var(--amber); }
section.amber .eyebrow { color: var(--navy); }

h1.slide-title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: var(--type-title);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0 0 var(--gap-title);
  color: var(--ink);
}
section.dark h1.slide-title { color: #fff; }
h1.slide-title em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--amber-2); }
section.dark h1.slide-title em { color: var(--amber); }
section.amber h1.slide-title { color: var(--navy); }
section.amber h1.slide-title em { color: #fff; }

.subtitle {
  font-family: 'Newsreader', serif;
  font-size: var(--type-subtitle);
  font-weight: 400;
  color: var(--ink-soft);
  margin: -32px 0 24px;
  line-height: 1.15;
  max-width: var(--safe-w);
}
.subtitle em { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--amber-2); }

/* ---------- pt note ---------- */
.pt-note {
  font-size: 26px;
  color: var(--ink-soft);
  max-width: 1280px;
  line-height: 1.5;
}
.pt-note em { font-style: italic; color: var(--amber-2); }
section.dark .pt-note { color: rgba(255,255,255,.75); }
section.amber .pt-note { color: var(--navy); }

/* ---------- cover ---------- */
.cover .frame { justify-content: space-between; }
.cover-hero { display: flex; flex-direction: column; gap: 24px; max-width: 1280px; }
.cover-display {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: var(--type-display);
  line-height: .96;
  letter-spacing: -.02em;
  margin: 0;
  color: inherit;
}
.cover-display em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--amber);
  font-weight: 400;
}
.cover-sub {
  font-size: 36px;
  color: rgba(255,255,255,.74);
  margin: 8px 0 0;
  max-width: 1100px;
  line-height: 1.35;
}
.cover-sub em { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--amber); }

.pronoun-strip { display: flex; gap: 18px; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.pronoun-chip {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 88px;
  line-height: 1;
  color: var(--amber);
  padding: 0 10px;
  white-space: nowrap;
}
.pronoun-sep { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.32); }

.cover-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  color: rgba(255,255,255,.5);
  font-size: 24px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .04em;
  max-width: var(--safe-w);
}
.cover-foot .label-stack { display: flex; flex-direction: column; gap: 6px; }
.cover-foot .label-stack b { color: #fff; font-weight: 500; font-family: 'DM Sans', sans-serif; font-size: 26px; letter-spacing: .02em; }

/* ---------- agenda list (cover companion) ---------- */
.agenda-list { display: flex; flex-direction: column; gap: 18px; max-width: var(--safe-w); }
.agenda-item {
  display: grid;
  grid-template-columns: 90px 1fr 200px;
  align-items: center;
  gap: 28px;
  padding: 20px 28px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
}
section.dark .agenda-item { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.agenda-item .n {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 50px;
  color: var(--amber-2);
  line-height: 1;
}
section.dark .agenda-item .n { color: var(--amber); }
.agenda-item .label {
  font-family: 'Newsreader', serif;
  font-size: 34px;
  color: var(--ink);
}
section.dark .agenda-item .label { color: #fff; }
.agenda-item .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  color: var(--ink-mute);
  text-align: right;
}
section.dark .agenda-item .tag { color: rgba(255,255,255,.5); }

/* ---------- section divider (between topics in a multi-topic deck) ---------- */
.section-divider .frame { justify-content: center; }
.section-divider .topbar { position: absolute; top: var(--pad-top); left: var(--pad-x); right: var(--pad-x); }
.section-divider .seq {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 200px;
  line-height: 1;
  color: var(--amber);
  margin: 0 0 16px;
}
.section-divider h2 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 110px;
  line-height: 1;
  letter-spacing: -.01em;
  margin: 0;
  color: #fff;
  max-width: 1500px;
}
.section-divider h2 em { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--amber); font-weight: 400; }
.section-divider .lead {
  font-family: 'Newsreader', serif;
  font-size: 36px;
  color: rgba(255,255,255,.72);
  margin: 28px 0 0;
  max-width: 1200px;
  line-height: 1.35;
}

/* ---------- hint cards (2-col intro layout) ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: var(--safe-w); }
.hint-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 40px 44px;
  display: flex; flex-direction: column; gap: 18px;
}
.hint-card .icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--amber-soft); color: var(--amber-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Newsreader', serif; font-weight: 600; font-size: 38px;
}
.hint-card h3 { font-family: 'Newsreader', serif; font-weight: 500; font-size: 42px; margin: 0; color: var(--ink); line-height: 1.1; }
.hint-card h3 em { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--amber-2); }
.hint-card p { margin: 0; font-size: 26px; color: var(--ink-soft); line-height: 1.45; }
.hint-card .demo {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  color: var(--ink);
}
.hint-card .demo .hl { background: var(--amber-soft); padding: 2px 6px; border-radius: 4px; color: var(--amber-2); font-weight: 700; }

/* ---------- formula (subject + verb + s, etc.) ---------- */
.formula-wrap {
  display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap;
  font-family: 'Newsreader', serif;
  font-size: 76px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.formula-wrap .col { display: flex; flex-direction: column; align-items: center; }
.formula-wrap .plus-col { padding-top: 34px; }
.formula-wrap .box {
  padding: 18px 32px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid var(--rule);
  white-space: nowrap;
}
.formula-wrap .box.suffix {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 86px;
  padding: 14px 30px;
}
.formula-wrap .box.aux {
  background: var(--navy);
  color: #fff;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 76px;
  padding: 14px 30px;
  border-color: var(--navy);
}
.formula-wrap .plus { color: var(--ink-mute); font-size: 56px; font-weight: 400; }
.formula-wrap .label {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 14px;
  display: block;
  text-align: center;
  white-space: nowrap;
}

/* ---------- examples row ---------- */
.examples-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 12px;
  max-width: var(--safe-w);
}
.examples-row.col-2 { grid-template-columns: repeat(2, 1fr); }
.examples-row.col-4 { grid-template-columns: repeat(4, 1fr); }
.ex-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 36px;
  border: 1px solid var(--rule);
}
.ex-card .pron { color: var(--amber-2); font-family: 'Instrument Serif', serif; font-style: italic; font-size: 44px; line-height: 1; }
.ex-card .sentence {
  font-family: 'Newsreader', serif;
  font-size: 38px;
  color: var(--ink);
  margin-top: 14px;
  line-height: 1.2;
}
.ex-card .sentence .s-mark, .ex-card .sentence .hl {
  color: var(--amber-2);
  font-weight: 700;
  background: var(--amber-soft);
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 1px;
}
.ex-card .sentence .aux-hl {
  color: var(--amber-2);
  font-weight: 700;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}
.ex-card .gloss { margin-top: 14px; color: var(--ink-mute); font-size: 24px; font-family: 'JetBrains Mono', monospace; }

/* ---------- rules table ---------- */
.rules-table {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  width: 100%;
  max-width: var(--safe-w);
}
.rules-table .row-r {
  display: grid;
  grid-template-columns: 90px 1fr 1.2fr 1fr;
  align-items: center;
  padding: 24px 36px;
  border-bottom: 1px solid var(--rule);
  gap: 24px;
}
.rules-table.cols-3 .row-r { grid-template-columns: 90px 1fr 1.5fr; }
.rules-table.cols-5 .row-r { grid-template-columns: 90px 1fr 1fr 1fr 1fr; }
.rules-table .row-r:last-child { border-bottom: 0; }
.rules-table .row-r.header {
  background: var(--navy);
  color: #fff;
  font-size: 24px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 22px 36px;
}
.rules-table .row-r .num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 48px;
  color: var(--amber-2);
  line-height: 1;
}
.rules-table .row-r .rule {
  font-family: 'DM Sans', sans-serif;
  font-size: 26px;
  color: var(--ink);
  font-weight: 500;
}
.rules-table .row-r .ending {
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px;
  color: var(--ink-soft);
}
.rules-table .row-r .ending .amber { color: var(--amber-2); font-weight: 700; }
.rules-table .row-r .ex {
  font-family: 'Newsreader', serif;
  font-size: 26px;
  color: var(--ink);
}
.rules-table .row-r .ex .hl { color: var(--amber-2); font-weight: 700; }

/* ---------- conjugation table (am/is/are) ---------- */
.conj {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  max-width: var(--safe-w);
}
.conj .crow {
  display: grid;
  grid-template-columns: 240px 1fr 1.4fr;
  align-items: center;
  padding: 12px 32px;
  border-bottom: 1px solid var(--rule);
  gap: 24px;
}
.conj .crow:last-child { border-bottom: 0; }
.conj .crow.header {
  background: var(--navy);
  color: #fff;
  font-size: 24px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
}
.conj .crow .pron {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 38px;
  color: var(--amber-2);
  line-height: 1;
}
.conj .crow .form {
  font-family: 'Newsreader', serif;
  font-size: 32px;
  color: var(--ink);
  font-weight: 500;
}
.conj .crow .form .hl { color: var(--amber-2); }
.conj .crow .contraction {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  color: var(--ink-soft);
}
.conj .crow .contraction .hl { color: var(--amber-2); font-weight: 700; }

/* ---------- big formula (chips) ---------- */
.big-formula {
  display: flex; align-items: center; gap: 18px;
  font-family: 'Newsreader', serif;
  font-size: 64px;
  line-height: 1;
  color: var(--ink);
  font-weight: 500;
  flex-wrap: wrap;
}
.big-formula .chip {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 14px 28px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid var(--rule);
}
.big-formula .chip.aux {
  background: var(--navy);
  color: #fff;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 68px;
  padding: 10px 38px 14px 32px;
  border-color: var(--navy);
  line-height: 1.05;
}
.big-formula .chip.no-s {
  background: var(--amber-soft);
  color: var(--amber-2);
  border-color: var(--amber);
  font-size: 32px;
  font-weight: 600;
  padding: 18px 22px;
  font-family: 'DM Sans', sans-serif;
}
.big-formula .plus { color: var(--ink-mute); font-size: 44px; }

/* ---------- pair examples (swap cards) ---------- */
.pair-examples {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-top: 8px;
  max-width: var(--safe-w);
}
.swap {
  background: #fff;
  border-radius: 16px;
  padding: 28px 36px;
  border: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 8px;
}
.swap .label {
  font-size: 24px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.swap .from {
  font-family: 'Newsreader', serif;
  font-size: 34px;
  color: var(--ink-mute);
  text-decoration: line-through;
  text-decoration-color: rgba(184,65,42,.5);
}
.swap .arrow { color: var(--amber-2); font-size: 30px; line-height: 1; margin: 2px 0; }
.swap .to {
  font-family: 'Newsreader', serif;
  font-size: 38px;
  color: var(--ink);
}
.swap .to .aux { color: var(--amber-2); font-weight: 700; font-family: 'Instrument Serif', serif; font-style: italic; }

/* ---------- cue callout (golden rule strip) ---------- */
.cue-callout {
  margin-top: auto;
  padding: 22px 30px;
  background: var(--amber);
  color: var(--navy);
  border-radius: 14px;
  font-size: 28px;
  font-weight: 600;
  display: flex; align-items: center; gap: 18px;
  max-width: var(--safe-w);
}
.cue-callout .bang {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 56px;
  line-height: .8;
}
.cue-callout em { font-family: 'Instrument Serif', serif; font-style: italic; }
.cue-callout > span:last-child { white-space: nowrap; }

/* ---------- 3-col aff/neg/int comparison ---------- */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--safe-w);
}
.col-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.col-card .head {
  padding: 20px 28px;
  background: var(--navy);
  color: #fff;
  font-size: 26px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
}
.col-card .head .sigil {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 34px;
  color: var(--amber);
}
.col-card .form-line {
  padding: 22px 28px;
  border-bottom: 1px solid var(--rule);
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  color: var(--ink-soft);
  background: var(--paper);
}
.col-card .form-line .key { color: var(--amber-2); font-weight: 700; }
.col-card ul {
  list-style: none; padding: 16px 28px 22px; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.col-card ul li {
  font-family: 'Newsreader', serif;
  font-size: 28px;
  color: var(--ink);
  line-height: 1.25;
}
.col-card ul li .hl { color: var(--amber-2); font-weight: 700; background: var(--amber-soft); padding: 1px 6px; border-radius: 4px; }
.col-card ul li .aux { color: var(--amber-2); font-weight: 700; font-family: 'Instrument Serif', serif; font-style: italic; }
.col-card ul li .strike-s { color: var(--ink-mute); text-decoration: line-through; }

/* ---------- common mistakes ---------- */
.mistakes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: var(--safe-w);
}
.mistakes.single-col { grid-template-columns: 1fr; }
.mistake-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--rule);
  display: flex; flex-direction: column;
}
.mistake-card .head {
  padding: 18px 24px;
  font-size: 24px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex; align-items: center; gap: 14px;
  white-space: nowrap;
}
.mistake-card .head .x {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--wrong); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Newsreader', serif; font-weight: 600; font-size: 26px;
}
.mistake-card.bad .head { background: var(--wrong-bg); color: var(--wrong); }
.mistake-card .body {
  padding: 24px 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.mistake-row {
  display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: baseline;
  font-family: 'Newsreader', serif;
  font-size: 30px;
  color: var(--ink);
}
.mistake-row .mark { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 24px; line-height: 1; padding-top: 6px; }
.mistake-row.wrong .mark { color: var(--wrong); }
.mistake-row.right .mark { color: var(--right); }
.mistake-row.wrong .text { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(184,65,42,.55); }
.mistake-row.right .text .hl { color: var(--amber-2); font-weight: 700; background: var(--amber-soft); padding: 1px 6px; border-radius: 4px; }
.mistake-row.right .text .neg { color: var(--amber-2); font-weight: 700; font-family: 'Instrument Serif', serif; font-style: italic; }
.mistake-card .why {
  margin-top: auto;
  padding: 18px 28px 22px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  font-size: 24px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.mistake-card .why b { color: var(--ink); }
.mistake-card .why em { font-style: italic; color: var(--amber-2); }

/* ---------- practice ---------- */
.practice-list {
  display: flex; flex-direction: column; gap: 18px;
  max-width: 1320px;
}
.practice-item {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--rule);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 60px 1fr 240px;
  align-items: center;
  gap: 24px;
}
.practice-item .num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 44px;
  color: var(--amber-2);
  line-height: 1;
}
.practice-item .sentence {
  font-family: 'Newsreader', serif;
  font-size: 32px;
  color: var(--ink);
  line-height: 1.3;
}
.practice-item .blank {
  display: inline-block;
  min-width: 180px;
  padding: 0 16px 6px;
  border-bottom: 3px solid var(--amber);
  color: var(--amber-2);
  font-style: italic;
  text-align: center;
}
.practice-item .verb-cue {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  color: var(--ink-mute);
  text-align: right;
}
.practice-foot {
  margin-top: 14px;
  font-size: 24px;
  color: var(--ink-soft);
  font-style: italic;
  font-family: 'Newsreader', serif;
}

/* ---------- recap ---------- */
.recap-bg { background: var(--navy); color: #fff; }
.recap-bg .topbar { color: rgba(255,255,255,.55); }
.recap-bg h1.slide-title { color: #fff; }
.recap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 12px;
  max-width: var(--safe-w);
}
.recap-grid.col-2 { grid-template-columns: repeat(2, 1fr); }
.recap-grid.col-4 { grid-template-columns: repeat(4, 1fr); }
.recap-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 26px 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.recap-card .key {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--amber);
  font-size: 56px;
  line-height: 1;
  margin-bottom: 2px;
}
.recap-card h4 { margin: 0; font-family: 'Newsreader', serif; font-size: 28px; font-weight: 500; color: #fff; line-height: 1.2; }
.recap-card h4 em { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--amber); }
.recap-card p { margin: 0; font-size: 24px; color: rgba(255,255,255,.72); line-height: 1.35; }
.recap-card .ex {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  color: rgba(255,255,255,.85);
}
.recap-card .ex .hl { color: var(--amber); font-weight: 700; }
.recap-tail {
  margin-top: 40px;
  display: flex; align-items: center; gap: 32px;
  color: rgba(255,255,255,.6);
  font-size: 24px;
  font-family: 'Newsreader', serif;
  font-style: italic;
  flex-wrap: wrap;
}
.recap-tail strong { color: var(--amber); font-style: normal; font-family: 'DM Sans', sans-serif; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 24px; white-space: nowrap; }

/* ---------- vocab grid (chunks of vocab) ---------- */
.vocab-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  max-width: var(--safe-w);
}
.vocab-grid.col-3 { grid-template-columns: repeat(3, 1fr); }
.vocab-grid.col-5 { grid-template-columns: repeat(5, 1fr); }
.vocab-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--rule);
  padding: 26px 26px 22px;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 130px;
}
.vocab-card .word {
  font-family: 'Newsreader', serif;
  font-size: 38px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.05;
}
.vocab-card .ipa {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  color: var(--ink-mute);
}
.vocab-card .meaning {
  margin-top: auto;
  font-size: 24px;
  color: var(--ink-soft);
  font-style: italic;
  font-family: 'Newsreader', serif;
  line-height: 1.25;
}
.vocab-card.highlight { background: var(--amber-soft); border-color: var(--amber); }
.vocab-card.highlight .word { color: var(--amber-2); }

/* ---------- 2D matrix (this/that/these/those) ---------- */
.matrix-2d {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  max-width: var(--safe-w);
}
.matrix-2d .cell {
  padding: 28px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 8px;
  justify-content: center;
}
.matrix-2d .cell:nth-child(3n) { border-right: 0; }
.matrix-2d .cell:nth-last-child(-n+3) { border-bottom: 0; }
.matrix-2d .cell.header {
  background: var(--navy);
  color: #fff;
  font-size: 24px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.matrix-2d .cell.rowhead {
  background: var(--paper);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.matrix-2d .cell .word {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 80px;
  color: var(--amber-2);
  line-height: 1;
}
.matrix-2d .cell .example {
  font-family: 'Newsreader', serif;
  font-size: 28px;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.25;
}

/* ---------- mapping table (subject pron → possessive) ---------- */
.mapping {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  max-width: 1100px;
  align-items: stretch;
}
.mapping .mcell {
  padding: 10px 32px;
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 38px;
  color: var(--ink);
  line-height: 1;
}
.mapping .mcell.right { color: var(--amber-2); }
.mapping .mcell.arrow {
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  color: var(--ink-mute);
  font-size: 30px;
}
.mapping .mcell:nth-last-child(-n+3) { border-bottom: 0; }
.mapping .mcell.header {
  background: var(--navy);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 24px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  justify-content: center;
}
.mapping .mcell.header.arrow { color: var(--amber); }

/* utility */
.spacer-sm { height: 12px; }
.spacer-md { height: 28px; }
.spacer-lg { height: 48px; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
