The system behind the site you’re reading
Not a separate showcase. Every page, hairline and red-pen mark in this portfolio is built from what is documented here. I designed it in code rather than in a design file, then built the site on it — so the decisions are live, and you can switch them off.
Why it’s built in code
shows how it should look
one screen, one size, one state
shows what it does
- on a phone
- with a keyboard
- with motion off
- after the fifth change
- a corner
- a token
- a primitive
- a page
- production
The same path a product, an app or a team’s component library takes.
Read the desk
A design tool’s canvas, marked up by hand. Three marks tell you what you’re looking at.
- Cool grey
- interface
- Warmth
- a thing you could touch
- A wobbling line
- a person drew it
Take it apart
Every decision on this site is a token. Point at a switch to see what it reaches, flip it to take it away — from the desk, and from the rails, ruler and bar around it.
A raised surface: its corners, edge, shadow and blue are all tokens.
a tick, in my hand
no slop. circled in red
Nothing changed: every token reads as the file wrote it.
6 of 6 decisions on
One card, four layers
Each layer may only depend on the one below it. Scroll, and the card comes apart.
- 4Page Places the card in a three-column grid. A page may lay things out; it may not restyle them.
- 3Primitive Tile, Kicker, Chip: the surface, its edge and shadow, the label voice.
- 2Base Element defaults from app.css: what a heading, a paragraph and a link look like on their own.
- 1Tokens Named values from tokens.css. The only layer allowed a literal.
Five kinds of token
Not every token is for everyone. Core values are shared; the rest belong to one part of the site and are read only there.
407 tokens in one file, counted from the file itself on every build.
- Core96Shared by everything: surfaces, ink, the accent, space, type, radius, shadow, speed.--font- --surface- --ink- --rule- --accent- --texture- …
- Canvas chrome49The design tool around the page: ruler, rails, top bar, selection frame, dimension lines.--ruler- --rail- --topnav- --frame- --dimension-
- Feature154Owned by one piece — the dig, the sky, the cookie, a case study — and read only there.--visit- --sky- --print- --cookie- --foundry- --lock- …
- Replica68Another product's palette, for its mock only: Gmail looks like Gmail and never leaks out.--gm- --entera-
- Brand5Colours that belong to someone else — an employer, an app store — used only on their marks.--brand-
- Unsorted35Prefixes this page does not classify yet.
Where the metaphors live
One idea per page, borrowed whole from a real practice and carried all the way.
- EverywhereA design toolA ruler that follows the pointer, a selection frame round whatever you point at, a margin register down both sides.
- HomeA reel and a pinboardSelected work plays as motion covers; the things I love are prints pinned to a board.
- AboutA section through the groundEach scroll digs a few years deeper: level marks, a borehole log, a handwritten “because”.
- Case studyArtboards under reviewThe work sits on a canvas as named artboards, and the red pen marks what changed and why.
- Locked workFrosted glassWork I can’t show in public yet is there, behind glass. Pointing at it clears it a little — a peek, never a look.
- ConsentA cookie, offeredAnalytics asks for a bite of your cookie instead of putting up a banner.
Rules that hold everywhere
- Both viewports, every time. Nothing ships without being checked at ~375px and ≥1280px together.
- 44px under a finger. Every control reaches the touch minimum on a coarse pointer, however small it is drawn.
- Hover is an enhancement. Hover styling lives behind
@media (hover: hover), so a touch device never inherits a state it cannot leave. - Focus is never removed. Every interactive primitive styles
:focus-visible. - Reduced motion is respected. Duration tokens collapse to
0ms; GSAP opts in separately viauseReducedMotion. - Contrast is measured, not judged. Every ink clears WCAG AA on the surface it sits on.
- Handwriting only on things. The hand face is for what is written on an object — a print, a margin, a correction — never for interface.
- The drawn edge is one dial. Every hairline is roughened through
--rough-edge; set it tononeand the whole site goes crisp. - Content is not code. Words live in MDX, validated by a schema; components only set them.
- Every page is prerendered. The reader gets finished HTML; only the chat answers at request time.