# Violet Seam

Precise and quiet, like a well-ruled notebook read under a dark sky. Pages sit on a deep graphite ground and every section is held in a hairline frame: rules run edge to edge, panels split on a single vertical seam, and small plus ticks mark where the lines cross the frame. Headlines are a tightly tracked grotesk; labels, times and data are mono. One violet marks every action, worn as a glowing edge rather than a fill. The signature moves are the ruled frame with crossing ticks, the glow-edge button, a small tilted glass slab floating in an otherwise empty panel, and mono tab strips with a violet underline.

Use it for: observatories, science centres, labs, clubs with schedules, booking tools, data-heavy services, events with timetables and anything that wants to feel exact, calm and a little nocturnal. Avoid it for: food, fashion, children's brands, warm hospitality, or anything that needs photography and lots of color.

## 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 Violet Seam 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 a made-up volunteer observatory called Halden Hill.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Geist 500 | Hero, section headings, prices. Tracking -0.045em, sentence case, line-height 1.05. |
| Big numbers | Geist 400 | Stats and prices, same tight tracking, with a small lilac unit after them. |
| Body | Geist 400 | Paragraphs, nav, forms. Secondary text in `--vs-text-soft`. |
| Labels and data | Geist Mono 400 | Uppercase eyebrows (12px, 0.08em), times, tabs, badges, table heads, console lines. |

## Color

| Token | Hex | Use |
|---|---|---|
| `--vs-void` | #111218 | The page ground and empty stage panels. |
| `--vs-panel` | #16171E | Cards, inputs, consoles, buttons. |
| `--vs-panel-2` | #1C1D26 | Icon tiles and hovers. `--vs-panel-3` (#252633) for avatars and the active toggle. |
| `--vs-rule` | #2B2C38 | Every hairline: frame edges, row rules, seams, card borders. |
| `--vs-text` | #ECEBF3 | Main text. `--vs-text-soft` (66%) for body copy, `--vs-text-faint` (40%) for labels, hints and ticks. |
| `--vs-violet` | #9B6DFF | The action color: button edges and their glow, active tab underline, featured plan rule, list markers, focus ring. |
| `--vs-lilac` | #CDBCFF | Violet's light tint: units after numbers, keys in consoles, one highlighted phrase in a headline, icons. |
| `--vs-violet-deep` | #5A2FD8 | The slab's lower edge and the announcement strip. Never text. |
| `--vs-mint` | #86DCC4 | Only for "live", "yes" and "places left". Never an action. |

