# Fog Lamp

A key-art poster at dusk. Pages open on a full-bleed drawn scene: a foggy street of rooftop silhouettes, one glowing lamp, a string of bunting and a small figure in a brick-red coat. A heavy condensed uppercase title sits centered at the bottom of the frame over a dark scrim, with a solid white pill button under it. Navigation is a row of outlined pills with one solid white pill for the current page, plus round icon buttons. Everything else is cool slate, quiet and cinematic, with a single brick-red accent.

Use it for: experiences and tours, events, film, theatre and podcasts, games and entertainment launches, hospitality, anything that sells a mood or a night out. Avoid it for: dashboards and data-heavy tools, finance, medical, kids' products, anything that needs to feel bright and daytime.

## 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 Fog Lamp 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 Lampwick, a night walking tour company.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..100,500..900&family=Figtree:wght@400;500;600;700&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Display | Archivo 800 to 900 at `font-stretch: 72%` | Every headline, tile titles, prices, big numbers, buttons. Always uppercase. |
| Body | Figtree 400 to 700 | Paragraphs, nav pills, labels, forms, captions. |

Quotes use Archivo 600 at 85% width in sentence case, the only place the display face is not uppercase.

## Color

| Token | Hex | Role |
|---|---|---|
| `--fl-night` | #0C1015 | Page background |
| `--fl-slate` | #141A22 | Alternate sections, cards, inputs |
| `--fl-slate-2` | #1C242E | Table headers, avatars, inline code |
| `--fl-line` | #2A3440 | Borders and dividers |
| `--fl-paper` | #F1F3F5 | Headlines, solid pills, primary text |
| `--fl-mist` | #C3CCD6 | Body text and leads |
| `--fl-fog` | #8695A5 | Labels, meta, small print |
| `--fl-brick` | #C2473A | The one accent: the figure's coat, a "New" tag, the band, bullets, errors |
| `--fl-lamp` | #F6E7B9 | Lamp light inside scenes and the tiny glowing dot on `.fl-label--lamp` |

Scene colors (`--fl-sky-*`, `--fl-roof*`, `--fl-flag-*`, `--fl-fog-layer`) live only inside drawn scenes.

Rules:
- The page is dark slate, never pure black. The light comes from the scenes.
- The primary button is a solid white pill, not brick. Brick appears a few times per page: one tag, one accent word, the band.
- One brick band per page at most.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--fl-text-hero` | clamp(44px, 7.4vw, 104px) | Hero title, centered, 1 or 2 lines, line-height .94 |
| `--fl-text-h1` | clamp(40px, 5.6vw, 76px) | Article and sign-up titles |
| `--fl-text-h2` | clamp(32px, 4vw, 54px) | Section headings |
| `--fl-text-h3` | 24px | Card and feature titles |
| `--fl-text-lead` | 19px | The sentence under a headline, mist, max 600px |
| `--fl-text-body` | 16px | Body |
| `--fl-text-tiny` | 12px | Uppercase labels, tracked .14em |

Headlines are short and concrete, like titles on a poster ("Pick your pass", "The Foundry Quarter"). No punctuation tricks.

## Shape and space

- Pills for every button, nav link, tag, toggle and input. Round 36px icon buttons with a small count badge.
- Outlines are 1.5px and nearly white (`--fl-border-bright`) on top of scenes; 1px `--fl-line` on slate.
- Radius 22px on scene frames, tiles and plan cards, 14px on tables and callouts.
- Shadows are soft and dark (`--fl-shadow`, `--fl-shadow-lg`). Never hard offsets.
- Sections: 72px to 112px vertical padding. Container 1240px, text 720px.
- Motion: fog layers drift slowly side to side, tiles lift 6px on hover, content fades up 14px. All of it stops with reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.fl-scene`, `--night`, `--dawn`, `--flip`, `--empty` | The drawn street scene. Add `data-fl-scene` to an empty div and the page script clones the `#fl-street` template into it. `--flip` mirrors it, `--empty` hides the walker |
| `.fl-scene__far`, `__fog--mid/--low`, `__scrim`, `__walker` | The layers inside a scene: far rooftops, two drifting fog bands, the dark scrim and the figure |
| `.fl-nav`, `--over`, `--solid`, `.fl-nav__links`, `.fl-nav__right` | Logo left; outlined pill links, round icons, a sun and moon pair and a white Join pill right. `--over` floats on a hero |
| `.fl-logo`, `__mark`, `__word` | Lamp mark with a two-line wordmark |
| `.fl-round`, `--solid`, `__count`, `.fl-theme` | Round icon button with a count badge; the theme pair with the active one filled |
| `.fl-hero`, `__kicker`, `.fl-chevron--prev/--next`, `.fl-dots` | Full-viewport key-art hero: scene behind, title at the bottom center, thin chevrons on the sides, bar dots |
| `.fl-display`, `.fl-h1`, `.fl-h2`, `.fl-h3`, `.fl-accent` | Condensed uppercase headlines; `.fl-accent` makes one phrase brick |
| `.fl-lead`, `.fl-label`, `--lamp` | Lead paragraph; tiny tracked label, optionally with a glowing lamp dot |
| `.fl-btn--white/--outline/--brick`, `--sm/--lg/--block` | Pill buttons in condensed uppercase |
| `.fl-tag`, `--brick`, `--white` | Small pill tags |
| `.fl-shelf-head`, `.fl-shelf`, `.fl-tile`, `__art/__title/__tag/__meta` | A shelf of 3:4 poster tiles, each a small scene with its title at the bottom |
| `.fl-features`, `.fl-feature`, `__num` | Three columns under a bright top rule, with a brick number |
| `.fl-frame` | A rounded wide scene panel with copy at the bottom left |
| `.fl-stats`, `.fl-stat__num/__label` | Huge condensed numbers |
| `.fl-quote` | Centered sentence-case quote with an uppercase byline |
| `.fl-band` | Full-width brick call to action |
| `.fl-notice` | A floating outlined pill at the bottom of the screen for a cookie or news line |
| `.fl-segment` | Outlined pill toggle; the active option is solid white |
| `.fl-plans`, `.fl-plan`, `--featured`, `__art/__body/__name/__desc/__price/__list` | Plan cards with a small scene on top; the featured one has a white outline and the white button |
| `.fl-table-wrap`, `.fl-table`, `__yes/__no` | Comparison table that scrolls sideways on phones |
| `.fl-faq` | `<details>` list with a round plus that turns into a filled cross |
| `.fl-prose`, `.fl-callout` | Article body: condensed h2, sans h3, brick bullets, big centered quote, scene figures; a slate note with a brick edge |
| `.fl-meta`, `.fl-author`, `--card`, `.fl-avatar` | Slash-separated meta, author line with initials, closing author card |
| `.fl-posts`, `.fl-post`, `__thumb` | Related posts with scene thumbnails |
| `.fl-form`, `.fl-row`, `.fl-field`, `.fl-label-text`, `.fl-input`, `.fl-select` | Pill inputs on slate with uppercase labels |
| `.fl-input-wrap`, `.fl-input-toggle`, `.fl-help`, `.fl-error`, `.fl-field--error` | Password show and hide, helper and error text |
| `.fl-check` | Round checkbox that fills brick with a white dot |
| `.fl-divider-text`, `.fl-btn--social`, `.fl-btn__letter` | "or" divider; outlined social buttons with a letter tile (no brand logos) |
| `.fl-footer`, `__cols`, `__bottom` | Four-column footer |
| `.fl-fade` | Entrance animation |

