# Emberline 1.0

A warm editorial design system for technical proof. Built for Pipeline by ProductQuant from the DNA of Pangram, Zernio, and Hypergen.

## 1. The idea

Pangram gives the system its editorial confidence: a high-contrast serif, warm paper, and a real product panel instead of a decorative hero. Zernio gives it technical clarity: a narrow grotesk, a platform rail, and an ember horizon built from stepped bars. Hypergen gives it conversion structure: three plans, a featured middle, mint checks, and a fee row that is legible before the scroll.

The synthesis is one committed system:

- One display serif for the claim.
- One grotesk for the interface.
- One monospace for data.
- One ember accent for action.
- Warm paper and deep ink for everything else.

## 2. Principles

1. **The claim is authored, the work is quiet.** Instrument Serif carries the promise. Inter carries the interface.
2. **One ember action.** Ember is the only action colour. State supports are mint, lavender, butter, and peach. None of them may become a second primary.
3. **Proof over decoration.** Real artefacts, real prices, real platform marks. No invented metrics, testimonials, or customer walls.
4. **The grid is felt, not seen.** Twelve columns, eight-point spacing, one container. Alignment is the craft.
5. **Motion explains.** Only opacity and transform. Tabs crossfade, switches translate, surfaces settle. Nothing changes width or height.
6. **Access is part of the look.** The focus ring is ember. Targets are 44px. Contrast is AA at every size.

## 3. Reference DNA

| Reference | Taken | Left |
|---|---|---|
| Pangram | High-contrast serif, warm paper, tabbed product panel in the hero, editorial scale | Illustration-led hero, cookie-banner clutter |
| Zernio | Narrow grotesk, centred CTA moment, platform rail, ember horizon, technical restraint | Full red-orange body ground, developer-only density |
| Hypergen | Three-plan pricing, featured middle, mint checks, phone-and-CTA nav | Dense nav dropdowns, six-month minimum, pastel card overload |

## 4. Colour

Committed strategy. Ember carries action. Paper carries the page. Ink carries the argument.

| Token | Value | Role |
|---|---|---|
| `--paper` | `oklch(0.973 0.008 85)` | page ground |
| `--paper-2` | `oklch(0.955 0.014 82)` | quiet band |
| `--surface` | `oklch(0.992 0.004 85)` | lifted surface |
| `--ink` | `oklch(0.215 0.018 170)` | text and argument |
| `--ink-2` | `oklch(0.38 0.02 170)` | secondary text |
| `--ink-3` | `oklch(0.55 0.014 170)` | captions |
| `--line` | `oklch(0.88 0.012 82)` | hairlines |
| `--ember` | `oklch(0.66 0.205 38)` | primary action |
| `--ember-deep` | `oklch(0.55 0.20 35)` | hover action |
| `--ember-soft` | `oklch(0.93 0.05 55)` | ember state support |
| `--mint` | `oklch(0.94 0.05 155)` | proof state |
| `--lavender` | `oklch(0.92 0.045 295)` | plan support |
| `--butter` | `oklch(0.94 0.08 90)` | highlight support |
| `--peach` | `oklch(0.92 0.06 55)` | featured support |
| `--charcoal` | `oklch(0.19 0.012 170)` | dark band |

Rules:

- Never use a second orange, red, or blue as an action colour.
- Never place body text on ember. Use ink on ember, paper on charcoal.
- Supports carry state, not headlines.
- No purple-to-blue gradients. The only gradient is the warm peach, butter, and mint hero panel.

## 5. Typography

| Role | Family | Size | Weight | Notes |
|---|---|---|---|---|
| Display | Instrument Serif | `clamp(3.4rem, 6.2vw, 6.4rem)` | 400 | line height 0.95, tracking -0.02em |
| H1 | Instrument Serif | `clamp(2.4rem, 4.2vw, 4rem)` | 400 | one idea per screen |
| H2 | Instrument Serif | `clamp(1.9rem, 3vw, 2.75rem)` | 400 | section claim |
| H3 | Inter | `clamp(1.3rem, 1.6vw, 1.55rem)` | 650 | component and card titles |
| Body | Inter | `clamp(1rem, 1.1vw, 1.125rem)` | 400 | 1.6 line height, 68ch max |
| Small | Inter | 14px | 400 | supporting copy |
| Label | Inter | 13px | 600 | sentence case, no tracking, no capitals |
| Mono | JetBrains Mono | 13px | 400 or 700 | data, tokens, code |

Rules:

- Two families plus one mono outlier role. No fourth family.
- Display weight stays at 400. Do not bold the serif.
- No italic word inside a roman heading.
- Labels are never tracked capitals and never mono unless the label is data.
- Body copy is 18px on desktop and never below 16px.

## 6. Space, radius, elevation

