# Dive Window

A mission broadcast from the deep. Pages are near-black water, opened by one full-bleed drawn scene where a pale arc of light curves out of the dark and a few lit shapes glow teal. Headlines are wide-tracked condensed capitals, every number is a mono readout, and a live countdown pill sits in the nav. Buttons and panels have cut corners and hairline edges instead of shadows. One bioluminescent teal is the only real colour. It feels cinematic, precise and a little thrilling, like watching a launch feed.

Use it for: expeditions, experiences and adventure travel, launches and live events, science and research projects, ticketed one-off moments, hardware with a mission. Avoid it for: cosy or playful brands, kids, food and retail, dense back-office tools, anything that should feel warm or casual.

## 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 Dive Window 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 deep ocean expedition company called Hadal.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Display | Saira Semi Condensed 500 to 600 | Every headline, nav link, button and the wordmark. Always uppercase, always tracked open (0.04em for headlines, 0.16em for nav and buttons, 0.32em for the wordmark) |
| Body | Barlow 400 to 500 | Leads, paragraphs, form inputs. Sentence case |
| Readouts | JetBrains Mono 400 to 500 | Numbers, labels, eyebrows, dates, badges, table heads, the countdown. Uppercase at 11px with 0.12em tracking, or plain for figures |

## Color

| Token | Hex | Role |
|---|---|---|
| `--dw-abyss` | #04070B | The page |
| `--dw-trench` | #09111A | Alternate sections, panels, the form column |
| `--dw-hull` | #101B27 | Raised panels |
| `--dw-line` | #1E2C3A | Every hairline and rule |
| `--dw-line-bright` | #3A4D60 | Button and input edges, the depth rail |
| `--dw-foam` | #E8F0F4 | Headlines and main text |
| `--dw-read` | #C6D3DC | Long-form article text |
| `--dw-mist` | #8C9DAB | Leads, labels, captions |
| `--dw-glow` | #5CE0CC | The one accent: lit things, the current depth, the main button |
| `--dw-signal` | #FF7A4D | Only the live dot and warnings |

Scene gradients (`--dw-scene-descent`, `--trench`, `--surface`) and `--dw-sunlit` and `--dw-twilight` are only for `.dw-scene` backgrounds.

