/* Type and layout system (vault 06-Reference/design-breakthroughs/2026-11-07-print-type-system.md). One body size B, one spacing unit U, a few steps off each.
   Loaded before every other stylesheet; nothing else in the site sets a font size or a gap by hand. */
:root{
 /* TYPE LADDER. B = body. Neighbors are never closer than 1.25x (phone, the tightest: 28/22.1 = 1.27, 22.1/17 = 1.30, 17/13 = 1.31).
    Desktop at 1440: legal 13, body 18, head 23.4 (1.3B), sub 37.4 (1.6 head), title 73.4 (about 2 sub), display 110 (1.5 title).
    Web bend, named: the printed legal step (0.6B) would be 10.8px; screens need 13px to stay readable, so legal is 13px (0.72 to 0.76B). The ratio to body still clears 1.25. */
 --t-legal:13px;
 --t-body:clamp(17px,1.25vw,18px);
 --t-head:calc(var(--t-body) * 1.3);
 --t-sub:clamp(28px,2.6vw,37px);
 --t-title:clamp(40px,5.1vw,74px);
 --t-display:calc(var(--t-title) * 1.5);
 /* LINE SPACING. Body 1.35B sets U. Legal runs 1.25. Display type is set solid or tighter where its rule says so. */
 --lh:1.35;--lh-legal:1.25;
 /* SPACING LADDER. U (--unit) = body line spacing. Gaps are 0.5U, 1U, 1.5U, 2U, 4U, nothing else.
    0.5U ties a line to its label or rule; 1U separates neighbors inside a group; 1.5U separates display type from what follows;
    2U is the margin and text-to-rule; 4U separates major zones. Space inside a group stays smaller than space between groups. */
 --unit:calc(var(--t-body) * var(--lh));
 --sp-h:calc(var(--unit) * .5);
 --sp-1:var(--unit);
 --sp-1h:calc(var(--unit) * 1.5);
 --sp-2:calc(var(--unit) * 2);
 --sp-4:calc(var(--unit) * 4);
 /* BRIGHTNESS IS HIERARCHY ON DARK GROUNDS. Headlines keep cream. Body copy is a 30% screen of the ground's own color over white (inside the 25 to 35% band).
    A dark band sets --ground to its own color; the default is the deepest ink. Contrast against that ground is at least 4.5:1 (measured in the PR). */
 --ground:#12181b;
 --on-dark:color-mix(in srgb,var(--ground) 30%,#fff);
 /* NAMED EXCEPTIONS (not spacing between things). Each is a fixed size on purpose. */
 --hit:14px;   /* padding that grows a short link to a 44px tap target; always paired with an equal negative margin so layout does not move */
 --hit-in:12px; /* inset that grows an inline link box to a 44px tap target (pseudo-element, no layout change); the footer link stacks use fractions of it so boxes never overlap */
 --nudge:2px;  /* optical nudge: lines an icon or a bullet up with its text; below the half-step on purpose */
 --bar-h:calc(var(--sp-2) + var(--sp-1h)); /* clearance for the fixed phone call bar (80px tall at most) */
 /* REAL-SHOP HOME (2026-11-08). Named, not spacing. Photo fades are masks (no baked fade); the star and tap sizes are fixed on purpose. */
 --fade-left:linear-gradient(to right,transparent 0,#000 42%);
 --fade-down:linear-gradient(to bottom,#000 55%,transparent 100%);
 --scrim:linear-gradient(to left,color-mix(in srgb,var(--ink-deep) 94%,transparent) 32%,transparent 72%);
 --tap:56px;     /* least height of a button or select (44px minimum is the floor) */
 --tap-big:92px; /* the call button, the biggest thing on screen one */
}
