/* THE BLUE PENCIL · texture layer 3: type balance
   Loads after the part css (pack_tool.py LAYER_CSS) and restates owning selectors at equal specificity.
   JC's chosen values (15 Nov 2026, from the mock): the serif steps back, DM Sans steps forward.
   Serif changed 23 Nov 2026 (Allison's approved mock): Fraunces became Libre Baskerville; DM Sans stays (JC: League Spartan was not readable in long text).
   The weights below are kept as they were, except --w-display: Libre Baskerville has no 800, so the token says 700, what is drawn.
   No colour here: weight and tracking only. No font-variation-settings is restated: opsz and SOFT were tried
   by eye on the twin and not kept, so every signed axis list stands. Remove the layer by deleting its <link>. */

/* ── the weight tokens, re-pointed after the signed ones ── */
:root {
  --w-display: 700; /* was 800 in Fraunces; 700 is Libre Baskerville's ceiling, the heaviest the face draws; band heads, the page name, spines */
  --w-head: 540;    /* Libre Baskerville heads (§ heads, card titles, the idea line): was 600; 540 (JC's middle path, 15 Nov, was 520) steps the serif back without going thin */
  --w-read: 415;    /* DM Sans reading: was 400; 415 (JC's middle path, 15 Nov, was 430) adds ink yet keeps the hero tagline on one line at 1440 */
  --w-label: 540;   /* DM Sans labels: was 500; keeps a clear step above reading (415) and below tracked capitals (700) */
  /* --w-caps stays the signed 700; --fs-body is not changed in this pass (a size change is a layout change). */
  --w-fd-read: 400;  /* Libre Baskerville where a rule borrowed --w-read (the coach's italic, footnote marks): held at the signed 400 */
  --w-fd-label: 500; /* Libre Baskerville small labels (folios, steps, menu titles) where a rule borrowed --w-label: held at the signed 500, under the 540 heads */
  --w-fd-current: 600; /* the pack nav's current page title (Libre Baskerville), held at the signed 600 so it still stands 100 above its 500 neighbours and 60 above the 540 heads */
  --fh: "Caveat", cursive; /* the coach's hand: the margin note only, never the general .blue (JC, 15 Nov) */
  --w-hand: 500;           /* Caveat's weight: one step above its 400 so the hand holds beside 415 DM Sans */
  --fs-hand: 30px;         /* the margin query: was Fraunces italic 24px (--fs-coach); Caveat's small x-height needs more */
  --fs-hand-s: 23px;       /* the queried still's note: was Fraunces italic 19px (--fs-lead); 24 grew the cell's line box 1px, 23 keeps it */
}

/* ── reading weight reaches the body copy ──
   The mock set body text at --w-read; the signed body sets no weight, so plain paragraphs would stay 400.
   Restated at the owner's specificity (kit.css body). */
body { font-weight: var(--w-read); }

/* ── [R13] cross-face holds: rules that put a DM Sans token on Libre Baskerville ──
   A re-point would move these the wrong way, so each keeps its signed weight. Equal specificity, loaded later. */
.cat li a .g, .nv-mi .g, .nv-sep, .nv-sr, .lg-few, .press.fn-b, .fn-sup, .fn-m { font-weight: var(--w-fd-read); }
/* Accepted spread: .fl-tt (a Libre Baskerville list title) sets no weight and inherits body's 415; holding it here would
   break the 700 it inherits on a selected row (components.html .fl-rows li[aria-selected]). */
.nv-ell, .nv-pgb, .nv-sq, .nv-mi .t { font-weight: var(--w-fd-label); }
/* pack.css:175 put the current page at --w-head; at 540 it would sit only 40 above the literal 500 of pack.css:172 */
.f-list a[aria-current="page"] .f-t { font-weight: var(--w-fd-current); }

/* ── one modest display rule: slightly tighter tracking on the largest line (the page name, up to 168px) ──
   kit.css .name is -.045em. */
.name { letter-spacing: -.05em; }

/* ── the coach's hand: Caveat for the margin note ONLY (JC, 15 Nov 2026) ──
   The margin query (.mm-q, components.html:734 / parts/margin-mark.css) and the queried still's "say more here?"
   (.mm-spec .blue, components.html:740). Every other .blue stays the coach's words in Libre Baskerville italic (kit.css:23).
   Caveat's x-height is small, so it runs larger than Libre Baskerville at --fs-coach; line-height stays --rule-step so the
   words keep sitting on the ruling. Colour is untouched (.blue's var(--ultra)). The face is in fonts.css (fonts.py).
   Sizes tried by eye on the twin (1440, both themes): query 26 / 28 / 30 / 32px, still 22 / 24px. At 26-28 the
   query fits one line in the 150px margin, which lifts the tick from line 3 to line 2; 30 wraps onto two rules
   exactly as the signed Fraunces did, so the tick keeps its line; 32 only reads heavier. Still: 24 made its cell
   1px taller (30 -> 31, the page below moves 1px); 22 and 23 keep 30, and 23 is kept. Tokens are in :root above. */
.mm-q { font-family: var(--fh); font-style: normal; font-weight: var(--w-hand); font-size: var(--fs-hand); line-height: var(--rule-step); }
/* vertical-align: -1px (23 Nov 2026): under Libre Baskerville the signed cell is 29px and the Caveat run alone made it 30; measured baseline 30, top 28, -1px 29, so -1px keeps the signed height. */
.mm-spec .blue { font-family: var(--fh); font-style: normal; font-weight: var(--w-hand); font-size: var(--fs-hand-s); vertical-align: -1px; }
