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.

implemented

Spacing scale

Primitive steps. Components use the semantic roles below, which multiply these by the density scale.

0px
4px
8px
12px
16px
24px
32px
48px
64px
96px
128px
176px

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.

TokenExpression
space.gutter{prim.layout.gutter}
space.sectioncalc(clamp(5rem, 11vw, 9.5rem) * {density.scale})
space.stack.xscalc({prim.space.2} * {density.scale})
space.stack.smcalc({prim.space.4} * {density.scale})
space.stack.mdcalc({prim.space.5} * {density.scale})
space.stack.lgcalc({prim.space.7} * {density.scale})
space.stack.xlcalc({prim.space.9} * {density.scale})
space.inline.xscalc({prim.space.2} * {density.scale})
space.inline.smcalc({prim.space.3} * {density.scale})
space.inline.mdcalc({prim.space.4} * {density.scale})
space.inline.lgcalc({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

control
media

radius.control = 0px
radius.media = 0px

radius: subtle

control
media

radius.control = 3px
radius.media = 4px

radius: soft

control
media

radius.control = 8px
radius.media = 12px

radius: rounded

control
media

radius.control = 14px
radius.media = 20px

radius: pill

control
media

radius.control = 999px
radius.media = 24px

PrimitiveValue
prim.radius.none0px
prim.radius.sm2px
prim.radius.md4px
prim.radius.pill999px

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 tokenValue
max-width1440px
content-width1200px
reading-width62ch
gutterclamp(1rem, 4.2vw, 3.5rem)
nav-height4rem
BreakpointMin width
sm40rem
md48rem
lg64rem
xl80rem
2xl96rem

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.

Beyond Design System v0.4.0Human-led. AI-assisted. System-driven.