1# Layout
2
3Read RULES.md: R-03, R-08, R-10, R-11 and the proposed R-13.
4Values live in tokens.css, not a second spacing table in this guide.
5
6## Content and columns
7
8The wrap uses `--w-wrap-max` and `--w-wrap-inset`. Layout divides it
9into twelve columns with `--w-gap-loose` gutters. Use whole-column
10spans. Full-bleed content is a named exception, not a reason to invent
11slightly different page insets per module.
12
13The grid stops at a bordered object's exterior. A code panel's file
14tree and code pane have their own interior geometry; do not force the
15page gutter through a window.
16
17## Rhythm
18
19Use `--w-gap-tight`, `--w-gap` and `--w-gap-loose` for shared spacing.
20`--w-section-pad` gives workshop modules space above and below content.
21R-13 remains proposed; R-12's old top-only approach is superseded.
22Nav, logo strip and footer keep their own chrome rhythm.
23
24Use local geometry where it genuinely belongs to an illustration or
25control; do not create a token for every coordinate. Responsive values
26stay under the same token names. Existing module breakpoints measure
27the viewport, not the catalogue pane; expand a specimen to inspect it.
28
29## Shape and hierarchy
30
31`--w-radius` is the square-container treatment.
32`--w-radius-control` is the compact 4px treatment for buttons and other
33action controls.
34`--w-radius-round` is for genuinely round affordances such as play
35controls and pills. Do not introduce rounded cards as a local variant.
36
37A page gets at most one Display opening. Module heads use Headline.
38See docs/typography.md:
39[Typography](/brand-workshop/system/typography).
40
41## Ground is not the layout grid
42
43Visual Grid's decorative bays, dots and ticks are page chrome, not the
44actual twelve-column measurement. Use the board's alignment overlay
45to check column placement. Do not put decorative marks into content or
46Sanity-managed wrapper markup.
47
48See docs/graphic-elements.md and the composed page:
49[Graphic elements](/brand-workshop/system/graphic-elements) ·
50[Workshop homepage](/brand-workshop/home).