- Spacing: 4, 8, 12, 16, 24, 32, 48, 64, 96, 120. The step is 8px.
- Radii: 6, 10, 14, 20, 28, 999. One radius per nesting level.
- Elevation: three levels only. Rest, raise, stage.
- Container: 1280px max. Gutters grow at 1920, the measure does not.

## 7. Components

| Component | Class | Notes |
|---|---|---|
| Announcement | `.announce` | one line, optional link |
| Navigation | `.nav`, `.nav-inner`, `.brand` | wordmark, four links, one action |
| Mobile menu | `.menu-btn`, `.nav-links.open` | 44px target, aria-expanded |
| Button | `.btn`, `.btn--ghost`, `.btn--quiet`, `.btn--sm` | primary, secondary, inline, compact |
| Icon button | `.icon-btn` | 44px, one icon |
| Badge | `.badge`, `.badge--ember`, `.badge--mint`, `.badge--ink` | state, not section |
| Tabs | `.tabs`, `.tab`, `.tab-panel` | ARIA tabs, arrow-key support, opacity crossfade |
| Segmented control | `.seg` | two states, ember selected |
| Panel | `.panel`, `.panel-tight` | one level only, never nested |
| Swatch | `.swatch`, `.swatch-chip` | token display |
| Type scale | `.type-scale`, `.type-row` | specimen only |
| Scale bar | `.scale`, `.scale-row` | spacing display |
| Fields | `.field`, `.input`, `.range` | labels above inputs |
| Switch | `.switch` | immediate binary, aria-pressed |
| Table | `.table`, `.table-wrap` | header at body size, 3 columns preferred |
| Pricing | `.pricing`, `.plan`, `.plan--featured` | three plans, featured middle |
| Platform rail | `.rail`, `.rail-item` | real platform marks only |
| Proof band | `.band-dark`, `.proof`, `.proof-rule` | dark statement block |
| FAQ | `.faq` | native details and summary |
| Footer | `.footer`, `.footer-grid` | wordmark, links, font credits |
| Ember horizon | `.horizon` | hero signature, barred gradient |

States required on every control: default, hover, focus-visible, active, disabled where relevant.

## 8. Patterns

- **Hero:** asymmetric split. Claim on the left, live system panel on the right. The panel uses tabs, real token chips, and the ember horizon. No browser chrome.
- **Proof band:** dark charcoal, one serif statement, three numbered rules. No statistics unless they are real.
- **Pricing:** three plans, featured middle with ember border and a recommended flag. Meeting fee and no-show line stay visible.
- **Platform rail:** real platform marks, sentence-case names, no customer logos.
- **FAQ:** native details, one question per row, answer in body copy.

## 9. Accessibility

- Landmarks: banner, main, footer, nav with aria-label.
- Skip link first in the document.
- Focus visible: 2px ember, 3px offset, instant.
- Tabs: roving tabindex, ArrowLeft and ArrowRight, aria-controls.
- Switch: aria-pressed and a text label.
- Contrast: AA at every text size. Ink on ember, paper on charcoal.
- Targets: 44px minimum for buttons, tabs, menu, switches, and slider thumbs.
- Motion: `prefers-reduced-motion` removes animation and smooth scroll.
- Content is visible with scripting off. Tabs default to the first panel.

## 10. Files

| File | Purpose |
|---|---|
| `tokens.css` | fonts, colour, type, space, radius, shadow, motion, layout tokens |
| `base.css` | reset, type, layout primitives, reduced motion |
| `components.css` | nav, hero, controls, table, pricing, proof band, footer |
| `index.html` | living specimen and component gallery |
| `tokens.json` | machine-readable token source |
| `DESIGN.md` | this specification |
| `PRODUCT.md` | audience, brand, tone, anti-references |
| `assets/fonts` | Instrument Serif, Inter variable, JetBrains Mono |
| `assets/logos` | real platform marks |

## 11. Do and do not

Do:

- Start with the claim and the proof object.
- Use one ember action per screen.
- Keep labels in sentence case at 13px.
- Let the serif carry scale and the grotesk carry density.
- Use real prices, real platform marks, and real artefacts.

Do not:

- Add a second accent, a second grid, or a second voice.
- Put a card inside a card.
- Use fake browser chrome, status dots, or decorative pips.
- Use tracked capitals, middle-dot meta strings, or arrows glued to link text.
- Invent a metric, testimonial, customer logo, or case-study count.
- Use purple-to-blue gradients, glassmorphism, or gradient text.

## 12. Credits

- Pangram, pangram.com. Editorial confidence, serif display, product panel.
- Zernio, zernio.com. Technical clarity, platform rail, ember horizon.
- Hypergen, hypergen.io/pricing. Conversion structure, three-plan pricing, mint checks.
- Instrument Serif, Inter, and JetBrains Mono are licensed under the SIL Open Font License.
