# Sampler Band

The home page your aunt built in 2004 and then hand-stitched. A gingham linen band runs across the top and holds a wordmark drawn as cross-stitch: every pixel of every letter is a little X, and each letter is sewn in a different thread color. Under it, a navy strip of centered links split by thin pipes. The rest of the page is plain white with classic blue underlined links, a Helvetica-like sans for everything and a Times-like italic for quotes. Side panels are soft lavender-gray boxes with a navy border, rounded corners and a small drop shadow. Lists read like a ledger: a big underlined title, a one-line summary, then "Date:", "Cook:", "Rating:" rows with navy stars. It feels homemade, kind and a little bit dated on purpose.

Use it for: family and community archives, recipe and craft sites, clubs and societies, oral history and story collections, small shops with a long memory, hobby newsletters, anything that wants to feel personal and trustworthy rather than slick. Avoid it for: fintech, enterprise software, luxury, fast-moving launches, dark or moody brands.

## 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 Sampler Band 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 an invented family recipe archive called Ladle. The cross-stitch wordmark and heart are inline SVG paths, one `M L M L` pair per stitch on a 6px grid. Copy the approach to stitch your own name: draw each letter on a 5 by 7 pixel grid and give each letter its own `--sb-thread-*` color.

## Fonts

Both free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400;0,700;1,400&family=Tinos:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Everything | Arimo 400 and 700 | Body, nav, headings, buttons, forms. Page titles and section headings are 400, not bold. Panel titles, labels and plan names are 700. |
| Quotes and notes | Tinos 400 italic | Quotes, the band note, figure captions, handwriting on recipe cards, pull quotes, big prices (upright). |

## Color

| Token | Hex | Role |
|---|---|---|
| `--sb-paper` | #FFFFFF | The page. Content always sits on white. |
| `--sb-linen` | #EFE5CB | The masthead band, under a gingham check of `--sb-check` |
| `--sb-navy` | #33447C | The link strip under the band |
| `--sb-navy-edge` | #2B3893 | Panel borders, stars, the main button |
| `--sb-panel` | #ECEDF4 | Inside side panels, plan cards, zebra rows |
| `--sb-link` / `--sb-visited` | #1C4BC9 / #66308A | Every link is blue and underlined, plum once visited |
| `--sb-ink` / `--sb-soft` / `--sb-faint` | #121212 / #444851 / #7A7E88 | Text, meta, hints |
| `--sb-thread-red` | #B0223D | The heart, cross bullets, stitched outlines, the poster tile |
| `--sb-thread-navy`, `-plum`, `-moss`, `-ochre`, `-teal` | #2E4192, #7140A0, #3D7F36, #C4861A, #1E7C82 | Wordmark letters, tags, the pull-quote bar |
| `--sb-card` / `--sb-card-rule` | #FFFDF6 / #BFD3EA | Lined recipe cards |
| `--sb-note` / `--sb-note-edge` | #FFF6D6 / #E0BE55 | A yellow note box |

