# Bang Index

Raw, cheeky and loud in exactly one place. The page is pitch black and the brand runs like a numbered catalogue of everything it has ever done. The hero is not a headline but an index: giant condensed uppercase monospace rows in ash grey, pinned to the bottom of the first screen, each with a tiny stacked serial number (`#` over `14`) on a hairline to its left. Finished things get struck through, the next thing is listed but quiet, and the one thing happening right now wears a hazard-yellow sticker with red bangs (`!!!`). Body copy switches to a plain, tight sans so the jokes stay readable. No radius, no shadows, no photos, no gradients.

Use it for: drops and limited runs, pop-ups, supper clubs and events, art and merch collectives, indie launches, anything numbered or seasonal, brands with a dry sense of humour that want to feel a bit dangerous. Avoid it for: healthcare, finance, children's products, calm wellness brands, anything that needs to feel soft, warm or reassuring, and photo-led catalogues.

## 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 Bang Index 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. Lead with a `.bi-index` of numbered rows, and use at most one hazard-yellow sticker per screen.

`demo.html` (a landing page), `pricing.html`, `blog.html` and `signup.html` are complete example pages built only with the kit, for an invented London supper club called STUNT: once a month a guest chef cooks for 40 strangers somewhere odd (a car wash, a night bus), and every dinner is numbered and never repeated.

## Fonts

Two families, free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Martian+Mono:wdth,wght@75..112.5,300..800&family=Inter+Tight:ital,wght@0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Index, headlines, UI | Martian Mono 500 to 800, width 75 (condensed) | Index rows, the hero, h2 and h3, nav, buttons, labels, tags, stickers, prices, table heads. Always uppercase. Tracking -0.02em on big sizes, +0.08em on labels. |
| Body | Inter Tight 400 to 700 | Paragraphs, lists, form inputs, help and meta text. Sentence case, line-height 1.6. |

Set the condensed width with `font-variation-settings: "wdth" var(--bi-display-wdth)`. The `.bi-display` helper (and every display component) already does this. Never set body paragraphs in the mono.

## Color

| Token | Hex | Role |
|---|---|---|
| `--bi-void` | #000000 | The page, everywhere |
| `--bi-soot` | #0F0F0E | Panels: the sign-up form, figures, a hovered index row |
| `--bi-soot-2` | #1A1A18 | Inputs; the giant footer wordmark |
| `--bi-rule` | #2A2A27 | Every hairline |
| `--bi-bone` | #EEEDE5 | Headings, live rows, values, ghost button borders |
| `--bi-text` | #B4B3AB | Body copy |
| `--bi-ash` | #86857E | Resting index rows, nav links, meta |
| `--bi-dim` | #57564F | Serial numbers, struck-through rows, captions |
| `--bi-hazard` | #FFD60A | The sticker, the primary button, focus rings, one highlighted phrase |
| `--bi-bang` | #E3141F | The `!!!` on the sticker and form errors only |
| `--bi-on-hazard` | #0A0900 | Text on yellow |

Rules:
- Black is the only page color. Use `--bi-soot` for a panel, never for a whole section band.
- The index has three states: ash (upcoming or resting), bone (live or hovered), dim and struck through (gone).
- Hazard yellow appears once or twice per screen: one sticker, one primary button, maybe one `.bi-mark` phrase. The ticker is the only yellow band, and only one per page.
- Red never stands alone as a color. It lives on yellow as bangs, or on a form error.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--bi-text-hero` | clamp(34px, 7.4vw, 108px) | One giant headline per page, 2 lines, weight 700 |
| `--bi-text-index` | clamp(26px, 6.2vw, 88px) | Index rows and plan names, weight 500, line-height 0.98 |
| `--bi-text-h2` | clamp(24px, 3.6vw, 44px) | Section heads, stat numbers, quotes, small index rows |
| `--bi-text-h3` | 19px | Card titles and FAQ questions |
| `--bi-text-lead` | clamp(17px, 1.6vw, 21px) | The sentence under a hero, max 640px |
| `--bi-text-body` | 16px | Body (18px inside articles) |
| `--bi-text-small` | 13px | Nav, buttons, meta, tables |
| `--bi-text-micro` | 11px | Labels and serial numbers |

Copy is short, dry and a little smug ("Pick your level of trouble.", "Six seats. Then it is gone."). Names of things are numbered (`#14`, `#B`). Keep sentences real; the shouting is the type, not the grammar.

## Shape and space

