# Night Kiln

Quiet and a bit dreamy, like a workroom after midnight. Pages are deep plum that darkens as you scroll, lit from above by faint fans of lavender light. Everything sits in one narrow centered column: plain grotesk type, links that are always underlined, and pale lavender chip buttons that look like keys. There are no cards. Content sits straight on the page and hairlines do the dividing. The one big picture is a near-black window with something glowing inside it (here, a kiln arch with pots silhouetted against the heat). A small teal to violet mark is the only other color.

Use it for: small studios, clubs and workshops, late-night or evening services, indie software, community projects, honest one-page products, newsletters and anything that should feel calm, plain and a little magical. Avoid it for: busy dashboards, shops with big product grids, children's products, bright daytime brands, anything that needs photos everywhere or lots of color.

## 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 Kiln 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 a made-up late-night pottery studio called Moth Hours.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,400;0,500;0,700;1,400&family=Spline+Sans+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Hanken Grotesk 400 with 700 | Display lines are regular weight with the key words in bold (`A clay studio that opens <strong>after dark</strong>.`). Section and feature headings are 700. |
| Body and UI | Hanken Grotesk 400 and 500 | Paragraphs, nav, buttons (500), forms, quotes. |
| Small print | Spline Sans Mono 400 | Labels, badges, times in timetables, window captions, dates in post lists. Lowercase and literal. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--nk-plum-top`, `--nk-plum`, `--nk-plum-deep` | #2B1A3D, #24162F, #1C1126 | The page, as a vertical gradient from top to bottom |
| `--nk-beam`, `--nk-beam-strong` | lavender at 9% and 15% | The light fans behind the top of the page only |
| `--nk-window`, `--nk-window-edge` | #121015, #1D1A22 | The dark picture window and the pot silhouettes |
| `--nk-raise` | #33224A | Avatars, inline code, ghost button hover |
| `--nk-line`, `--nk-line-soft` | #43305A, #34253F | Hairlines: strong for plans, inputs and outlines; soft for rules and rows |
| `--nk-text` | #F5F0FB | Headlines, links, strong text |
| `--nk-soft` | #CFC3DE | Body copy |
| `--nk-dim`, `--nk-faint` | #9A8BAD, #6F6283 | Meta, captions, placeholders, "no" cells |
| `--nk-chip`, `--nk-chip-edge`, `--nk-ink` | #EBE4F6, #B9A9D4, #1D1326 | The chip button, its bottom edge and the text on it |
| `--nk-teal`, `--nk-violet` | #5CCFC3, #9A7CF2 | The mark (`--nk-ribbon` gradient), list ticks, the featured plan rule, quote rule, "yes" cells |
| `--nk-ember`, `--nk-ember-hot`, `--nk-ember-deep` | #F39A58, #FFD09A, #A3402A | The glow inside a window and the live dot. Never on the page itself |

Rules:
- The page is plum, never black and never flat: keep the top to bottom gradient and the light fans.
- Warm color lives only inside the dark window (and the one live dot). Everything outside the window is plum, lavender and white.
- Teal and violet are for small marks: the logo, ticks, rules. No teal or violet fills bigger than a badge border.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--nk-text-hero` | clamp(26px, 3.4vw, 34px) | The display line. Deliberately small: this style whispers |
| `--nk-text-h2` | clamp(22px, 2.6vw, 26px) | Section headings |
| `--nk-text-h3` | 18px | Feature headings, FAQ questions are 16px |
| `--nk-text-lead` | 17px | The sentence under a headline, max 560px |
| `--nk-text-body` | 15px | Body (article prose is 16px with 1.7 line height) |
| `--nk-text-small` | 13px | Nav, meta, help text, footer |
| `--nk-text-label` | 12px | Mono labels |

Headlines end with a full stop and read like plain sentences ("Pay for the nights you actually come."). Button text does too ("Book a night shift.").

## Shape and space

