# Axis Specimen

Precise, crafted and fresh, like a well-made tool for makers. Pages are clean white with deep forest ink. Headlines use Young Serif, a sturdy, heavy serif. Body copy is Alegreya Sans, a humanist sans, and the readouts are IBM Plex Mono. The signature move sits in the hero: one giant drawn specimen with a small outlined name tag above it, and a row of three axis sliders below it that really reshape the drawing. Feature stories live in thin-bordered canvas windows holding drawn curves with node handles and floating mono readouts. A colored story card (cyan, plum with gold text, or lime) breaks out over the frame edge. Acid lime marks the one main action: a square, flat block in the nav and on buttons.

Use it for: tools for makers and specialists (recipe, pattern, sound, garden or print planners), creative and craft software, workshop and studio products, anything where people tune a few numbers to get a result they can see. Avoid it for: luxury, nightlife, kids' products, dark or moody brands, or pages with no product to draw.

## 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 Axis Specimen 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 an invented product called Crumbwork (a recipe studio for small bakeries).

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Young Serif 400 | Hero, page titles, section headings, prices, big quotes. Tight leading (1.02 to 1.1), slight negative tracking. |
| Body | Alegreya Sans 400, 500, 700, italic 400 | Paragraphs, nav, buttons, story card titles (700), forms, credits. Italic only for the small note under a story card. |
| Mono | IBM Plex Mono 400 to 500 | Slider values, inspector readouts, table numbers, dates, version numbers. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ax-paper` | #FFFFFF | The main background |
| `--ax-mist` | #F1F6EF | Quiet sections, the featured plan, callouts |
| `--ax-blush` | #F8F1F2 | Inside of a plum canvas |
| `--ax-cream` | #FBF7EA | Inside of a gold canvas |
| `--ax-line` | #D6DED3 | Borders, slider tracks |
| `--ax-ink` | #1D3320 | Headlines, the specimen, logo, the dark section |
| `--ax-text` | #22291F | Body text |
| `--ax-muted` | #5F6C5C | Secondary text, slider labels |
| `--ax-lime` | #A8F00C | The one main action: nav block, primary button, quote band, blockquote |
| `--ax-green` | #24A64F | Slider fill, node dots, tag borders, bullets, mono values |
| `--ax-green-soft` | #E3F4E7 | Tag fill, chart fill, focus glow |
| `--ax-cyan` | #2BCBDC | Story card fill; `--ax-cyan-line` #8FDDE6 is the canvas and plan border |
| `--ax-plum` | #46283A | Second story card and the "What is new" heading |
| `--ax-gold` | #F3B51E | Text on plum, the gold canvas border |
| `--ax-alert` | #C33A2B | Form errors only |

Rules:
- White first. Use mist for one section per page and the dark ink section at most once.
- Lime always carries ink text. Never white on lime.
- Plum cards always carry gold text. Cyan and lime cards carry ink text.
- No gradients except the filled part of a slider track.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ax-text-hero` | clamp(46px, 7.4vw, 104px) | Landing hero, two short lines with full stops |
| `--ax-text-h1` | clamp(40px, 5.4vw, 72px) | Page titles on pricing, articles and sign up |
| `--ax-text-h2` | clamp(34px, 4.4vw, 60px) | Section headings |
| `--ax-text-h3` | clamp(26px, 2.6vw, 36px) | Story card titles (sans 700), plan names (serif) |
| `--ax-text-lead` | clamp(21px, 2vw, 27px) | Lead sentence, ink colored, max 680px |
| `--ax-text-body` | 19px | Body |
| `--ax-text-small` | 16px | Nav, credits, card text |
| `--ax-text-mono` | 14px | Readouts |

Headlines are short declaratives in two beats ("Bake by numbers. Taste the difference."). The "What is new" style heading is the only plum headline per page.

## Shape and space

