# Boxed Out

A late-night studio look. The page is pure black. Headlines are enormous, mixed case and set very tight, so whole lines read like one heavy shape. Everything else lives in its own box: halls, cards, stats, plans and even the two halves of a sign-up page sit in separate hairline frames with a small, even gap between them, like a wall of labelled bins. Nav links carry tiny superscript counts such as `Problems(412)`, section titles are introduced by a quiet grey kicker, and a single ember orange dot means "open" or "live". A small pill switch floats at the bottom of the screen. It feels confident, quiet and expensive, and it never shouts with color.

Use it for: agencies and studios, gyms and memberships, late-night venues, product launches, developer platforms, anything that lists many places, items or clients. Avoid it for: children's products, healthcare, soft wellness brands, or anything that needs warmth, pastels or rounded friendliness.

## 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 Boxed Out 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` is a complete landing page built only with the kit. `pricing.html`, `blog.html` and `signup.html` show the other page types. The example product is Holdfast, a network of six bouldering halls that stay open until 2am.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Display | Inter Tight 600 (700 for the logo and footer wordmark) | Every headline, kicker, row title, price and stat. Mixed case, letter-spacing -0.045em, line-height 0.94. |
| Body | Inter 400 to 600 | Paragraphs, nav links, buttons, form fields, article body. |
| Meta | JetBrains Mono 500 to 600 | Tiny uppercase metadata, superscript counts, chips, times, the floating switch. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--bx-black` | #050505 | The page and box fills |
| `--bx-soot` | #0E0E0D | Art panels inside boxes, inputs, the featured plan |
| `--bx-soot-2` | #181816 | Hover on a box |
| `--bx-bone` | #EDEAE3 | Text on black, primary buttons, the one light section (comparison table or article body) |
| `--bx-mute` | #8C8A84 | Secondary text on black |
| `--bx-dim` | #5A5955 | Kickers, box numbers and the dimmed second half of a headline |
| `--bx-ember` | #FF5B14 | Status dots, one hot detail per drawing, live chips, errors |
| `--bx-ink-soft` | #57554F | Secondary text on bone |

Rules:
- Black is the page. Bone appears as text, the primary button and at most one full section per page.
- Ember is a signal, not a theme. Use it for dots, one chip, one hold in a drawing or an error. Never as a section background or for a whole headline.
- Contrast inside a headline comes from `.bx-dim-word` (grey), not from color.
- No gradients and no soft shadows, except the float shadow on `.bx-switch`.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--bx-text-hero` | clamp(48px, 7.6vw, 118px) | Hero headline, two or three lines, max 13em wide |
| `--bx-text-h1` | clamp(42px, 5.6vw, 84px) | Page titles and the closing call to action |
| `--bx-text-h2` | clamp(32px, 3.6vw, 52px) | Section titles, always under a `.bx-kicker` |
| `--bx-text-h3` | 22px | Card and plan titles |
| `--bx-text-lead` | clamp(17px, 1.35vw, 20px) | Paragraph under a headline, weight 500, max 34em |
| `--bx-text-body` | 16px | Body; 18px in articles |
| `--bx-text-label` | 13px | Nav links, small buttons, field labels |
| `--bx-text-micro` | 11px | Mono metadata and chips |

## Shape and space

