Layout
A · Magazine is the template for marketing surfaces — homepage, articles, podcasts, op-eds, topic landings, email. B · Documentation is the template for product surfaces — library, tools, workbooks, saved, search. They share the locked color system, the locked icons, and the same 12-column grid. Type scale, density, and module library differ.
Which template each route gets
One rule, applied at the route level. If a new route doesn't fit either bucket, it gets escalated — not improvised.
| Route | Template | Surface | Note |
|---|---|---|---|
| / | A · MAG | Marketing homepage | Editorial — what's here this week. |
| /articles/[slug] | A · MAG | Article / Op-Ed / Story | Long-form. Marginalia, pull quotes. |
| /podcasts/[slug] | A · MAG | Podcast episode | Hero image + episode notes column. |
| /topics/[slug] | A · MAG | Topic landing (editorial) | Curated long-form collection. |
| /email/* | A · MAG | Newsletters | Editorial template in HTML email. |
| /library | B · DOC | Library index | Browse all, with sidebar nav. |
| /library/[category] | B · DOC | Category landing | Card grid; structured. |
| /tools/[slug] | B · DOC | Tool / assessment | Workbook UX, step lists, callouts. |
| /workbook/[slug] | B · DOC | Multi-step workbook | TOC sidebar, progress. |
| /saved | B · DOC | Saved items | Personal index — tool-like. |
| /search | B · DOC | Results | List-led, filters. |
Note on /: The marketing homepage uses Template A. A signed-in dashboard at the same root would use Template B. The decision is by mode of arrival, not by URL.
What both templates inherit
The grid, the base unit, the spacing scale, the breakpoints. Anything below the type scale is shared — both templates compute spacing from the same 4px rhythm.
40%+ of every layout is empty. If a surface looks dense before it ships, it isn't done. Empty space is hierarchy, not laziness — it tells the reader what doesn't need their attention.
Measured against the desktop viewport, not the content area.
- One H1 per page. Never more.
- Body text is left-aligned. Never justified.
- Vertical rhythm is on the 8px grid (every 2 base units).
- Section spacing on the 24px grid.
- Max content width 1280px; 680px (A) / 640px (B) for body copy.
Magazine — for marketing surfaces
Generous, column-led, image-first. Display type 4× body. Long-form column capped at 680px. Built for the experience of opening a quarterly.
| Columns | 12 |
| Gutter | 32px |
| Max content | 1200px |
| Long-form max | 680px |
| Section rhythm | 88px |
| Vertical rhythm | 8 / 16 / 24px |
| Image aspect | 3:2 hero · 4:5 portrait |
Long-form column capped at 680px. 88px section rhythm. Display 64 / body 18.
Documentation — for product surfaces
Sidebar-led, structured, scannable. Display type still exists but is the exception. Built for tasks — the user came with a job to do.
| Columns | 12 (sidebar takes 3) |
| Gutter | 24px (shared default) |
| Max content | 1280px |
| Long-form max | 640px |
| Section rhythm | 48px |
| Vertical rhythm | 8 / 12 / 20px |
| Sidebar width | 240px persistent |
How each template reduces
Both templates target 12/6/4 column grids. At mobile, A drops its marginalia and image-first hierarchy; B collapses its sidebar to a drawer + bottom tab bar. C-style grids (4-up tiles) become 2-up.
- Display 72 → 38. H1 44 → 28.
- Hero image keeps its place above the lede.
- Marginalia disappears — meta sits inline above the headline.
- CTAs stack vertically; primary is full-width.
- Display 40 → 26. H1 28 → 22.
- Left sidebar collapses to a drawer trigger.
- Card grids collapse 2×2 → 1-col stack.
- Bottom tab bar appears (Home / Library / Tools / Saved).
Do · Don't
- Pick a template by route. Don't improvise per page.
- Aim for 40%+ empty space on every surface.
- Use the locked color tokens for every fill, rule, and accent.
- Use the locked icons inline at 16/24px.
- Keep long-form body within 680px (A) / 640px (B).
- Mobile drops density first, structure second.
- Mix the two templates within one page — pick whole-page.
- Use Magazine's display type sizes inside Documentation surfaces.
- Use floating glass cards, gradient backgrounds, or "bento" grids.
- Center-align body text. Center display type only.
- Use justified body text. Ever.
- Build a Channel-style image-tile grid as a primary surface.
Tokens
Layout-specific tokens — type scale per template, grid, breakpoints.
/* layout-tokens.css — v1.0
Hybrid layout system: Magazine (A) + Documentation (B). */
:root {
/* Base unit & grid */
--l-unit: 4px;
--l-cols: 12;
--l-gutter-desktop: 24px;
--l-gutter-tablet: 20px;
--l-gutter-mobile: 16px;
--l-max-width: 1280px;
/* Breakpoints */
--l-bp-tablet: 768px;
--l-bp-desktop: 1024px;
/* A · Magazine type scale */
--l-a-display: 64px / 1.0;
--l-a-h1: 44px / 1.05;
--l-a-h2: 26px / 1.15;
--l-a-h3: 19px / 1.3;
--l-a-body: 18px / 1.55;
--l-a-caption: 13px / 1.4;
--l-a-eyebrow: 11px / 1.3;
--l-a-long-form-max: 680px;
/* B · Documentation type scale */
--l-b-display: 40px / 1.05;
--l-b-h1: 28px / 1.1;
--l-b-h2: 20px / 1.25;
--l-b-h3: 16px / 1.35;
--l-b-body: 15px / 1.55;
--l-b-caption: 12px / 1.4;
--l-b-eyebrow: 10.5px / 1.3;
--l-b-long-form-max: 640px;
--l-b-sidebar: 240px;
}