# Dither Press

A small independent press printed on a solar budget. The page is pale sky paper on top and warm cream below, split by a hard horizontal line. One old-style serif (Libre Caslon Text) does almost everything at regular weight, a mono (IBM Plex Mono) carries dates, counts and buttons, and three category inks (blue, red, green) color the links the way a magazine colors its sections. Pictures are not photos: they are duotone dot screens with simple line drawings on top. Every border is a black hairline, nothing is rounded and nothing casts a shadow. It feels honest, thrifty, a little retro and quietly warm.

Use it for: community projects, co-ops, tool and seed libraries, repair cafes, nonprofits, small magazines and newsletters, sustainability projects, local services, anything that wants to look made by people rather than by a brand team. Avoid it for: luxury, fintech that must look slick, games, anything that needs big imagery or loud motion.

## 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 Dither Press 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 for Lendhall, an invented neighborhood tool library, built only with the kit.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Masthead, headings, body | Libre Caslon Text 400 | Everything people read. Headings stay regular weight; size does the work. Bold only for a name in the footer. |
| Pull quotes | Libre Caslon Text 400 italic | Blockquotes and the odd emphasized phrase. |
| Meta | IBM Plex Mono 400 to 500 | Dates, counts, captions, tags, form labels and buttons. Small, often uppercase with wide tracking. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--dp-sky` | #EDF3FC | Top half of every page, featured plan, checked choices |
| `--dp-cream` | #FBF2D3 | Bottom half of every page |
| `--dp-paper` | #FFFDF6 | Notice boxes, inputs, tags, buttons, pricing table |
| `--dp-sky-deep` | #D9E4F6 | Rare hover fill on sky |
| `--dp-ink` | #121212 | Text, rules, the primary button |
| `--dp-soft` | #5E5C57 | Meta text and captions |
| `--dp-faint` | #C9C4B4 | Dashed row dividers |
| `--dp-blue` | #2541A6 | Category ink 1 (in the demo: borrowing) and focus rings |
| `--dp-red` | #C2301F | Category ink 2 (in the demo: repair) |
| `--dp-green` | #1D7150 | Category ink 3 (in the demo: skills), list arrows, the battery |
| `--dp-tone-dark` / `--dp-tone-light` | #3E57B8 / #DCE4F8 | Blue duotone for pictures |
| `--dp-tone-green-dark` / `--dp-tone-green-light` | #3F8A62 / #E3F0DE | Green duotone for pictures |

The split background is `--dp-page-bg`: sky down to `--dp-split` (460px, 520px on phones), cream after. Set `body class="dp-page"` and it is done.

The three category inks are for links, tags and section headings only. Never fill a large area with them.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--dp-size-masthead` | clamp(2.4rem, 6vw, 4.2rem) | The uppercase masthead at the top of every page |
| `--dp-size-h1` | clamp(1.9rem, 4vw, 2.8rem) | Page and hero headline |
| `--dp-size-h2` | clamp(1.45rem, 2.6vw, 1.9rem) | Section headings |
| `--dp-size-h3` | 1.2rem | Card titles, FAQ questions |
| `--dp-size-body` | 1.12rem | Body copy, nav |
| `--dp-size-small` | 0.98rem | Card text, tables |
| `--dp-size-meta` | 0.82rem | Mono meta |

Line height 1.6 for text, 1.18 for headings. Articles keep a 44em column.

## Shape and space

- Radius is 0 everywhere. Shadows are `none`.
- Lines: `--dp-line` (1px ink) for boxes and section heads, `--dp-line-heavy` (2px) under the masthead, above the footer and on blockquotes, `--dp-line-faint` (dashed) between list rows.
- Space scale: 6, 12, 20, 32, 56, 88px (`--dp-space-1` to `--dp-space-6`). Gutter 20px (16px on phones). Max width 1400px, so the page runs wide like a printed broadsheet.

## Components (in components.css)

