# Graph Paper

Honest, hand-made and a little odd. The page is cream graph paper, and everything on it is boxed in thin ink lines like a ledger or a school exercise book: a window frame with a toolbar of square icon cells, a row of spaced mono caps for navigation, cells that share one line, tables with an oat header row. Headlines are chunky, tightly tracked Bricolage Grotesque with one word swiped in pea green like a highlighter. Tomato stickers sit rotated over corners. Pictures are simple drawn scenes with pixel mosaic squares breaking up their edges. No rounded corners, no soft shadows, no gradients: it should feel made by people, not by a brand team.

Use it for: nonprofits and charities, community projects, sustainability, food and drink brands with a sense of humour, local services, co-ops, zines and campaigns, anything that wants to sound plain-spoken and a bit cheeky. Avoid it for: luxury, finance and legal, medical, enterprise software, anything that needs to feel polished, calm or expensive.

## 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 Graph Paper 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 network of free repair cafés called Fixfolk.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,800&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
```

| Role | Font | Weight | Use |
|---|---|---|---|
| Headlines | Bricolage Grotesque | 800 | Hero titles, section titles, card titles, stats, prices, stickers |
| Body | Bricolage Grotesque | 400, 600 | Text, leads, quotes (600), FAQ questions (600) |
| Labels | Space Mono | 400, 700 | Nav, buttons (700), eyebrows, tags, table headers, form labels, captions. Always uppercase with `--gp-tracking-caps` |

Body copy never goes in mono, and labels never go in the grotesk.

## Color

| Token | Hex | Use |
|---|---|---|
| `--gp-paper` | #F5F2E8 | The page, always with the grid lines on top |
| `--gp-grid` | #E0DBCB | The graph-paper lines and soft dividers inside a box |
| `--gp-white` | #FFFFFF | Boxes, the frame, cells, fields |
| `--gp-oat` | #EBE4D2 | Quiet cells, table headers, plan tops, the sign-up side panel, picture backgrounds |
| `--gp-ink` | #171614 | Every border, all text, the primary button, the current nav item, the ink band |
| `--gp-soft` | #5E5B53 | Secondary text and labels |
| `--gp-pea` | #A3CC3F | Accent one: the marker swipe, "go" buttons, the ticker, checks, the selected choice, one stat cell |
| `--gp-pea-soft` | #E7F1C9 | The featured plan, focused fields, the open FAQ row |
| `--gp-tomato` | #E4572E | Accent two, used like a stamp: stickers, the logo dot, a "New" tag, one support button |
| `--gp-tomato-soft` | #F9D9CC | Sticky notes |

The mosaic tones (`--gp-mo-1` to `--gp-mo-4`) only color pixel squares in pictures. Pea is the main accent; tomato appears at most two or three times on a page.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `gp-hero-title` | clamp(48px, 8.6vw, 128px) | Grotesk 800, tracking -0.04em, line-height 0.9 |
| `gp-h2` | clamp(34px, 5vw, 68px) | Grotesk 800, tracking -0.03em, line-height 0.95 |
| `gp-h3` | 24px | Grotesk 800 |
| `gp-lead` | 20px | Grotesk 400, `--gp-soft`, max 560px wide |
| Body | 17px | Grotesk 400, line-height 1.55; articles use 18px at 1.7 |
| `gp-label` | 13px | Space Mono, uppercase, tracking 0.08em |
| `gp-stat` | clamp(44px, 5vw, 72px) | Grotesk 800 numbers |

One word or short phrase per headline can be wrapped in `<span class="gp-mark">`, the pea marker swipe. Never more than one per heading.

## Shape and space

- Corners are square everywhere (`--gp-radius: 0`). The only circles are stickers, avatars and the logo dot.
- Lines are 1.5px ink (`--gp-line`). Boxes that sit next to each other share one line: use `gp-cells`, `gp-plans` and `gp-choices`, never a gap between bordered boxes.
- Inside a box, quiet dividers use the 1px grid color (`--gp-line-soft`).
- The only shadow is a flat 3px ink offset (`--gp-shadow-sticker`) on stickers, sticky notes, focused fields and hovered buttons. Buttons lift up and left on hover to show it.
- The frame and footer sit `--gp-frame` (10 to 22px) in from the screen edges so the graph paper shows around them.
- The grid cell is 22px (`--gp-cell`). Sections are 64 to 120px of padding.

## Components (in components.css)

- **Page** `body.gp-page`: the graph-paper background. Every page needs this class.
- **Frame** `gp-frame`: the white window that holds the toolbar, nav and hero. Put content in it or in `gp-container` boxes below it.
- **Toolbar** `gp-toolbar` with `gp-tool` square icon cells (44px, ink lines between them, pea on hover) and a stretching `gp-toolbar__title` holding the `gp-logo`.
- **Logo** `gp-logo` with a `gp-logo__dot` (tomato circle).
- **Nav** `gp-nav`: equal-width mono caps cells. Mark the current page with `aria-current`, which turns it ink. Under 760px it becomes a 2 by 2 grid and hides links after the fourth.
- **Ticker** `gp-ticker` with `gp-ticker__track` of `<span>`s, listed twice: the pea marquee strip under the nav.
- **Buttons** `gp-btn` plus `--primary` (ink), `--pea`, `--tomato`, `--ghost`, `--sm`, `--block`. Group them in `gp-actions`.
- **Tags** `gp-tag` plus `--pea`, `--tomato`, `--ink`.
- **Sticker** `gp-sticker` (tomato) or `--pea`: a rotated round stamp with a `<small>` line. Pin one over a picture corner.
- **Hero** `gp-hero` with `gp-hero__copy` (first block: label, title, lead, actions; second block: tags) and `gp-hero__picture`.
- **Mosaic** `gp-mosaic` with an SVG `gp-mosaic__scene` and a `gp-mosaic__px` grid. Set `--gp-cols` and `--gp-rows` and a `data-px` string (one character per square, `.` empty, `1` to `4` mosaic tones, `w` white, `m` pea), and include the small script from the pages to draw it. Keep the squares at the edges so the drawing reads in the middle.
- **Cells** `gp-cells` (3 columns), `--4`, `--2`, with `gp-cell__icon`, `gp-cell__num` and `gp-stat` inside.
- **Section head** `gp-head`: title left, `gp-link` or label right, ink rule under.
- **Boxes** `gp-box`, `--oat`, `--pea`, `--flush`, and the `gp-band` ink band.
- **Ledger** `gp-ledger` table inside `gp-ledger-wrap`.
- **Quote** `gp-quote`, `gp-byline`, `gp-avatar` (`--tomato`, `--oat`).
- **Toggle** `gp-segment` with `aria-pressed` buttons.
- **Pricing** `gp-plans` of `gp-plan` (`--featured`), each with a `gp-plan__top` strip, `gp-plan__name`, `gp-plan__price`, `gp-plan__note` and `gp-checks` (`is-off` for missing features).
- **FAQ** `gp-faq` of `<details>`.
- **Article** `gp-article-head`, `gp-meta`, `gp-figure` with a mosaic and caption, `gp-prose` (h2 with an ink rule above, lists, pea-edged blockquote), `gp-note` sticky note.
- **Forms** `gp-form`, `gp-row`, `gp-field`, `gp-input`, `gp-select`, `gp-textarea`, `gp-hint`, `gp-check`, `gp-choices` of `gp-choice`, `gp-steps`.
- **Split** `gp-split`: two columns that share a line.
- **Footer** `gp-footer` with `gp-footer__grid`, `gp-footer__title` and an oat `gp-footer__base`.

## Pages in this kit

- `demo.html`: landing page (frame with toolbar, nav, ticker and hero; stat cells; what we fix cells; a schedule ledger; a quote; an ink call to action; footer)
- `pricing.html`: membership plans with a billing toggle, a cost breakdown and FAQ
- `blog.html`: a journal article with a side column
- `signup.html`: a volunteer sign-up form

## Page recipe

1. `gp-frame` containing `gp-toolbar`, `gp-nav` and a `gp-ticker`.
2. `gp-hero` inside the frame: label, `gp-hero-title` with one `gp-mark` word, lead, two buttons (primary, plain), a few tags at the bottom, and a mosaic picture with a sticker on the right.
3. A `gp-cells--4` row of stats, one cell in pea.
4. A `gp-head` and a `gp-cells` grid of features with icons; the last cell can be oat.
5. A ledger next to an oat box.
6. A quote box sharing a line with a stat cell.
7. A `gp-band` call to action with pea and tomato buttons.
8. `gp-footer`.

## Pricing page recipe

The frame holds the toolbar, nav, an intro row (title left, lead and `gp-segment` right) and the `gp-plans` row. Three plans sharing lines, the middle one `--featured` with a pea top strip and an ink tag. Below the frame: a pea box next to a ledger showing where the money goes, then a narrow FAQ.

## Article page recipe

The frame holds the toolbar, nav, a `gp-article-head` (tags and meta, a big title with one mark, lead), a full-width `gp-figure`, then a two-column body: a narrow side column (author, contents) and `gp-prose`. End the article with a ruled row of buttons.

## Sign-up page recipe

A frame with just the toolbar (home, logo, close), then a `gp-split`: an oat side panel (label, title with a mark, lead, a boxed mosaic with a pea sticker) and the form column with `gp-steps`, `gp-choices`, fields, checks and one primary block button. Under 860px the panel stacks on top and its picture is hidden.

## Don'ts

- Don't round corners or add blurred shadows, gradients or glassy effects.
- Don't leave gaps between bordered boxes that sit side by side; share the line.
- Don't use more than one `gp-mark` per heading, or more than two or three tomato touches per page.
- Don't set body text in Space Mono, or labels in the grotesk.
- Don't drop the graph paper or run the frame edge to edge.
- Don't use stock photos as they are. Draw simple scenes, or break photos up with the mosaic.
- Don't use em dashes in copy.
