Skip to content
Back to site

Design system

Tokens and
foundations.

The v2 language in five foundations: colour, typography, spacing, elevation and radius. Every value here is defined once, in styles/v2-tokens.css, and consumed by name. No component holds a raw value.

Architecture

Three layers, one direction

Each layer may only reference the one directly below it. This is what makes the system changeable: the primitive ramp can be re-pitched without touching a component, and the semantic layer can be re-pointed for a dark theme without touching a primitive.

Primitive

Named for what it is. A numbered ramp, never a feeling: "900" survives a hue change, "charcoal" does not.

--c-neutral-1000: #111111

Semantic

Named for what it means here. This is the only layer a theme re-points.

--color-text: var(--c-neutral-1000)

Component

Named for where it is used. Lets one component change without disturbing its neighbours.

--btn-bg: var(--color-text)

Do

background: var(--card-bg);

Reference the layer below. The value stays correct when the ramp moves.

Do not

background: #FFFFFF;

A hardcoded value defeats both theming and the ability to re-pitch the palette.

Colour

One neutral ramp

Monochrome by design. The interface carries no hue, so the only colour on any page comes from the work itself. Twelve steps, spaced so each is visibly distinct from its neighbour, with true white and near-black at the ends.

0

50

100

200

300

400

500

600

700

800

900

1000

Semantic roles

--color-bg

Page ground

neutral-100

--color-surface

Cards and panels that sit on the ground

neutral-0

--color-surface-sunk

Wells, placeholders, the nav pill on light

neutral-200

--color-surface-invert

The dark bands: hero plate, outcome sections

neutral-1000

--color-text

Headings and primary copy

neutral-1000

--color-text-muted

Supporting prose. Holds 7:1 on the ground

neutral-700

--color-text-subtle

Metadata only: years, counters, card numerals

neutral-500

--color-border-strong

Meta table rules, outline buttons

ink alpha 22%

Typography

Two faces, one ramp

Clash Display 600 carries every statement; Switzer carries everything a person actually reads. Both are Fontshare, so they pair natively and cost one request. Line height falls and tracking tightens as size rises, because the settings that are correct at 16px are wrong at 112px.

Aa

Clash Display 600

Display only, never below 28px. Tracking -0.04em, leading 0.88 to 0.98

--font-display

Aa

Switzer 400 / 500 / 600

Body, labels, navigation, buttons. Natural tracking

--font-body

Size ramp

Hero

--size-6xl

The one hero statement per page

56 to 168px

Page title

--size-5xl

Case study titles

44 to 112px

Section

--size-4xl

Section headings

36 to 64px

Block

--size-3xl

Headings inside a section

28 to 40px

Card heading

--size-2xl

Decision cards, case titles in bars

20 to 24px

Lede

--size-xl

The sentence under a heading

18 to 24px

Body

--size-md

Default running text

17px

Functional floor

--size-base

Labels, notes. Nothing interactive goes below this

16px

Metadata

--size-sm

Years, card numerals, counters

15px

Spacing

An 8pt grid

An 8pt base divides cleanly at 1x, 1.5x and 2x, so values land on whole pixels at every common density. The 4px step exists for optical work inside a control and never for layout. Above 64px, spacing is fluid rather than fixed: a 96px gap that does not shrink is a phone-sized hole.

--size-1

Optical nudges inside a control

4px

--size-2

Icon to label

8px

--size-3

Tight pairs

12px

--size-4

Default gap, strip and grid gutters

16px

--size-5

Within a cluster, card grid gaps

24px

--size-6

Card padding

32px

--size-7

Between columns

48px

--size-8

Hero top group to bottom group

64px

Layout roles

--space-inline

The page gutter. One value, so every left edge on every page matches

16 to 40px

--space-section

Air around a section. Two plain sections in a row collapse this, or it doubles into a hole

56 to 96px

--space-head

A section heading to its content

28 to 44px

--space-block

Between stacked parts of one block

24 to 40px

--frame-max

Content frame width, shared by the nav, hero and every section

1360px

Elevation

Contact plus ambient

Every step pairs a tight contact shadow with a wide ambient one. A single large blur reads as fog: the contact shadow is what tells the eye an element is resting on something. Opacities stay low because the ground is near-white, and a heavy shadow just turns it grey.

--shadow-0

Flat. The default for cards on this ground

--shadow-1

Hairline lift

--shadow-2

Resting card

--shadow-3

Hover, raised card

--shadow-4

Menus and overlays

--shadow-5

Modal. Rare by intention

Border radius

Four stops, nothing between

Radius is proportional to the element. A 48px control and a 600px card cannot share a value without one of them looking wrong: the same curve reads as soft on the small thing and barely present on the large one. 24px is the dominant stop, measured off the reference where it appears 51 times.

--radius-1 / 4px

Focus rings, inline marks

--radius-2 / 12px

Menu items, small media

--radius-3 / 16px

Nested cards, strip cards

--radius-4 / 24px

Cards, panels, the hero plate

--radius-full

Buttons, pills, avatars

Components

The tokens, assembled

Buttons

Primary Outline

Label and counter

Project showcase

Work.(5)

Figure card01

90%

Light variant, flat on the ground.

Figure card02

1M+

Inverted variant, for dark bands.