# Linen

Soft, minimal shop for objects people keep. Warm cream and oat surfaces, big light serif headlines with tight tracking, quiet DM Sans text and one muted clay accent used sparingly. The signature is the hero: an oat card inset from the edges of the screen with large rounded corners, a frosted pill nav floating inside it, a centered headline, and the products resting on a soft flowing ribbon at the bottom. It feels calm, tactile and considered, like a well-lit studio.

Use it for: e-commerce and direct-to-consumer brands, homeware, beauty, wellness, food and drink, small makers, subscription boxes, anything sold as an object you'll keep. Avoid it for: dense dashboards, developer tools, loud promotions, kids' brands, anything that needs to feel fast or technical.

## 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 Linen 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 ceramics shop called Wren.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&display=swap" rel="stylesheet">
```

| Role | Font | Weight | Use |
|---|---|---|---|
| Headlines | Fraunces | 300 (light) | Hero titles, section titles, prices, pull quotes. Optical size 144 for big text |
| Small headings | Fraunces | 400 | `ln-h3`, card titles in serif |
| Body and UI | DM Sans | 400 to 600 | Everything else: text, nav, buttons, labels, forms |

One word or phrase per headline can be the italic clay accent: `<span class="ln-accent">years</span>`. Never more than one per heading.

## Color

| Token | Hex | Use |
|---|---|---|
| `--ln-cream` | #FBF8F3 | The page background |
| `--ln-oat` | #F4EDE3 | The hero card, quiet inset sections, the featured plan |
| `--ln-linen` | #EBE1D3 | Product tiles and image placeholders |
| `--ln-white` | #FFFFFF | Plan cards, form panels, fields |
| `--ln-ink` | #2A2522 | Text, the primary button, badges, the dark section |
| `--ln-soft` | #756A61 | Secondary text, eyebrows, meta |
| `--ln-clay` | #B0704F | The one accent: the italic headline word, sale prices, active nav link, check marks |
| `--ln-clay-soft` | #F2DFD2 | Soft badges and focus rings |
| `--ln-ribbon-1`, `--ln-ribbon-2` | #E7D2BB, #D9BC9C | The flowing ribbon under products |
| `--ln-line`, `--ln-line-strong` | #E4DACC, #D3C6B4 | Hairlines and outlined buttons |

The glaze tokens (`--ln-glaze-sage`, `-sky`, `-sand`, `-ink`) only color drawn products. Clay is the only color in the page chrome: keep it rare.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `ln-hero-title` | clamp(46px, 7.2vw, 96px) | Fraunces 300, tracking -0.045em, line-height 0.98, centered in the hero |
| `ln-h2` | clamp(32px, 4.4vw, 56px) | Fraunces 300, tracking -0.035em |
| `ln-h3` | 24px | Fraunces 400 |
| `ln-lead` | 19px | DM Sans, `--ln-soft`, max 560px wide |
| Body | 16px | DM Sans 400, line-height 1.6; articles use 18px |
| `ln-eyebrow` | 12px | DM Sans 600, uppercase, tracking 0.14em, `--ln-soft` |

## Shape and space

- Surfaces have big soft corners: 28px (`--ln-radius-lg`) for the hero, inset sections, plans and figures; 18px for product tiles; 10px for fields.
- Controls are pills: buttons, the nav, toggles, badges, the subscribe field.
- Borders are 1px hairlines in `--ln-line`. Shadows are barely there (`--ln-shadow`); only drawn objects get `--ln-shadow-float`.
- Big surfaces are inset from the screen edges by `--ln-inset` (10 to 24px) instead of running edge to edge.
- Space is generous: sections are 80 to 140px tall in padding, and the hero headline sits 56 to 104px below the nav.

## Components (in components.css)

- **Hero card** `ln-hero` with `ln-hero__body`: the inset oat card. Put `ln-nav` first inside it.
- **Nav** `ln-nav`: a frosted white pill with `ln-logo` (Fraunces, uppercase, spaced), `ln-nav__links` (hidden under 860px) and `ln-nav__end` with `ln-icon-btn` circles. Mark the current page with `aria-current`.
- **Buttons** `ln-btn` plus `--primary` (ink), `--secondary` (hairline outline), `--clay` (sales and the club only), `--light` (on ink), `--sm`, `--block`. Group them in `ln-actions`.
- **Badge** `ln-badge` (ink pill), `--soft` (white), `--clay` (sale).
- **Stage** `ln-stage` with an SVG `ln-stage__ribbon` and `ln-stage__objects`: products resting on the ribbon at the bottom of the hero.
- **Objects** `ln-mug`, `ln-bowl`, `ln-vase`, colored with `ln-glaze-sage`, `-sky`, `-sand`, `-ink` or `-clay`, sized with `ln-object--sm` or `--lg`. Replace them with real product photos on cut-out backgrounds when you have them.
- **Products** `ln-products` grid of `ln-product`: an `ln-product__tile` (linen, with an optional badge and a quick-add `ln-icon-btn`), then `ln-product__meta` with name and price, and `ln-swatches`.
- **Section head** `ln-head`: heading on the left, an `ln-link` on the right.
- **Values** `ln-values` of `ln-value` with a white `ln-value__icon` circle.
- **Split** `ln-split` with a `ln-split__tile`.
- **Quote** `ln-quote`, `ln-byline`, `ln-stars`.
- **Toggle** `ln-segment` with `aria-pressed` buttons.
- **Pricing** `ln-plans` of `ln-plan` (`--featured` on oat), `ln-plan__name`, `ln-plan__price`, `ln-plan__note`, `ln-checks`.
- **FAQ** `ln-faq` of `<details>`.
- **Article** `ln-article-head`, `ln-meta`, `ln-author`, `ln-avatar`, `ln-figure`, `ln-prose` (h2, lists, blockquote), `ln-note`.
- **Forms** `ln-form`, `ln-field`, `ln-label`, `ln-input`, `ln-select`, `ln-hint`, `ln-check`, `ln-choices` of `ln-choice` cards, `ln-panel`, `ln-steps`.
- **Sections** `ln-section`, `--oat` and `--ink` (both inset with big corners), `ln-container`, `ln-narrow`, `ln-center`.
- **Footer** `ln-footer` with `ln-footer__grid`, `ln-footer__title` and `ln-footer__base`.

## Pages in this kit

- `demo.html`: landing page (hero card with stage, bestsellers, values, studio story, reviews, club banner, footer)
- `pricing.html`: membership plans with a billing toggle and FAQ
- `blog.html`: a journal article
- `signup.html`: a split sign-up form

## Page recipe

1. A one-line `ln-announce`.
2. The `ln-hero` card: `ln-nav`, then a centered `ln-badge`, `ln-hero-title` with one accent word, `ln-lead`, two buttons (primary, secondary) and the `ln-stage` with 2 or 3 objects on the ribbon.
3. Products: `ln-head` and four `ln-product` cards.
4. An `ln-section--oat` with four `ln-values`.
5. An `ln-split` story section.
6. Social proof: one `ln-quote` and a score.
7. An `ln-section--ink` banner with `--light` and `--clay` buttons.
8. `ln-footer`.

## Pricing page recipe

Hero card without the stage: eyebrow, title, lead and an `ln-segment` toggle. Pull `ln-plans` up so they overlap the bottom of the card. Three plans, the middle one `--featured` with an ink badge, each with a small linen art tile on top. Then an oat FAQ section.

## Article page recipe

A standalone `ln-nav` (oat) at the top, then a centered `ln-article-head` (eyebrow, `ln-h2` with an accent, lead, `ln-meta` with author), a full-width `ln-figure`, and `ln-prose` in `ln-narrow`. End with an author row and an oat call to action.

## Sign-up page recipe

Two columns inset by `--ln-inset`: an oat `ln-hero` panel on the left (logo, title, lead, a small stage at the bottom), the form on the right with `ln-steps`, `ln-choices`, fields and one primary block button. Under 860px the panel stacks on top and the stage is hidden.

## Don'ts

- Don't bold the serif, and don't use it for body text, buttons or labels.
- Don't use more than one accent word per heading, or clay on large areas.
- Don't run the hero or inset sections edge to edge; keep the inset and the big corners.
- Don't add heavy shadows, thick borders or square corners.
- Don't crowd the page: one idea per section, lots of space.
- Don't use em dashes in copy.