## Pages in this kit

- `demo.html`: landing page with a three-slide key-art hero, a shelf of tour tiles, features, a scene frame, stats, a quote, a brick band and a notice pill.
- `pricing.html`: a short scene header with a Monthly / Season toggle, three plans, a comparison table, FAQ and band.
- `blog.html`: an article with a scene cover, prose, a scene figure, an author card and related posts.
- `signup.html`: a split page, the form on the left and a sticky night scene with a quote on the right.

## Page recipe

1. `.fl-nav--over` floating on the hero.
2. `.fl-hero` filling the viewport: a scene, a lamp label, the title in 1 or 2 lines, a lead, one white `--lg` pill, chevrons and dots. If there are slides, swap the text and the scene modifiers in a few lines of JS.
3. A shelf of 4 poster tiles with a heading and an outline "see all" pill.
4. Slate section: a two-column intro (h2 with one brick phrase, lead) and three features.
5. A `.fl-frame` with a night scene and a call to action, then stats.
6. A quote on slate, then one brick band, then the footer.

## Pricing page recipe

1. Nav over a short `.fl-hero` (set `min-height: 0`) with a night scene, the title and an `.fl-segment`. Keep both prices in data attributes and swap them on click.
2. `.fl-plans` with 3 cards, each with a different scene variant on top. Feature the middle one: `--featured`, a brick tag, the only white button.
3. One line of `.fl-small` print, then a slate section with the table, then an `.fl-faq` in the narrow container, then the band.

## Article page recipe

1. `.fl-nav--solid`, then in `.fl-narrow`: a lamp label, an `.fl-h1`, a lead and the author with meta.
2. A wide `.fl-frame` cover with a dawn scene and a white tag caption.
3. `.fl-narrow .fl-prose`: short paragraphs, condensed h2s, one quote, one callout, one scene figure with a caption.
4. `.fl-author--card`, then a slate section with 3 `.fl-post` cards, then the footer.

## Sign-up page recipe

1. Two columns. Left: logo, a lamp label, an `.fl-h1`, a lead, then `.fl-form` with names in an `.fl-row`, email, password with a toggle, a select, a round checkbox and a white `--lg --block` button.
2. `.fl-divider-text`, two `.fl-btn--social` buttons, a log in link.
3. Right: a sticky, viewport-high `.fl-frame` with a night scene and a quote at the bottom. Hide it below 860px.

## Don'ts

- Don't use photos. The scenes are drawn with SVG and CSS from the tokens, and that is the look.
- Don't make the primary button brick; it is a white pill.
- Don't set headlines in sentence case or in Figtree.
- Don't use square corners on buttons, inputs or tags.
- Don't put colored gradients on the page chrome; color lives inside scenes.
- Don't add a second accent color.
