# Amber Cipher

A black void with one amber dusk hung inside it. Pages are near-black and mostly empty, and the headlines are huge plain capitals in Inter Tight 500, stacked in two or three lines with each line nudged a little left or right. When a page loads, every headline decodes: each line starts as scrambled amber letters and resolves, left to right, into the real words. Pictures are never photos. They are drawn dusk scenes: a warm amber gradient framed inside the black with a thin margin, and flat black silhouettes (beams, horizons, figures, a low sun) cut over it. Labels and buttons are small Geist Mono capitals. Corners are square, there are no shadows, and the only color with a job is amber.

Use it for: studios and residencies, workshops and craft schools, outdoor experiences, film and photo projects, launches that want to feel serious and quiet, anything that happens at the end of the day. Avoid it for: kids' products, healthcare, dense dashboards, friendly consumer apps, anything that must feel bright, soft or chatty.

## 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 Amber Cipher 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.

Put `class="ac"` on `<body>`. `demo.html` is a complete landing page built only with the kit. `pricing.html`, `blog.html` and `signup.html` show the same product, Hotshop Mesa (glassblowing residencies on a desert mesa), on other page types. Copy the small decode script at the bottom of any page; it runs on every `[data-decode] > span`.

## Fonts

Both free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Display | Inter Tight 500, uppercase | Hero, page titles, section heads, index rows, the footer word. Tracking -0.035em, line-height 0.9. Never bold, never stretched. |
| Body | Inter Tight 400 and 500 | Paragraphs, leads (20px, ash) and the big statement sentence (500, bone, with a dim second clause). |
| Small heads | Inter Tight 600 | Card and plan titles, 20px, sentence case. |
| Mono | Geist Mono 400, uppercase, 0.08em tracking | Labels, buttons, badges, timecodes, coordinates, form labels, table heads, captions. 11 to 12px. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ac-void` | #040404 | Page background, silhouettes inside scenes, text on amber |
| `--ac-char` | #0E0D0C | Featured plan, panels, selected choices |
| `--ac-soot` | #181614 | The footer word |
| `--ac-line` | bone at 12% | Hairlines between rows |
| `--ac-line-strong` | bone at 30% | Ghost buttons, badges, input underlines, stat rules |
| `--ac-bone` | #EFE9DF | Headlines and primary text |
| `--ac-ash` | #A39C92 | Body, leads, metadata |
| `--ac-dim` | #6A645C | Row numbers, placeholders, the quiet half of a statement |
| `--ac-amber` | #C87A33 | The one solid button, featured plan bar, checked inputs |
| `--ac-flare` | #E9A85B | Kicker labels, hover, focus, scrambling letters, the low sun |
| `--ac-rust` | #6E3514 | Link underlines, the bottom of the dusk |
| `--ac-dusk` | gradient | Scene fill: flare at the top, through amber and rust to near black |

Rules:
- The page is black and bone. Amber appears as scenes, one solid button per screen and small mono labels. Nothing else.
- Text inside a scene is bone (headlines) or void (foot captions). Never amber on amber.
- Silhouettes are flat `--ac-void`. No outlines, no gradients, no detail inside them.
- No blue, no green, no second accent. Errors use bone text with a flare underline.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ac-text-mega` | clamp(44px, 9.6vw, 148px) | Landing hero, two or three short lines |
| `--ac-text-hero` | clamp(40px, 7vw, 104px) | Page titles on pricing and sign up |
| `--ac-text-h1` | clamp(34px, 5vw, 72px) | Article titles, band headline |
| `--ac-text-h2` | clamp(28px, 3.6vw, 48px) | Section heads and the statement |
| `--ac-text-h3` | 20px | Card and plan titles (600, not uppercase) |
| `--ac-text-lead` | clamp(18px, 1.6vw, 21px) | Leads, max 34em |
| `--ac-text-body` | 16px | Body (articles use 18px) |
| `--ac-text-label` / `--ac-text-micro` | 12px / 11px | Mono labels and badges |

## Shape and space

- Radius: 0 everywhere. The only round things are the low sun, heads in silhouettes, avatars and the dot in an amber badge.
- Borders: 1px hairlines between rows, never around whole grids. Cards sit on black with a 32px gap and no border.
- Shadow: none. The featured plan and checked choices get a 3px amber bar on top (an inset shadow).
- Frames: every scene sits inside the black with `--ac-frame` (16px, 8px on phones) of margin, like a picture in a dark room.
- Ticks: `.ac-ticks` draws four corner marks on a panel instead of a border.
- Space is generous to the point of emptiness. `.ac-section--void` is 200px of black around a single letter with a blinking amber cursor. Use one per page at most.

## Components (in components.css)

