# Night Current

A black observatory screen at two in the morning. The page is almost pure space black, and one big drawn sphere floats in it: a deep blue globe with a faint graticule, pale outlined landmasses and thin sea green current lines that stream across it, slowly, forever. Every control hugs the corners as tiny plain-text rows, and the chosen word in each row is marked by nothing more than a 1px box. Headlines are a thin cinematic serif with an italic green turn, the interface is a narrow condensed sans, and every number is mono. Nothing is rounded except the sphere. It feels calm, dreamy and quietly precise, like watching live data drift across the planet.

Use it for: anything driven by live conditions (tides, weather, wind, sky, air quality, rivers), outdoor and adventure booking, clubs that plan around nature, science and environment products, travel and expedition tools, calm data products for the public. Avoid it for: bright daytime retail, food brands, kids' products, dense admin dashboards, anything that needs warmth or lots of photography.

## 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 Night Current 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. Draw the sphere with the `.nc-sphere` markup from demo.html and pick options with `.nc-toggles` rows.

`demo.html` (a landing page), `pricing.html`, `blog.html` and `signup.html` are complete example pages built only with the kit, for an invented sea swimming club called Tidewell that books swims around slack water.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Instrument Serif 400, roman and italic | Display, h1, h2, quotes and article subheads. Tight leading (0.98). The last words of a headline turn italic and current green with `<em>`. |
| Interface and body | IBM Plex Sans Condensed 400 to 600 | Body at 400, buttons at 500 in uppercase with .04em tracking, card titles at 600. |
| Numbers and labels | IBM Plex Mono 400 to 500 | Every reading, price, time and stat, plus labels: 12px uppercase with .08em tracking in `--nc-dim`. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--nc-void` | #030409 | The page, and the surface of cards inside grids |
| `--nc-deep` | #080B16 | Sections and plans that step forward, callouts |
| `--nc-panel-solid` | #0B0F1F | Inputs; `--nc-panel` is the same at 78% with a blur for floating readouts |
| `--nc-line` | #1A2036 | Every hairline and grid gap |
| `--nc-line-bright` | #313B5E | The 1px box around a chosen option, button and input borders |
| `--nc-frost` | #DCE3EE | Main text and readings |
| `--nc-mist` | #95A0B6 | Body copy and leads |
| `--nc-dim` | #5C6680 | Labels, meta, captions |
| `--nc-sea` | #22308F | The sphere's body (`--nc-sphere` paints it) |
| `--nc-sea-hi` | #3C52D6 | The sphere's rim and link underlines |
| `--nc-current` | #8EE39A | Current lines, the one main button, italic headline words, live labels |
| `--nc-current-dim` | #3E7C55 | Slow currents, chart baselines, quiet badges |
| `--nc-surge` | #F3E27A | Peak or warning values only, and the pin on the sphere |

Also `--nc-coast` (translucent frost for coastlines and graticule), `--nc-halo` (the blue glow around the sphere) and `--nc-starfield` with `--nc-starfield-size` (a sparse repeat of one-pixel stars).

Rules:
- The page is black. Blue lives only on the sphere; green only on things that move or are live.
- One green button per screen. Every other button is a square outline or plain text.
- Yellow means "look here": one peak reading, one warning badge or the pin. Never more than one per view.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--nc-text-display` | clamp(52px, 7.6vw, 108px) | Landing hero, three short lines |
| `--nc-text-h1` | clamp(44px, 6vw, 84px) | Page titles, CTA titles |
| `--nc-text-h2` | clamp(34px, 4.2vw, 56px) | Section heads and pull quotes |
| `--nc-text-h3` | 19px | Card and plan names, sans 600 |
| `--nc-text-lead` | 19px | Mist lead, max 560px |
| `--nc-text-body` | 16px | Body (articles use 18px) |
| `--nc-text-micro` | 12px | Mono labels |

Headlines are short, calm statements about the conditions, in sentence case, ending in an italic phrase ("Swim with the tide, *not against it.*").

## Shape and space

