# Pine Blur

The view from a fast train at dusk. The page is a near black with a green cast, and the hero is full bleed motion blur: long diagonal smears of pine, fern and pale moss, as if a forest went past the window at speed. Over it sits a crisp white header bar under a thin blurred announcement strip, and big, tightly tracked sentence-case headlines in white. Actions are compact 8px rectangles: one white button, and a joined "segment" of dark glass chips. Times, durations and labels are set in a mono face, like a departure board, which keeps the soft picture feeling exact.

Use it for: travel and transport, booking services, outdoor and adventure brands, hospitality, voice or media products that sell speed with calm, anything with schedules, routes or timetables. Avoid it for: playful kids' products, dense editorial sites, light and airy wellness brands, or pages that need many photos.

## 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 Pine Blur 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. Put an empty `.pb-streaks` behind the hero, keep the white `.pb-bar` header, and set every time, duration and label in the mono face.

`demo.html` (a landing page), `pricing.html`, `blog.html` and `signup.html` are complete example pages built only with the kit, for an invented sleeper train company called Nightfern.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@500;600;700&family=Instrument+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Schibsted Grotesk 600 (700 for the wordmark) | Display, h1, h2, h3, prices, stats, quotes. Sentence case, tracking -0.045em, line height 0.98 on big sizes. |
| Body and UI | Instrument Sans 400 to 600 | Body at 400, nav at 500, buttons at 600. |
| Data and labels | IBM Plex Mono 400 to 500 | Times, durations, prices in card footers, badges, eyebrows, table heads, captions. Labels are 12px uppercase with 0.04em tracking. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--pb-ink` | #080B09 | The page |
| `--pb-coal` | #101512 | Cards, plans, timetables |
| `--pb-slate` | #18201B | Table and timetable head rows |
| `--pb-line` | #26302A | Every hairline on dark |
| `--pb-white` | #F4F7F2 | Headlines, text, the white button |
| `--pb-fog` | #AEB8B0 | Body copy in cards, leads below the hero |
| `--pb-dim` | #737F77 | Captions, meta, footer |
| `--pb-paper` | #FFFFFF | The header bar and the sign-up panel |
| `--pb-fern` | #7CD98E | Eyebrows, list dashes, "yes" cells, live badges |
| `--pb-moss` | #C9E7A1 | Streak highlights, white button hover |
| `--pb-pine` | #1F5A37 | Streak bodies, focus rings and hovers on white |
| `--pb-lamp` | #F2C76B | One warm signal: a "breakfast" or "few left" badge |

Also the motion blur layers (`--pb-streak-hi`, `--pb-streak-mid`, `--pb-streak-base`, `--pb-streak-shade`, `--pb-blur`, `--pb-blur-small`), glass (`--pb-glass`, `--pb-glass-line`) and soft badge fills (`--pb-fern-soft`, `--pb-lamp-soft`).

Rules:
- The green lives in the blur. Sections below the hero are ink and coal with fern only as small signals.
- White is the main action on dark; black is the main action on white (header and panel). Secondary actions are dark glass, the segment group, or ghost outlines. No green buttons.
- Lamp yellow appears at most once or twice per page, always as a small badge.
- Text over the blur is white. The left side of every streak field is shaded darker so copy stays readable.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--pb-text-display` | clamp(42px, 7vw, 96px) | Landing and sign-up hero, up to three lines |
| `--pb-text-h1` | clamp(36px, 5.4vw, 68px) | Page titles, CTA titles |
| `--pb-text-h2` | clamp(28px, 3.6vw, 44px) | Section headings |
| `--pb-text-h3` | 20px | Card and plan names |
| `--pb-text-lead` | 19px | Leads, max 560px |
| `--pb-text-body` | 16px | Body (articles use 18px) |
| `--pb-text-micro` | 12px | Mono labels |

Headlines are plain, confident sentences with a full stop when they are a claim ("Fall asleep in the city. Wake up in the pines."). Keep them under 12 words.

## Shape and space

- Radius: 6px for badges, chips and toggle buttons; 8px for buttons, the segment group, inputs and the picker; 12px for cards, plans, timetables and tables; 18px for the CTA band and the sign-up panel. Nothing is round except the avatar.
- Borders: 1px `--pb-line` on dark; glass uses `--pb-glass-line` with a small backdrop blur. White surfaces use `--pb-paper-line`.
- Shadows: only the sign-up panel (`--pb-shadow`). Everything else is flat.
- Blur is the texture: streaks are always diagonal (about 160 degrees), always blurred and drift slowly sideways. Never draw crisp shapes inside a streak field.
- Sections: 72 to 112px vertical padding, separated by a full-width `.pb-rule` where the mood changes. Container 1200px with 24px gutters; articles 680px.

## Components (in components.css)

