# Sketch Dusk

A late-night studio desk. The page is a blue-black room lit by one warm lamp, with sheets of pale paper laid at angles across it, each carrying a pencil sketch and a handwritten margin note. A blue wash dims the sheets so they read as a cinematic backdrop, and a frosted glass card floats over the bottom of the scene to ask the visitor one question. Clean grotesk headlines sit centred on top, small uppercase mono labels do the housekeeping, and a handwritten face adds the human scribbles. It feels creative, crafted and quietly cinematic, like the moment an idea is still on paper.

Use it for: planning and design tools, creative studios, home and renovation services, architecture, storyboarding, workshops, anything where a rough idea becomes a real thing. Avoid it for: banking dashboards, medical and legal services, kids' products, bright daytime lifestyle brands.

## 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 Sketch Dusk 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 renovation planner called Joist.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines and body | Hanken Grotesk 400 to 600 | Headlines at 500 with tight tracking, body at 400, labels and buttons at 600. Never 700+. |
| Notes | Kalam 400 and 700 | Handwritten scribbles only: margin notes, storyboard captions, step numbers, pull quotes, a name under a testimonial. Never paragraphs or buttons. |
| Micro | IBM Plex Mono 400 to 500 | Uppercase nav links, eyebrows, tags, table heads and figure captions. 11 to 12px with wide tracking. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--sd-night` | #0A0E16 | The page |
| `--sd-desk` | #121925 | Cards, plans, windows, table heads |
| `--sd-desk-hi` | #1A2332 | Raised art panels inside cards |
| `--sd-line` | #253042 | Every hairline |
| `--sd-line-hi` | #3A4860 | Input borders, stat rules |
| `--sd-moon` | #F1EFEA | Headlines, main text and the main button |
| `--sd-haze` | #A8B0BF | Leads and body |
| `--sd-dim` | #6E7889 | Captions, mono labels, meta |
| `--sd-paper` | #E8E2D4 | Paper sheets, storyboard frames, the announcement bar |
| `--sd-graphite` | #2E323B | Pencil lines and text on paper |
| `--sd-lamp` | #F0B256 | Lamp light: handwritten notes, step numbers, the round prompt button, focus rings |
| `--sd-marker` | #63D2B4 | Marker green: checks, "yes" cells, live dots, success tags |

Also `--sd-paper-shade` and `--sd-graphite-soft` for paper edges and construction lines, soft versions of lamp and marker for tag fills, the glass set (`--sd-glass`, `--sd-glass-strong`, `--sd-glass-line`, `--sd-blur`) and the scene set: `--sd-room` (the dark room gradient), `--sd-lamp-pool` (the warm glow), `--sd-tint` and `--sd-blue-wash` (the cinematic dimming laid over the paper).

Rules:
- The main button is always the pale `--sd-moon` pill. Every other button is a frosted glass pill.
- Amber is light, not paint: notes, numbers and one small round button. Never a large fill or a headline.
- Marker green is only for checks and live or success states.
- Paper is the only light surface. Cards and panels stay dark or frosted.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--sd-text-display` | clamp(40px, 6.4vw, 80px) | Landing hero, centred, one or two lines |
| `--sd-text-h1` | clamp(36px, 5vw, 60px) | Page titles and CTA titles |
| `--sd-text-h2` | clamp(28px, 3.4vw, 42px) | Section headings |
| `--sd-text-h3` | 20px | Card and plan names, weight 600 |
| `--sd-text-lead` | 19px | Haze leads, max 560px |
| `--sd-text-body` | 16px | Body (articles use 18px) |
| `--sd-text-note` | 20px | Kalam notes |
| `--sd-text-micro` | 12px | Mono labels |

Headlines are plain, confident sentences in sentence case ("Joist turns your sketch into a real plan"). Notes are short, lowercase and a little excited ("knock through here!").

## Shape and space