- **Masthead** `.dp-masthead` with `.dp-masthead__title` (uppercase, an arrow glyph inside the name), `.dp-masthead__note` (one honest sentence) and `.dp-nav` (links separated by `|`, each category link in its ink, `.is-current` underlined).
- **Text** `.dp-h1`, `.dp-h2`, `.dp-h3`, `.dp-lead`, `.dp-meta`, `.dp-kicker`, `.dp-link`, and the ink helpers `.dp-blue`, `.dp-red`, `.dp-green`.
- **Tags** `.dp-tag` plus `--blue`, `--red`, `--green`: small mono boxes.
- **Buttons** `.dp-btn` (paper, ink border, mono), `.dp-btn--ink` (filled), `.dp-btn--block`. Hover flips to ink.
- **Pictures** `.dp-pic` (blue duotone dot screen), `.dp-pic--green`, `.dp-pic--grey`, with `--wide` (16:9) or `--square` (4:3). Put an inline SVG line drawing inside with `stroke="currentColor"`. `.dp-caption` goes under it.
- **Hero** `.dp-hero`: a narrow text column on the left and a big picture on the right (1 : 3).
- **Cards** `.dp-grid` (4 up) or `.dp-grid--3` with `.dp-card`: picture, tag, title, one line, mono status.
- **Index list** `.dp-index`: a ruled list of date, title and tag, like a table of contents.
- **Notice** `.dp-notice`: a paper box with an ink hairline.
- **Status chip** `.dp-status` with `.dp-battery`: fixed bottom right, shows a small battery and a percentage.
- **Pricing** `.dp-plans` / `.dp-plan` (ruled columns in one box, `.is-featured` on sky), `.dp-plan__price`.
- **Table** `.dp-table` inside `.dp-table-scroll`.
- **FAQ** `.dp-faq` with `<details>`; plus and minus in mono blue.
- **Article** `.dp-article`, `.dp-article__head`, `.dp-article__body`, `.dp-dropcap`, `.dp-note`.
- **Forms** `.dp-form`, `.dp-field`, `.dp-input`, `.dp-select`, `.dp-textarea`, `.dp-hint`, `.dp-check`, `.dp-choices` / `.dp-choice` (radio cards in one ruled box).
- **Footer** `.dp-footer` with `.dp-footer__cols`.

## Pages in this kit

| File | What it shows |
|---|---|
| `demo.html` | Landing: masthead, hero with a drawn depot shelf, stats row, 4-up catalogue cards, two index lists, a how-it-works notice |
| `pricing.html` | Three plans in ruled columns, a comparison table and an FAQ |
| `blog.html` | A long article with drop cap, halftone figure, blockquote, numbered list, data table and more posts |
| `signup.html` | A join form with radio-card plan choice and an inline thank-you state |

## Page recipe

1. `body class="dp-page"`, then the masthead in `.dp-wrap`: title, one-sentence note, nav with category inks.
2. A `.dp-hero`: headline, two short paragraphs, one mono meta line, one ink button and one plain link. A large `.dp-pic` on the right.
3. Sections separated by `.dp-section-head` (heading left, mono link right, hairline under).
4. Content as `.dp-grid` cards or `.dp-index` lists. Keep pictures drawn, not photographed.
5. A `.dp-notice` box for the call to action.
6. `.dp-footer` and the `.dp-status` chip.

**Pricing recipe:** a two-column intro (kicker and headline left, lead right), `.dp-plans` with the middle plan `.is-featured`, a `.dp-table`, then `.dp-faq`.

**Article recipe:** tag, `.dp-h1`, `.dp-lead`, mono byline, a wide `.dp-pic` with caption, then `.dp-article__body` starting with `.dp-dropcap`. End with `.dp-note` (page weight or a colophon) and an `.dp-index` of more posts.

**Sign-up recipe:** two columns: a pitch with a small picture on the left, the form in a `.dp-notice` on the right. Mono uppercase labels, plan choice as `.dp-choices`, one checkbox promise, one ink button.

## Don'ts

- Don't round corners, add shadows or use gradients other than the page split and the halftone.
- Don't bold headlines. Size and space, not weight.
- Don't use photos. Draw with inline SVG on a `.dp-pic` dot screen.
- Don't fill buttons or panels with the category inks.
- Don't add a fourth accent color.
- Don't use em dashes in copy.
