# Yellow Disc

Quiet Swiss minimalism with one loud shape. A pale warm-gray page holds square white sheets. Headlines are set in a tight grotesk at regular weight, broken into short lines where every second line steps in. A single flat yellow disc sits behind the type, cropped by the sheet's edge, and the words print right over it. Ruler ticks, mono labels and a hairline crosshair are the only ornaments. It feels precise, confident and a little playful, like a designer's portfolio or a good print poster.

Use it for: independent shops and studios, local services with taste, portfolios, small product launches, cultural venues, anything that wants to look considered without looking corporate. Avoid it for: dense dashboards, kids' brands, anything that needs many colors or lots of imagery.

## 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 Yellow Disc 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 an invented optician, Round Two, built only with the kit.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Inter Tight 400 | Hero, section headings, big numbers, index rows. Regular weight, tight tracking. 500 only for small h3s. |
| Body | Inter 400 to 600 | Paragraphs, nav, buttons, form fields. |
| Labels | IBM Plex Mono 400 | Uppercase micro labels ("01 / WHAT WE DO"), field labels, row numbers, captions, badges. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--yd-mist` | #EBEBE8 | The page background behind every sheet |
| `--yd-sheet` | #FFFFFF | White panels that hold content |
| `--yd-line` | #D6D6D1 | Hairlines and borders |
| `--yd-tick` | #B1B1AB | Ruler ticks and faint marks |
| `--yd-ink` | #1B1B19 | Text, primary buttons, line drawings |
| `--yd-soft` | #67675F | Leads, secondary text, nav links |
| `--yd-sun` | #FFEC00 | The disc. Also the secondary button, selected options, highlights |
| `--yd-sun-soft` | #FFF8B0 | Focused inputs, quiet highlights |

Rules:
- Only gray, white, ink and yellow. No second accent, no gradients, no tints of yellow on big areas.
- Yellow is a shape first. One disc per sheet at most, usually cropped by an edge. Never yellow text.
- Ink text sits directly on the yellow disc. Don't knock it out or add a backing.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--yd-text-hero` | clamp(44px, 6.4vw, 84px) | Hero, line-height 1.08, tracking -0.035em |
| `--yd-text-h2` | clamp(32px, 4.2vw, 54px) | Section headings, tracking -0.03em |
| `--yd-text-h3` | 24px | Card and plan titles (500) |
| `--yd-text-lead` | 20px | Soft gray lead, max 36em |
| `--yd-text-body` | 16px | Body; articles use 18px |
| `--yd-text-micro` | 12px | Mono labels, uppercase, tracking 0.06em |

Staggered lines are the signature: wrap each line of a headline in `<span class="yd-line">`, and every second line steps in by `--yd-indent`. Write headlines as short phrases that break naturally ("Round Two / is the optician / for people who / squint at menus"). Sentence case, no period.

## Shape and space

- Sheets are square: no radius, no shadow. They sit on the mist page and are separated by 2px mist gaps when they touch (cards, plans, stats).
- Borders are 1px. Use ink borders for buttons, badges and the top of index lists; `--yd-line` for everything else.
- Buttons have a 2px radius. Badges and toggles are pills. The disc and the logo dot are the only circles.
- Inputs are underlined, not boxed, and turn pale yellow on focus.
- Container 1080px, text 680px, sections 64px to 120px apart.
- Motion is slow and small: the disc may drift a few percent over 14 seconds. Nothing bounces.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.yd-page`, `.yd-wrap`, `.yd-narrow`, `.yd-section` | Body, container, narrow text column, section spacing |
| `.yd-ruler` (`--center`, `--long`) | A row of hairline ticks starting with an open box; put one above the nav and beside section heads |
| `.yd-nav`, `.yd-logo`, `.yd-nav__links`, `.yd-nav__actions` | Logo with a yellow dot, quiet gray links, actions right |
| `.yd-sheet` (`--pad`) | The white panel; children sit above any disc inside it |
| `.yd-disc` (`--drift`) | The yellow circle. Set `--size` and place it with top/right/bottom/left so the sheet crops it |
| `.yd-cross` | A hairline crosshair; place it at the center of a disc or a drawing |
| `.yd-hero-title`, `.yd-h2`, `.yd-h3`, `.yd-line` | Headlines and staggered lines |
| `.yd-lead`, `.yd-label`, `.yd-mark` | Gray lead, mono label, yellow highlight on a word |
| `.yd-btn--ink/sun/line/text`, `--sm`, `--block` | Black primary, yellow secondary, outlined, underlined text |
| `.yd-badge` (`--sun`, `--plain`) | Mono pill with a dot |
| `.yd-grid`, `.yd-card`, `.yd-card__num` | Cards on 2px mist gaps |
| `.yd-index` with `__n`, `__t`, `__m` | Numbered rows like a table of contents |
| `.yd-stat__n`, `.yd-stat__l` | Big number and its label |
| `.yd-form`, `.yd-field`, `.yd-field__label`, `.yd-input`, `.yd-select`, `.yd-check`, `.yd-choice` | Underlined fields; `.yd-choice` is a row of radio tiles where the picked one turns yellow |
| `.yd-plans`, `.yd-plan`, `.yd-plan--featured`, `.yd-plan__price`, `.yd-toggle` | Pricing; the featured plan gets a cropped disc and yellow bullets |
| `.yd-faq` | Details and summary with a mono plus |
| `.yd-article`, `.yd-byline`, `.yd-avatar` | Long-form text with a yellow-ruled quote |
| `.yd-footer` and parts | Mono column heads, gray links, hairline base row |
| `.yd-fill-sun`, `.yd-fill-ink` | Fills for inline SVG line drawings |

## Pages in this kit

- `demo.html`: landing page (hero sheet with disc and drawn glasses, three cards, a visit index, stats, closing sheet)
- `pricing.html`: pricing with a per-visit or yearly toggle, three plans, extras index and FAQ
- `blog.html`: journal post with a line chart drawn in SVG and related cards
- `signup.html`: split sign-up with a disc rising from the bottom of the left sheet

## Page recipe

1. `.yd-ruler--center` above the nav, then `.yd-nav`.
2. A hero `.yd-sheet` with a staggered `.yd-hero-title`, a lead, one ink and one line button, and a large `.yd-disc` cropped by the right edge.
3. Section heads: a mono label ("01 / What we do"), a staggered `.yd-h2`, a `.yd-ruler` on the right.
4. Content on mist: `.yd-grid` cards, `.yd-index` lists, stats on 2px gaps.
5. A closing `.yd-sheet` with a small disc in a corner and a `.yd-btn--sun`.
6. `.yd-footer` straight on the mist.

Pricing: an intro sheet with a cropped disc and `.yd-toggle`, then `.yd-plans` directly underneath; only the featured plan gets a disc. Article: a header sheet (label, staggered title, byline, badge, disc in a corner) followed by a second sheet holding `.yd-article`, separated by a 2px gap. Sign-up: two sheets side by side, the promise on the left with a disc rising from the bottom, the form on the right with underlined fields.

## Don'ts

- Don't add a second accent color, gradients or drop shadows.
- Don't round the sheets or put the disc on every section.
- Don't bold the headlines or center them; they hang left and step in.
- Don't put yellow text on white, or white text on yellow.
- Don't use photos as heroes. Draw with lines and the disc.