- `.pb-streaks` (put it empty as the first child of any positioned block): the drifting motion blur. `.pb-streaks-calm` dims it for article heads and figures.
- `.pb-top` > `.pb-strip` (blurred announcement line) + `.pb-bar` > `.pb-bar-inner` with `.pb-brand`, `.pb-nav-links` (hidden under 920px), `.pb-nav-actions` and `.pb-nav-login`.
- `.pb-hero` (640px tall), `.pb-hero-short`, `.pb-hero-copy`.
- `.pb-picker`: a joined select and dark submit, with `.pb-picker-note` under it.
- Type: `.pb-display`, `.pb-h1`, `.pb-h2`, `.pb-h3`, `.pb-lead`, `.pb-label`, `.pb-muted`, `.pb-dim`, `.pb-mono`, `.pb-section-head`.
- Buttons: `.pb-btn` with `.pb-btn-white`, `.pb-btn-black`, `.pb-btn-soft`, `.pb-btn-dark`, `.pb-btn-ghost`, `.pb-btn-sm`, `.pb-btn-block`; `.pb-actions` to lay them out. `.pb-seg` with `.pb-seg-icon` children is the joined chip group.
- Badges: `.pb-badge`, `.pb-badge-fern`, `.pb-badge-lamp`, `.pb-badge-glass`.
- Cards: `.pb-grid` (`-2`, `-4`), `.pb-card`, `.pb-card-thumb` (a small streak field; `.pb-thumb-dusk` and `.pb-thumb-night` shift its hue), `.pb-card-meta`, `.pb-step-num`.
- Timetable: `.pb-timetable`, `.pb-tt-row`, `.pb-tt-head`, `.pb-tt-time`, `.pb-tt-stop` (with `small` for a second line).
- `.pb-split`, `.pb-list` (fern dashes), `.pb-stats`, `.pb-stat`, `.pb-stat-num`, `.pb-stat-label`, `.pb-quote`.
- Pricing: `.pb-toggle`, `.pb-plans`, `.pb-plan`, `.pb-plan-featured` (green streak rule on top), `.pb-price`, `.pb-table-wrap`, `.pb-table`, `.pb-yes`, `.pb-no`, `.pb-faq`.
- Forms: `.pb-panel` (white), `.pb-form`, `.pb-field`, `.pb-input`, `.pb-hint`, `.pb-check`, `.pb-divider`, `.pb-chips`, `.pb-chip`.
- Article: `.pb-article`, `.pb-figure`, `.pb-figure-art`, `.pb-meta`, `.pb-avatar`.
- `.pb-cta` (a rounded band with its own `.pb-streaks`), `.pb-footer`, `.pb-footer-grid`, `.pb-footer-base`.

## Pages in this kit

- `demo.html`: landing page. Strip and white bar, streak hero with badges, display headline, lead, route picker and a floating timetable; route cards with streak thumbs; three steps; a split with a segment group and a carriage timetable; stats; a quote; a CTA band; the footer.
- `pricing.html`: short streak hero with a season toggle (it swaps prices), three plans pulled up over the hero edge, a comparison table and a two-column FAQ.
- `blog.html`: calm streak head with a badge, title and author meta; a 680px article with a streak figure, a list and a pull quote; related cards.
- `signup.html`: the streak field fills the page; copy on the left, a white panel on the right with a passkey button, a divider, fields, chips and the black submit.

## Page recipe

1. `.pb-top` with the strip and the white bar.
2. `.pb-hero` > `.pb-streaks` + container: badges, one display headline, a lead, then the picker or one white button plus a segment group. Optional floating timetable on the right (hidden under 1100px).
3. Dark sections: a mono label, an h2, then cards with streak thumbs and mono meta rows.
4. One split with a timetable or list, one stats row, one quote.
5. Close with a `.pb-cta` band and the footer.

Pricing recipe: short hero with h1, lead and `.pb-toggle`; plans pulled up 56px over the hero edge; featured plan in the middle with the white button, others ghost; table; FAQ beside its heading.

Article recipe: `.pb-hero-short` with `.pb-streaks-calm`, a glass badge (type and read time), h1 up to three lines and `.pb-meta`; then `.pb-article` with h2s, one streak figure with a mono caption and one blockquote; related cards at the end.

Sign-up recipe: the streak field fills the viewport under the bar; copy on the left with a badge, display headline and a list; the white `.pb-panel` on the right with a soft button, divider, fields, chips and the black submit. Stack under 900px.

## Don'ts

- Don't use photographs; the forest is always drawn with blurred gradients.
- Don't make the streaks vertical, curved or crisp, and don't put them behind body text below the hero.
- Don't round buttons into pills or cards past 12px.
- Don't set headlines in all caps or in the mono face, and don't track them loosely.
- Don't use fern or lamp for big fills or buttons.
- Don't drop the white header bar for a transparent one; the hard white edge against the blur is the look.
- Don't use em dashes in copy.
