# Laurel Shelf

A warm public-library style for organizations that lend, keep and share things carefully. A slate header band holds a wordmark with a small laurel and capital links split by bullets. Below it, a heavy geometric sans headline in white, with a hard drop shadow, sits over a drawn shelf of cloth-bound spines in brick, moss, ochre and slate. The page itself is the color of old bone, and the content is set like a classic edition: an old-style serif, small capitals, justified paragraphs with indents, fleurons and drop caps, all on stacked page cards framed like reading devices. Laurel wreaths mark honors. Small radii, hairline rules and one pressed brick button.

Use it for: libraries and lending schemes, archives, public-domain and open-access projects, seed and tool libraries, publishers and small presses, museums, historical societies, nonprofits with a collection, education and reading programs, community gardens. Avoid it for: fast consumer apps, nightlife, fashion, dashboards and developer tools, anything that should feel brand new or minimal.

## 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 Laurel Shelf 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 heirloom seed lending library called Seedkeep.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=League+Spartan:wght@500;700;800&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap" rel="stylesheet">
```

| Role | Font | Weight | Use |
|---|---|---|---|
| Display and UI | League Spartan | 700 to 800 | Headlines (800, tight), nav links, buttons, labels, kickers, badges and numerals (700, uppercase, tracked) |
| Book text | EB Garamond | 400 to 600, and italic | Body copy, ledes, small capitals (`ls-smcp`), page cards, plan names, quotes, captions, form input text |

The pairing is the point: a blunt modern sans for anything you click or shout, and a book serif for anything you read. Never set body copy in League Spartan or buttons in Garamond.

## Color

| Token | Hex | Use |
|---|---|---|
| `--ls-slate` | #2E3A46 | Header band, footer, slate sections, the pressed toggle |
| `--ls-slate-deep` | #222B35 | The hero behind the shelf, device frames around page cards |
| `--ls-bone` | #ECE7DD | The page |
| `--ls-paper` | #F8F5EF | Page cards, plans, fields, quiet sections |
| `--ls-ink` | #1D242B | Text, rules, outlined buttons |
| `--ls-soft`, `--ls-faint` | #5C615F, #8F918A | Secondary text, meta, placeholders |
| `--ls-brick` | #A8402C | The primary button, kickers, drop caps, fleurons, the featured plan. The lead accent |
| `--ls-moss` | #4E7348 | Check fleurons, avatars, a cover variant |
| `--ls-ochre` | #C3933A | Underlines on links and the current nav item, footer titles, the note box (soft) |
| `--ls-line`, `--ls-line-strong` | #D7D0C2, #B9B0A0 | Hairlines and field borders |
| `--ls-on-slate`, `--ls-on-slate-soft` | #F3EFE7, #B7C0C8 | Text on slate |

The `--ls-spine-*` tokens and `--ls-shelf-wood` only color the drawn shelf and book covers. On any one screen, brick should lead and moss and ochre should stay small.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `ls-hero-title` | clamp(40px, 6.4vw, 88px) | League Spartan 800, line-height .98, white with `--ls-text-shadow` in the hero |
| `ls-h2` | clamp(30px, 3.8vw, 50px) | League Spartan 800 |
| `ls-h3` | 23px | League Spartan 700 |
| `ls-lede` | clamp(20px, 1.9vw, 24px) | EB Garamond, `--ls-soft`, max 600px |
| Body | 19px | EB Garamond 400, line-height 1.55 |
| `ls-prose` | 20px | line-height 1.7, small-caps first line, brick League Spartan drop cap |
| `ls-kicker` | 12px | League Spartan 700, uppercase, tracking .14em, brick |
| `ls-caps` | 15px | League Spartan 700, uppercase, tracking .06em |
| `ls-smcp` | inherit | EB Garamond small capitals, tracked: plan names, meta, stat labels, book titles |

## Shape and space

- Radii are small: 4px for buttons, fields and badges, 10px for cards and plans, 18px for the device frames around page cards.
- Book covers have a square spine edge and rounded fore edge (2px left, 10px right) and a thin light line near the spine.
- Shadows: one hard text shadow for hero headlines, one soft lift (`--ls-shadow-page`) for page cards, covers and plans, and a 3px pressed bottom edge on the primary button. Nothing else.
- Rules: 1px hairlines between rows, a 2px ink rule under split section heads and above FAQs and author rows.
- Bullets (•) separate nav links, meta, and form steps. Fleurons (❦) mark section starts and check lists.
- Sections are 64 to 120px tall in padding. Text columns stay narrow (660px) so the serif reads like a book.

## Components (in components.css)

- **Header band** `ls-band` with `ls-nav`: `ls-logo` (laurel mark plus two-line `ls-logo__word`), `ls-nav__links` (bullet-separated capitals, ochre underline on `aria-current`), and `ls-nav__menu` under 900px.
- **Hero** `ls-hero`: a slate-deep block holding `ls-shelf` (40 empty `<span>`s draw the spines), a dark gradient, and `ls-hero__inner` with the shadowed `ls-hero-title`, `ls-hero__sub` and `ls-actions`.
- **Page stack** `ls-pages` of `ls-page` (`--tall`, `--small`): book pages in device frames that overlap, with `ls-page__title` in small capitals, justified indented paragraphs and an optional `ls-page__art`. Pull it up over the hero's bottom edge.
- **Laurel honors** `ls-honors` of `ls-laurel`: two mirrored inline SVG branches around `ls-laurel__text`.
- **Buttons** `ls-btn` plus `--primary` (brick, pressed edge), `--secondary` (ink outline), `--light`, `--ghost` (on slate), `--block`. `ls-link` for an ochre-underlined text link.
- **Badges** `ls-badge` (ochre soft), `--brick`, `--moss`, `--outline`.
- **Section head** `ls-head` with `ls-kicker`, or `ls-head--split` (title left, link right, ink rule).
- **Catalog** `ls-catalog` of `ls-book`: a cloth cover (`ls-book__cover`, variants `--moss`, `--ochre`, `--slate`, `--bone`) with a ruled `ls-book__name`, a line drawing and `ls-book__type`, then `ls-book__meta`.
- **Features** `ls-features` of `ls-feature`: a colored top rule, an italic roman numeral, a title and text.
- **Split** `ls-split`, **stats** `ls-stats`, **quote** `ls-quote` (brick quote mark) and `ls-byline`.
- **Toggle** `ls-segment` with `aria-pressed` buttons.
- **Pricing** `ls-plans` of `ls-plan` (`--featured` gets a brick border and a floating badge), `ls-plan__name`, `ls-plan__price`, `ls-plan__note`, `ls-checks`.
- **FAQ** `ls-faq` of `<details>`.
- **Article** `ls-article-head`, `ls-meta`, `ls-figure` (with a shelf drawing), `ls-prose`, `ls-note`, `ls-author`, `ls-avatar`.
- **Forms** `ls-form`, `ls-field`, `ls-label`, `ls-input`, `ls-select`, `ls-hint`, `ls-row`, `ls-check`, `ls-choices` of `ls-choice`, `ls-steps`, `ls-subscribe`.
- **Sign-up split** `ls-auth`, `ls-auth__side`, `ls-auth__main`.
- **Footer** `ls-footer`, `ls-footer__grid`, `ls-footer__title`, `ls-footer__about`, `ls-footer__base`.
- **SVG paint** `ls-fill-brick`, `ls-fill-moss`, `ls-fill-ochre`, `ls-fill-cream`, `ls-ink-slate`, `ls-ink-moss` for inline drawings, since SVG attributes can't read tokens.

## Pages in this kit

- `demo.html`: landing page (header band, shelf hero, page stack, laurels, catalog of covers, how it works, variety record split, slate stats, quote, newsletter, footer)
- `pricing.html`: three memberships with a yearly or monthly toggle, then an FAQ
- `blog.html`: an almanac article with a drop cap, pull quote and note
- `signup.html`: a split sign-up form with the shelf and a library card on the left

## Page recipe

1. `ls-band` with `ls-nav`.
2. `ls-hero`: the shelf, a headline of three short lines, a two-sentence sub and two buttons (primary brick, light).
3. `ls-pages` pulled up over the hero edge: three page cards, the tall one in the middle with real text.
4. `ls-honors` with two laurels.
5. `ls-head--split` and an `ls-catalog` of four covers.
6. An `ls-section--paper` with `ls-features`.
7. An `ls-split` pairing a single page card with copy.
8. `ls-section--slate` with `ls-stats`.
9. `ls-quote` on paper, a fleuron and `ls-subscribe`, then `ls-footer`.

## Pricing page recipe

The header band, then a centered head (kicker, `ls-hero-title` at h2 size, `ls-lede`, `ls-segment`). Three `ls-plan` cards, the middle one `--featured` with the only primary button. A line of italic reassurance under the plans, then an `ls-faq` in `ls-narrow` on paper.

## Article page recipe

The header band, then `ls-article-head` (kicker, title, lede, `ls-meta` with bullets). A wide `ls-figure` with a shelf drawing and an italic caption, then `ls-prose` in `ls-narrow`: drop cap, small-caps first line, League Spartan h2s, a brick-ruled blockquote, an `ls-note`, and an `ls-author` row. End with a slate call to action.

## Sign-up page recipe

`ls-auth`: the left `ls-auth__side` is slate-deep with a faint shelf, the wordmark, one tall page card styled as a library card, a badge and an h2. The right holds `ls-steps`, an h1 at h2 size, fields in an `ls-row`, `ls-choices`, a checkbox and one primary block button. Under 860px the side stacks on top and the page card hides.

## Don'ts

- Don't set body copy in League Spartan, or buttons and labels in Garamond.
- Don't drop the hard text shadow from hero headlines over the shelf; without it they lose the shelf.
- Don't use more than one brick primary button per view.
- Don't round anything more than 10px except device frames, and don't add other shadows.
- Don't replace the drawn shelf with a stock photo of books unless it is your own photograph.
- Don't center-justify long text; justify only inside page cards.
- Don't use em dashes in copy.
