Design System: Philosophy 101
Overview
Creative North Star: “The Question Deck”
Every chapter is a card you draw. The site is a cool grey table with cards laid on it: the explanation is printed on a white card face, and the chapter’s question is a second card, dealt on top in its volume’s own coloured stock and set in the biggest type on the page. A volume is a deck, shown as a white top card with two cards of its stock fanned out underneath. Navigation speaks the same language: “Draw the next card”, “Back to the deck”.
Density is low and the pace is one idea at a time. Reading text lives on white card stock in a column of about 65 characters; colour is reserved for questions and for marking which deck you are in. Depth comes from real card physics (soft two-layer shadows, a slight tilt on a dealt card, a small lift on hover), never from outlines or flat blocks. Each card carries playing-card corner indices (volume.chapter, such as 4.2) top-left and rotated bottom-right, with a small diamond pip in the stock colour.
The system refuses the course and docs default: no sidebar, no bare white column on a white page, no tinted callout boxes, and none of the previous flat, saturated full-bleed blocks.
Key Characteristics:
- Cool grey table, white card faces, fifteen volume stocks each paired with its own ink.
- Bricolage Grotesque for titles, questions, indices and controls; Atkinson Hyperlegible for reading.
- Rounded card stock with soft two-layer shadows; only dealt cards tilt.
- Playing-card corner indices (volume.chapter plus diamond pip) replace labels and eyebrows.
- The question card is always the largest type on a chapter page.
Colors
A neutral grey-and-white table that lets fifteen saturated card stocks carry all of the colour.
Primary
- Volume Stock (per volume,
--stock; fifteen values from Fiery Clay to Law Olive in the frontmatter): the face of the question card, the volume hero card, the fanned cards under each deck, the deck chip, the deck and chapter number badges, and the index pip on white cards. Set per page or per deck by_data/volumes.yml(color), which is the source of truth; the frontmatter mirrors it.--stockdefaults to Metaphysics Cobalt when no volume is in scope. - Stock Ink (per volume,
--stock-ink): the text colour on a stock, fromvolumes.yml(ink). Pure white on the deep stocks; Card Ink on the three light stocks (The Mind pink, Aesthetics mustard, Search for Meaning lime).
Neutral
- Grey Table (table): the page background everywhere. Cards sit on it; nothing reads directly on it except headers, section titles and the footer.
- Card White (stock-white): every reading surface, deck face, chapter card and next card; also the text colour on Card Ink buttons.
- Card Ink (ink): body and heading text, primary button fill, focus outline, selection fill, and the patterned back of the draw pile.
- Slate Muted (muted): secondary text: intros, deck descriptions, chapter-card questions, next-card labels, footer.
- Table Rule (rule): the hairline above the footer, the top rule of a deck’s chapter list, and the prose
hr. - Faint Tint (tint): row dividers inside a deck’s chapter list, blockquote and inline-code fills.
Named Rules
The One Stock Per Deck Rule. A page or deck uses exactly one volume stock, set as --stock / --stock-ink on its container. Never mix two volume stocks inside one card or one chapter page. The only place two stocks share space is the brand mark (Toolbox over Metaphysics) and the home deck grid, where each deck carries its own.
The White Face Rule. Long reading text sits on Card White only. Volume stock carries questions, titles, numbers and the volume intro line, never a body of prose.
Typography
Display Font: Bricolage Grotesque (variable 200 to 800, self-hosted; falls back to Segoe UI, system-ui) Body Font: Atkinson Hyperlegible (400 and 700, roman and italic, self-hosted; same fallback)
Character: A heavy, slightly quirky grotesque with tight negative tracking does the talking on cards; a legibility-first humanist sans does the reading. Headings are weight 800 at line-heights near 1; questions drop to 700 so long sentences stay open.
Hierarchy
- Display (800, clamp 2.75 to 5.5rem, 0.96, -0.04em): the home headline, max 11ch. The volume hero title uses the same voice (clamp 2.5 to 4.75rem, 0.98) and its giant volume number (clamp 3.5 to 6rem).
- Question (700, clamp 2.25 to 3.25rem, 1.1, -0.03em): the dealt question card on a chapter page. The home drawn card uses a smaller step (clamp 1.45 to 2.05rem, 1.15).
- Headline (800, clamp 1.75 to 2.6rem, 1.04, -0.03em): the chapter title on the reading card, max 20ch. Section titles run 1.5rem, and the large section title clamp 2 to 3.25rem.
- Title (700, clamp 1.25 to 1.5rem, 1.2, -0.02em): chapter-card titles; deck titles at 1.7rem (800); next-card titles at 1.15rem; prose h2 at clamp 1.4 to 1.7rem and h3 at 1.25rem, both 700.
- Body (400, 1.125rem, 1.6; 1.0625rem under 38rem): prose in a 36rem column, about 65 characters. Secondary copy steps to 1rem at 1.45.
- Label (800, 0.95rem, line-height 1, tabular numerals): card indices and number badges. Controls and nav use Bricolage at 600 to 700, sentence case, no uppercase tracking.
Named Rules
The Question Is Biggest Rule. On a chapter page the question card’s type outranks the chapter title (3.25rem against 2.6rem at the top of the clamp). Nothing else on the page may approach it.
The Index, Not Eyebrow Rule. Cards identify themselves with the volume.chapter corner index and pip, never with a small label or kicker above the title.
Layout
A centred frame (max 74rem, side margin clamp 1 to 2.5rem) holds a slim header (min-height 4.75rem, 4rem on phones) with the deck-box wordmark left and “All volumes” right. Volume and chapter pages narrow to a 48rem column so a card reads as a single object on the table.
- Home: a two-column intro (1.1fr / 1fr, gap clamp 2.5 to 5rem): headline, intro and actions left; a dealt question card (5:7 portrait, tilted -2deg) on a patterned draw pile right, with “Draw another card” under it. Below, a deck grid (auto-fill, min 16.5rem, gap 2.75rem by 2.25rem) and a short statement block (max 40rem).
- Volume: a hero deck in the volume stock with fanned cards behind, then a single-column list of chapter cards (gap 1rem).
- Chapter: a deck chip as breadcrumb, the white reading card, the question card overlapping its bottom edge by 1.5rem and inset from the left, then a two-up row of next cards.
- Rhythm: major sections are separated by clamp 4.5 to 8rem; inside prose, siblings space at 1.1em and headings open at 2 to 2.2em.
- Responsive: at 56rem the home intro stacks to one column and the draw table narrows to 88%. At 38rem body text drops to 1.0625rem, next cards stack with “Draw the next card” first, the question card’s tilt eases to -1deg, and the deck grid gap closes to 2.25rem.
Elevation & Depth
Depth is physical: cards rest on the table with a soft contact shadow plus a long diffuse drop, and lift slightly when they can be picked up. There are no borders around cards and no flat-colour slabs; a card is defined by its radius and its shadow.
Shadow Vocabulary
- Card Rest (
box-shadow: 0 1px 2px rgb(24 30 36 / 0.1), 0 14px 32px -14px rgb(24 30 36 / 0.32)): every card at rest (reading card, question card, deck, chapter card, next card, quiet button). - Card Lift (
box-shadow: 0 2px 4px rgb(24 30 36 / 0.1), 0 22px 40px -16px rgb(24 30 36 / 0.38)): hover on linked cards and the quiet button, paired with translateY(-3px). - Under-card (
box-shadow: 0 1px 2px rgb(24 30 36 / 0.12), 0 8px 18px -12px rgb(24 30 36 / 0.3)): the stock cards fanned beneath a deck. - Button (
box-shadow: 0 1px 2px rgb(24 30 36 / 0.2), 0 8px 18px -10px rgb(24 30 36 / 0.5); hover0 2px 4px rgb(24 30 36 / 0.2), 0 14px 24px -12px rgb(24 30 36 / 0.55)): the ink primary button. - Chip (
box-shadow: 0 1px 2px rgb(24 30 36 / 0.15)): the deck chip, a contact shadow only.
Named Rules
The Dealt Card Tilts Rule. Rotation belongs to cards that were dealt: the home drawn card (-2deg), the chapter question card (-1.4deg, -1deg on phones), the draw pile (7deg) and the fanned under-cards (about 2deg). Reading cards, decks and navigation cards sit square; a linked chapter card may tilt -0.4deg only while hovered.
The Same Shadow Colour Rule. Every shadow is cool slate rgb(24 30 36) at varying alpha; never pure black, never coloured, never a hard offset.
Shapes
Rounded card stock throughout, with radius scaling to the card’s size: 22px for full cards (reading, question, deck, hero), 18px for chapter cards, 16px for next cards, 14px for buttons, 12px for inset fills (blockquote, skip link), 10px and 8px for number badges, 6px for inline code, a full pill for the deck chip and a circle for its number. The index pip is a 0.6rem square at 2px radius turned 45deg into a diamond. Home cards keep a 5:7 portrait playing-card ratio. The brand mark is two overlapping rounded cards (Toolbox clay over a tilted Metaphysics cobalt).
The Smaller Card, Smaller Corner Rule. A nested or smaller element never takes a larger radius than the card it belongs to.
Components
Buttons
Solid, weighted, and lifted like a tile you can press.
- Shape: gently rounded (14px), min-height 3rem, padding 0.7rem by 1.35rem, Bricolage 700 at 1.05rem.
- Primary: Card Ink fill, Card White text, Button shadow (“Start with logic”).
- Hover / Active: rises 2px with the deeper button shadow over 220ms on the ease-out curve; returns to rest on press.
- Quiet: Card White fill, Card Ink text, Card Rest shadow lifting to Card Lift on hover (“Draw another card”).
- Text link: Bricolage 700, underlined, for the secondary action beside a button.
Question Card (signature)
The payoff of every chapter: a card of the volume’s stock, stock-ink text, 22px radius, Card Rest shadow, corner indices top-left and rotated bottom-right with a stock-ink pip. On a chapter page it overlaps the reading card by 1.5rem, tilts -1.4deg and carries Question type. On home it is a 5:7 drawn card on a patterned ink draw pile; “Draw another card” swaps in another chapter’s question, stock and index, re-dealing with a 560ms slide-and-settle animation. Selection and focus inside it invert to stock-ink.
Reading Card
Card White, 22px radius, Card Rest shadow, generous clamped padding, corner index top-left (and bottom-right when no question follows). Holds the chapter title (Headline, max 20ch) and the prose column (36rem). Prose links underline in a stock-tinted colour (80% stock, 20% ink) at 0.12em; list markers are Bricolage 700; blockquotes are Faint Tint fills at 12px radius.
Decks
A white top card (22px, padding 1.6 by 1.5rem) with two stock cards fanned beneath (offset 5px/-7px at 2.2deg and -4px/-11px at -1.8deg; the back one mixes 62% stock with white). A stock number badge (10px radius, Bricolage 800 at 1.35rem) sits top-right; then the deck title, muted description, and the chapter list (rule on top, tint row dividers). The volume hero is the same deck in full stock with a giant bare number and a flatter fan (0.7deg / -0.6deg).
Chapter and Next Cards
- Chapter card: Card White, 18px, a stock index tag (8px radius, Bricolage 800 at 0.9rem), Title-level heading and the chapter’s question in muted italic. Hover lifts 3px, tilts -0.4deg, deepens to Card Lift and underlines the title over 240ms.
- Next card: Card White, 16px, muted label (“Previous card”, “Draw the next card”) over a Bricolage 700 title; forward card right-aligned. Hover lifts 3px to Card Lift.
Navigation
- Header: brand mark (32px, two-card SVG) plus “Philosophy 101” in Bricolage 800 at 1.25rem; one nav link in Bricolage 600, underlined only on hover.
- Deck chip: the chapter breadcrumb: a stock pill with a stock-ink circular number, chip shadow, underline on hover.
- Focus: a 3px Card Ink outline at 3px offset with 4px radius, switching to stock-ink inside stock cards.
- Footer: muted 0.95rem text above a Table Rule hairline.
Do’s and Don’ts
Do:
- Do set
--stockand--stock-inkon the page or deck container from_data/volumes.ymland let every stock-coloured part inherit them. - Do give every card the Card Rest shadow and a radius from the card scale (22 / 18 / 16px); lift linked cards 3px to Card Lift on hover.
- Do mark each card with its volume.chapter corner index and diamond pip, top-left and rotated 180deg bottom-right.
- Do keep the question card the largest type on a chapter page, in Bricolage 700 on the volume stock.
- Do keep reading text in Atkinson Hyperlegible on Card White within a 36rem column.
- Do use the ease-out curve (
cubic-bezier(0.16, 1, 0.3, 1)) at 220 to 240ms for lifts, and drop all motion underprefers-reduced-motion.
Don’t:
- Don’t add a sidebar, a docs-style white column on a white page, or tinted callout boxes for notes; Faint Tint fills are for quotations and code only.
- Don’t return to flat, saturated full-width colour blocks; volume colour always arrives as a rounded card of stock.
- Don’t put a paragraph of reading text on a volume stock.
- Don’t add eyebrows or kickers above titles; the corner index already says where a card belongs.
- Don’t use hard offset shadows, black shadows, or outlines around cards.
- Don’t tilt reading cards, decks or navigation cards at rest; tilt is reserved for dealt cards.
- Don’t add points, streaks, badges or other gamified progress devices.