# Brush Hamlet

A storybook village at golden hour. Pages open on a drawn diorama: a lavender sky with puffy clouds and a hazy sun, rolling meadow hills in three greens, a little stone cottage with glowing windows and two round sheep. Over the scene sits a hand-brushed white wordmark with a soft violet glow, and actions are short words in tall hand-lettered caps. Below the hills the page turns to warm parchment with plum ink, a rounded sans for reading and cards whose corners wobble as if they were cut out with scissors. It feels cosy, slow and a little magical, like the first page of a picture book.

Use it for: children's books and toys, kids and family products, gentle subscriptions, cosy games, bookshops and libraries, small makers, gifting and anything that wants to feel handmade and dreamy. Avoid it for: finance, security, developer tools, dense dashboards, nightlife and anything that needs to feel sharp, fast or corporate.

## 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 Brush Hamlet 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 built only with the kit, for a made-up picture book subscription called Puddlebrook.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Amatic+SC:wght@700&family=Nunito:wght@400;600;700;800&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Wordmark and headlines | Caveat Brush 400 | The hero wordmark, page and section headings, card titles, prices, quotes, labels, step numbers. Sentence case. |
| Actions | Amatic SC 700 | Buttons and nav links only. Two to four words. Never for sentences. |
| Body and UI | Nunito 400 to 800 | Paragraphs, form labels (800), badges (700), tables, captions. |

The brush face is always regular weight; never fake bold it. Amatic SC is small caps by design, so write button text in normal case ("Start a shelf").

## Color

| Token | Hex | Role |
|---|---|---|
| `--bh-sky-top`, `--bh-sky`, `--bh-sky-low` | #9790D6, #C8C1EE, #F1DCE8 | The sky gradient, top to horizon. Only inside `.bh-scene` |
| `--bh-cloud` | #FFFDF8 | Clouds, sheep, cards, inputs, the cloud button, text on the scene |
| `--bh-cloud-shade` | #E4DDF6 | The underside of clouds and sheep |
| `--bh-meadow-light`, `--bh-meadow`, `--bh-meadow-deep` | #A9C77A, #7FA35A, #4C7136 | The three hill layers. Deep meadow is also the main button |
| `--bh-moss` | #34502A | The footer and the button hover |
| `--bh-stone`, `--bh-stone-deep` | #E2B877, #B98444 | Cottage walls, glowing windows, stone badges |
| `--bh-slate` | #5B628F | Roofs and the colored headline word |
| `--bh-heather`, `--bh-heather-pale` | #A98BD6, #ECE4FA | Wavy underlines, avatars, far hills, callouts, badges, focus |
| `--bh-blossom` | #F2A7C3 | Flower dots only |
| `--bh-parchment`, `--bh-linen`, `--bh-line` | #FBF7EE, #F4ECDB, #E3D8C0 | Page, alternate sections and table heads, borders |
| `--bh-ink`, `--bh-soft` | #2F2A44, #6C6684 | Text and secondary text |
| `--bh-alert` | #B4473B | Form errors only |

Rules:
- One scene at the top of every page (a full hero, a short header or a side panel) and at most one scene band near the end. Cards and covers may hold a mini scene as their picture.
- On the scene, text is cloud white with `--bh-glow`. Never put ink text straight on the sky.
- The main action is the deep meadow button on parchment and the cloud button on the scene. One of each per view at most.
- One word or phrase per headline goes slate with a heather wavy underline (`<em>`).

## Type scale

| Token | Size | Use |
|---|---|---|
| `--bh-text-mark` | clamp(76px, 14vw, 190px) | The hero wordmark, tilted -4deg, one or two words |
| `--bh-text-hero` | clamp(44px, 6vw, 84px) | Page headlines on parchment |
| `--bh-text-h2` | clamp(38px, 4.6vw, 62px) | Section headings and the band wordmark |
| `--bh-text-h3` | 30px | Card titles and steps |
| `--bh-text-caps` | 30px | Button text in Amatic SC |
| `--bh-text-lead` | 20px | The sentence under a heading, max 560px |
| `--bh-text-body` | 17px | Body; article prose is 18px |
| `--bh-text-label` | 24px | Brushed labels with a leaf, tilted -2deg |

## Shape and space

