/* ------------------------------------------------- chapter weight -------- */

/* Why the page has no peak: every chapter is set at the same weight, so
   nothing can be more important than anything else. A reader scanning for
   sixty seconds has no size signal to follow, and twenty-two screens of even
   rhythm is a document rather than an argument.

   Two weights, applied across every chapter rather than one bespoke
   treatment on the section that happened to need it most: `is-quiet` is the
   support material that should get out of the way; everything else is the
   ordinary chapter. Nothing here is local — a chapter changes weight by
   changing a class.

   There was a third. `is-event` made #turn the page's peak by giving it a
   heavier head and half again the chapter gap, and it came off when the
   counterfactual became the one peak instead (turn/climax.css): a composed
   frame on the darkest ground, which outranks any chapter head. Its rules
   matched nothing after that and are gone. */

/* A quiet chapter is still a chapter. Borrowing --step-2 outright made its
   title exactly the size of the h3s inside it — 22px against 22px at 390 —
   so the section head and its own subheads tied and the tier vanished. Its own
   step sits between the two: still plainly quieter than an ordinary h2, still
   unmistakably above what it contains. */
.chapter.is-quiet .chapter-head h2 {
    font-size: calc(var(--step-3) * 0.88);
    max-width: 26ch;
}

/* The whole chapter steps down, not only its title. --step-2 is capped at
   0.82 of --step-3, and the quiet head is 0.88 of the same term, so above
   390px the two ranks a reader navigates by were tied at 1.07x — solved on a
   phone and inverted everywhere else, because the cap makes h3 track h2 down
   in lockstep. Taking h3 down with the head restores a real step (1.29x) and
   keeps the chapter quieter than an ordinary one, which is what the class
   is for. */
.chapter.is-quiet h3 {
    font-size: calc(var(--step-3) * 0.68);
}

.chapter.is-quiet {
    padding-block: calc(var(--chapter-gap) * 0.7);
}

/* …and it still yields to the seam. This rule loads after layout/shell.css
   at equal specificity, so a quiet chapter sharing a ground with the one
   above it took 60.5px where an ordinary chapter takes 43.2 — the weight
   knob read "quieter" in type and "more important" in space, and both
   chapters carrying the class are exactly that case. */
.chapter-day + .chapter.is-quiet,
.chapter-night + .chapter.is-quiet,
.turn-band + .chapter.is-quiet {
    padding-top: var(--chapter-seam);
}

