# Mirror Rule

Plain, workmanlike and a little retro, like the homepage of a long-lived tool that never needed a redesign. The page is black. The header is two mirrored menus split around a centered emblem of three overlapping colored lights: the left menu is right-aligned, the right menu is left-aligned, and every item is a bold uppercase label sitting on a hairline rule with a small lowercase caption under it. One signal green does all the pointing. The product shot is a drawn control desk (cue rows, meters and faders) in a flat panel. Headlines are light sans, the wordmark and page titles are a carved-looking Marcellus, and readouts are mono. Corners are square and nothing has a drop shadow; only the meters glow.

Use it for: creative tools, hardware and gear hire, music, theatre and event services, indie software, workshops and studios, anything that wants to feel honest, capable and unfussy. Avoid it for: soft wellness brands, kids, luxury fashion, or anything that needs a bright, airy page.

## 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 Mirror Rule 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 Gelbox, a made-up stage lighting hire company.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Marcellus&family=Open+Sans:wght@300;400;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Wordmark and titles | Marcellus 400 | The wordmark (uppercase, wide tracking) and the one page title on inner pages. Nowhere else. |
| Headlines | Open Sans 300 | Section headings and the "This is Gelbox." intro line. Light, never bold. |
| Labels | Open Sans 700 | Menu labels, card titles, buttons, form labels. Always uppercase with 0.04em tracking. |
| Body | Open Sans 400 | Paragraphs and captions. Articles use 300 at 17px. |
| Readouts | IBM Plex Mono 400 | Version lines, dates, file names, cue names, badges. Uppercase, 11px. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--mr-void` | #050506 | The page background |
| `--mr-panel` | #131418 | Screens, the lit plan, every second section |
| `--mr-panel-2` | #1C1E23 | Screen title bars and the fader bank |
| `--mr-line` | #33363C | Every hairline rule and border |
| `--mr-paper` | #EBE8E1 | Labels, headings, body text |
| `--mr-dim` | #8E9097 | Captions, leads and secondary text |
| `--mr-signal` | #45EE7C | The one accent: links, the primary button, meters, the lit menu item |
| `--mr-red` | #E5432F | Emblem light, cue blocks, the top of a meter |
| `--mr-blue` | #2F80F2 | Emblem light, cue blocks |
| `--mr-amber` | #F1B23B | Playhead, meter warning zone, cue blocks |
| `--mr-teal` | #2FC7B4 | Cue blocks |

Rules:
- Black is the default. Use `--mr-panel` for every second or third section, never for the whole page.
- Signal green is for things you can click or things that are live. One lit menu item, one primary button per view.
- Red, blue, amber and teal live only in the emblem, cue rows, meters and card dots. Never color text or buttons with them.
- The only gradient is the meter fill (green to amber to red). No glows except on meters.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--mr-text-hero` | clamp(34px, 4.6vw, 56px) | Marcellus page titles on inner pages |
| `--mr-text-h2` | clamp(26px, 3vw, 36px) | Light sans section headings and the intro line |
| `--mr-text-h3` | 15px | Uppercase bold labels for cards and article sub-heads |
| `--mr-text-lead` | 18px | Light, dim sentence under a heading, max 600px |
| `--mr-text-body` | 15px | Body |
| `--mr-text-micro` | 11px | Mono readouts |

Headlines are plain statements ("Everything in the van", "This is Gelbox."). Menu captions are lowercase fragments with no period ("by the night or the run").

## Shape and space

- Radius: 0 everywhere. The emblem lights and card dots are the only circles.
- Borders: 1px `--mr-line`. The lit plan gets a 3px signal line on top; a blockquote gets a 2px signal line on the left. Nothing else is thicker.
- Shadows: none. Meters get `--mr-glow`.
- Container 1000px; articles 680px. Sections 56px to 96px vertical padding.
- Symmetry matters: the header and footer are mirrored around the emblem. Inner pages use the compact bar (emblem and wordmark left, labels right).
- Motion: color changes only, 0.2s. Nothing slides or bounces.

## Components (in components.css)

