# Lit Scrim

A warm, trustworthy dark style for services that do good quietly. A drawn evening scene fills the hero from edge to edge, lit windows and lamps glowing on the right, and a dark scrim fades in from the left so plain white text sits on it without a box. A lowercase serif wordmark, a clean geometric sans for everything else, square vermilion buttons with tracked uppercase labels, slideshow dots with a pause button and an italic caption in the corner. It feels like a public service that respects your evening: calm, honest and generous, never flashy.

Use it for: public services, libraries and memberships, community passes, nonprofits, booking for local places (pools, museums, gardens), consumer apps that are free or funded by someone else. Avoid it for: playful kids' brands, technical developer tools, luxury retail, anything that needs a bright daytime feel.

## 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 Lit Scrim 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 service called Openday (free days out on your library card).

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,500;1,7..72,400&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines and UI | Outfit 600 | Hero, section headings, card titles, nav, buttons. Tight tracking (-0.015em). |
| Body | Outfit 400 to 500 | Paragraphs, leads, form labels, table cells. |
| Wordmark and numbers | Literata 400 | The lowercase wordmark, big step numerals, prices, pull quotes. Never bold. |
| Captions | Literata 400 italic | The corner caption on the hero, figure captions under art. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ls-night` | #12110F | Page background, a warm near-black |
| `--ls-night-2` | #1B1917 | Raised bands, cards, the footer |
| `--ls-night-3` | #262320 | Inputs, avatar fill, dark parts of scenes |
| `--ls-line` | #36312C | Every border and divider |
| `--ls-paper` | #F4EFE8 | Headlines and body text |
| `--ls-soft` | #B3AAA0 | Leads, meta and secondary text |
| `--ls-vermilion` | #E9482B | The one action color: primary buttons, eyebrows, active states, one highlighted word |
| `--ls-lamp` | #F2B54A | Lit windows and lamps in scenes, the "Free" stamp, focus rings |
| `--ls-pool` | #3F9D96 | Water in scenes, "Open now" status dots, checkmarks |
| `--ls-dusk` | #3B2D3F | The evening sky in scenes, the fallback behind art |
| `--ls-leaf` | #6C8B4E | Trees and plants in scenes only |

Rules:
- The page is always dark. Raised bands alternate with the base, never lighter than `--ls-night-2`.
- Vermilion is for actions and labels. One primary button per screen, plus small eyebrows.
- Lamp, pool, dusk and leaf live inside drawn scenes and tiny status marks, never in buttons or text blocks.
- The only gradients are the sky inside scenes, the lamp glow and the scrim.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ls-text-hero` | clamp(40px, 5.4vw, 68px) | Hero headline, left aligned, 2 lines, line-height 1.05 |
| `--ls-text-h2` | clamp(30px, 3.6vw, 44px) | Section headings |
| `--ls-text-h3` | 22px | Step and card titles |
| `--ls-text-lead` | 19px | The sentence under a headline, max 560px |
| `--ls-text-body` | 16px | Body |
| `--ls-text-micro` | 12px | Uppercase labels, tracked 0.09em |

Headlines are plain promises ("Free days out, on your library card"). Sentence case. Labels on buttons and eyebrows are short and uppercase ("GET YOUR PASS").

## Shape and space

