# Guide Hatch

A drafting-table dark style. The page is one framed column on deep navy-black, with diagonally hatched gutters on either side. Every block of text sits between hairline guide rules that run past the frame to the edges of the screen, and each block carries a tiny mono annotation above it, like a dimension on a technical drawing. Headlines are huge and tightly tracked in a single sans. Chalk blue is the one action color; sawdust amber appears only on measurements and numbers. It feels precise, calm and made by people who measure twice.

Use it for: maker tools, planning and layout apps, architecture and interiors, workshops and classes, technical products that want to look crafted rather than corporate. Avoid it for: soft lifestyle brands, kids, anything that should feel loose, warm or handmade in a painterly way.

## 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 Guide Hatch 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 Kerf, an invented cut-list planner for woodworkers, built only with the kit.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines and body | Geist 400 to 600 | Everything that reads as words. Headlines at 500, never heavier. |
| Annotations and numbers | JetBrains Mono 400 to 500 | The labels above blocks, eyebrows, measurements, form labels, table headers, legal line. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--gh-night` | #050A14 | Page and frame background |
| `--gh-panel` | #0B1322 | Windows, inputs, the featured plan |
| `--gh-panel-2` | #121C2F | Secondary buttons, chips, parts on a sheet |
| `--gh-line` | #18233A | Every guide rule and border |
| `--gh-line-strong` | #26344F | Frame edges, input borders |
| `--gh-paper` | #F3F5F9 | Headlines and strong text |
| `--gh-text` | #BCC5D4 | Body copy |
| `--gh-soft` | #7D889C | Secondary text |
| `--gh-faint` | #4B566B | Annotations, placeholders |
| `--gh-chalk` | #6FC4EE | The one action color: primary button, eyebrows, focus, the highlighted part |
| `--gh-sawdust` | #F0B35C | Measurements and numbers only |

Rules:
- The page is always navy-black. No light sections, no gradients, no glows.
- Chalk blue goes on the primary button, eyebrows, list markers and one highlighted element per visual. Never as a section background.
- Sawdust amber is reserved for dimensions, counts and quantities (`2440 × 1220`, `×4`, `01`). If it isn't a number, it isn't amber.
- Green (`--gh-green`) appears only as a status dot inside product UI.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--gh-text-hero` | clamp(46px, 8.2vw, 112px) | Hero headline, left aligned, tracking -0.055em, line-height 0.98 |
| `--gh-text-h2` | clamp(32px, 4.4vw, 56px) | Section headings, tracking -0.04em |
| `--gh-text-h3` | 22px | Card titles |
| `--gh-text-lead` | 18px | The paragraph under a headline, max 640px |
| `--gh-text-body` | 16px | Body |
| `--gh-text-note` | 11px | Mono annotations and eyebrows |

Headlines are plain statements in sentence case with a full stop ("Cut every board once, and waste almost nothing."). Annotations are lowercase, separated with a middle dot: `fig. 01 · 2440 × 1220 · 18mm birch ply`.

## Shape and space

- **The frame.** `.gh-frame` is a centered column with 1px edges. The body behind it shows the diagonal hatch (`--gh-hatch-bg`), which becomes the gutters.
- **Guide rules.** Add `.gh-rule` to any block (a note, a headline, a lead, a button row, a grid) and it gets hairlines above and below that run to the screen edges. Stack ruled blocks with no margin between them so the rules share lines. Open space between groups is `.gh-space` (a full section) or `.gh-space--sm`.
- **Hatched bands.** `.gh-hatched` puts the hatch inside the frame, used behind product windows.
- **Corners.** Square frame, square ruled cells. Windows and inputs get 6 to 12px. Pills only for buttons, chips and toggles.
- **Shadows.** One: `--gh-shadow`, a hairline ring plus a deep drop, on windows only.
- **Ruled cells.** `.gh-cells` is a grid whose 1px gaps are the guide lines. Use it for features, stats, logos and related posts.

## Components (in components.css)