Rules:
- White page, one linen band, one navy strip. Never fill a full-width section with color below the strip.
- Thread colors are for stitching: the wordmark, bullets, tags and one red poster tile. Never for text paragraphs or backgrounds of panels.
- Links stay classic: blue, underlined, plum when visited.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--sb-text-hero` | clamp(30px, 4.2vw, 40px) | Page title (`.sb-h1`), weight 400 |
| `--sb-text-h2` | 25px (22px on phones) | Section headings, weight 400 |
| `--sb-text-title` | 21px | Ledger titles (underlined links) |
| `--sb-text-h3` | 20px | Plan names, sub-headings, bold |
| `--sb-text-lead` | 18px | Lead paragraph, quotes, pager |
| `--sb-text-body` | 16px | Body, line-height 1.45 |
| `--sb-text-small` / `--sb-text-micro` | 14px / 12px | Panels, meta, buttons / hints, tags |

Write like a friendly person, not a brand: short sentences, real names, dates as people say them ("June 1987"), one small joke per section at most.

## Shape and space

- Radius: 8px on panels and plan cards, 10px on the hero tile, 4px on buttons, 3px on inputs and tags. Recipe cards and the poster are square.
- Borders: 2px navy on panels, plan cards and the hero tile. 1px `--sb-line` rules everywhere else.
- Shadows: panels get a small soft drop shadow (`--sb-shadow-panel`). Cards and the poster get a hard offset shadow (`--sb-shadow-photo`), like a photo on a desk.
- Stitching: a 2px dashed red line (`--sb-stitch`) outlines tags and sits inside the chosen pricing plan. A dashed red bar closes every page above the footer.
- Layout: 1100px page, main column plus a 240px panel column on the right. On screens under 820px the panels drop below the main column.
- Spacing is close and tidy, like an old portal: 12px inside panels, 44px above section headings.
- Motion: none. Links darken on hover, buttons look pressed on click.

## Components (in components.css)

| Class | What it is |
|---|---|
| `body.sb`, `.sb-page` | Page base and the 1100px container |
| `.sb-band`, `.sb-mark`, `.sb-band-note` | Gingham linen masthead, stitched wordmark link, italic note on the right |
| `.sb-strip` | Navy strip of centered links split by pipes; `aria-current` underlines the current one |
| `.sb-doc`, `.sb-main`, `.sb-side`, `.sb-doc--single` | Main column plus panel column |
| `.sb-panel`, `.sb-panel-box` | The signature side panel: bold title above, rounded lavender box with a navy border and drop shadow |
| `.sb-hero`, `.sb-tile`, `.sb-h1`, `.sb-lead` | Title row with the stitched icon tile |
| `.sb-h2`, `.sb-h3`, `.sb-meta`, `.sb-quote` | Headings, meta, an italic quote with an upright `cite` |
| `.sb-btn`, `.sb-btn--go`, `.sb-btn--big`, `.sb-btns` | Glossy gray buttons, navy for the main action |
| `.sb-ledger`, `.sb-ledger-title`, `.sb-ledger-sum`, `.sb-stars` | The list of entries with Date / Cook / Rating rows |
| `.sb-pager`, `.sb-pager-next` | "Page 1 2 3" row with a gray arrow |
| `.sb-card`, `.sb-card-head` | Lined index card with a red margin line and italic handwriting |
| `.sb-poster` | A red book cover tile with bold stacked type |
| `.sb-tag`, `--moss`, `--navy`, `--plum` | Stitched dashed label |
| `.sb-x`, `.sb-x--moss` | List with cross-stitch X bullets |
| `.sb-grid`, `.sb-feature` | Grid of small panels |
| `.sb-note` | Yellow note box |
| `.sb-form`, `.sb-field`, `.sb-input`, `.sb-select`, `.sb-textarea`, `.sb-hint`, `.sb-check`, `.sb-search` | Forms with inset inputs and a glossy select |
| `.sb-plans`, `.sb-plan`, `.sb-plan--pick`, `.sb-price` | Pricing cards; the chosen one is cream with stitching inside |
| `.sb-table`, `.sb-faq` | Zebra table and a question list |
| `.sb-article`, `.sb-byline`, `.sb-figure`, `.sb-pull` | Article column, ledger-style byline, figures, ochre-barred pull quote |
| `.sb-foot-stitch`, `.sb-foot` | Dashed red stitch line and the footer |

## Pages in this kit

| File | Page |
|---|---|
| `demo.html` | Landing: stitched title row, a recipe card and red cookbook poster, a quote, buttons, a ledger of recent entries with sort selects and a pager, a row of feature panels, and four side panels (search, recently added, favorites, sign-up) |
| `pricing.html` | Three plan cards, a comparison table, a question list and two side panels |
| `blog.html` | Article with a stitched tag, ledger byline, X bullets, two recipe-card figures, a pull quote and a note |
| `signup.html` | A form inside one big panel, with two side panels |

## Page recipe

1. Band: `.sb-band` with the stitched heart and wordmark on the left and a one-line italic note on the right.
2. Strip: `.sb-strip` with 4 to 6 links.
3. `.sb-doc`: in `.sb-main`, a `.sb-hero` row (tile, 400-weight title, lead), then one visual (a `.sb-card` beside a `.sb-poster`), a `.sb-quote`, two buttons.
4. A `.sb-h2` section with a `.sb-ledger` of 3 to 5 entries, each with 3 or 4 rows.
5. A `.sb-grid` of 3 `.sb-panel-box` features.
6. In `.sb-side`, 2 to 4 `.sb-panel`s: search, a short list, a favorites list, a call to action.
7. `.sb-foot-stitch`, then `.sb-foot` with a "last updated" line.

Pricing recipe: hero row, `.sb-plans` with 3 cards (middle one `.sb-plan--pick` with a `.sb-tag--moss`), a `.sb-table`, then a `.sb-faq`. Side panels hold the yearly deal and what every plan includes.

Article recipe: `.sb-tag`, `.sb-h1`, `.sb-lead`, `.sb-byline` (Date, Author, Reading time), paragraphs with 2 or 3 `h2`s, one `.sb-x` list, recipe cards as figures, one `.sb-pull`, one `.sb-note`, buttons. Side panels: search, more posts, contents.

Sign-up recipe: hero row, then one `.sb-panel-box` holding `.sb-form` with two-up fields on desktop, a hint under the fields that need one, one checkbox and a navy button with a "Log in" link beside it. Side panels list what you get.

## Don'ts

- Don't drop the stitched wordmark for a plain logo. The cross-stitch letters are the style.
- Don't use bold for page titles or section headings; they are regular weight.
- Don't remove link underlines or make links any color but blue and plum.
- Don't add gradients, glass or big soft shadows. The only gradients are the glossy buttons and select.
- Don't color panels with thread colors; panels are always lavender-gray with a navy border.
- Don't use more than one red poster tile per page.
- No em dashes in copy.