Rules:
- The page is black water. Blue only appears inside scenes, as light coming from above.
- Teal means "alive" or "do this". One teal button per screen; teal text for the active nav item, eyebrows and a highlighted figure.
- Orange is a signal, not a brand colour. Never use it for buttons or headings.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--dw-text-hero` | clamp(44px, 7vw, 104px) | The landing hero, up to five words |
| `--dw-text-h1` | clamp(38px, 5vw, 72px) | Page titles and the closing CTA |
| `--dw-text-h2` | clamp(30px, 3.6vw, 48px) | Section headings |
| `--dw-text-h3` | 20px | Panel and plan names, weight 600, tracked 0.08em |
| `--dw-text-lead` | 19px | Mist lead, max 560px |
| `--dw-text-body` | 16px | Body |
| `--dw-text-micro` | 11px | Mono labels |

Headlines are short, imperative and physical ("Go below the light", "Pick your depth"). A mono date line or eyebrow sits above every headline.

## Shape and space

- Corners: cut, not rounded. `--dw-chamfer` (10px) on panels and scene tiles, `--dw-chamfer-sm` (6px) on buttons. Radius is 0 everywhere else.
- Edges: hairlines. Panels and buttons draw their edge as a 1px outer layer with the fill on `::before`, so the cut corner keeps a line.
- Shadows: none. The only glow is the current-depth dot on the rail and the input focus ring.
- Sections: 72px to 136px vertical padding. Container 1280px, text 700px, 24px gutters.
- Telemetry strips run edge to edge with hairline dividers between cells.
- Scenes: inline SVG with flat dark silhouettes (`#0B1520` fill, `--dw-line-bright` stroke), one or two teal lights, a soft teal beam polygon, plus `.dw-arc` for the curve of light and the built-in marine snow dots.
- Motion: slow and quiet. A rise on load (`.dw-rise`), a pulsing live dot, a countdown that ticks every second, arrows that nudge 3px.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.dw` | Put on `<body>`: abyss page, Barlow, foam text |
| `.dw-nav`, `--over`, `__links`, `.dw-wordmark`, `.dw-countdown`, `.dw-live` | Wordmark, caps links, and a live countdown pill on the right. `--over` floats it over the first scene |
| `.dw-hero-title`, `.dw-h1`, `.dw-h2`, `.dw-h3`, `.dw-lead`, `.dw-eyebrow`, `.dw-micro`, `.dw-num`, `.dw-glow` | Type |
| `.dw-btn`, `--glow`, `--plain`, `--block`, `.dw-link` | Chamfered hairline buttons with a small play arrow, and a teal caps link |
| `.dw-scene`, `--trench`, `--surface`, `__art`, `__scrim`, `__content` | A drawn deep-water picture with marine snow. The signature surface |
| `.dw-arc` | The pale curve of light. Size and place it per page so only part of it shows |
| `.dw-hero`, `.dw-hero__date` | Tall scene with the title low on the left |
| `.dw-rail`, `__mark`, `--here` | Vertical depth gauge with ocean zones and a glowing "you are here" dot |
| `.dw-telemetry`, `__cell`, `__label`, `__value` | A strip of mono readouts. Set `--dw-cells` for the column count |
| `.dw-panel`, `--hull`, `--lit`, `__index` | Chamfered card. `--lit` gives it a teal edge for the featured item |
| `.dw-grid` | Panel grid, `--dw-cols` sets columns |
| `.dw-split`, `__tile` | Text beside a scene tile |
| `.dw-specs` | Label and value rows in mono |
| `.dw-quote` | A short quote in display type inside a panel |
| `.dw-badge`, `--glow` | Small hairline mono tag |
| `.dw-toggle`, `.dw-plans`, `.dw-plan`, `__depth`, `__price` | Pricing toggle and plan columns with diamond bullets |
| `.dw-table`, `.dw-table-wrap` | Comparison table with mono figures |
| `.dw-faq` | Details and summary list with a teal plus |
| `.dw-article__meta`, `.dw-prose`, `.dw-log`, `.dw-figure` | Article layout, a mono timestamped log block and a drawn figure |
| `.dw-form`, `.dw-field`, `.dw-label`, `.dw-input`, `.dw-select`, `.dw-help`, `.dw-check`, `.dw-choice` | Form parts. `.dw-choice` is a row of segmented radio tiles |
| `.dw-footer`, `__grid`, `__base` | Footer |

## Pages in this kit

- `demo.html`: landing page. Hero scene with a drawn submersible, depth rail and countdown, a telemetry strip, four zone panels, a vessel split with specs, crew quotes and a closing scene CTA.
- `pricing.html`: short trench scene header, a season telemetry strip, three plans with a guest or science toggle, a comparison table and an FAQ.
- `blog.html`: a dive log with a scene header, prose, a drawn figure, a timestamped log block, a quote and a panel CTA.
- `signup.html`: a split screen with the scene and steps on the left and the form column on the right.

## Page recipe

1. `.dw-hero.dw-scene` with `.dw-arc`, an SVG scene, `.dw-scene__scrim`, `.dw-nav--over` and the title block inside `.dw-scene__content`. Add `.dw-rail` if depth, altitude or progress means something for the product.
2. A `.dw-telemetry` strip of three or four real figures right under the hero.
3. Alternate `.dw-section` and `.dw-section--trench`. Each opens with `.dw-eyebrow`, `.dw-h2` and `.dw-lead`, then panels, a split or specs.
4. Close on a centred `.dw-scene` CTA with one teal button, then `.dw-footer`.

Pricing recipe: a short `.dw-scene--trench` header, a telemetry strip, `.dw-toggle`, `.dw-plans` with the middle plan as `.dw-panel--lit` and the only `--glow` button, then `.dw-table` and `.dw-faq`.

Article recipe: a scene header with the eyebrow, `.dw-h1`, lead and `.dw-article__meta`, then `.dw-narrow.dw-prose`. Use `.dw-log` for anything timestamped and a `.dw-figure` scene in place of photos.

Sign-up recipe: a two-column grid, the scene on the left with the steps as `.dw-specs`, and the `.dw-trench` form column on the right with one `--glow --block` button.

## Don'ts

- Don't round corners or add drop shadows. Cut corners and hairlines only.
- Don't set headlines in sentence case or tight tracking. They are open, condensed capitals.
- Don't add a second accent colour or use orange for anything but the live dot.
- Don't put photos in scenes. Draw them with SVG silhouettes, the arc and a teal light.
- Don't let the arc cross a headline. Move it so only an edge of it shows behind the text.
- Don't use em dashes in copy.