- Base: `.gh` (on `<body>`), `.gh-frame`, `.gh-pad`, `.gh-narrow`, `.gh-center`
- Rules and space: `.gh-rule`, `.gh-rule--top`, `.gh-space`, `.gh-space--sm`, `.gh-hatched`
- Labels: `.gh-note` (with `<b>` for an amber measurement), `.gh-eyebrow`, `.gh-measure`, `.gh-code`
- Type: `.gh-hero-title`, `.gh-h2`, `.gh-h3`, `.gh-lead`, `.gh-soft`
- Nav: `.gh-nav`, `.gh-logo`, `.gh-version`, `.gh-nav__links`, `.gh-nav__tag`, `.gh-nav__keep` (a link that stays visible on phones)
- Buttons: `.gh-btn` with `--primary` or `--ghost`, `--block`; `.gh-actions`, `.gh-search`, `.gh-kbd`
- Product UI: `.gh-window` (`__bar`, `__body`), `.gh-sheet` with `.gh-piece` (`--hot`, `--waste`), `.gh-dim`
- Grids: `.gh-cells` (`--logos`), `.gh-cell` (`--logo`), `.gh-icon`, `.gh-stat`
- Badges: `.gh-badge` (`--amber`, `--line`), `.gh-dot`
- Quote: `.gh-quote`, `.gh-cite`
- Forms: `.gh-field`, `.gh-label`, `.gh-input`, `.gh-select`, `.gh-hint`, `.gh-check`, `.gh-choice`
- Pricing: `.gh-toggle`, `.gh-plans`, `.gh-plan` (`--featured`), `.gh-plan__name`, `.gh-price`, `.gh-list`, `.gh-table`, `.gh-table-wrap`, `.gh-faq`
- Article: `.gh-meta`, `.gh-avatar`, `.gh-prose`, `.gh-callout`
- Footer: `.gh-footer`, `.gh-legal`

## Pages in this kit

| File | Page |
|---|---|
| `demo.html` | Landing page: ruled hero, a cut sheet in a window on a hatched band, feature cells, stat cells, quote, logo cells, closing call to action |
| `pricing.html` | Three ruled plan columns with a monthly and yearly toggle, comparison table, questions |
| `blog.html` | Narrow article with ruled header, a drawn figure, list, quote, callout and related posts |
| `signup.html` | Split sign-up: form with mono labels on the left, a project preview and next steps on a hatched panel on the right |

## Page recipe

1. `<body class="gh">`, then one `<div class="gh-frame">` holding everything.
2. Nav in a `.gh-rule.gh-pad` header.
3. `.gh-space`, then a `.gh-pad` block of ruled lines: `.gh-note` annotation, `.gh-hero-title`, `.gh-note`, `.gh-lead`, `.gh-actions`.
4. A `.gh-rule.gh-hatched` band holding the product in a `.gh-window`.
5. Sections built the same way: eyebrow, h2, lead, then a `.gh-cells` grid ruled edge to edge.
6. End with a centered call to action, the footer and `.gh-legal`.

**Pricing recipe:** ruled hero with a toggle row, `.gh-plans` with the middle plan `--featured` and the only `--primary` button, then a `.gh-table`, then `.gh-faq` under its heading.

**Article recipe:** `.gh-narrow` column, ruled eyebrow, h2, lead and byline, then `.gh-prose`. Put one drawn figure with an annotation and a `.gh-dim` under it. Related posts as `.gh-cells` below the frame width.

**Sign-up recipe:** two columns split by a hairline. Left: ruled heading then the form, labels in mono snake case (`first_name`). Right: `.gh-hatched` with a window preview and three numbered steps in amber.

## Don'ts

- Don't leave gaps between ruled blocks in a group; the rules should share lines.
- Don't use rounded cards with shadows for features. Use ruled cells.
- Don't bold headlines past 500 or loosen the tracking.
- Don't use amber for words, or chalk for backgrounds.
- Don't add photos. Product visuals are drawn: sheets, pieces, dimension lines.
- Don't use em dashes in copy.
