# Mat Board

Quiet, crafted and a little bookish, like walking along a gallery wall. The page is a dusty mauve wall. A big white serif wordmark sits centered at the top, a serif tagline under it, then a hairline rule and a row of tiny expanded capitals for the nav. Content hangs on the wall as matted plates: a white mat around a flat colored plate (apricot, moss, butter, sky or clay) holding a simple line drawing and a serif title, with a soft shadow like a framed print. Under every plate sits a two-line caption, a serif name on the left and an expanded-caps date on the right. Corners are square everywhere and nothing glows.

Use it for: preserving and cooking clubs, recipe and craft subscriptions, workshops and classes, small shops, bookshops and libraries, newsletters, design and type resources, museums and cultural venues. Avoid it for: dashboards and dense data, loud launches, anything that needs a dark or techy mood, apps where every screen is a form.

## 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 Mat Board 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, Larder Post (a monthly preserving club that posts illustrated recipe plates and spice tins), built only with the kit.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@125,600;125,700&family=DM+Serif+Display:ital@0;1&family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,600;1,7..72,400&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Display | DM Serif Display 400, plus its italic | Wordmark, headlines, plate titles, prices, step numbers, pull quotes, FAQ questions |
| Text | Literata 400 and 600 | Body, leads, captions, inputs, lists |
| Capitals | Archivo 600 to 700, always `font-stretch: 125%`, uppercase, tracking 0.09em, 10 to 12px | Nav, labels, dates, buttons, table heads, tags |

The three voices never swap. Headings are always the display serif, reading text is always Literata, and anything that is a label or a control is tiny expanded capitals. Never set a paragraph in capitals and never set a button in a serif.

## Color

| Token | Hex | Role |
|---|---|---|
| `--mb-wall` | #E2D6D9 | The page: a dusty mauve wall |
| `--mb-wall-deep` | #D6C8CC | Quiet bands (steps, tables) and the footer |
| `--mb-mat` | #FFFDFA | The white mat around plates, plans and forms, and the wordmark |
| `--mb-paper` | #F8F3F1 | Input fills and table heads inside a mat |
| `--mb-rule` / `--mb-rule-soft` | #B4A3A9 / #E7DEE0 | Hairlines on the wall / inside a mat |
| `--mb-ink` | #2A2125 | Headlines, body, the main button, tags |
| `--mb-dusk` / `--mb-faint` | #6B5C62 / #958890 | Leads, captions, dates / hints |
| `--mb-apricot`, `--mb-butter`, `--mb-sky` | #F1BD86, #ECE29C, #B9CAD3 | Light plates, ink text and drawings on them |
| `--mb-moss`, `--mb-clay` | #2E4227, #C7714F | Deep plates, cream text (`--mb-cream` #F6EED8) on them. Clay also marks list bullets, link underlines and the drop cap |

