# Heat Wash

Bold, bright and a little futuristic, on white. The top of the page is a full-bleed heat map: magenta, orchid, flame and sun blobs melting into each other, fading to white at the top and the bottom. Huge, very tight white grotesk headlines sit right on it. Everything else is square and technical: black square buttons, hairline white panels, a tabbed console with mono content and soft yellow highlights on the values that matter, and dense hairline grids of cards with drawn sunset thumbnails.

Use it for: data products, forecasts, APIs and developer platforms with a consumer edge, creative tools, outdoor and travel apps, launches that want energy without looking childish. Avoid it for: calm wellness, finance that must look conservative, long reading sites, anything that should feel soft or rounded.

## 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 Heat Wash 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 Swellcast, a made-up surf forecast service, built only with the kit.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Inter Tight 700 | Hero and section headings. Very tight tracking (-0.055em on the hero), line-height under 1. |
| Body | Inter Tight 400 to 600 | Paragraphs, nav, buttons, cards, plan names. |
| Mono | IBM Plex Mono 400 to 500 | Consoles, labels, slugs ("portugal/ribeira"), metadata, table heads, form labels. |

One grotesk does all the talking. The mono is the second voice: every label, number caption and identifier uses it.

## Color

| Token | Hex | Role |
|---|---|---|
| `--hw-white` | #FFFFFF | The main background and every panel |
| `--hw-paper` | #F6F5F2 | Quiet sections, hover on cards |
| `--hw-line` | #E2DFD9 | Every hairline |
| `--hw-ink` | #121112 | Text, primary buttons, the black band |
| `--hw-soft` | #5F5B58 | Leads and secondary text |
| `--hw-magenta` | #E03EC6 | Wash, label squares, pull quote rule, numbered features |
| `--hw-flame` | #FF5B34 | Wash and sunset thumbnails |
| `--hw-sun` | #FFD447 | Wash and sunset thumbnails |
| `--hw-highlight` | #FFF4C4 | Soft yellow behind important values and code strings |
| `--hw-violet` | #8C4BFF | Function names in consoles, top of the sky |

