Foundations

Spacing and shape

One spacing scale, a handful of geometry tokens that every grid reads, and a short list of what shapes are allowed. Geometry values are resolved at this frame’s width.

This frame:

Scale

Paddings, gaps between text and offsets come from this scale, nothing in between.

Geometry tokens

Set once on every top-level block (.page > *), with the mobile values in the mobile block, so every grid, the menu and its blur layers agree.

TokenDesktopMobileHereWhat it is
--frame8px--gap-m (5px)The black lines: every grid gap and the outer black edge
--gap-m—5pxThe mobile line width; every mobile size that subtracts gaps reads it
--bar64px56pxThe menu bar’s row
--band80px66pxThe bar plus the black edge above and below it; anchors land under it
--inset56px20pxPanel padding at the sides; the menu’s side inset
--screen100svh (100vh where svh is missing)One screen: every section is at least this tall

Shape