:root{
  --cream:#FBF6EC; --parchment:#F3E9D7; --chip:#F0E7D3;
  --brown:#6D4C2F; --gold:#B08D3E;
  --ink:#3E2C1A; --ink2:#6B5943; --muted:#8A7355; --rule:#E2D6BE;
  --measure:38rem;
}
@media (prefers-color-scheme:dark){
  :root{
    --cream:#1E1610; --parchment:#2F2216; --chip:#2A1E14;
    --brown:#E4BE72; --gold:#D9AE56;
    --ink:#EDE0C8; --ink2:#CBB899; --muted:#A08F72; --rule:#3A2B1C;
  }
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--cream); color:var(--ink);
  font-family:'EB Garamond',Georgia,serif; font-size:19px; line-height:1.6;
}
a{color:inherit}
main{max-width:52rem; margin:0 auto; padding:0 1.5rem 4rem}

header.site{
  max-width:52rem; margin:0 auto; padding:1.1rem 1.5rem;
  display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid var(--rule);
}
.wordmark{font-size:1.15rem; text-decoration:none; letter-spacing:.01em}
.wordmark .dot{display:inline-block; width:5px; height:5px; border-radius:50%; background:var(--gold); margin-left:.45rem; vertical-align:middle}
header.site nav a{
  font-family:system-ui,sans-serif; font-size:.82rem; color:var(--ink2);
  text-decoration:none; margin-left:1.15rem;
}
header.site nav a.on{color:var(--brown); border-bottom:1px solid var(--gold); padding-bottom:2px}

.eyebrow{
  font-family:system-ui,sans-serif; font-size:.7rem; letter-spacing:.15em;
  text-transform:uppercase; color:var(--gold); margin:0 0 .7rem;
}
h1{font-size:2.15rem; line-height:1.2; font-weight:400; margin:0 0 .8rem}
h2{font-size:1.5rem; line-height:1.3; font-weight:400; margin:2rem 0 .6rem}
h3{font-size:1.3rem; font-weight:500; margin:.6rem 0 .35rem}
.lede{font-family:system-ui,sans-serif; font-size:.98rem; line-height:1.7; color:var(--ink2); max-width:34rem; margin:0 0 1.4rem}
.note{font-family:system-ui,sans-serif; font-size:.85rem; color:var(--muted); margin:.4rem 0}
.prose{font-size:1.02rem; line-height:1.75; color:var(--ink2); margin:0 0 1rem}