- Radius: 0 on the lime nav block and primary buttons; 4px on canvas windows and the quote band; 8px on tags, story cards, outline buttons and inputs; round slider thumbs and node dots.
- Borders: 1.5px `--ax-cyan-line`, `--ax-plum-line` or `--ax-gold` around canvases; 1.5px ink on outline buttons, the language chip and the top of cards and FAQ rows.
- Shadows: only `--ax-shadow-chip` on floating inspector readouts. Nothing else floats.
- Story cards break out of their canvas by 32px on the open side.
- Sections: 96px vertical padding. Container 1240px, article text 760px.
- Motion: the hero headline rises once; the specimen eases when a slider moves. Both respect reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ax`, `.ax-container`, `.ax-narrow`, `.ax-center` | Body class and layout wrappers |
| `.ax-nav`, `__links`, `__actions`, `__cta`, `.ax-logo`, `__mark`, `.ax-chip-lang` | Logo left, small text links, a full-height lime block and a rounded language chip |
| `.ax-display`, `.ax-h1`, `.ax-h2`, `--plum`, `.ax-h3`, `.ax-h4` | Serif headlines; `.ax-h4` is sans 700 |
| `.ax-lead`, `.ax-eyebrow`, `.ax-credit`, `.ax-mono`, `.ax-muted` | Text helpers |
| `.ax-btn--primary/ink/outline`, `--sm/--block`, `.ax-arrow-link`, `.ax-actions` | Square lime and ink buttons, a rounded outline button, an arrow text link |
| `.ax-hero`, `.ax-specimen`, `.ax-tag`, `.ax-specimen__art`, `.ax-fill`, `.ax-cut` | The centered drawn specimen with its outlined name tag |
| `.ax-axes`, `.ax-axis`, `__name` | Three sliders with min, name, live value and max; set `--ax-pct` from JS |
| `.ax-intro` | Lead on the left, a small credit line on the right |
| `.ax-band`, `__tile`, `__body`, `__quote`, `__nav` | Lime quote band with an ink tile that hangs below its top edge |
| `.ax-canvas`, `--plum/--gold`, `__stage`, `__bar` | Thin-bordered canvas window with a toolbar of pills at the bottom |
| `.ax-story`, `--cyan/--plum/--lime`, `__title`, `__note` | The colored card that breaks out of a canvas |
| `.ax-inspector`, `__head` | Floating mono readout; the lime head names the object |
| `.ax-path`, `--thin`, `--handle`, `.ax-node`, `--on`, `--sq`, `.ax-area`, `--plum` | SVG classes for curves, handles, node dots and fills |
| `.ax-section`, `--tight/--mist/--ink`, `.ax-grid-2`, `.ax-grid-3` | Sections and grids |
| `.ax-card`, `__num` | Feature card with an ink rule on top and a green mono number |
| `.ax-badge`, `--lime/--plum` | Small tags |
| `.ax-stats`, `.ax-stat__num`, `__label` | Big serif numbers |
| `.ax-segment`, `.ax-plans`, `.ax-plan`, `--featured`, `__name/__price/__desc/__list` | Billing toggle and plans in one cyan-bordered frame |
| `.ax-table-wrap`, `.ax-table`, `.ax-num` | Comparison table with mono numbers |
| `.ax-faq` | `<details>` rows with a green mono plus |
| `.ax-meta`, `.ax-prose`, `.ax-callout`, `.ax-author`, `.ax-avatar`, `.ax-post`, `__thumb`, `__title` | Article parts |
| `.ax-form`, `.ax-field`, `--error`, `.ax-label`, `.ax-input`, `.ax-select`, `.ax-input-wrap`, `.ax-input-toggle`, `.ax-help`, `.ax-error`, `.ax-check`, `.ax-divider-text` | Forms |
| `.ax-split`, `__form`, `__art` | Two-column sign-up layout |
| `.ax-footer`, `__cols`, `__bottom` | Footer with an ink rule on top |
| `.ax-rise` | Entrance animation |

## Pages in this kit

- `demo.html`: landing page (nav, two-line hero, drawn loaf specimen with tag, three live sliders, intro and credit, lime quote band, plum "What is new" heading, a cyan canvas and a plum canvas with break-out cards, three numbered cards, an ink call to action, footer).
- `pricing.html`: title with tag, lead and billing toggle, three plans in one frame, a mist comparison table, an FAQ and a lime call to action.
- `blog.html`: article with meta, title, lead and author, a gold canvas cover with drawn curves, prose with a bar chart, a lime blockquote, a callout and related posts.
- `signup.html`: split page, the form on white and a mist canvas with a drawn loaf, an inspector chip and a quote.

## Page recipe

1. Nav on white with the lime block on the far right.
2. Hero: a two-line serif headline, left aligned.
3. The specimen, centered: an outlined `.ax-tag` naming the object in dot notation (`loaf.country-sour`), then a big single-color drawing of the product's object.
4. `.ax-axes`: three sliders for the product's real controls, wired to reshape the drawing.
5. `.ax-intro`: one lead sentence and a small credit for the drawing.
6. A lime `.ax-band` quote with an ink tile.
7. A plum h2, then one or two `.ax-canvas` windows, alternating the story card side.
8. Three `.ax-card`s, an ink section call to action, the footer.

## Pricing page recipe

1. Two columns: `.ax-h1` left; tag, lead and `.ax-segment` right. Keep prices in `data-monthly` and `data-yearly`.
2. `.ax-plans`: three plans in one frame; the middle one is mist with a lime badge and the only lime button.
3. A one-line small print, a mist section with the table, a two-column FAQ, then a lime story card as the call to action.

## Article page recipe

1. In the narrow container: meta row with a badge and a mono date, `.ax-h1`, lead and author.
2. A wide `.ax-canvas--gold` cover with drawn curves, node dots and an inspector chip. No photos.
3. `.ax-prose`: short paragraphs, serif h2s, sans h3s, green dot bullets, one figure, one lime blockquote, one `.ax-callout`.
4. An author card, then three `.ax-post` cards whose thumbs are cyan, plum and gold canvases holding a tag or badge.

## Sign-up page recipe

1. `.ax-split`. Left: logo, a tag, `.ax-h1`, one-line lead, then the form.
2. Name, email, password with a show toggle, a select and a checkbox, a block lime button, "or" and two outline social buttons with ink letter tiles.
3. Right: `.ax-split__art`, a mist canvas inset 16px with an inspector chip, a drawing and a serif quote. Hidden below 860px.

## Don'ts

- Don't round the lime nav block or the primary button; the square slab is part of the look.
- Don't use photos. Draw the product's object in flat ink, and draw diagrams as curves with node handles.
- Don't add shadows except on inspector readouts.
- Don't use more than one lime band or blockquote and one ink section per page.
- Don't set headlines in sans or in all caps.
- Don't use em dashes in copy.