- Radius: 28px for framed scene panels, 20px for glass cards, plans and windows, 14px for inputs, 999px for every button, chip and tag. Paper sheets are nearly square at 4px.
- Paper sheets tilt: `--sd-tilt-l` (-4deg), `--sd-tilt-r` (3deg) or `--sd-tilt-s` (-1.5deg). Never leave a sheet perfectly straight, never tilt more than 5deg.
- Shadows: paper gets a deep drop shadow plus a 2px paper-shade lip (`--sd-shadow-paper`). Glass gets a wide soft shadow and a 1px top highlight (`--sd-shadow-glass`). Nothing else has a shadow.
- Glass: frosted cards use `--sd-glass` with `--sd-blur` and a faint light border.
- The overlap: the hero scene has extra bottom padding and the prompt card (or the pricing plans) pulls up into it with a negative top margin.
- Sections: 72 to 112px vertical padding. Container 1180px with 24px gutters; articles 680px.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.sd` | Put on `<body>`: night page, Hanken Grotesk, clipped overflow |
| `.sd-container`, `.sd-narrow`, `.sd-section`, `--tight`, `--line`, `.sd-center` | Layout |
| `.sd-display`, `.sd-h1`, `.sd-h2`, `.sd-h3`, `.sd-lead`, `.sd-eyebrow`, `.sd-mono`, `.sd-note`, `--pencil`, `.sd-muted`, `.sd-dim` | Type |
| `.sd-btn`, `--light`, `--ghost`, `--sm`, `--block`, `--round`, `.sd-link`, `.sd-actions` | Glass pill, the pale main pill, a text button, the round amber arrow |
| `.sd-bar`, `.sd-nav`, `--static`, `__inner`, `__links`, `__end`, `.sd-wordmark` | Paper announcement bar and the nav that floats over the scene |
| `.sd-scene`, `--framed`, `__desk`, `__tint`, `.sd-sheet`, `--l`, `--r`, `--s` | The dark desk with tilted paper sheets, lamp glow and blue tint |
| `.sd-hero`, `--left`, `.sd-chip` | Centred hero and the glass "New" chip |
| `.sd-prompt`, `__title`, `__box`, `__chips` | The frosted question card with a pale input and suggestion chips |
| `.sd-tag`, `--marker`, `--lamp`, `.sd-dot` | Mono pill tags and a glowing live dot |
| `.sd-frames`, `.sd-frame`, `__art`, `__cap`, `__num` | Storyboard: three tilted paper frames with handwritten captions |
| `.sd-section-head`, `--center`, `.sd-grid`, `--2`, `.sd-card`, `__art`, `.sd-icon` | Card grids; `__art` is a small lit desk with one sheet on it |
| `.sd-split`, `.sd-steps`, `.sd-window`, `__bar`, `__body`, `.sd-rows` | Text beside a window; steps with handwritten amber numbers |
| `.sd-stats`, `.sd-stat`, `.sd-quote` | Big light numbers on rules and a centred quote |
| `.sd-toggle`, `.sd-plans`, `.sd-plan`, `--featured`, `__price`, `.sd-checks`, `.sd-table-wrap`, `.sd-table`, `.sd-yes`, `.sd-faq` | Pricing parts |
| `.sd-meta`, `.sd-avatar`, `.sd-article`, `.sd-figure`, `__sheet`, `.sd-callout` | Article parts |
| `.sd-panel`, `.sd-form`, `.sd-row`, `.sd-field`, `.sd-label`, `.sd-input`, `.sd-select`, `.sd-hint`, `.sd-check`, `.sd-choices`, `.sd-choice`, `.sd-or` | Forms on a glass panel over the scene |
| `.sd-footer`, `--slim`, `__cols`, `__about`, `__base` | Footer |
| `.sd-sprites`, `.sd-pencil`, `--soft`, `--thin`, `.sd-hatch`, `.sd-scribble` | Hidden symbol holder and pencil stroke classes for inline SVG sketches |

## Pages in this kit

- `demo.html`: landing page. A paper announcement bar, then a full desk scene: four tilted sheets (floor plan, armchair, arched window, kitchen elevation) and a pencil under a blue tint and lamp glow. Centred chip, display headline, lead and two pills. A frosted prompt card rises out of the scene, then quiet logos, a three-frame storyboard, three cards with lit desk art, a split with steps and a plan window with a handwritten note, stats, a quote and a framed CTA scene.
- `pricing.html`: a short scene with two sheets, h1, lead and a glass toggle. Three plans pulled up into it, the featured one frosted with the only pale button and a handwritten note. A compare table and an FAQ beside a heading.
- `blog.html`: a short scene with a lamp tag, h1, lead and author meta, then a 680px article with a tilted paper figure, a handwritten amber pull quote, a list, a callout and two related cards.
- `signup.html`: a full-height scene with three sheets and a centred form on a glass panel, choice pills, the pale submit, an "or" divider, a glass alternative and a handwritten note under it.

## Page recipe

1. Optional paper bar on top with one short announcement.
2. A desk scene: two to four tilted sheets with pencil sketches at the edges, a tint layer, the nav floating on top.
3. Centred hero: glass chip, display headline, lead and two pills (pale main, glass second).
4. A frosted card pulled up into the bottom of the scene.
5. Quiet proof: dim names, alternating the sans and the handwritten face.
6. A storyboard of three paper frames with handwritten numbers and captions.
7. Cards with lit desk art, then a split with steps and a window.
8. Stats, a quote signed in handwriting, a framed scene CTA and the footer.

Pricing recipe: short scene with eyebrow, h1, lead and toggle; three plans pulled up into it, the featured one frosted with the only pale button; compare table; FAQ beside an h2.

Article recipe: short scene with a tag, h1, lead and author meta; the narrow article with one paper figure and mono caption, one handwritten pull quote, one callout, then two related cards.

Sign-up recipe: full-height scene with up to three sheets. Eyebrow, h2 and lead centred, the form on `.sd-panel`, a pale submit, an "or" divider, a glass alternative and one handwritten note.

## Don'ts

- Don't use photos. Draw every sheet with inline SVG pencil strokes on `--sd-paper`.
- Don't let a sheet cover the headline at full strength: sheets sit at the edges, behind the tint.
- Don't use more than one pale button per screen, or fill anything large with amber.
- Don't set paragraphs, buttons or headlines in the handwritten face.
- Don't use a light page background or white cards.
- Don't straighten the paper or tilt it past 5deg.
- Don't use em dashes in copy.