.hero{padding:3.5rem 0 2.5rem; text-align:center; border-bottom:1px solid var(--rule)}
.hero h1{max-width:26rem; margin-inline:auto}
.hero .lede{margin-inline:auto; text-align:center}
.cta{
  display:inline-block; background:var(--brown); color:var(--cream);
  padding:.7rem 1.4rem; border-radius:8px; text-decoration:none; font-size:.95rem;
}
@media (prefers-color-scheme:dark){ .cta{color:#241A10} }

.featured{display:grid; grid-template-columns:1.15fr 1fr; gap:2rem; padding:2.2rem 0; border-bottom:1px solid var(--rule)}
.featured h2{margin:0 0 .6rem} .featured h2 a{text-decoration:none}
.tags{display:flex; flex-wrap:wrap; gap:.4rem; margin:0}
.tags span{font-family:system-ui,sans-serif; font-size:.75rem; background:var(--chip); color:var(--brown); padding:.3rem .65rem; border-radius:8px}
.panel{background:var(--parchment); border-radius:12px; padding:1.1rem 1.2rem}

.row{display:flex; align-items:baseline; gap:.8rem; padding:.6rem 0; border-bottom:1px solid var(--rule); text-decoration:none}
.row:last-child{border-bottom:0}
.row .n{color:var(--gold); font-size:.85rem; min-width:1rem}
.row .t{flex:1; font-size:1rem}
.row .s,.row .d{font-family:system-ui,sans-serif; font-size:.78rem; color:var(--muted)}
.row.more .t{color:var(--muted)} .row.more .d{color:var(--gold)}
.row:hover .t{color:var(--brown)}

.pillars{display:grid; grid-template-columns:repeat(auto-fit,minmax(13rem,1fr)); gap:1.6rem; padding:2.2rem 0}
.pillars p{font-family:system-ui,sans-serif; font-size:.88rem; line-height:1.65; color:var(--ink2); margin:0}

.bookhead,.parthead{padding:2.6rem 0 1.4rem}
.movement{padding:1.4rem 0}
.mq{font-style:italic; color:var(--ink2); margin:0 0 .6rem; font-size:1rem}

.player{
  position:sticky; top:0; z-index:5; display:flex; align-items:center; gap:.9rem;
  background:var(--parchment); border-radius:12px; padding:.7rem .9rem; margin:.5rem 0 .4rem;
}
.pp{
  width:2.3rem; height:2.3rem; border-radius:50%; border:0; cursor:pointer;
  background:var(--brown); color:var(--cream); font-size:.85rem; line-height:1; flex:none;
}
@media (prefers-color-scheme:dark){ .pp{color:#241A10} }
.bar{flex:1; height:4px; background:var(--rule); border-radius:2px; cursor:pointer}
.fill{width:0; height:4px; background:var(--gold); border-radius:2px}
.time,.rate{font-family:system-ui,sans-serif; font-size:.75rem; color:var(--muted); white-space:nowrap}
.rate{background:none; border:1px solid var(--rule); border-radius:6px; padding:.2rem .45rem; cursor:pointer}
.hint{font-family:system-ui,sans-serif; font-size:.75rem; color:var(--muted); margin:0 0 1.6rem}

.reading{max-width:var(--measure)}
.reading .sect{
  font-family:system-ui,sans-serif; font-size:.7rem; letter-spacing:.14em;
  color:var(--gold); margin:2rem 0 .6rem;
}
.reading .seg{
  margin:0 0 1.15rem; line-height:1.78; cursor:pointer;
  border-left:3px solid transparent; padding-left:1rem; transition:background .15s;
}
.reading .seg:hover{background:var(--chip)}
.reading .seg.on{background:var(--parchment); border-left-color:var(--gold)}

.partnav{display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-top:3rem; padding-top:1.2rem; border-top:1px solid var(--rule); font-family:system-ui,sans-serif; font-size:.85rem}
.partnav a{color:var(--brown); text-decoration:none}

.prose-block{max-width:var(--measure)}
.prose-block p{font-size:1.02rem; line-height:1.78; color:var(--ink2); margin:0 0 1rem}
.prose-block strong{font-weight:500; color:var(--ink)}

/* ── classroom ──────────────────────────────────────────────────────────
 * ⚠ THE TYPE SCALE IS THE WHOLE PROBLEM THIS BLOCK SOLVES. Body text here is
 * 19px while 1rem is 16px, so every label written at 0.9rem or below rendered
 * SMALLER than the prose it was supposed to head — labels vanished, sections
 * ran together and the page read as one flat column. Everything below is sized
 * against the 19px body, not against 1rem.
 *
 * Still no progress bars, no percentages, no badges. The only state a reader
 * can see is a mark they set themselves, and it looks like a note, not a prize.
 */

/* ---- classroom home: the ladder ----
 * ⛔ THE TIER'S NAME IS THE HEADING. An earlier version set "Orientation" and
 * "Familiar" as 11px eyebrows and promoted the tier's question to the headline,
 * so the one word a reader is trying to identify was the smallest text on the
 * card. The label leads; the question explains it underneath.
 *
 * All four passes live in ONE ladder, the unwritten two dimmed in place rather
 * than exiled to a footnote. Four rungs, two of them plainly not ready, is both
 * truer and easier to read than two rungs and an afterthought. */
.ladder{margin:1rem 0 2rem}
.rung{
  display:flex; gap:1.25rem; align-items:flex-start;
  padding:1.75rem 1.5rem; margin:0 0 1rem;
  background:var(--parchment); border-radius:14px; max-width:42rem;
}
.rungnum{
  font-family:system-ui,sans-serif; font-size:1rem; font-weight:700;
  background:var(--gold); color:var(--cream);
  width:2.4rem; height:2.4rem; border-radius:50%; flex:none;
  display:inline-flex; align-items:center; justify-content:center;
}
@media (prefers-color-scheme:dark){ .rungnum{color:#241A10} }
.rungbody{min-width:0}
.rung h2{margin:0 0 .3rem; font-size:1.85rem; font-weight:500; line-height:1.15}
.rung h2 a{text-decoration:none}
.rung h2 a:hover{color:var(--brown)}
.rungaim{font-size:1.12rem; line-height:1.45; font-style:italic; color:var(--brown); margin:0 0 .7rem}
.rungblurb{font-size:1.02rem; line-height:1.7; color:var(--ink2); margin:0; max-width:32rem}
.tierlinks{display:flex; align-items:center; gap:1.3rem; flex-wrap:wrap; margin:1.2rem 0 0}
.tierlinks .plain{font-family:system-ui,sans-serif; font-size:.9rem; font-weight:600; color:var(--brown); text-decoration:none}

/* Not-yet-written rungs: same shape, plainly inert. No card fill, no button. */
.rung.pending{background:none; border:1px dashed var(--rule); padding:1.4rem 1.5rem}
.rung.pending .rungnum{background:none; border:1px dashed var(--rule); color:var(--muted)}
.rung.pending h2{font-size:1.5rem; color:var(--muted)}
.rung.pending .rungaim{color:var(--muted); font-size:1.05rem}
.rung.pending .rungblurb{color:var(--muted)}
.rung.pending .entrymeta span{background:none; color:var(--muted); font-style:italic; padding-left:0}

/* The aim, when a tier index carries it under its own name. */
.aimline{font-size:1.2rem; line-height:1.45; font-style:italic; color:var(--brown); margin:0 0 .8rem; max-width:34rem}

/* ---- tier index: grouped by the book's own movements ---- */
.movegroup{margin:0 0 2.6rem}
.movehead{margin:0 0 1rem; padding-bottom:.6rem; border-bottom:2px solid var(--rule)}
.movehead h2{margin:0; font-size:1.35rem; font-weight:500; color:var(--brown)}
.movehead p{font-family:system-ui,sans-serif; font-size:.92rem; line-height:1.6; color:var(--muted); margin:.25rem 0 0; font-style:italic}

/* An entry is a block, not a table row. Eight equal rows with a grey subtitle
 * each is a wall of text, which is exactly how the first version read. */
.entry{
  display:flex; gap:1.1rem; align-items:flex-start;
  padding:1.15rem 1.1rem; margin:0 0 .55rem;
  border:1px solid var(--rule); border-radius:12px;
  text-decoration:none; transition:background .15s, border-color .15s;
}
.entry:hover{background:var(--chip); border-color:var(--gold)}
.entrynum{
  font-family:system-ui,sans-serif; font-size:.9rem; font-weight:700;
  color:var(--brown); background:var(--chip);
  width:2rem; height:2rem; border-radius:50%; flex:none;
  display:inline-flex; align-items:center; justify-content:center;
}
.entry:hover .entrynum{background:var(--gold); color:var(--cream)}
@media (prefers-color-scheme:dark){ .entry:hover .entrynum{color:#241A10} }
.entrybody{display:block}
.entrytitle{display:block; font-size:1.28rem; line-height:1.3; color:var(--ink); margin-bottom:.3rem}
.entryblurb{display:block; font-size:1.02rem; line-height:1.65; color:var(--ink2); max-width:32rem}
.entrymeta{display:flex; flex-wrap:wrap; gap:.4rem; margin:.6rem 0 0}
.entrymeta span{font-family:system-ui,sans-serif; font-size:.75rem; background:var(--chip); color:var(--brown); padding:.25rem .6rem; border-radius:7px}
.entry.pending{opacity:.55; border-style:dashed}
.entry.pending .entrytitle{color:var(--muted)}
.entry.pending .entrymeta span{background:none; color:var(--muted); font-style:italic; padding-left:0}

/* ---- the class-part header ---- */
.classhead{padding:2.6rem 0 1.6rem}
.classhead h1{margin:0 0 .9rem}
.claim{font-size:1.32rem; line-height:1.55; color:var(--ink); margin:0 0 1rem; max-width:34rem}
.meta{display:flex; flex-wrap:wrap; gap:.45rem; margin:0}
.meta span{font-family:system-ui,sans-serif; font-size:.8rem; background:var(--chip); color:var(--brown); padding:.32rem .7rem; border-radius:8px}

/* ---- numbered sections ---- */
/* ⛔ Each ①–⑧ item of the class-part anatomy is a VISIBLE section with a real
 * heading and a rule above it. Without this the page has no landmarks. */
.step{padding:2.4rem 0 0; border-top:2px solid var(--rule); margin-top:2.4rem; max-width:var(--measure)}
.step:first-of-type{border-top:0; margin-top:0}
.stephead{display:flex; align-items:center; gap:.75rem; margin:0 0 1.2rem}
.stepnum{
  font-family:system-ui,sans-serif; font-size:.8rem; font-weight:700;
  background:var(--gold); color:var(--cream);
  width:1.75rem; height:1.75rem; border-radius:50%; flex:none;
  display:inline-flex; align-items:center; justify-content:center;
}
@media (prefers-color-scheme:dark){ .stepnum{color:#241A10} }
.stephead h2{margin:0; font-size:1.5rem; font-weight:500; line-height:1.2}
.step > .prose{font-size:1.08rem; line-height:1.75; color:var(--ink); margin:0 0 1rem}
.step > .note{font-size:.95rem; margin:0 0 1.2rem}

.listenfor{
  font-size:1.05rem; line-height:1.7; color:var(--ink);
  background:var(--chip); border-radius:10px; padding:1rem 1.15rem; margin:0 0 1.4rem;
}
.listenfor strong{
  display:block; font-family:system-ui,sans-serif; font-size:.72rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; color:var(--brown); margin-bottom:.35rem;
}

/* ---- excerpts ---- */
.excerpt{margin:0 0 2rem; position:relative}
.exlabel{
  font-family:system-ui,sans-serif; font-size:.72rem; font-weight:700; letter-spacing:.13em;
  text-transform:uppercase; color:var(--gold); margin:0 0 .5rem;
}
figure.anchor blockquote{margin:0; background:var(--parchment); border-radius:12px; padding:1.15rem 1.25rem 1.15rem 3.4rem; font-size:1.06rem; line-height:1.8}
figure.pull blockquote{margin:0; border-left:4px solid var(--gold); padding:.3rem 0 .3rem 1.25rem; font-size:1.35rem; line-height:1.6; font-style:italic; color:var(--ink)}
figure figcaption{font-family:system-ui,sans-serif; font-size:.78rem; color:var(--muted); margin-top:.55rem}
figure.anchor figcaption{padding-left:3.4rem}
figure.pull figcaption{padding-left:1.5rem}
figure figcaption a{color:var(--gold); text-decoration:none; font-weight:600}
.seg-play{
  position:absolute; left:1rem; bottom:auto; width:1.9rem; height:1.9rem; border-radius:50%;
  border:0; cursor:pointer; background:var(--brown); color:var(--cream); font-size:.65rem; line-height:1;
}
@media (prefers-color-scheme:dark){ .seg-play{color:#241A10} }
.seg-play.on{background:var(--gold)}

/* ---- themes ---- */
.theme{margin:0 0 1.7rem; padding-left:1rem; border-left:3px solid var(--rule)}
.theme h3{margin:0 0 .4rem; font-size:1.2rem; font-weight:500; color:var(--brown)}
.theme p{font-size:1.05rem; line-height:1.75; color:var(--ink2); margin:0}
.theme .refs{font-family:system-ui,sans-serif; font-size:.76rem; color:var(--muted); margin-top:.5rem}
.theme .refs a{color:var(--muted); text-decoration:none}
.theme .refs a:hover{color:var(--brown)}

.kws{display:flex; flex-wrap:wrap; gap:.5rem}
.kw{font-family:system-ui,sans-serif; font-size:.88rem; font-weight:600; background:var(--chip); color:var(--brown); padding:.4rem .85rem; border-radius:8px}

/* ---- check yourself ---- */
.step details{border-bottom:1px solid var(--rule); padding:1rem 0}
.step details:first-of-type{border-top:1px solid var(--rule)}
.step details summary{cursor:pointer; font-size:1.12rem; font-weight:500; line-height:1.5; list-style:none; display:flex; gap:.6rem}
.step details summary::-webkit-details-marker{display:none}
.step details summary::before{content:'+'; color:var(--gold); font-weight:700; flex:none}
.step details[open] summary::before{content:'–'}
.step details p{font-size:1.02rem; line-height:1.75; color:var(--ink2); margin:.7rem 0 .2rem 1.2rem}

/* ---- terms ---- */
.term{margin:0 0 1.3rem}
.term h3{margin:0 0 .3rem; font-size:1.15rem; font-weight:500; color:var(--brown)}
.term p{font-size:1.02rem; line-height:1.75; color:var(--ink2); margin:0}

/* ---- worked-through mark ---- */
.markrow{display:flex; align-items:center; gap:1rem; flex-wrap:wrap; margin:2.8rem 0 0; padding-top:1.8rem; border-top:2px solid var(--rule)}
.mark{
  font-family:system-ui,sans-serif; font-size:.95rem; font-weight:600; cursor:pointer;
  background:none; color:var(--brown); border:1px solid var(--rule);
  border-radius:9px; padding:.65rem 1.2rem;
}
.mark.on{background:var(--chip); border-color:var(--gold)}
.marknote{font-family:system-ui,sans-serif; font-size:.82rem; color:var(--muted)}

/* ---- orientation lessons ---- */
.lessonbody{max-width:var(--measure)}
.lessonbody p{font-size:1.08rem; line-height:1.8; color:var(--ink); margin:0 0 1.15rem}

@media (max-width:640px){
  .stephead h2{font-size:1.3rem}
  .claim{font-size:1.18rem}
  figure.pull blockquote{font-size:1.18rem}
  figure.anchor blockquote{padding:1rem 1rem 1rem 1rem}
  figure.anchor figcaption{padding-left:0}
  .seg-play{position:static; margin-bottom:.6rem}
  .entry{padding:1rem .85rem; gap:.8rem}
  .entrytitle{font-size:1.15rem}
}

footer.site{
  max-width:52rem; margin:0 auto; padding:1.4rem 1.5rem 3rem;
  border-top:1px solid var(--rule);
  display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  font-family:system-ui,sans-serif; font-size:.78rem; color:var(--muted);
}
footer.site a{color:var(--muted)}
.disclosure{color:var(--muted)}

@media (max-width:640px){
  body{font-size:18px}
  .featured{grid-template-columns:1fr}
  h1{font-size:1.75rem}
  .reading .seg{padding-left:.7rem}
}