- **Base**: `.mr` on `<body>`, `.mr-container`, `.mr-narrow`, `.mr-section`, `.mr-section--panel`, `.mr-rule`.
- **Split header**: `.mr-split` holding `.mr-menu--left`, `.mr-emblem` and `.mr-menu--right`. Each item is an `<a>` with `.mr-menu__label` and `.mr-menu__caption`; add `.mr-menu__item--lit` to the one primary item.
- **Emblem**: `.mr-emblem` with `.mr-emblem__lights` (three `.mr-emblem__light--r/g/b`), `.mr-wordmark`, `.mr-wordmark__sub`. `.mr-emblem--sm` for bars and footers.
- **Compact bar**: `.mr-bar`, `.mr-bar__brand`, `.mr-bar__links` (mark the links to keep on phones with `.mr-bar__keep`).
- **Type**: `.mr-hero-title`, `.mr-h1`, `.mr-h2`, `.mr-h3`, `.mr-lead`, `.mr-readout`, `.mr-caption`, `.mr-signal`.
- **Buttons**: `.mr-btn` with `--primary` (signal fill) or `--line` (hairline), `--block`; group in `.mr-actions`.
- **Screen and desk**: `.mr-screen`, `.mr-screen__bar`, `.mr-cues` of `.mr-cue` (`__name`, `__lane`, `__block` with `--from`, `--len`, `--tint`), `.mr-playhead`, `.mr-desk` of `.mr-channel` (`__knob`, `__track`, `.mr-meter` with `--lvl`, `.mr-fader` with `--pos`, `__id`).
- **Content**: `.mr-intro` (three columns), `.mr-mirror` (right-aligned keys, left-aligned values, a rule between), `.mr-grid` of `.mr-card` with `.mr-card__dot`, `.mr-badge` (`--lit`), `.mr-toggle`.
- **Pricing**: `.mr-plans`, `.mr-plan`, `.mr-plan--lit`, `.mr-price`, `.mr-ticks`, `.mr-faq`.
- **Article**: `.mr-article`, `.mr-byline`.
- **Forms**: `.mr-form`, `.mr-field`, `.mr-label`, `.mr-input`, `.mr-select`, `.mr-hint`, `.mr-check`, `.mr-choice`.
- **Footer**: `.mr-footer`, `.mr-footer__split`, `.mr-footer__links`, `.mr-footer__fine`.

## Pages in this kit

- `demo.html`: split header, the desk screen, the three-column intro, a kit list as a mirrored list, three steps as cards, a closing call to action, mirrored footer.
- `pricing.html`: compact bar, centered Marcellus title, a period toggle, three plans split by hairlines with the middle one lit, FAQ.
- `blog.html`: compact bar, a narrow article with a mono byline, a cue-row figure, a signal-ruled pull quote, more posts as cards.
- `signup.html`: compact bar, an underline form with a three-way choice, and a side screen with a small fader bank and a mirrored list.

## Page recipe

1. `<body class="mr">`, then `.mr-split` in a container: three items per menu, the most important one lit, emblem in the middle.
2. A `.mr-screen` right under it, showing the product as a drawn desk, list or timeline. No photos.
3. `.mr-intro`: "This is [Name]." in light sans, then two short paragraphs.
4. Alternate black and `--panel` sections. Use `.mr-mirror` for specs, `.mr-card` for steps.
5. End with one call to action and the mirrored footer.

Pricing recipe: compact bar, centered `.mr-hero-title`, a `.mr-toggle`, `.mr-plans` with exactly one `.mr-plan--lit`, then `.mr-faq` on a panel section.

Article recipe: compact bar, `.mr-narrow` header with a signal readout, Marcellus title, lead and `.mr-byline`, then `.mr-article`. One figure built from kit parts, one pull quote.

Sign-up recipe: compact bar, a two-column layout with the form left and a screen right. Underline inputs, uppercase labels, one full-width primary button.

## Don'ts

- Don't round corners or add drop shadows.
- Don't use the emblem colors for text, buttons or backgrounds.
- Don't bold the headlines or set body text in Marcellus.
- Don't break the mirror: if the left menu has three items, the right one has three.
- Don't add photos to the hero. Draw the product.
- Don't use em dashes in copy; use colons or commas.
