# Heavy Rule

An independent-archive style on off-white paper. A tall two-line masthead in condensed caps sits over one thick ink rule, and under it a catalog of square poster tiles: flat blocks of tomato, teal, mustard, cobalt or ink with a simple drawn object inside, each followed by a stack of captions set in deliberately mixed faces (condensed caps, a book serif, a bold grotesk). The chrome is all black and white, small and precise. Color appears only inside the tiles, so the page reads like a well-kept index card drawer that happens to hold bright things. It feels editorial, nerdy and a little raw, the look of a collection run by people who care about labels.

Use it for: catalogs and collections, lending libraries and archives, co-ops and community shops, directories with many comparable items, museum and library listings, magazines with an index, marketplaces for second-hand goods. Avoid it for: luxury and beauty, soft wellness brands, kids' products, single-product SaaS heroes, anything that needs photography to sell.

## 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 Heavy Rule 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 neighbourhood tool library called Shed Index.

## Fonts

Free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Antonio:wght@500;600;700&family=Libre+Franklin:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap" rel="stylesheet">
```

| Role | Font | Weight | Use |
|---|---|---|---|
| Masthead and display | Antonio | 600 and 700 | The logo, section tabs, hero titles, h1 and h2, plan names, caption lines marked `--mast` |
| Body and UI | Libre Franklin | 400 to 700 | Body copy, menu, toolbar, buttons, labels, meta, `--sans` captions |
| Serif | Newsreader | 400 and 500, plus italic | Leads, article prose, prices, list titles, `--serif` and `--italic` captions |

Display type in Antonio is always uppercase. Newsreader italic is the one soft note: use it for a single phrase inside a hero title (`<em>`) and for alternate captions.

## Color

| Token | Hex | Use |
|---|---|---|
| `--hv-paper` | #FAF9F5 | The page |
| `--hv-paper-deep` | #F1EFE8 | An empty tile, a quiet band |
| `--hv-white` | #FFFFFF | Inputs, the search box, a white tile |
| `--hv-ink` | #121212 | Text, rules, primary buttons, one ink tile per row |
| `--hv-ink-soft` | #2E2D2A | Prose and leads |
| `--hv-mute` | #73716B | Meta, labels, footer heads |
| `--hv-mute-light` | #A6A39B | Inactive tabs, list numbers, placeholders |
| `--hv-line` | #DDDAD2 | Hairlines between captions, list rows, the menu row |
| `--hv-line-strong` | #B9B6AD | Input borders |
| `--hv-tomato` | #E04A2F | Tile fill, one tag, one button per page |
| `--hv-teal` | #49B6A5 | Tile fill, tag |
| `--hv-mustard` | #EFBE2C | Tile fill, tag |
| `--hv-cobalt` | #2C4AD0 | Tile fill, focus ring |
| `--hv-blush` | #F3C9BC | The one "note" tile |

The rule: chrome is black, white and grey. Poster colors live inside tiles. Outside a tile, tomato may appear once as a button and once as a tag.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `hv-logo` | clamp(44px, 6.2vw, 76px) | Antonio 700, uppercase, line-height 0.9, always two lines |
| `hv-hero__title` | clamp(46px, 7.6vw, 112px) | Antonio 700 uppercase, line-height 0.92, one `<em>` in Newsreader italic allowed |
| `hv-h1` | clamp(38px, 5vw, 68px) | Antonio 700 uppercase |
| `hv-h2` | clamp(28px, 3vw, 40px) | Antonio 700 uppercase, section heads |
| `hv-h3` | 22px | Newsreader 500 |
| `hv-tabs a` | clamp(24px, 2.4vw, 32px) | Antonio 600, current in ink, others in mute-light |
| `hv-cap` | clamp(22px, 2vw, 28px) | Caption lines under tiles, in four voices |
| `hv-lead` | clamp(18px, 1.5vw, 21px) | Newsreader, max 44ch |
| Body | 16px | Libre Franklin, line-height 1.55. Article prose is 19px Newsreader |
| UI | 14px | Menu, buttons, labels |
| `hv-meta` | 13px | `--hv-mute`, with `<b>` in ink |
| `hv-micro` | 11px | 700, uppercase, tracked 0.06em |

## Shape and space

- No radius anywhere. `--hv-radius` is 0. The only curves are inside tile drawings.
- No shadows, gradients or blur. Structure comes from rules: `--hv-rule-heavy` (3px ink) under the masthead, above stats, pull quotes and the footer; `--hv-rule` (1px ink) above section heads and plans; `--hv-hair` (1px grey) between caption lines and list rows.
- Tiles are perfect squares (`aspect-ratio: 1`). The drawing inside is a flat inline SVG at about 62% of the tile, in ink or paper.
- Captions sit directly under the tile with no padding box. Separate stacked captions with a hairline.
- Space on an 8px base. Tile rows are 48px apart, tiles 12 to 18px apart, sections 96px apart.
- The page has wide side gutters (`--hv-gutter`) and a max width of 1260px, like a printed catalog page.

## Components (in components.css)

- **Masthead** `hv-mast`: `hv-logo` (two `span` lines), `hv-mast__about` with a two-line description and `hv-tabs` (mark the current one with `aria-current="page"`), and `hv-mast__tools` with a sign-in line and `hv-search`. The heavy rule is the masthead's bottom border.
- **Menu** `hv-menu`: bold browse labels with a drawn caret, a hairline under the row.
- **Toolbar** `hv-toolbar`: right-aligned "Show: All (n) / filter / filter  Sort: x" with `hv-toolbar__sep` slashes and `hv-toolbar__views` grid toggles.
- **Grid** `hv-grid` (5 columns, `--4`, `--3`) of `hv-tile`.
- **Tile** `hv-tile` with `hv-art` (`--tomato`, `--teal`, `--mustard`, `--cobalt`, `--ink`, `--blush`, `--paper`), an inline SVG, an optional `hv-art__word` stamp (add `hv-art--worded` to shrink the drawing), and `hv-caps` of `hv-cap` lines in `--mast`, `--serif`, `--italic` or `--sans`. A note tile swaps the captions for `hv-tile__note`.
- **Hero** `hv-hero` with `hv-hero__title` and `hv-lead`. **Section head** `hv-head`: an `hv-h2` on a 1px ink rule with a small link on the right.
- **Index** `hv-index`: ranked rows with a grey `hv-index__n`, a serif `hv-index__t` and `hv-index__m` meta.
- **Stats** `hv-stats` of `hv-stat` (a big Antonio number over grey meta) on a heavy rule.
- **Buttons** `hv-btn` (ink), `--ghost` (ink outline), `--tomato` (one per page), `--block`; group with `hv-btn-row`.
- **Tags** `hv-tag` (ink outline), `--tomato`, `--teal`, `--mustard`, inside `hv-tags`.
- **Forms** `hv-form`, `hv-field`, `hv-field-row`, `hv-label`, `hv-input`, `hv-select`, `hv-textarea`, `hv-hint`, `hv-fieldset`, `hv-choices` of `hv-choice` (radio cards with an Antonio name; checked gets a 2px ink inset), `hv-check`.
- **Pricing** `hv-plans` of `hv-plan`, each with a 4:3 `hv-art`, `hv-plan__name`, `hv-plan__price` (serif number), `hv-plan__list`. The recommended plan is `hv-plan--pick` (heavy rule on top).
- **FAQ** `hv-faq` with `details` and serif summaries.
- **Article** `hv-article` (a fact-sheet `hv-article__aside` as a `dl`, then `hv-prose`), `hv-pull` (Antonio caps between a heavy and a thin rule), `hv-figure` with a 16:9 tile.
- **Footer** `hv-footer` with a heavy top rule, `hv-footer__grid` and `hv-footer__base`.
- **Links** `hv-link`: ink, 1px underline that thickens on hover.

## Pages in this kit

- `demo.html`: masthead, menu, toolbar, a 5-column grid of ten tiles (one note tile, one stamped tile), a ranked "most borrowed" index next to a lead and stats, a 3-column journal grid, a closing hero line with the tomato button, footer.
- `pricing.html`: a title row, a billing toolbar, three plans with drawn tiles (the middle one picked), an FAQ.
- `blog.html`: tags, a huge caps title with an italic phrase, byline, a fact-sheet aside, serif prose with a pull quote and a drawn figure.
- `signup.html`: a caps title, lead, numbered steps on a heavy rule and three small tiles; the form with boxed fields and plan radio cards.

## Page recipe

1. `hv-mast` with the current tab marked, then `hv-menu`.
2. On list pages, an `hv-toolbar` with counts and sort.
3. Lead with the collection: an `hv-grid` of tiles. Vary the fills so no two neighbours share a color, put at most one ink tile per row, and vary the caption voices from tile to tile.
4. An `hv-head` section with an `hv-index` and stats, or a second grid.
5. Close with an `hv-hero__title` line on a heavy rule and one `hv-btn--tomato`.
6. `hv-footer`.

**Pricing:** a title row (an `hv-h1` and a lead), a toolbar for billing, `hv-plans` with one drawn tile each, the recommended plan as `hv-plan--pick`, then an `hv-faq` beside a section title.

**Article:** `hv-tags`, an `hv-hero__title` with one `<em>` phrase, an `hv-meta` byline, a 1px rule, then `hv-article` with the fact-sheet aside and `hv-prose`. One `hv-pull`, at most one `hv-figure`.

**Sign up:** two columns. Left: an `hv-h1`, a lead, numbered steps on a heavy rule and a row of small tiles. Right: the form on a thin rule, boxed fields, `hv-choices` for the plan and one block ink button.

## Don'ts

- Don't round corners or add shadows, gradients or blur.
- Don't put poster colors on the chrome: no colored nav, headers, backgrounds or text.
- Don't set Antonio in lowercase or sentence case, and don't use it for body copy.
- Don't give every caption the same font: the mix of caps, serif and grotesk under the tiles is the style.
- Don't use photos or stock illustration in tiles. Draw one flat object per tile with a simple SVG.
- Don't use more than one tomato button per page, or two tiles of the same color side by side.
- Don't drop the heavy rule under the masthead. It is the one bold line the whole page hangs from.