- Radius: 0 everywhere. The only round things are the sphere, the wordmark dot, live dots and the pin.
- Borders: 1px `--nc-line`. Grids are built with a 1px gap on a `--nc-line` background, so cells share hairlines like a chart.
- Selection: a chosen option gets a 1px `--nc-line-bright` box (green box for the live layer). No fills, no pills.
- Shadows: none on cards. A soft green glow sits under the main button and the live dot only.
- The sphere: `.nc-sphere` paints the ball and halo in CSS; the SVG on top (viewBox 600, circle r 280) holds the graticule ellipses, outlined coast shapes, the `.nc-flow` current paths (dashed strokes that stream with `stroke-dashoffset`), the rim and an optional yellow pin with a ping ring. Clip the flow to the circle with a `clipPath`.
- Corners: on the hero stage, readouts are pinned to the bottom corners (`.nc-stage__corner--bl` for a toggle panel, `--br` for big mono readings). On phones they drop into the flow under the copy.
- Sections: 72 to 128px vertical padding. Container 1200px with 24px gutters; articles 680px. The nav and stage use a 28px corner inset instead of the container.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.nc` | Body: void background, frost text, condensed sans |
| `.nc-display`, `.nc-h1`, `.nc-h2`, `.nc-h3`, `.nc-lead` | Type; `em` inside headlines turns italic green |
| `.nc-label`, `.nc-label--live` | Mono uppercase label; live adds a glowing green dot |
| `.nc-num`, `.nc-reading`, `.nc-reading--surge` | Tabular mono numbers; readings are 28px with a small unit |
| `.nc-btn`, `--current`, `--text`, `--sm`, `--block` | Square uppercase buttons |
| `.nc-link` | Underlined link with a blue rule that turns green on hover |
| `.nc-toggles` with `.nc-opt` | The signature control: a `dl` of label and plain-word options; `aria-pressed="true"` or `.is-on` boxes the chosen one; `.nc-opt--live` boxes it in green |
| `.nc-panel`, `.nc-panel__head` | Translucent blurred readout panel |
| `.nc-nav`, `.nc-wordmark`, `.nc-wordmark__mark` | Corner nav with a tiny sphere for a logo and mono links |
| `.nc-stage`, `.nc-stage__copy`, `.nc-stage__corner--bl`, `--br` | Full-bleed starry hero with copy left, sphere right and pinned corner readouts |
| `.nc-sphere`, `--sm`, `.nc-sphere__grid`, `__coast`, `__rim`, `__pin`, `__pin-ring`, `.nc-flow` | The drawn globe and its streaming currents |
| `.nc-band` | A full-width strip of streaming current lines, used as a divider |
| `.nc-chart__grid`, `__base`, `__peak`, `__text` | Strokes and text for drawn SVG charts |
| `.nc-grid--2/3/4`, `.nc-card`, `.nc-card__index`, `.nc-stat`, `.nc-stat__value` | Hairline grids of cards and stats |
| `.nc-head` | Two-column section head: label, headline, lead |
| `.nc-badge`, `--current`, `--surge` | Square mono badges |
| `.nc-table`, `.nc-scroll` | Readings table with mono numbers |
| `.nc-form`, `.nc-field`, `.nc-input`, `.nc-select`, `.nc-hint`, `.nc-check` | Square form controls with a green focus glow |
| `.nc-plans`, `.nc-plan`, `--pick`, `.nc-price`, `.nc-list` | Pricing in a hairline grid; the picked plan gets a 2px green top edge |
| `.nc-faq` | Hairline accordion with mono plus and minus |
| `.nc-article`, `.nc-meta`, `.nc-callout` | Long-form reading with a green-ruled italic quote |
| `.nc-footer`, `.nc-footer__grid`, `.nc-footer__base` | Footer with mono base line |

## Pages in this kit

- `demo.html`: landing page. Starry stage with display headline, sphere, a toggle panel in the bottom-left corner and two readings bottom-right; three-card "how it works" grid; a streaming band; a readings table; a stat row; a serif pull quote; a CTA with a small sphere; footer.
- `pricing.html`: page head with a billing toggle panel that switches prices; three plans in a hairline grid; comparison table; FAQ.
- `blog.html`: narrow article head with mono meta; a drawn chart with a streaming line and one yellow peak; article body with quote and callout; three related cards.
- `signup.html`: split screen. Left: starry side with headline, sphere and toggle rows of live readings. Right: square form with a toggle row inside it.

## Page recipe

1. `body.nc`, then `.nc-nav` with the wordmark, mono links and one outline button.
2. `.nc-stage`: copy on the left (live label, display headline with an `em`, lead, one green button and one text button), the `.nc-sphere` on the right, a `.nc-panel` of `.nc-toggles` in the bottom-left corner and `.nc-reading`s bottom-right.
3. Sections separated by `.nc-section--line`, each opening with `.nc-head`.
4. Content in `.nc-grid` hairline grids or `.nc-table`, numbers always in mono.
5. Break the page once with `.nc-band` or a `.nc-stars` pull quote.
6. End with a CTA (h1 with an `em`, green button, optional small sphere) and `.nc-footer`.

Pricing recipe: head with a toggle panel on the right that switches billing, `.nc-plans` with the middle plan as `--pick`, a `.nc-table` comparison, then `.nc-faq` in a two-column section.

Article recipe: `.nc-narrow` head with `.nc-meta` above and below the h1, a drawn figure in a `--nc-deep` box, `.nc-article` body with h2s, one quote and one `.nc-callout`, then a three-card grid of more posts.

Sign-up recipe: two columns. The left is `.nc-stars` with a live label, h1, sphere and a `.nc-toggles` list of current readings; the right is a 420px form with fields, one `.nc-toggles` choice row, a check, one green button and an outline alternative.

## Don'ts

- Don't round anything except the sphere and dots. No pill buttons, no rounded cards.
- Don't fill selected options. Box them with a 1px line.
- Don't use blue outside the sphere and link underlines, or green on anything that isn't live, moving or the main action.
- Don't use more than one yellow value per view.
- Don't set numbers in the sans or the serif. Readings, prices and times are mono.
- Don't add photos or illustrations with fills. Visuals are thin lines on the sphere, bands and charts.
- Don't speed up the currents. They take 7 to 13 seconds to cross; respect reduced motion.
- Don't center everything. The hero sits left with the sphere right and readouts in the corners.