Rules: violet is light, not paint. Buttons are dark with a violet edge and glow; only one `--solid` violet button is allowed on a page, and most pages need none. Mint appears in small doses for status. Nothing else gets color.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--vs-text-hero` | 42 to 76px | One hero line per page, max about 11 characters wide per line. |
| `--vs-text-h2` | 30 to 46px | Section headings. |
| `--vs-text-h3` | 21px | Card and feature titles. |
| `--vs-text-lead` | 17 to 20px | Intro paragraphs in soft text. |
| `--vs-text-body` | 16px | Body. Articles use 18px. |
| `--vs-text-small` | 14px | Lists, table cells, notes. |
| `--vs-text-label` | 12px | Mono uppercase labels. |

Wrap one phrase of a hero in `<em>` to turn it lilac: "Your own key to a *dark hill*". Once per page at most.

## Shape and space

- The frame: `.vs-frame` is a 1320px column with hairlines on both sides. Every section inside is a `.vs-row`, ruled on top with plus ticks where the rule meets the frame. The first row under the header uses `--flush`.
- Panels split on one seam (`.vs-split`) or into ruled cells (`.vs-cells`). Content never floats free of the grid.
- Corners are small: `--vs-radius` (10px) for cards and consoles, `--vs-radius-sm` (7px) for buttons and inputs, pills for badges and the toggle. The frame itself is square.
- No drop shadows on cards. Light comes from `--vs-glow` on violet edges and one soft radial glow behind the slab. The slab alone casts `--vs-shadow-slab`.
- Section padding 56 to 104px, panel padding 22 to 44px. Article column 700px.

## Components (in components.css)

- Frame: `.vs-frame`, `.vs-row` (`--flush`), `.vs-pad`, `.vs-section` (`--tight`), `.vs-narrow`, `.vs-center`, `.vs-split` (`--wide`), `.vs-cells` (`--2`, `--4`), `.vs-hide-sm`.
- `.vs-strip`: the violet announcement strip above the frame, mono uppercase, with a small arrow tile.
- `.vs-header` with `.vs-logo` (`.vs-logo-mark` glowing ring), `.vs-nav` (`a.is-active`), `.vs-header-end` and `.vs-kbd` (a search hint with a key cap).
- `.vs-btn` (dark with glowing violet edge), `--ghost`, `--solid`, `--sm`, `--block`. `.vs-link` with a violet underline.
- `.vs-label` (`--violet`, `--dot` for a live mint dot; `<b>` inside turns bright), `.vs-badge` (`--violet`, `--mint`), `.vs-tabs` / `.vs-tab` (`.is-active`).
- Hero: `.vs-hero-copy`, `.vs-hero-title`, `.vs-lead`, `.vs-actions`, `.vs-h2`, `.vs-h3`, `.vs-muted`.
- `.vs-stage` (`--dots` adds a faint dot grid) holding `.vs-slab` (`--lg`, `--sm`) with an optional `.vs-slab-inner` icon, plus `.vs-stage-note` for a label and a badge in the panel's corners.
- `.vs-console` with `.vs-tabs` and `.vs-console-body` (`.k` lilac keys, `.v` mint values, `.c` faint separators).
- `.vs-card` (`--link`), `.vs-card-art`, `.vs-icon`, `.vs-num`, `.vs-stat-num` (with `<small>` unit), `.vs-stat-label`, `.vs-logos`, `.vs-ticker` / `.vs-ticker-track`, `.vs-rows` / `.vs-rowline` (mono time, title, badge), `.vs-quote`, `.vs-quote-by`, `.vs-avatar`.
- Forms: `.vs-form`, `.vs-field`, `.vs-field-row`, `.vs-field-label`, `.vs-input`, `.vs-select`, `.vs-textarea`, `.vs-hint`, `.vs-check`, `.vs-divider`, `.vs-choices` / `.vs-choice`.
- Pricing: `.vs-toggle`, `.vs-plans`, `.vs-plan` (`--featured` gets a glowing top rule and a violet wash), `.vs-plan-name`, `.vs-price`, `.vs-plan-note`, `.vs-list` (mono plus markers), `.vs-table-wrap` / `.vs-table`, `.vs-yes`, `.vs-no`, `.vs-faq`.
- Article: `.vs-article-head`, `.vs-article-title`, `.vs-meta`, `.vs-cover`, `.vs-caption`, `.vs-prose`, `.vs-callout` (mint edge), `.vs-author`.
- Footer: `.vs-footer-grid`, `.vs-footer-base`.

## Pages in this kit

- `demo.html`: a violet strip, the header, then a split hero: headline, lead, two buttons and a tabbed console on the left; an empty dotted panel with a glowing slab and corner notes on the right. Then a logo row, three ruled feature cells, four stats, a ticker, a schedule of rows beside a quote, a centered call to action with a small slab, and the footer.
- `pricing.html`: a centered head with the toggle, three plans in ruled columns (the middle one featured), a gift row with a slab, a comparison table and a split FAQ.
- `blog.html`: a narrow article head, a full-width drawn cover with a mono caption, prose with a violet-ruled blockquote, plus-marked list and mint callout, then related cards.
- `signup.html`: a full-height split: reasons, a list and a slab panel on the left; the form with plan choices on the right.

## Page recipe

1. Optional `.vs-strip` for one announcement.
2. `.vs-frame` holding everything. `.vs-header` with the logo, a short nav, the search hint and a small `.vs-btn`.
3. A `.vs-split` hero: copy on the left, an empty `.vs-stage--dots` with one slab on the right. Let the empty space do the work.
4. Ruled rows below: proof (logos or stats), `.vs-cells` features with mono numbers, a `.vs-rowline` schedule or list, one quote.
5. A centered call to action with one small slab above it.
6. A footer row and a base row with mono small print.

## Pricing page recipe

A flush centered head (violet label, hero with one lilac phrase, lead, toggle). `.vs-plans` in one row, the middle `--featured` with the only glowing button; the others are ghost. A single gift row, then the comparison table in its own row and a `.vs-split` FAQ.

## Article page recipe

A narrow head (label, title, mono meta with avatar), a full-bleed drawn `.vs-cover` across the frame with a `.vs-caption` row, then the 700px `.vs-prose` column with one blockquote, one plus list and one callout, ending in `.vs-author`. Related cards in a separate row.

## Sign-up page recipe

The frame fills the window. A `.vs-split`: left has a live label, title, lead, a `.vs-list` and a bordered slab stage pushed to the bottom; right has the step number, heading, `.vs-choices`, fields, checkboxes, one glowing submit, an "or" divider and a ghost alternative. On phones the panels stack and the slab hides.

## Don'ts

- Don't let content sit outside the frame or break the rules. Every section is a ruled row.
- Don't fill large areas with violet or use more than one solid violet button per page.
- Don't add drop shadows to cards or round the frame. Light comes only from violet edges and the slab glow.
- Don't use photography or gradients beyond the strip, the slab glow and the featured plan wash.
- Don't set body copy in mono. Mono is for labels, data and code-like panels.
- Don't use em dashes in copy.