- Corners wobble: `--bh-wobble` on cards, plans, covers and the author card; `--bh-wobble-sm` on inputs, callouts, tables and mini scenes; `--bh-wobble-btn` on buttons and chips. Pills only on badges and the segment toggle.
- Borders are 2px in `--bh-line`; rings around step numbers and FAQ toggles are 2px ink with a lopsided round radius.
- No hard shadows. `--bh-glow` lifts white text off the sky and `--bh-shadow-soft` sits under the cloud button. Everything else is flat.
- Dividers are 2px dashed lines, like stitching.
- Sections: 72px to 120px vertical padding. Container 1180px, text column 700px.
- Motion: clouds drift slowly sideways, hero lines rise in, buttons tilt a little on hover. Clouds and rises stop for reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.bh`, `.bh-container`, `.bh-narrow`, `.bh-center` | Body class and layout wrappers |
| `.bh-section`, `--linen`, `--heather` | Section surfaces |
| `.bh-display`, `.bh-h2`, `.bh-h3`, `.bh-lead`, `.bh-label`, `.bh-note`, `.bh-mark` | Type |
| `.bh-nav`, `__links`, `.bh-nav__hide`, `--on-parchment`, `.bh-logo` | Brushed logo and caps links over the scene, or ink on parchment |
| `.bh-btn--meadow/cloud/outline/scene`, `--sm/--lg/--block`, `.bh-link`, `.bh-actions`, `--center` | Hand-lettered buttons and a wavy link |
| `.bh-scene`, `__sun`, `--mini`, `--band` | The sky field that holds everything drawn |
| `.bh-hills`, `--far` | Three layers of meadow hills, and a hazy heather range behind |
| `.bh-cloud`, `--sm`, `--lg` | Puffy clouds that drift |
| `.bh-cottage`, `.bh-fill-*`, `.bh-stroke-ink` | Inline SVG cottages colored from the tokens |
| `.bh-sheep`, `--flip`, `.bh-flowers` | Round sheep and a strip of meadow flowers |
| `.bh-hero`, `__body`, `__copy`, `__text`, `__actions`, `.bh-wordmark`, `--band` | The hero with the wordmark on the right of the scene |
| `.bh-grid-2/3/4`, `.bh-head` | Grids and a section head |
| `.bh-card`, `__body/__text/__meta`, `.bh-badge`, `--meadow/--stone` | Wobbly cards with a mini scene, and badges |
| `.bh-steps`, `.bh-step`, `__num` | Numbered steps in hand-drawn rings |
| `.bh-quote`, `.bh-avatar` | Brushed quote and an initial avatar |
| `.bh-segment` | Billing toggle |
| `.bh-plans`, `.bh-plan`, `--featured`, `__top/__name/__price/__desc/__list` | Pricing; the featured plan wears a mini scene on top |
| `.bh-table-wrap`, `.bh-table`, `__yes/__no` | Comparison table |
| `.bh-faq` | `<details>` FAQ with a ringed plus |
| `.bh-meta`, `.bh-cover`, `.bh-prose`, `.bh-callout`, `.bh-figure`, `.bh-bars`, `.bh-bar`, `.bh-author`, `--card` | Article parts |
| `.bh-form`, `.bh-row-2`, `.bh-field`, `.bh-field-label`, `.bh-input`, `.bh-select`, `.bh-help`, `.bh-error`, `.bh-field--error`, `.bh-chips`, `.bh-chip`, `.bh-check`, `.bh-divider-text` | Forms |
| `.bh-footer`, `__cols/__bottom` | A moss footer with a soft hill edge |
| `.bh-rise`, `--2/--3` | Entrance animation |

## Pages in this kit

- `demo.html`: landing page (full scene hero with cottage, sheep and wordmark, steps, cards with mini scenes, a split section, a quote, a scene band call to action, footer).
- `pricing.html`: a short scene header with a billing toggle, three plans overlapping the hills, a comparison table and FAQ.
- `blog.html`: a journal article with a scene cover, prose, a quote, a bar chart, a callout, an author card and related posts.
- `signup.html`: a split page, form on parchment beside a scene panel with the wordmark.

## Page recipe

1. A `.bh-scene.bh-hero` with `__sun`, two or three clouds, `.bh-hills--far`, `.bh-hills`, an inline SVG `.bh-cottage`, one or two sheep and `.bh-flowers`.
2. `.bh-nav` inside the scene, then `.bh-hero__body` with the wordmark, one sentence and a cloud button over a scene link.
3. Parchment sections: steps, then a linen section of cards with mini scenes, then a split section with one meadow button.
4. A heather section with one quote.
5. A `.bh-scene--band` with clouds, hills, a band wordmark and one cloud button, then the moss footer.

Pricing recipe: a short scene header (padding-bottom about 200px) with a centered band wordmark, a lead and `.bh-segment`; pull `.bh-plans` up by about 120px so the cards sit on the hills; then the table on parchment and the FAQ on linen.

Article recipe: parchment nav, label, display headline with one `<em>`, lead, meta row, a `.bh-scene.bh-cover` with a cottage and sheep, then `.bh-prose` in the narrow column with one quote, one figure, one callout and an author card, then three related cards.

Sign-up recipe: two columns. Left on parchment: nav, label, headline, lead and the form, with one meadow button and an outline alternative. Right: a full-height scene with the wordmark. On phones the scene comes first and shorter.

## Don'ts

- Don't use straight, even corners on cards, buttons or inputs. Every shape should look cut by hand.
- Don't add drop shadows, gradients outside the sky or glassy blur.
- Don't set long text in Caveat Brush or Amatic SC; sentences are Nunito.
- Don't use photos. The scenes are drawn, and stay simple: hills, clouds, a cottage, sheep, flowers.
- Don't put more than one scene band below the hero, or more than three clouds in one scene.
- Don't use the stone or blossom colors for text.