- Boxes, buttons and inputs are square. The only round things are the status dot, chips, the billing toggle and the floating switch, which are full pills.
- Every box has a 1px hairline (`--bx-line`). Lists get a stronger top rule (`--bx-line-strong`).
- The signature is the gap: boxes in a grid sit `--bx-gap` (12px) apart and never share a border.
- The layout runs nearly full bleed with a 16px gutter and a 1440px max width. Sections have 112px vertical padding.
- Signature moves: the giant tight headline, the wall of gapped bins with a mono number top left and an ember dot top right, superscript counts after nav links and section titles, the floating Day/Night pill, and a huge wordmark that fills the footer.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.bx-wrap` | Page container with the 16px gutter |
| `.bx-hero-title`, `.bx-h1`, `.bx-h2`, `.bx-h3`, `.bx-lead`, `--mute`, `.bx-kicker`, `.bx-meta` | Type; `.bx-dim-word` greys part of a headline, `.bx-hot` makes a character ember |
| `.bx-sup` | Superscript mono count, for nav links and titles |
| `.bx-dot`, `--pulse`, `.bx-chip`, `--ember`, `--bone` | Status dot and pill chips |
| `.bx-btn--bone/ember/ghost/ink`, `--sm`, `--block`, `__arrow`, `.bx-link` | Square buttons that never wrap, and an underlined text link |
| `.bx-nav`, `__inner`, `__links`, `__end`, `__status`, `.bx-logo`, `__stop` | 36px sticky nav; links and status hide below 900px |
| `.bx-section`, `--tight`, `--rule`, `--bone` | Sections; `--bone` is the one light section |
| `.bx-head`, `__aside` | Section header: kicker and h2 on the left, a button or note on the right |
| `.bx-hero`, `__lead`, `__actions`, `__foot` | Hero blocks |
| `.bx-bins`, `--4`, `--3`, `--2`, `.bx-bin`, `__mark`, `__corner`, `__status` | The gapped box grid (6 across, 3 on tablet, 2 on phone) |
| `.bx-bin--card`, `__art`, `__body`, `__title`, `__text`, `__foot` | A tall bin with a drawn art panel, title, text and a mono footer |
| `.bx-rows`, `.bx-row`, `__num`, `__title`, `__text`, `--live` | Numbered index rows with a big title and a chip on the right |
| `.bx-split`, `__copy`, `.bx-stats`, `.bx-stat`, `__num` | Two boxes side by side and a row of stat boxes |
| `.bx-quote`, `.bx-avatar`, `--lg` | Large testimonial and square initials avatar |
| `.bx-switch`, `--inline` | Floating pill switch fixed to the bottom center |
| `.bx-cta`, `__actions` | Boxed closing call to action |
| `.bx-toggle`, `.bx-plans`, `.bx-plan`, `--featured`, `__top/__name/__price/__text/__list` | Billing toggle and gapped plan boxes |
| `.bx-table-wrap`, `.bx-table`, `__yes`, `__no` | Comparison table for the bone section; scrolls on phones |
| `.bx-faq` | Native `<details>` rows with a mono plus that turns into an ember minus |
| `.bx-article-head`, `__tags`, `.bx-byline`, `__name`, `.bx-cover`, `.bx-figcap` | Article header and drawn cover |
| `.bx-prose`, `.bx-note`, `.bx-author` | Article body on bone, tip box and author row |
| `.bx-form`, `.bx-field`, `.bx-field-label`, `.bx-input`, `.bx-select`, `.bx-help`, `.bx-error`, `.bx-field--error`, `.bx-row-2` | Form fields |
| `.bx-check`, `.bx-divider-text`, `.bx-choice` | Square checkbox, "or" divider, segmented radio |
| `.bx-footer`, `__grid`, `__col`, `__word`, `__base` | Footer with link columns and a giant wordmark |

## Pages in this kit

- `demo.html`: nav with counts, a giant hero headline with a lead and two buttons, a wall of six hall bins, four problem cards, tonight's classes as index rows, a drawn wall beside a testimonial, four stat boxes, a boxed call to action, the wordmark footer and the floating Day/Night switch.
- `pricing.html`: title with a dimmed second phrase and the billing toggle, three gapped plan boxes with the middle one featured, a comparison table on bone, an FAQ and a one-line closing band.
- `blog.html`: article header with chips and byline, a wide drawn cover, prose on bone with a tip box and a pull quote, then three related cards.
- `signup.html`: two gapped boxes at full height. The left one has the logo, a giant headline, a mini wall of halls and a testimonial. The right one has the form with an error state and a segmented choice.

## Page recipe

1. `.bx-nav` with the lowercase logo and its ember full stop, five or six links with `.bx-sup` counts, a status line and a bone `--sm` button.
2. `.bx-hero`: `.bx-hero-title` across most of the width, then a lead and two buttons on the left and one chip on the right.
3. A `.bx-kicker` then `.bx-bins` with six bins (number top left, dot top right when open).
4. `.bx-section--rule` with `.bx-head` and four `.bx-bin--card`s.
5. `.bx-rows` with the first row `--live`.
6. `.bx-split` (drawing plus quote) and `.bx-stats` under it.
7. `.bx-cta` with an ember chip, an h1 whose second sentence is `.bx-dim-word`, and two buttons.
8. `.bx-footer` with the giant wordmark, and `.bx-switch` floating at the bottom.

## Pricing page recipe

1. Nav. A title row: kicker with a count, a hero-size title with a dimmed last phrase and a lead on the left, `.bx-toggle` on the right.
2. `.bx-plans` with the middle plan `--featured`, an ember "Most picked" chip and a bone button. Side plans use ghost buttons.
3. A `--bone` section with `.bx-table`.
4. `.bx-faq` up to 900px wide, then a tight closing band with an h2 and one bone button.

## Article page recipe

1. Nav, then `.bx-article-head` in a 1100px wrap: a bone chip and a plain chip, an h1, a muted lead and the byline.
2. A `.bx-cover` drawn in inline SVG with one ember detail, and a `.bx-figcap` of two mono labels.
3. A `--bone` section with `.bx-prose`: h2s, a list, one `.bx-note`, one pull quote and `.bx-author` at the end.
4. A black section with `.bx-head` and three `.bx-bin--card`s in `.bx-bins--3`.

## Sign-up page recipe

1. Two boxes at full height with `--bx-gap` between them. Left: logo, a hero-size headline with a dimmed second sentence, a lead, a 3 by 2 mini wall of bins and a quote at the bottom.
2. Right: a 440px form. h2 and a mono promise line, two ghost social buttons, the divider, then fields.
3. Errors use `.bx-field--error` and `.bx-error` right under the field. Helper text under the password.
4. A `.bx-choice` segmented radio, the checkbox and a full-width bone submit.
5. Below 860px the boxes stack and the mini wall hides.

## Don'ts

- Don't use all caps or a light weight for headlines, and don't loosen the tracking.
- Don't join boxes into one bordered grid; keep the gap between them.
- Don't use ember for more than a dot, a chip, one detail in a drawing or an error.
- Don't round boxes, buttons or inputs, and don't add soft shadows.
- Don't add a second accent color or a gradient.
- Don't use em dashes in copy.
