Foundations
Spacing and geometry
A 4px base unit, semantic spacing that scales with density, and five density levels and five corner styles. Sharp geometry and comfortable density are the defaults; every other level is one switch away.
Spacing scale
Primitive steps. Components use the semantic roles below, which multiply these by the density scale.
Semantic spacing and density
Semantic spacing tokens are written as calc(primitive × density.scale). Switching density in System Studio (extra compact, compact, comfortable, spacious, extra spacious) changes one number and every gap, padding and section rhythm follows. Minimum target sizes (2.75rem controls) are fixed rem values and do not scale, so compact spacing never shrinks a touch target.
| Token | Expression |
|---|---|
space.gutter | {prim.layout.gutter} |
space.section | calc(clamp(5rem, 11vw, 9.5rem) * {density.scale}) |
space.stack.xs | calc({prim.space.2} * {density.scale}) |
space.stack.sm | calc({prim.space.4} * {density.scale}) |
space.stack.md | calc({prim.space.5} * {density.scale}) |
space.stack.lg | calc({prim.space.7} * {density.scale}) |
space.stack.xl | calc({prim.space.9} * {density.scale}) |
space.inline.xs | calc({prim.space.2} * {density.scale}) |
space.inline.sm | calc({prim.space.3} * {density.scale}) |
space.inline.md | calc({prim.space.4} * {density.scale}) |
space.inline.lg | calc({prim.space.5} * {density.scale}) |
density: xcompact
density.scale = 0.62
density: compact
density.scale = 0.78
density: comfortable
density.scale = 1
density: spacious
density.scale = 1.32
density: xspacious
density.scale = 1.6
Border radius
Radius is a Studio dimension with three options. Controls and media use separate roles so a pill-shaped control never rounds a photo to a pill.
radius: sharp
radius.control = 0pxradius.media = 0px
radius: subtle
radius.control = 3pxradius.media = 4px
radius: soft
radius.control = 8pxradius.media = 12px
radius: rounded
radius.control = 14pxradius.media = 20px
radius: pill
radius.control = 999pxradius.media = 24px
| Primitive | Value |
|---|---|
prim.radius.none | 0px |
prim.radius.sm | 2px |
prim.radius.md | 4px |
prim.radius.pill | 999px |
Borders
prim.border.width.hairline · 1px
prim.border.width.strong · 2px
Presets set the weights: Editorial 1px and 2px, Swiss Minimal and Terminal 1px for both, Neo Brutalism 2px and 3px (hard borders), Modern Studio 1px and 2px. Border strength is a colour role (color.border.subtle for decoration, color.border.strong for control edges, which meets the 3:1 non-text contrast).
Elevation
prim.elevation.1
0px 1px 2px 0px #00000033
prim.elevation.2
0px 8px 24px -8px #00000052
prim.elevation.3
0px 24px 64px -16px #00000066
prim.elevation.cover
0px -28px 64px -20px #00000073
Semantic roles: elevation.raised (cards), elevation.overlay (floating navigation), elevation.cover (a section sliding over another), elevation.offset (a hard, blur-free shadow in the text colour, used by the offset button and card variants). Shadows are used sparingly: depth on this site is mostly carried by layering and motion.
Grid and layout
A 12-column grid with a fluid gutter. Expressive compositions may break the grid on purpose; reading sections do not.
| Layout token | Value |
|---|---|
max-width | 1440px |
content-width | 1200px |
reading-width | 62ch |
gutter | clamp(1rem, 4.2vw, 3.5rem) |
nav-height | 4rem |
| Breakpoint | Min width |
|---|---|
sm | 40rem |
md | 48rem |
lg | 64rem |
xl | 80rem |
2xl | 96rem |
Pinned, scroll-scrubbed scenes apply only at 64rem wide and 44rem tall with motion enabled. Below that, every scene has a stacked, readable layout. Media queries cannot read CSS variables, so the 64rem breakpoint is repeated in CSS and documented here rather than hidden.