# Atlas Pane

Functional, honest and calm, like a public map you trust to get you there. The screen is a drawn map: cream land, pale blue water, soft green parks, orange main roads with a white casing, thin white side streets and a dashed violet boundary. Plain white panels float over it with hairline borders and a soft shadow, docked top left like a search sidebar. A slate stack of square map controls sits on the right edge, a scale bar and a small attribution strip sit in the bottom corners, and coordinates and units are set in a mono face. Headlines are a sturdy semi-condensed sans, like the labels on a road atlas. One route blue does every action.

Use it for: local services, booking and finder apps, civic tech, councils and public services, community projects, logistics, property and rentals, outdoor and travel planning, anything where "where" matters. Avoid it for: luxury and fashion, moody entertainment, playful kids' brands, products with nothing to place on a map.

## 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 Atlas Pane 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 Plotwise, an invented service for finding and booking community garden plots, built only with the kit. Put `class="ap"` on `<body>`.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Barlow Semi Condensed 600 | Hero, section headings, card titles, big numbers, prices, table heads, panel titles. 700 only for the wordmark. |
| Place labels | Barlow Semi Condensed 500 italic | Names on the drawn map (`.ap-m-label`) and `.ap-place` in text. Never for headings. |
| Body | Barlow 400 to 600 | Paragraphs, nav, buttons, form labels, badges. |
| Mono | IBM Plex Mono 400 | Coordinates, distances, units after numbers, dates, the scale bar. Always small (11px to 14px). |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ap-white` | #FFFFFF | Panels, cards, nav, main reading background |
| `--ap-mist` | #F5F6F7 | Panel headers, table heads, quiet bands |
| `--ap-line` | #D9DDE1 | Hairline borders on every panel and card |
| `--ap-land` | #F3EFE6 | The map's land and every second band |
| `--ap-water` | #A9CFDC | Sea, rivers and ponds on the map |
| `--ap-park` | #CDE3B6 | Parks and green areas, avatars |
| `--ap-road` | #F3B78C | Main roads, always over a white casing |
| `--ap-boundary` | #9D8CC2 | Dashed boundaries, the pull quote rule |
| `--ap-ink` | #1E2830 | Headlines and body text |
| `--ap-soft` | #56616B | Leads, secondary text, mono readouts |
| `--ap-route` | #2F68D1 | The one action color: buttons, links, selected areas, focus rings, step rings |
| `--ap-slate` | #3B444C | Map controls and the footer |
| `--ap-pin` | #D6453D | The map pin, and nothing else |

Rules:
- The map palette (land, water, park, road, boundary) is for maps, legends and backgrounds. Never put it on a button, a link or a heading.
- Route blue marks what you can act on or what is selected. Use it for the primary button, links, the selected plot outline and focus rings. One primary button per panel.
- Pin red appears once per map, on the pin. No red text, borders or badges.
- Slate appears in two places only: the map control stack and the footer.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ap-text-hero` | clamp(36px, 4.6vw, 56px) | Page titles, tracking -0.01em, line-height 1.04. Inside a hero panel it steps down to 46px. |
| `--ap-text-h2` | clamp(28px, 3vw, 36px) | Section headings |
| `--ap-text-h3` | 21px | Card titles, step titles, plan names |
| `--ap-text-stat` | clamp(34px, 4vw, 46px) | Stat numbers, with a mono unit after them |
| `--ap-text-lead` | 19px | The sentence under a headline |
| `--ap-text-body` | 16px | Body (18px in articles) |
| `--ap-text-label` | 13px | Eyebrows: semi-condensed caps, tracking 0.08em |
| `--ap-text-mono` | 12px | Coordinates and readouts |

Headlines are plain, practical sentences ("Find a plot to grow on, a short walk from home."). Numbers carry their unit in mono: `0.8 km`, `11 wks`, `£12 / month`.

## Shape and space

- Radius is small: 5px on panels, cards, buttons and inputs, 3px on badges and tags. Pills only for the map pin's teardrop and avatars.
- Every panel and card has a 1px `--ap-line` border. Panels that float on a map add `--ap-shadow-float`; cards on a page have no shadow.
- Map controls are 36px squares in slate, grouped with no gap and a 1px divider, with `--ap-shadow-control`.
- Sections: 56px to 96px vertical padding. Container 1160px, reading column 700px. Panel padding 20px.
- Icons are simple 18px line or solid glyphs in `currentColor`.

## Components (in components.css)