Rules:
- The wall is never white. Color lives only inside a mat, as a flat plate. Never paint a section in a plate color.
- Mix plate colors on one wall so neighbours differ. Use at most one ink plate per page.
- No gradients anywhere. Plates are flat fills.
- The white wordmark is a logo, not text: always pair it with a readable tagline or nav and never put information in white on the wall.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--mb-text-wordmark` | clamp(56px, 9vw, 112px) | The masthead wordmark (compact pages: 40px to 60px) |
| `--mb-text-hero` | clamp(42px, 6vw, 80px) | Page headline, line-height 1.02, tracking -0.02em |
| `--mb-text-h2` | clamp(32px, 4vw, 52px) | Section headings |
| `--mb-text-h3` | 25px | Section-head titles, step and card headings |
| `--mb-text-lead` | clamp(18px, 1.6vw, 21px) | The sentence under a headline, max 560px |
| `--mb-text-body` | 17px | Body; articles step up to 19px with line-height 1.75 |
| `--mb-text-caps` | 11.5px | Every label, nav link, button and date |

Headlines are sentence case with no period. Put the last two or three words of a headline in `<em>` for the display italic ("Keep the season *on a shelf*").

## Shape and space

- Square corners everywhere: plates, mats, buttons, inputs, plans, tags. `--mb-radius` is 0.
- The mat is 7px to 10px of white (`--mb-mat-width`) around every plate, plan, table and figure.
- Shadows sit under mats only: `--mb-shadow` for plates, `--mb-shadow-lg` for the form, the featured plan and hover, `--mb-shadow-sm` for small mats. Never shadow text or buttons on the wall (the white mat button is the one exception).
- Hairlines, not boxes: section heads, quotes, FAQ rows, steps and the footer are split by 1px rules.
- Plates are 4:3 by default, 4:5 (`--tall`) beside text, 16:7 (`--wide`) as an article hero.
- Container 1080px, text 680px, 20px to 36px between plates and 40px to 64px between rows. Sections 64px to 112px.
- Motion: a hung plate lifts 2px with a deeper shadow on hover. Nothing else moves.

## Components (in components.css)

- `mb` on `<body>`: wall color, Literata, and `overflow-x: clip`.
- `mb-container`, `mb-narrow`, `mb-center`, `mb-sprite` (hides the SVG symbol sheet).
- Masthead: `mb-masthead` (add `--compact` on inner pages) with `mb-wordmark`, `mb-tagline`, `mb-rule` and the `mb-nav` list (`aria-current` gets an ink underline).
- Type: `mb-h1`, `mb-h2`, `mb-h3` (with `<em>`), `mb-lead`, `mb-label` (`--soft` for dusk), `mb-eyebrow`, `mb-muted`, `mb-tag`.
- Buttons: `mb-btn` with `--ink` (main), `--line` (outline, fills ink on hover), `--mat` (white mat with a shadow), `--block`. `mb-link` is an underlined capitals link. `mb-actions` lays buttons in a row.
- Plates: `mb-plate` (the mat, can be an `<a>`), `mb-plate__art` with a color modifier (`--apricot`, `--butter`, `--sky`, `--moss`, `--clay`, `--ink`) and a shape modifier (`--tall`, `--wide`), `mb-plate__draw` (an inline SVG line drawing, `--bg` for a big faint one behind the title), `mb-plate__title`, `mb-plate__text`.
- Captions: `mb-caption` with `__name`, `__date` and `__line` (a `<b>` inside becomes a caps label).
- Layout: `mb-wall` (two columns, `--three` for three), `mb-feature` (plate beside text), `mb-section` (`--deep` for the darker band), `mb-section__head` (title left, label right, hairline under), `mb-intro` (centered statement).
- `mb-steps` / `mb-step` / `mb-step__num` (italic roman numerals over an ink hairline), `mb-quote`.
- Pricing: `mb-plans`, `mb-plan` (`--featured` adds an ink outline offset from the mat), `mb-plan__head` (butter by default, `--apricot`, `--moss`), `mb-plan__price`, `mb-plan__per`, `mb-plan__body`, `mb-plan__tag`, `mb-list` (square clay bullets, `mb-list__off` for missing items), `mb-table-wrap` / `mb-table`, `mb-faq`.
- Article: `mb-article-head`, `mb-byline`, `mb-article`, `mb-dropcap`, `mb-figure`, `mb-pull`, `mb-note`.
- Forms: `mb-form` (a big mat), `mb-fieldset`, `mb-field`, `mb-input`, `mb-select`, `mb-hint`, `mb-row`, `mb-choices` / `mb-choice` (radio cards with a matted swatch), `mb-check`.
- Footer: `mb-footer` with `__top`, `__brand`, `__col` and `__bottom`.

The line drawings are inline SVG `<symbol>`s at the top of each page (`#mb-jar`, `#mb-pear`, `#mb-lemon`, `#mb-sprig`, `#mb-bottle`, `#mb-shelf`), drawn with a 2.4px round stroke in `currentColor`. Draw your own in the same way for your product: one simple object, outline only, no fills.

## Pages in this kit

- `demo.html`: masthead, centered intro, a two-by-two wall of plates with captions, a tall ink plate beside a feature list, steps on the deep band, a quote, a three-up journal wall, a closing call and the footer.
- `pricing.html`: compact masthead, intro with a monthly or yearly toggle, three matted plans with colored heads, a comparison table on the deep band, and an FAQ beside a heading.
- `blog.html`: compact masthead, centered article head with byline, a wide plate as the hero, article body with drop cap, steps list, pull quote, matted figure, safety note, and a three-up "keep reading" wall.
- `signup.html`: compact masthead, a headline and a plate on the left, the matted form on the right with plan swatches, fields, a select, a checkbox and a thank-you state.

## Page recipe

1. `<body class="mb">`, then the SVG symbol sheet in `<svg class="mb-sprite">`.
2. Masthead: wordmark, tagline (home only), `mb-rule`, `mb-nav`. Inner pages use `mb-masthead--compact`.
3. A centered `mb-intro`: soft label, `mb-h1` with an italic ending, a lead, one ink button and one line button.
4. Hang the content: a `mb-section__head`, then a `mb-wall` of plates with captions. Vary the plate colors.
5. Alternate wall sections with one `mb-section--deep` band for steps, tables or quiet lists.
6. Close with a hairline, a centered `mb-h2`, a lead and the buttons, then `mb-footer`.

Pricing recipe: intro with a toggle in a small mat, `mb-plans` with the middle plan featured and tagged, then a table on the deep band and a FAQ.

Article recipe: `mb-article-head` in the narrow column, a wide plate in the container, then `mb-article` with a drop cap on the first paragraph, `h2` section titles, one `mb-pull`, one matted figure and one `mb-note`.

Sign-up recipe: two columns, the promise and a plate on the left, `mb-form` on the right. Labels are caps above each field, inputs are square with hairline borders, the submit button is ink and full width, and a small hint sits under it.

## Don'ts

- Don't round anything. No pills, no rounded cards, no rounded inputs.
- Don't put color on the wall: no colored sections, no gradient bands, no colored text other than clay accents.
- Don't hang a plate without its white mat, and don't put a mat inside a mat.
- Don't use photos or busy illustrations in plates. One line drawing and a title is the whole look.
- Don't set the nav, buttons or labels in normal-width or lowercase type.
- Don't use more than one shadow depth on the same wall.
- Don't use em dashes in copy.
