# Cover Drift

A quiet catalog on bright paper. Pages are nearly empty: small grotesk type, mono catalog numbers and a lot of air around one centered square cover. The neighbors of that cover drift faintly behind it, and a column of thin ticks on the right edge says where you are in the series. Covers carry all the color: a deep slate, rust, sage or charcoal block with an angled lower edge, then pale paper with a single drawn line. It feels like a well kept record shelf: calm, collectible and a little nostalgic.

Use it for: subscriptions and limited runs, small-batch shops, editions and drops, archives and back catalogs, labels, presses, galleries, anything sold as a numbered series. Avoid it for: dashboards and dense product UI, loud promotions, kids, anything that needs many colors on one screen.

## How to use this file

Give this file, `tokens.css` and `components.css` to your AI coding tool and say:

> Build [your page] in the Cover Drift style. Follow DESIGN.md exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows.

`demo.html` (a landing page), `pricing.html`, `blog.html` and `signup.html` are complete example pages for one invented product (Ostra, a monthly single-origin tea edition), built only with the kit.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines and body | Hanken Grotesk 400 to 600 | Everything. Headlines at 500, body at 400, the wordmark and cover names at 600. Never 700. |
| Labels and numbers | IBM Plex Mono 400 | Catalog numbers ("OT 1042"), section labels in small caps, list numbers, dates. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--cd-paper` | #FCFCFA | The page background |
| `--cd-fog` | #F1F1ED | Quiet sections, the side panel on forms |
| `--cd-line` | #E2E2DC | Hairlines and dividers |
| `--cd-ink` | #121315 | Text, the primary button, the active tick |
| `--cd-soft` | #66686B | Leads, captions, the quiet second half of a headline |
| `--cd-slate` | #284459 | The house cover color, the notice strip, the one slate band, hover on buttons |
| `--cd-rust` | #A9512B | Cover color |
| `--cd-sage` | #7F8D74 | Cover color |
| `--cd-charcoal` | #2B2B2D | Cover color, the drawn lines |
| `--cd-mist` | #E7ECEE | The pale paper at the bottom of a cover |

Rules:
- The page is paper and ink. Color lives on covers, the notice strip and at most one slate band per page.
- Never color text with rust or sage. Links are ink with a 1px underline; on hover they turn slate.
- No gradients except the faint paper fade inside a cover.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--cd-text-hero` | clamp(36px, 5vw, 60px) | Hero headline, weight 500, tracking -0.025em |
| `--cd-text-h2` | clamp(28px, 3.2vw, 38px) | Section headings |
| `--cd-text-h3` | 20px | Plan names, card titles |
| `--cd-text-lead` | 18px | The sentence under a headline, soft gray, max 560px |
| `--cd-text-body` | 16px | Body; 18px in articles |
| `--cd-text-micro` | 12px | Mono labels, catalog numbers |

Headlines are short and plain. Split them in two: the first half in ink, the second half in `.cd-quiet` soft gray ("One tea a month, chosen slowly."). Labels above headlines are mono, uppercase, letter-spaced.

## Shape and space

- Corners: square everywhere. No radius on buttons, inputs, covers or panels.
- Lines: 1px hairlines. The only heavier line is a 1px ink rule on top of the pricing table and the 1.5px active tick.
- Shadow: one, `--cd-shadow-cover`, and only on the front cover of a drift. Nothing else floats.
- Space: sections 88px to 160px tall, container 1180px, text column 680px. When in doubt, add space and remove a line.
- Motion: covers drift sideways and fade over 0.9s with a soft ease. No bounce, no tilt.

## Components (in components.css)

