Altris/ Design Language/ Foundations/ Grid & Layout
Foundation · 05

Grid & Layout

A 12-column grid, a 4px spacing scale, and four breakpoints. The layout system is restrained on purpose — generous margins, single-rule containers, no shadows, no rounded corners.

01 · The grid

Twelve columns, sixteen-pixel gutter

One grid for everything: web, print, decks. 12 columns lets us run halves, thirds, quarters, and sixths without fractional widths. Gutters are 16px on web, 4mm on print.

01
02
03
04
05
06
07
08
09
10
11
12
--grid-cols 12  ·  --grid-gutter 16  ·  --grid-margin 64  ·  --max-width 1280
02 · Compositions

Five canonical splits

The grid composes a finite set of layouts. Get fluent in these five — they cover ~90% of pages, slides, and datasheet spreads.

12 · Full-bleed hero 12/12
8 · Lede + image 8/12
4 · Side 4/12
6 · Editorial L 6/12
6 · Editorial R 6/12
4 · Card 4/12
4 · Card 4/12
4 · Card 4/12
3 · Quartet 3/12
3 · Quartet 3/12
3 · Quartet 3/12
3 · Quartet 3/12
2
8 · Centered editorial 2/8/2
2
03 · Spacing

A 4px scale

One scale governs every gap, padding, and margin. Multiples of 4 only — no off-grid values. Rhythm comes from consistency, not variety.

--s-1
4 px
Hairline gaps; chip internal
--s-2
8 px
Inline gap; dot to label
--s-3
12 px
Tight stack; eyebrow ↓ headline
--s-4
16 px
Default gap; grid gutter
--s-5
20 px
Card internal padding
--s-6
24 px
Section padding step
--s-8
32 px
Block separation
--s-10
40 px
Section internal padding
--s-12
48 px
Section ↔ section
--s-16
64 px
Page margin (desktop)
--s-20
80 px
Hero top/bottom padding
--s-24
96 px
Page-level vertical rhythm
04 · Breakpoints

Four breakpoints

The grid stays at 12 columns; what changes is the margin, gutter, and which compositions collapse. Mobile first, always.

Mobile · S
≤ 600 px
Margin 16 · Gutter 8 · Cols collapse to 4
Tablet · M
≤ 1024 px
Margin 32 · Gutter 12 · Cols 8
Desktop · L
≤ 1440 px
Margin 64 · Gutter 16 · Cols 12 · default
Wide · XL
> 1440 px
Margin auto · Max-width 1280 · Cols 12
05 · Margins

The page envelope

Generous side margins are non-negotiable. Daylight is part of the brand — it lets the type breathe and the rules sit clean.

Content area · max-width 1280 · 12-col grid
M · 64 M · 64
06 · Templates

Three working layouts

Composed from the grid, ready to use. Documentation site, marketing landing, datasheet.

Doc · sidebar + content3/9
Marketing · hero + 3-up12 / 4·4·4
Datasheet · two-column6/6
07 · Rules

Layout principles

Six rules that keep pages feeling like they came from the same hand.

Rule 01

Always on the grid

If it's measurable, it sits on the 12-column grid and the 4px scale. No off-grid spacing — ever.

Rule 02

Daylight first

Generous margins are part of the brand. Cramped pages read as urgent — we are not urgent.

Rule 03

One axis of variation

If columns vary, rows are uniform. If rows vary, columns are uniform. Don't fragment both at once.

Rule 04

No nested cards

A card inside a card is a maintenance trap. Use the grid to compose; don't decorate with surface stacking.

Rule 05

Rules over shadows

Surfaces are separated by 1px rules, never by drop-shadows or blur. Material, not chrome.

Rule 06

Square corners

Border-radius is 0. The aesthetic is engineered, not soft. Round corners belong to other systems.