- Radius 0 on everything. No shadows. No gradients except the drawn select caret.
- Borders are 1px `--bi-rule`. Buttons have a 2px border. The only thick colored line is the 4px inset yellow edge on a focused input (red on an error).
- Content sits in `.bi-wrap` (max 1360px, 16 to 40px gutter). Index rows run the full width of it.
- Sections are separated by a hairline and 112px of space (`.bi-section`). Inside, rows are tight: 12px of padding and a hairline.
- Every section head and index row starts with a `.bi-row__serial`. This left column of tiny numbers is what makes the kit read as one catalogue.
- Motion: index rows switch color on hover with a stepped, instant change, and the ticker scrolls (it stops for reduced motion). Nothing fades or slides in.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.bi` | Body class: black page, Inter Tight, no sideways overflow |
| `.bi-wrap`, `.bi-narrow` | Page container; a 640px text column |
| `.bi-display` | Condensed uppercase Martian Mono for any one-off text |
| `.bi-nav`, `__in`, `__logo`, `__links`, `__end` | Sticky nav; the current link gets a yellow `#`; links hide below 720px, the end stays |
| `.bi-sticker`, `--word`, `--lg` | The signature: a yellow square with red `!!!`; the word version holds a short label plus `<b>!!!</b>` |
| `.bi-label`, `--ash` | Tiny uppercase label |
| `.bi-hero`, `.bi-h2`, `.bi-h3`, `.bi-lead`, `.bi-mark` | Headings, lead, one yellow-highlighted phrase |
| `.bi-index`, `.bi-row`, `__serial`, `__title`, `__meta`, `--live`, `--gone`, `--sm` | The numbered index. Rows can be `<a>` (hover lights them) or `<div>` |
| `.bi-stage`, `__top` | First-screen hero: labels on top, the index pinned to the bottom |
| `.bi-btn`, `--hazard`, `--quiet`, `--block`, `.bi-btns`, `.bi-arrow` | Square buttons, the one yellow primary, a link arrow |
| `.bi-section`, `__head`, `.bi-grid`, `.bi-card`, `__num` | Section with a serial and h2; a ruled three-cell grid of cards |
| `.bi-ticker`, `__track` | One yellow marquee band (wrap clips, track repeats twice) |
| `.bi-stats`, `.bi-stat`, `__num` | Ruled row of big numbers |
| `.bi-quote` | Uppercase quote with yellow curly marks |
| `.bi-tag`, `--gone`, `--live` | Outlined status tags |
| `.bi-switch`, `.bi-plans`, `.bi-plan`, `--pick`, `__name`, `__price`, `__cta`, `.bi-list` (`.is-no`) | Pricing as index rows; lists with a yellow `!` bullet or a struck `×` |
| `.bi-table-wrap`, `.bi-table` | Ruled table |
| `.bi-faq` | `details` FAQ with a yellow plus |
| `.bi-form`, `.bi-field`, `--error`, `.bi-input`, `.bi-select`, `.bi-pass`, `.bi-help`, `.bi-error`, `.bi-check`, `.bi-or`, `.bi-panel` | Forms |
| `.bi-article`, `.bi-byline`, `.bi-avatar`, `.bi-figure`, `.bi-note` | Article body, byline with an initials square, figure panel, a yellow-outlined note with a sticker |
| `.bi-footer`, `__cols`, `__big` | Footer with link columns and a giant near-black wordmark |

## Pages in this kit

- `demo.html`: landing page (stage with an index of five stunts: one live with a sticker, three struck through, one coming; a ticker; an intro with a serial, a highlighted phrase and buttons; a three-cell how-it-works grid; stats; a quote beside a list; a closing hero line).
- `pricing.html`: a monthly or yearly switch, three plans as index rows with the picked one in bone and a sticker, small print, a comparison table, FAQ and a closing line.
- `blog.html`: a write-up of stunt #14 with a struck tag, a giant title, a byline, serial-numbered h2s, a drawn seating plan, a list, a note, a quote and an index of more posts.
- `signup.html`: a hero with a sticker and a three-step index on the left, the form in a soot panel on the right (with an error state).

## Page recipe

1. `.bi-nav`: logo, three links, and at the end one link with an arrow plus one sticker.
2. `.bi-stage`: two `.bi-label`s along the top, then a `.bi-index` of three to six rows pinned to the bottom. One row is `--live` with a `.bi-sticker--word`; past rows are `--gone`.
3. One `.bi-ticker` straight after the stage (optional, one per page).
4. An intro section: serial, an h2 with one `.bi-mark` phrase, a lead and two buttons.
5. A `.bi-section` with a `__head` and a `.bi-grid` of three cards.
6. `.bi-stats`, then a `.bi-quote` next to a `.bi-list`.
7. A closing `.bi-hero` line and the one yellow button, then `.bi-footer` with the giant wordmark.

## Pricing page recipe

1. A label, a two-line `.bi-hero`, the `.bi-switch` (keep both prices in `data-` attributes and swap them with a few lines of JS) and a lead.
2. `.bi-plans`: each plan a `.bi-plan` with a letter serial, the name at index size, the price and a `.bi-list`, and a button. The picked plan gets `--pick`, a sticker and the only yellow button.
3. Small print, then a section with a `.bi-table`, then a `.bi-faq` with the first item open.
4. A short closing h2 with one button.

## Article page recipe

1. A `.bi-tag` (struck if the thing is over) and a label, the title as `.bi-hero`, a lead and a `.bi-byline`.
2. One paragraph per `<p>` inside `.bi-article`; the first letter turns yellow automatically.
3. Every h2 starts with a `.bi-row__serial`.
4. Use one `.bi-figure` drawn in CSS, one `.bi-list`, one `.bi-note` with a sticker and one `.bi-quote`.
5. Close with buttons and a `.bi-index` of `--sm` rows linking to more posts.

## Sign-up page recipe

1. Nav with only a log-in link at the end (no sticker; the hero has it).
2. Two columns: a label, a `.bi-hero` ending in `.bi-sticker--lg`, a lead and a three-row `--sm` index of what happens next, the first one `--live`.
3. A `.bi-panel` with `.bi-form`: two names side by side, email (show an error with `.bi-field--error`), password with a show toggle, a plan select, a free-text field with help, a checkbox, the yellow block button, an "or" divider and two quiet buttons with letters, no brand logos.
4. A one-line footer.

## Don'ts

- Don't put more than one sticker in view, or use yellow for a whole section other than the single ticker.
- Don't set body copy in the mono, or the index in the sans.
- Don't round corners, add shadows, glows, gradients or photos.
- Don't drop the serial numbers; every row and section head gets one.
- Don't center the index or make its rows narrow. It runs the full width.
- Don't use red as a text or background color on its own.
- Don't use em dashes in copy.