- `.ap-nav`, `.ap-logo` (folded map sheet with a pin), `.ap-nav__links`, `.ap-join` (joined Log in | Sign up buttons).
- `.ap-btn` with `--primary` (route blue), `--ghost` (white with a hairline), `--soft`, `--sm`, `--block`.
- `.ap-map` with `.ap-map__art`: a full-bleed inline SVG map. Shapes take `ap-m-land`, `ap-m-block`, `ap-m-water`, `ap-m-river`, `ap-m-park`, `ap-m-plot`, `ap-m-contour`, `ap-m-casing` + `ap-m-road` (draw the casing first, wider), `ap-m-edge` + `ap-m-street`, `ap-m-boundary`, `ap-m-select` and `ap-m-label` (`--water` for spaced water names). Copy the SVG from `demo.html` and redraw shapes for your own place.
- `.ap-controls` (slate control stack), `.ap-scale` (two-line scale bar), `.ap-attrib` (attribution strip), `.ap-pin`, `.ap-here` (you are here dot), `.ap-tag` (small label next to a pin).
- `.ap-panel` with `.ap-panel__head`, `.ap-panel__body`, `.ap-panel__close`. `.ap-search` joins an input to a square blue button.
- `.ap-hero`: a map at least 640px tall with panels docked top left. On phones the panels stack and the map shows below them.
- `.ap-legend` with `.ap-key--park|plot|water|road|boundary|select`.
- `.ap-results` (rows with a mono distance), `.ap-badge` (`--ok`, `--route`).
- `.ap-cards` and `.ap-card` with an optional `.ap-card__map` tile (an `.ap-map` scaled in with a transform).
- `.ap-steps` (numbered waypoints in blue rings), `.ap-stats` (a bordered row of numbers), `.ap-split` and `.ap-frame` (text beside a framed map).
- Forms: `.ap-form`, `.ap-row`, `.ap-field`, `.ap-label`, `.ap-input`, `.ap-select`, `.ap-help`, `.ap-check`, `.ap-divider`.
- Pricing: `.ap-plans`, `.ap-plan`, `.ap-plan--picked` (blue outline like a selected area, with a "Most picked" tag), `.ap-price`, `.ap-list` (green ticks), `.ap-table`, `.ap-faq`.
- Article: `.ap-article`, `.ap-byline`, `.ap-avatar`, `.ap-figure` (a framed map extract with a caption and coordinates), `.ap-quote` (dashed violet rule), `.ap-note`.
- `.ap-footer`: slate, four columns, coordinates in mono at the base.

## Pages in this kit

| File | Page |
|---|---|
| `demo.html` | Landing: map hero with a welcome panel and a search panel, stats row, site cards with map tiles, steps, a council split with legend, closing call to action |
| `pricing.html` | Pricing: a map band with a title panel, three plans overlapping it, comparison table, questions |
| `blog.html` | Blog post: a case study with a framed map figure, pull quote, tip note and more posts |
| `signup.html` | Sign up: a form panel docked on a full-screen map |

## Page recipe

1. `.ap-nav` on white with a hairline below.
2. A map hero: `.ap-map.ap-hero` holding the SVG, one or two `.ap-panel`s top left, a pin and a tag on the thing that matters, and `.ap-controls`, `.ap-scale` and `.ap-attrib`.
3. A white band with `.ap-stats`.
4. A land band with `.ap-cards`, each with a map tile.
5. A white band with `.ap-steps`.
6. A mist band with `.ap-split`: text and a legend beside a framed map.
7. A short white call to action, then `.ap-footer`.

Pricing recipe: a shorter map band with a title panel and big bottom padding, then `.ap-plans` pulled up over it with a negative margin, then `.ap-table` and `.ap-faq` on land.

Article recipe: white page, 700px column, eyebrow, hero title, lead, byline with mono date. Break the text with one `.ap-figure` map, one `.ap-quote` and one `.ap-note`. End with tag badges and three plain cards.

Sign-up recipe: the map fills the screen, the form sits in one `.ap-panel` with a mist head bar and a close button, docked top left. One primary button, a divider, one ghost button.

## Don'ts

- Don't use a photo as the hero. The drawn map is the picture.
- Don't round corners past 8px, and don't use pill buttons.
- Don't color headings, buttons or links with the map palette. Orange is a road, green is a park.
- Don't draw a main road without its white casing, or a boundary as a solid line.
- Don't use more than one pin per map, or red anywhere else.
- Don't center a hero panel over the map: panels dock to the top left like a sidebar.
- Don't drop the units: numbers get their unit in mono.
