# Dusk Valley

The last light over a misty valley. Pages are a calm slate-blue night, and the top of each one is a painted dusk: a sky that fades from deep blue through mauve to a peach glow, layered ridges that fold down into a valley, low mist, and one lit cabin window. Over it sit centred, quiet headlines in Albert Sans, a wide-tracked capital wordmark, and frosted glass: a glass pill that holds an email field and a soft iris-blue button, glass panels with a faint white ring, glass secondary buttons. Below the scene, the page settles into dark slate cards. It feels unhurried, trustworthy and a little dreamy, like a serious product that wants you to breathe out.

Use it for: travel and hospitality, banking and finance that wants to feel human, real estate and rentals, outdoor brands, remote work and wellbeing tools, B2B products with a calm promise. Avoid it for: loud launches and sales, kids and games, dense dashboards, anything that needs bright daylight 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 Dusk Valley 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 company called Fernhollow that rents quiet work cabins to remote teams.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines and body | Albert Sans 400 to 600 | Headlines at 500 with -0.025em tracking. The wordmark, eyebrows and table heads at 600, uppercase, 0.22em tracking. Body at 400. |
| Prices and figures | Spline Sans Mono 400 to 500 | Stats, prices in the booking panel and calendar dates (`.dv-num`). Never for paragraphs. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--dv-night` | #10131C | The page, and the nearest ridge so the scene melts into it |
| `--dv-slate` | #171B27 | Cards, plans, quotes, tables |
| `--dv-raise` | #212637 | Badges, FAQ toggles, card hover |
| `--dv-hover` | #2A3044 | The selected row in a panel |
| `--dv-text` | #EEF0F6 | Headlines and body |
| `--dv-dim` | #A4A9BB | Leads, card text, nav links |
| `--dv-faint` | #6D7287 | Captions, hints, footer labels |
| `--dv-iris` | #6F7CF4 | The one button colour, selected dates, focus rings |
| `--dv-peach` | #F1BA9C | Eyebrows, links, list markers, the sun in the sky |
| `--dv-mauve` | #B08CA5 | Only inside the sky and avatars |
| `--dv-moss` | #82A47D | Ticks, "Yes" in tables, availability badges |
| `--dv-ember` | #FFD49A | The lit cabin window, nothing else |

Sky, sun, mist and the three ridges are tokens too (`--dv-sky`, `--dv-sun`, `--dv-mist`, `--dv-ridge-far`, `--dv-ridge-mid`, `--dv-ridge-near`), so a scene is never redrawn by hand.

Rules:
- The page is slate night. Warmth only comes from the sky: the peach sun glow and the cabin window.
- Iris is the only filled button colour. Secondary actions are glass (`.dv-btn--glass`).
- Peach is for small type (eyebrows, links) and the sky. Never a filled button or a large block.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--dv-text-hero` | clamp(40px, 5.8vw, 72px) | Centred page titles, three to six words |
| `--dv-text-h2` | clamp(28px, 3.4vw, 42px) | Section titles |
| `--dv-text-h3` | 19px | Card and plan names |
| `--dv-text-lead` | clamp(17px, 1.6vw, 21px) | Leads under titles |
| `--dv-text-body` | 16px | Body and UI |
| `--dv-text-micro` | 12px | Eyebrows, notes, hints |

Headlines are short and plain ("Work somewhere quieter"). Leads are one or two calm sentences. A small superscript footnote (`.dv-sup`) is welcome in a hero, answered in the footer.

## Shape and space