- Radius: 3px on buttons, inputs and chips, 4px on windows, pills only for badges and avatars.
- No cards and no boxes around text. Use `.nk-rule` hairlines between sections and hairline rows inside them.
- Shadows: the chip's inset bottom edge, and `--nk-shadow-window` under windows. Nothing else.
- One column: 680px for most pages, 520px for forms. Section rhythm is 32px padding with a hairline rule between.
- Lists use a small rotated ribbon square as the bullet.
- Motion: the glow breathes slowly. It stops for reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.nk`, `.nk-column`, `--wide`, `.nk-center` | Body class (gradient and light fans) and the centered column |
| `.nk-logo` | The arch and flame mark plus a bold wordmark (inline SVG, colors from tokens) |
| `.nk-nav`, `__inner`, `__links` | Logo left, small underlined links right; `aria-current="page"` gets a violet underline |
| `.nk-display`, `.nk-h2`, `.nk-h3`, `.nk-lead`, `.nk-small`, `.nk-label`, `.nk-mono`, `.nk-text` | Type |
| `.nk-btn`, `--ghost`, `--lg`, `--block`, `.nk-actions` | Chip buttons with an underlined label |
| `.nk-hero` | Top section |
| `.nk-window`, `--short`, `--square`, `__caption`, `__temp`, `.nk-glow`, `.nk-arch`, `.nk-pots` | The signature dark window with a glow, an arch and silhouettes |
| `.nk-rule`, `.nk-section` | Hairline divider and section spacing |
| `.nk-features`, `.nk-feature` | Two-column heading and paragraph pairs, no boxes |
| `.nk-facts`, `.nk-fact`, `__num`, `__label` | A three-up fact strip between hairlines |
| `.nk-list` | Ribbon-tick list |
| `.nk-times` | Timetable rows with mono times |
| `.nk-faq` | Plain question and answer pairs |
| `.nk-quote` | Quote with a violet left rule |
| `.nk-badge`, `__dot`, `--ribbon` | Mono pills; the dot glows ember |
| `.nk-toggle` | Billing toggle; the pressed half becomes a chip |
| `.nk-plans`, `.nk-plan`, `--featured`, `__name`, `__desc`, `__side`, `__price`, `__per` | Pricing as hairline rows; the featured row gets a violet rule and a faint wash |
| `.nk-table-wrap`, `.nk-table`, `.nk-yes`, `.nk-no` | Comparison table |
| `.nk-meta`, `.nk-prose`, `.nk-figure`, `.nk-note`, `.nk-author`, `.nk-avatar`, `.nk-posts` | Article parts |
| `.nk-form`, `.nk-row-2`, `.nk-field`, `.nk-field-label`, `.nk-input`, `.nk-select`, `.nk-textarea`, `.nk-help`, `.nk-error`, `.nk-field--error`, `.nk-choices`, `.nk-choice`, `.nk-check`, `.nk-or` | Forms |
| `.nk-footer`, `__inner`, `__links` | One hairline, an address line and links |

## Drawing the window

The window is the only picture. Build it from three layers inside `.nk-window`:

1. `.nk-glow`: a radial gradient from `--nk-ember-hot` through `--nk-ember` and `--nk-ember-deep` to transparent.
2. An inline SVG `.nk-pots` with simple filled paths. Their fill comes from `--nk-window`, so they read as silhouettes against the glow.
3. `.nk-arch`: a rounded-top opening that masks the corners with the window color.

Add a mono `__caption` bottom left and an optional ember `__temp` top right. For other products, swap the silhouettes (a desk lamp, a sleeping cat, a row of books) but keep one warm glow inside one dark window.

## Pages in this kit

- `demo.html`: nav, a live badge, the display line, the big kiln window, one centered chip button with a small line under it, six features in two columns, a fact strip, a timetable beside a list, a quote, a plain FAQ, the footer.
- `pricing.html`: a label, the display line, a lead and the billing toggle, three plans as hairline rows (the middle one featured), small print, a comparison table and money questions.
- `blog.html`: meta with a badge, the display title, lead and byline, prose with bold h2s, a short window figure with a mono caption, a quote, a note between hairlines and a list of more posts.
- `signup.html`: a 520px column with a step label, display line, lead, a short window, the form with an error example, chips for nights, a block chip button, "or" and a ghost button.

## Page recipe

1. `.nk-nav` with the mark and four or five links.
2. `.nk-hero`: optional `.nk-badge`, the `.nk-display` with bold key words, the `.nk-window`, then one centered `.nk-btn--lg` and a `.nk-small` line.
3. `.nk-rule`, then `.nk-features` in pairs.
4. `.nk-facts`, a rule, then a split of copy and `.nk-times` or a list.
5. A rule, a `.nk-quote`, a rule, a `.nk-faq`, then the footer.

## Pricing page recipe

1. `.nk-label`, `.nk-display`, `.nk-lead`, `.nk-toggle`. Keep prices in `data-monthly` and `data-yearly` and swap them with a few lines of JS.
2. `.nk-plans` with three `.nk-plan` rows. Only the featured one gets a filled chip button; the others are `--ghost`.
3. A small print line, a rule, the `.nk-table`, a rule and a `.nk-faq`.

## Article page recipe

1. `.nk-meta` with a `--ribbon` badge, date and read time. Then the display title, lead and `.nk-author`.
2. `.nk-prose`: short paragraphs, bold h2s, inline `code`, one `.nk-figure` with a short window, one `.nk-quote`, one `.nk-note`.
3. A rule and `.nk-posts`.

## Sign-up page recipe

1. A 520px column: `.nk-label` step counter, display line, lead.
2. A `--short` window as a small mood picture.
3. `.nk-form`: two-up names, email, password with help, a select, `.nk-choices`, a `.nk-check`, a block chip button, `.nk-or` and a block ghost button.

## Don'ts

- Don't put content in cards or boxes. Hairlines only.
- Don't remove link underlines, anywhere.
- Don't use warm colors outside the dark window.
- Don't make the display line big or all bold; bold only the key words.
- Don't widen the column past 760px or add sidebars.
- Don't use photos; the glowing window is the picture.
- Don't round anything past 4px except badges and avatars.
- Don't use em dashes in copy.