- Buttons and inputs: square corners (`--ls-radius-0`). This is the strongest shape signal; never round a button.
- Cards, scene tiles and panels: 10px. Badges and the pause button: 6px. Pills only for slideshow dots.
- Borders: 1px `--ls-line`, or 1px `--ls-faint` on outline buttons and store-style badges.
- Shadows: almost none. One deep shadow (`--ls-shadow`) for an object floating on the page, like the library card.
- The hero text sits on the `--ls-gutter` left edge, with the scene's focus on the right two thirds.
- Sections: 72px to 120px vertical padding. Container 1180px, articles 700px.
- Motion: slow crossfades between scenes (900ms) and a 10px fade on the hero text. Respect reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ls-wordmark` | Lowercase serif wordmark |
| `.ls-nav`, `--solid`, `__links`, `__actions` | Nav that floats over the scene; the solid version for pages without a hero |
| `.ls-hero`, `--short`, `.ls-scene`, `.ls-hero__body`, `.ls-hero__title` | Full-bleed scene, the left scrim and the text block on the gutter |
| `.ls-controls`, `.ls-dot`, `.ls-pause`, `.ls-caption` | Slideshow dots (active one stretches), square pause button, italic corner caption |
| `.ls-btn--primary/outline`, `--sm`, `--block` | Square buttons with tracked uppercase labels |
| `.ls-textlink` | "Already have a pass? Sign in ->" line with a bold arrow link |
| `.ls-badges`, `.ls-badge` | Store-style download badges: dark fill, thin border, small line over a big one |
| `.ls-also` | "Works at:" label with a muted list of names |
| `.ls-eyebrow`, `.ls-h2`, `.ls-h3`, `.ls-lead`, `--soft`, `.ls-accent` | Text styles |
| `.ls-section`, `--raised`, `--line`, `.ls-section-head`, `.ls-more` | Sections, a heading row with a "See all" link |
| `.ls-row-wrap`, `.ls-row`, `.ls-tile`, `__art/__title/__meta` | A sideways shelf of 4:5 scene tiles |
| `.ls-stamp`, `.ls-status`, `--closed` | Lamp-yellow "Free" stamp on art; pool-green status dot |
| `.ls-steps`, `.ls-step`, `__num` | Numbered steps with big serif numerals on a top rule |
| `.ls-cards`, `.ls-card`, `__icon` | Raised cards with a thin line icon in lamp yellow |
| `.ls-libcard`, `__bars/__row/__band` | The membership card drawn in CSS, the one light object on the page |
| `.ls-split` | Text next to a visual, stacks under 860px |
| `.ls-quote` | Serif pull quote with a small caption |
| `.ls-plans`, `.ls-plan`, `--featured`, `__label/__name/__desc/__price/__per/__list` | Plan cards; the featured one has a vermilion border and top rule |
| `.ls-table-wrap`, `.ls-table` | Compare table that scrolls sideways on phones |
| `.ls-faq` | `<details>` list with a vermilion plus |
| `.ls-article-head`, `.ls-meta`, `.ls-article-art`, `.ls-figcap`, `.ls-prose`, `.ls-callout`, `.ls-author`, `.ls-avatar` | Article parts |
| `.ls-panel`, `.ls-field`, `.ls-input`, `.ls-select`, `.ls-hint`, `.ls-check`, `.ls-or` | Forms on a raised panel, square fields with a lamp focus border |
| `.ls-footer`, `__grid`, `__base` | Four-column footer on the raised surface |
| `.ls-fade` | Entrance fade, respects reduced motion |

## Pages in this kit

- `demo.html`: landing page with a three-scene slideshow hero, a shelf of places, steps, the drawn card, cards, a quote and a closing call to action.
- `pricing.html`: who pays, as three plans (resident, library, venue), a compare table and an FAQ.
- `blog.html`: a story with a wide scene illustration, italic caption, pull quote, callout and related stories.
- `signup.html`: a split page, a scene with three promises on the left and the form on the right.

## Page recipe

1. Hero: `.ls-hero` with a drawn scene in `.ls-scene` (SVG with `preserveAspectRatio="xMaxYMid slice"` so the focus stays on the right), the nav on top, then the headline, one lead, one primary button, a text link and optional badges. Add slideshow controls and a caption if there is more than one scene.
2. A shelf of tiles (`.ls-row`) showing real things people can do, each with a stamp and a status.
3. A raised band with three numbered steps.
4. A split: a short argument on the left, the drawn card or one illustration on the right.
5. Three cards for three audiences.
6. One quote on a raised band.
7. A centered closing call to action, then the footer.

Drawing scenes: build them as inline SVG `<symbol>`s with `viewBox="0 0 1440 820"`, define them once per page and reuse them with `<use>` in the hero, tiles and article art. Fill shapes with `style="fill:var(--ls-...)"`, put one warm light source (a lamp, a doorway, lit windows) on the right, and keep the left third dark and empty.

Pricing recipe: a `--short` hero with one scene, the plans pulled up close under it, a note in small soft text, a compare table on a raised band and an FAQ in two columns.

Article recipe: the solid nav, a 700px header (back link, eyebrow, title, soft lead, meta), a 980px scene with an italic figure caption, then `.ls-prose` with one pull quote and one callout, an author row and a raised band of related tiles.

Sign-up recipe: two equal columns. The left is a scene with a bottom scrim, the wordmark top left and an eyebrow, heading and three checkmarked promises at the bottom. The right holds the form on `.ls-panel`, one primary button, an "or" divider and an outline button. On phones the scene becomes a 300px band on top.

## Don'ts

- Don't round buttons or inputs, and don't use pill buttons.
- Don't put text in boxes over the scene. The scrim does that job.
- Don't use photos or stock images; draw the scene.
- Don't make the page light, and don't use pure black (#000).
- Don't use vermilion for large fills other than the primary button and the card band.
- Don't bold the serif. Don't set body text in the serif.
- Don't use more than one primary button per screen.