- **Base**: `body.ac`, `.ac-wrap`, `.ac-narrow`, `.ac-section`, `.ac-section--void`.
- **Type**: `.ac-mega`, `.ac-hero-title`, `.ac-h1`, `.ac-h2`, `.ac-h3`, `.ac-lead`, `.ac-label` (`--amber`), `.ac-mono`, `.ac-statement` (with `<em>` for the dim clause), `.ac-cursor`.
- **Decode**: `.ac-decode` with one `<span>` per line and `data-decode` on the heading.
- **Nav**: `.ac-nav` (three columns: logo, centered links, end links), `.ac-logo`, `.ac-nav__links`, `.ac-nav__end`.
- **Actions**: `.ac-btn` (amber, mono caps), `--ghost`, `--sm`, `--block`; `.ac-arrow` text link.
- **Badges**: `.ac-badge`, `.ac-badge--amber` (with a dot).
- **Scenes**: `.ac-scene` (`--low`, `--strip`, `--card`), `.ac-scene__art` (inline SVG, fills become void, `.ac-sun` becomes flare), `.ac-scene__grain`, `.ac-scene__body`, `.ac-scene__foot`.
- **Hero**: `.ac-hero` inside a scene body staggers the three mega lines; `.ac-hero__sub` holds the lead and buttons under the scene.
- **Lists and cards**: `.ac-index` (numbered rows with arrow), `.ac-cards` (`--2`), `.ac-card`, `.ac-panel`, `.ac-ticks`, `.ac-head` (label column plus heading), `.ac-stats`, `.ac-stat`.
- **Pricing**: `.ac-toggle`, `.ac-plans`, `.ac-plan` (`--featured`), `.ac-plan__price`, `.ac-list` (amber dash markers, `.is-off`), `.ac-table`, `.ac-faq`.
- **Article**: `.ac-article`, `.ac-byline`, `.ac-avatar`, `.ac-figure`, blockquote with a mono amber cite.
- **Forms**: `.ac-form`, `.ac-row`, `.ac-field`, `.ac-input`, `.ac-select`, `.ac-textarea` (underline only), `.ac-hint`, `.ac-fieldset`, `.ac-choices`, `.ac-choice`, `.ac-check`, `.ac-divider`.
- **Ends**: `.ac-band` (a strip scene with one line and a ghost button), `.ac-footer`, `.ac-footer__word` (the product name, huge and barely visible), `.ac-footer__legal`.

## Pages in this kit

| Page | File | Shows |
|---|---|---|
| Landing | `demo.html` | Nav, framed dusk hero with a decoding three-line headline, lead and buttons, the void with one letter, statement, index of residencies, three scene cards, stats, dusk band, footer word |
| Pricing | `pricing.html` | Decoding title, billing toggle, three plans with the middle one featured, a dusk strip, cost table, FAQ |
| Blog post | `blog.html` | Badges, decoding title, byline, framed cover scene with a foot caption, article with blockquote and figure, ticked next-step panel, index of related posts |
| Sign up | `signup.html` | Split: tall dusk scene with a title and perks in void text, form with underline inputs and plan choices |

## Page recipe

1. `.ac-nav`: logo left, three or four links centered, sign in and a small amber button at the end.
2. Hero: a framed `.ac-scene` with an SVG silhouette scene and a low sun, `.ac-hero` holding `.ac-mega.ac-decode` in three short lines, and an `.ac-scene__foot` with coordinates or facts in mono.
3. `.ac-hero__sub` under the scene: one lead and at most two buttons (one amber, one ghost).
4. Optional `.ac-section--void` with a single letter and `.ac-cursor`.
5. A numbered `.ac-head` and an `.ac-statement`.
6. The offer as an `.ac-index`, then three `.ac-card`s with small scenes.
7. `.ac-stats`, then an `.ac-band` strip scene with one decoding line and a ghost button.
8. `.ac-footer` with columns and the product name in `.ac-footer__word`.

**Pricing recipe**: left-aligned amber label, decoding `.ac-hero-title`, lead and toggle on one row. Three `.ac-plan`s, the middle one `--featured` with the only amber button. Then a `.ac-scene--strip` headline, a cost table in a `.ac-head`-style two-column row, and the FAQ.

**Article recipe**: `.ac-narrow` header with badges, a decoding `.ac-h1`, lead and byline. A framed cover scene with a mono foot caption, the article at 18px, one blockquote, one small scene figure, a `.ac-panel.ac-ticks` next step, and an index of related posts.

**Sign-up recipe**: `.ac-split`. Left is a full-height `.ac-scene` with a void-outlined badge, a two-line decoding title and perks in void text. Right is the form: amber step label, `.ac-h2`, two ghost social buttons, `.ac-divider`, underline fields, `.ac-choices` and one block amber button.

## Don'ts

- Don't use photos, gradients outside scenes, or any color but amber.
- Don't bold or stretch the display font. Weight 500 and size do the work.
- Don't decode body text or more than four headlines per page. Lines must stay short (under 16 characters).
- Don't put borders around cards or grids. Use space, hairlines between rows and corner ticks.
- Don't fill the void. Empty black is part of the style.
- Don't use em dashes in copy.