Rules:
- The heat wash (`--hw-wash`) appears once per page, at the top, behind the hero. The quieter `--hw-wash-soft` can glow from the bottom of one later section.
- Outside the wash, the page is white, paper and ink. Heat colors only show up as tiny squares, the hot plan's top stripe, and drawn thumbnails.
- Text on the wash is white. Buttons on the wash are black. Never put colored text on the wash.
- Highlight values with `.hw-mark` or the `.s` string style, not with bold color.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--hw-text-hero` | clamp(52px, 8.4vw, 116px) | Hero headline, left aligned, 2 lines, tracking -0.055em, line-height 0.95 |
| `--hw-text-h2` | clamp(36px, 4.8vw, 64px) | Section headings, tracking -0.04em, line-height 1 |
| `--hw-text-h3` | 24px | Sub-headings |
| `--hw-text-lead` | clamp(18px, 1.7vw, 23px) | The sentence under a headline, max 600px |
| `--hw-text-body` | 16px | Body |
| `--hw-text-micro` | 12px | Mono labels, uppercase, +0.04em |

Headlines are short, declarative and end with a period on the hero ("Read the ocean before you paddle."). Section heads often break into two lines on purpose.

## Shape and space

- Radius: 0 everywhere. Only status dots are round.
- Borders: 1px `--hw-line` hairlines; 1px `--hw-ink` for the top rule of stats, features and table heads.
- Shadows: one, `--hw-lift`, a faint magenta-tinted drop under the panel that sits on the wash. No other shadows.
- Grids are drawn with shared hairlines: cells touch, no gaps.
- Sections: 72px to 120px vertical padding. Container 1250px with a fluid gutter; articles 720px.
- Motion: quick color changes on hover (0.15s). Nothing lifts, bounces or scales.

## Components (in components.css)

- `.hw` on `<body>`: base font, color, `overflow-x: clip`.
- `.hw-announce` + `.hw-announce__tag`: thin white strip above the nav.
- `.hw-nav`, `.hw-logo` (+ `__mark`, a square heat gradient), `.hw-search` (square with `kbd`), `.hw-nav__links`.
- `.hw-btn` with `--primary` (black), `--secondary` (white with hairline), `--ghost` (on ink), `--sm`, `--block`. Wrap groups in `.hw-actions`.
- `.hw-wash`: the heat map section. Put `.hw-nav` and `.hw-hero` inside.
- `.hw-hero`, `.hw-hero-title`, `.hw-h2`, `.hw-h3`, `.hw-lead`, `.hw-label` (mono uppercase with a magenta square), `.hw-mark`.
- `.hw-console`: tabs (`.hw-tabs` with `aria-selected`), `.hw-code` (with `.k` keys, `.f` functions, `.s` highlighted strings, `.c` comments) and `.hw-console__out`.
- `.hw-sky` (+ `__sun`, `__sea`, `__meta`): a drawn sunset over striped swell. Variants `--dusk`, `--hot`, `--cold`, `--haze`, `--deep`.
- `.hw-grid` of `.hw-card` (`__thumb`, `__name` with a faint `span` prefix, `p`, `__meta`).
- `.hw-badge` (`--hot` black, `--mark` yellow), `.hw-dot`.
- `.hw-stats` / `.hw-stat`, `.hw-features` / `.hw-feature` (with `__n`).
- Pricing: `.hw-toggle`, `.hw-plans`, `.hw-plan` (`--hot` gets a heat stripe), `__name`, `__price`, `__note`, `.hw-table-wrap` + `.hw-table`, `.hw-faq`.
- Article: `.hw-article-head`, `.hw-meta`, `.hw-avatar`, `.hw-prose`, `.hw-pull`, `.hw-figure`.
- Forms: `.hw-form`, `.hw-field`, `.hw-input`, `.hw-select`, `.hw-hint`, `.hw-check`, `.hw-or`, `.hw-panel`.
- `.hw-footer` (`__grid`, `__about`, `__base`).
- Sections: `.hw-section` with `--paper`, `--ink`, `--glow`.

## Pages in this kit

- `demo.html`: landing page. Wash hero with console, card grid, numbered features, alerts split on a soft glow, black CTA band, footer.
- `pricing.html`: wash hero with billing toggle, three plans in a hairline grid, comparison table, FAQ.
- `blog.html`: white header, article with drawn cover, pull quote, chart figure, related cards.
- `signup.html`: full-height wash, white copy on the left, square form panel on the right.

## Page recipe

1. Optional `.hw-announce` strip.
2. `.hw-wash` containing `.hw-nav` and `.hw-hero`: a 2 line `.hw-hero-title`, `.hw-lead`, one black button, then the product shown as a `.hw-console` (or a `.hw-panel`) overlapping the bottom of the wash.
3. A white section with `.hw-label`, a two-line `.hw-h2` and a `.hw-grid` of cards.
4. A `.hw-section--paper` with `.hw-features`.
5. One `.hw-section--glow` split section with stats.
6. A `.hw-section--ink` CTA band, then `.hw-footer`.

Pricing recipe: wash hero with a short headline and `.hw-toggle`, then `.hw-plans` straight under it, the middle plan `--hot`. Follow with `.hw-table` and `.hw-faq` on paper.

Article recipe: plain white nav, `.hw-rule`, `.hw-article-head` with badges, `.hw-h2` title, lead and `.hw-meta`. A wide `.hw-sky` cover, then `.hw-prose` in `.hw-narrow`. One `.hw-pull`, inline `code` for numbers.

Sign-up recipe: a full-height `.hw-wash`, white headline and checklist on the left, `.hw-panel` form on the right. Google button first, then `.hw-or`, then fields with mono labels, one black submit.

## Don'ts

- Don't round anything. No pills, no rounded cards, no rounded inputs.
- Don't use the wash more than once per page, and don't put it behind body text.
- Don't color headlines. White on the wash, ink elsewhere.
- Don't add soft card shadows or gaps between grid cells.
- Don't add a second font family besides the mono.
- Don't use photos; draw thumbnails with `.hw-sky` or inline SVG.