- `.cd` on `<body>`: base font, paper background, clipped sideways overflow.
- `.cd-notice`: a one-line slate strip above the nav.
- `.cd-nav`, `.cd-logo`, `.cd-nav__search`, `.cd-nav__links`, `.cd-burger`: wordmark left, an underline search field in the middle, a few plain links and a three-line menu on the right.
- `.cd-btn` (ink), `.cd-btn--line` (hairline), `.cd-btn--white` (on the slate band), `.cd-btn--block`; `.cd-link` for underlined text links. Put a button and a text link side by side in `.cd-actions`.
- `.cd-drift` with `.cd-cover.is-front / .is-prev / .is-next / .is-away`: the signature stage. `.cd-drift__caption` sits under it with the name left and the catalog number right.
- `.cd-rail`: the tick column on the right edge, one button per item, `aria-current="true"` on the current one. Hidden on phones.
- `.cd-cover` plus `--rust`, `--sage`, `--charcoal` (slate is default): `.cd-cover__band` with `.cd-cover__name` and `.cd-cover__sub`, an inline SVG `.cd-cover__line` (viewBox 0 0 100 60, stroke only, one or two paths) and `.cd-cover__no`.
- `.cd-grid` and `.cd-item`, `.cd-item__meta`: a catalog of small covers with a two-line caption.
- `.cd-list` with `.cd-list__n` and `.cd-list__v`: a numbered track list, good for steps, notes, specs and dates.
- `.cd-split`: two columns that stack on phones.
- `.cd-label`, `.cd-catno`, `.cd-badge`, `.cd-badge--ink`.
- `.cd-form`, `.cd-field`, `.cd-input`, `.cd-select`, `.cd-hint`, `.cd-check`, `.cd-choice` (a three-way square toggle built from radio inputs).
- `.cd-plans`, `.cd-plan`, `.cd-plan--chosen`, `.cd-price`.
- `.cd-faq` (details rows with a mono plus), `.cd-article`, `.cd-meta`, `.cd-quote`, `.cd-figure`.
- `.cd-footer`, `.cd-footer__cols`, `.cd-footer__base`; `.cd-section`, `--fog`, `--slate`; `.cd-rule`; `.cd-reveal`.

## Pages in this kit

- `demo.html`: landing page. Notice, nav, a drift of four covers with a rail, the split headline, a catalog grid, a fog split with the next cover and a track list, one slate band, footer.
- `pricing.html`: centered head with a square toggle, three hairline plan columns each led by a small cover, FAQ.
- `blog.html`: a journal post with a mono breadcrumb label, a big square cover as the lead image, a pull quote and a dated track list.
- `signup.html`: a fog side panel holding the cover you are signing up for, underline fields on the right, no footer.

## Page recipe

1. `.cd-notice` (optional), then `.cd-nav`.
2. The hero is the object, not the words: a `.cd-drift` of three to five covers with a `.cd-rail`, a caption under it, then the label, split headline, lead and one ink button plus a text link, all centered.
3. A hairline, then a `.cd-grid` catalog on paper.
4. A `.cd-section--fog` split: one cover on one side, text and a `.cd-list` on the other.
5. One `.cd-section--slate` band with a single sentence and a white button.
6. `.cd-footer`.

Pricing recipe: centered label, split headline and lead, a `.cd-choice` toggle, then `.cd-plans` with three columns. Lead each plan with a 150px cover, mark the middle one `.cd-plan--chosen` with a `.cd-badge--ink`, and use `/` bullets. FAQ below in a 1:2 grid.

Article recipe: `.cd-narrow` column, mono label, headline, lead, `.cd-meta` with the catalog number, then a square cover at up to 560px as the lead image. Body at 18px. One `.cd-quote` per post. Use a `.cd-list` inside a `.cd-figure` for timelines or specs.

Sign-up recipe: two equal columns, fog on the left with the cover being bought and its caption, the form on the right. Underline inputs, a `.cd-choice` for the plan, one block ink button, a quiet sign-in link.

## Don'ts

- Don't round corners or add card shadows. Only the front cover casts a shadow.
- Don't put more than one slate band on a page, and don't color text with cover colors.
- Don't use bold (700) or a serif. The weight range is 400 to 600.
- Don't fill the page: if a section feels empty, it is probably right.
- Don't draw busy art on covers. One or two thin strokes, nothing filled.
- Don't use photos as covers; the drawn block and line are the brand.
- No em dashes in copy.