- Radius: 10px inputs, 16px rows and icons, 22px cards and panels, 30px plans, the CTA and scene cards, pill for every button, tab and badge.
- Borders: almost none. Depth comes from a faint inner white ring (`--dv-ring`) and soft deep shadows (`--dv-shadow-glass`, `--dv-shadow-card`). Hairlines (`--dv-line`) only in tables, the FAQ and the footer.
- Glass: `.dv-glass` uses `--dv-glass` with `backdrop-filter` blur. Use it over a scene, never on plain night.
- The scene: `.dv-scene` paints sky, sun and mist on the element, then the three ridges along the bottom 62%. Add `.dv-cabin` and `.dv-cabin-glow` for the lit window in the valley. One full scene per page at the top, plus at most one small one (a CTA, a figure, or behind a panel).
- Sections: 80px vertical padding, 128px under the hero. Container 1180px with 24px gutters. Text column 660px.
- Motion: slow and soft. Content rises 14px over 900ms (`.dv-rise`), the cabin window flickers gently. Nothing bounces.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.dv` | Put on `<body>`: night page, Albert Sans, light text |
| `.dv-container`, `.dv-narrow`, `.dv-center`, `.dv-section`, `--tight` | Layout helpers |
| `.dv-nav`, `__links`, `__end`, `__login`, `.dv-logo`, `__mark` | Transparent nav with a tracked capital wordmark and a ridge-in-a-ring mark |
| `.dv-hero__title`, `.dv-h1`, `.dv-h2`, `.dv-h3`, `.dv-lead`, `.dv-eyebrow`, `.dv-small`, `.dv-num`, `.dv-sup` | Type |
| `.dv-btn`, `--iris`, `--glass`, `--ghost`, `--sm`, `--lg`, `--block`, `.dv-link` | Pill buttons and links |
| `.dv-scene`, `--tall`, `--mid`, `--short`, `--card`, `.dv-cabin`, `.dv-cabin-glow` | The dusk landscape |
| `.dv-hero`, `__actions`, `__note`, `.dv-pill-form` | Centred hero with the glass email pill |
| `.dv-glass`, `.dv-card`, `.dv-grid--2/3/4`, `.dv-icon`, `--peach`, `--moss` | Panels, cards and tinted icons |
| `.dv-badge`, `--peach`, `--moss`, `--iris`, `.dv-dot` | Pill badges and status dots |
| `.dv-logos`, `.dv-logos-label` | Quiet row of customer names |
| `.dv-split`, `.dv-list` | Two-column text and visual, with moss ring ticks |
| `.dv-panel`, `__head`, `__title`, `.dv-stay`, `--active`, `__thumb`, `__name`, `__meta`, `__price`, `.dv-dates` | The product panel: rows with tiny scene thumbnails and a date range |
| `.dv-stats`, `.dv-stat__num`, `__label` | Four figures in mono |
| `.dv-quote`, `.dv-avatar`, `--moss`, `--iris` | Testimonials with gradient avatars |
| `.dv-tabs` | Glass segmented tabs (`aria-selected="true"` is active) |
| `.dv-plans`, `.dv-plan`, `--featured`, `__desc`, `__price`, `__amount`, `__per` | Pricing |
| `.dv-table-wrap`, `.dv-table`, `.dv-yes`, `.dv-no` | Comparison table |
| `.dv-faq` | `<details>` FAQ with round toggles |
| `.dv-auth`, `.dv-form`, `.dv-field`, `.dv-label`, `.dv-input`, `.dv-select`, `.dv-hint`, `.dv-check`, `.dv-or`, `.dv-row-2` | Forms |
| `.dv-article`, `.dv-dropcap`, `.dv-byline`, `.dv-figure` | Long-form post |
| `.dv-cta` | Rounded CTA, used with `.dv-scene` |
| `.dv-footer`, `__grid`, `__about`, `__base` | Footer |
| `.dv-rise`, `--2`, `--3` | Load-in motion |

## Pages in this kit

- `demo.html`: landing page. Full-height dusk scene with nav, hero, glass email pill and the lit cabin; a customer row; three feature cards; a split with a glass booking panel floating on a small scene; stats; two quotes; a scene CTA; footer.
- `pricing.html`: a shorter scene with title and glass tabs, three plans rising out of it with the middle one glass, comparison table, FAQ, scene CTA.
- `blog.html`: badge, title, byline, a scene card with the cabin as the figure, article with a drop cap, quote card and list, related cards.
- `signup.html`: the whole page is a scene, with one glass sign-up card above the valley.

## Page recipe

1. A `.dv-scene--tall` that holds the `.dv-nav` and a centred `.dv-hero`: title, lead (with an optional `.dv-sup` footnote), a `.dv-pill-form` plus one glass button, and a `.dv-hero__note`. Add `.dv-cabin` and `.dv-cabin-glow` last.
2. Leave the ridges room: the hero content should end above the middle of the scene.
3. Below, on plain night: an eyebrow, a calm `.dv-h2`, then slate cards.
4. Show the product in a `.dv-glass` panel on a small `.dv-scene` placed behind and offset from it.
5. Stats in mono, quotes, then a `.dv-cta.dv-scene` and the footer.

Pricing: a `.dv-scene--mid` with the title and `.dv-tabs`, then the `.dv-plans` pulled up over the bottom of the scene. Only the featured plan is glass and has the iris button.

Article: a centred head on plain night, then a `.dv-scene--card` as the hero figure. Body in `.dv-article` with a `.dv-dropcap`, peach links and markers, and a slate quote card.

Sign up: wrap the whole page in a `.dv-scene`, keep the nav minimal, and float one `.dv-auth.dv-glass` card above the valley with the cabin below it.

## Don'ts

- Don't use photos. The painted scene is the picture.
- Don't put glass on plain night; it needs the sky behind it.
- Don't add a second filled button colour, or fill anything large with peach, moss or ember.
- Don't use pure black or pure white; use `--dv-night` and `--dv-text`.
- Don't use heavy borders or bold 700 headlines. Keep weight at 500.
- Don't crowd the scene: one hero block, then let the valley breathe.
- Don't use em dashes in copy.
