# Split Letter

Bold, fresh and friendly, like the website of a big public venue that people are proud of. A plain white bar holds a handful of coral text links, each with a tiny filled icon. Under it, a full-bleed drawn scene fills the screen and the venue's name is broken into giant white letter pairs, pushed into the corners of the frame and cropped by its edges, so the name reads like it was painted across the building. A soft dark scrim at the foot of the scene carries a short caption. Type is one rounded geometric family in mixed case, coral is the only action color, corners are nearly square and nothing has a shadow. The footer is a solid coral block with the whole name cropped along its bottom edge.

Use it for: pools, parks, museums and galleries, public venues, venues with memberships and tickets, festivals, city services, community sports, anything that wants to feel open, confident and a little playful. Avoid it for: dense dashboards, developer tools, luxury brands that should whisper, anything with a long or hard to split name.

## 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 Split Letter 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 for Ondine Baths, an invented open-air city lido, built only with the kit. Put `class="sl"` on `<body>`.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500;700;800;900&family=Red+Hat+Text:wght@400;500;700&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Display | Red Hat Display 700 to 900 | Split letters (900), headings (800), nav links, buttons, prices, labels (700). Mixed case, never all caps except the split letters. |
| Body | Red Hat Text 400 to 700 | Paragraphs, leads, inputs, table cells, and the small spaced uppercase kicker (700). |

## Color

| Token | Hex | Role |
|---|---|---|
| `--sl-paper` | #FFFFFF | The page, the top bar, the split letters |
| `--sl-ink` | #1F1C1A | Text, the quote band, table header rule |
| `--sl-soft` | #67625C | Leads, meta text, hints |
| `--sl-plaster` | #F4EFE7 | Every second section, quiet bands |
| `--sl-plaster-2` | #E9E1D4 | Input borders, plan tops, tinted split letters |
| `--sl-coral` | #EA4A3B | The one action color: bar links, buttons, links, kickers, the featured plan, the footer |
| `--sl-coral-dark` | #C8382A | Hover on coral, error text |
| `--sl-coral-soft` | #FDE7E3 | Tags, selected choices, error field fill |

Scene colors, used only inside drawn scenes: `--sl-sky` #DFEEF3, `--sl-wall` #ECD8BD, `--sl-wall-2` #DCC3A2, `--sl-terracotta` #B65A3F, `--sl-pool` #56AACB, `--sl-pool-2` #3B8FB3, `--sl-pool-deep` #22698C, `--sl-tile` #F1ECE2, `--sl-leaf` #5F8A5A, `--sl-sun` #F4C15B. Paint SVG shapes with the `.sl-f-*` fill classes and `.sl-s-*` stroke classes, never raw hex.

Rules:
- White, ink and coral are the page. Scene colors never leak into buttons, text or sections.
- Coral is text in the bar and in links, fill on the main button. One coral button per screen, plus outline buttons.
- One ink band per page at most (a quote or a closing call to action), one coral band (an inner page header) and the coral footer.
- The only gradient is the scrim under captions on scenes.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--sl-text-giant` | clamp(120px, 23vw, 340px) | Split letters, weight 900, tracking -.045em, line-height .78 |
| `--sl-text-hero` | clamp(34px, 4.2vw, 60px) | Hero caption and inner page title, weight 800 |
| `--sl-text-h2` | clamp(30px, 3.6vw, 48px) | Section headings |
| `--sl-text-h3` | 24px | Card and plan titles |
| `--sl-text-nav` | 19px | Bar links |
| `--sl-text-lead` | 20px | The sentence under a heading, soft, max 620px |
| `--sl-text-body` | 17px | Body; 19px inside articles |
| `--sl-text-kicker` | 12px | Uppercase kicker, tracking .16em |

Headlines are friendly, plain sentences in sentence case ("Swim as often as you like"). No exclamation marks.

## Shape and space

- Radius: 3px on buttons, inputs and tags. Scenes, cards and plans are square. Only the author mark is round.
- Borders: 2px coral on buttons, 2px plaster on inputs (coral on focus), 1px `--sl-line` between rows. No heavy black rules except under a table header.
- Shadows: none. Depth comes from letters overlapping the scene and plans overlapping the coral band.
- Sections: 72px to 112px vertical padding. Container 1280px, text measure 700px, gutter 16px to 48px.
- Motion: short (0.18s). Arrows nudge 4px, card titles turn coral on hover.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.sl-bar`, `__inner/__menu/__logo/__actions/__icon/__search/__label`, `.sl-bar__hide-sm` | White top bar: Menu on the left, a small wordmark in the middle, coral links with filled icon chips on the right |
| `.sl-split`, `__pair--top/--left/--bottom`, `--tint`, `--ghost` | The signature: giant letter pairs placed in the corners of any `position: relative` frame and cropped by its edges. White on scenes, `--ghost` (translucent white) on coral, `--tint` on plaster |
| `.sl-hero`, `__scene`, `__caption` | Full-screen hero: an inline SVG scene, split letters, a bottom scrim and a caption bottom-left |
| `.sl-band`, `--plaster`, `__body` | Shorter inner-page header on coral (or plaster) with ghost split letters |
| `.sl-kicker`, `--light`, `.sl-h1`, `.sl-h2`, `.sl-h3`, `.sl-lead`, `.sl-small`, `.sl-link` | Type helpers; `.sl-link` is a coral link with a sliding arrow |
| `.sl-btn`, `--primary/--outline/--white/--ghost-light/--block`, `.sl-btns` | Buttons |
| `.sl-section`, `--plaster/--ink/--tight`, `__head`, `.sl-grid`, `--2/--4` | Sections and grids |
| `.sl-card`, `__scene/__body/__title/__meta` | Card with a 4:3 drawn scene on top |
| `.sl-feature`, `__mark` | Short feature with a coral square mark |
| `.sl-listing`, `__row/__when/__what/__go` | Timetable or "what's on" rows: coral time, bold title, arrow |
| `.sl-tag`, `--plain/--solid/--light` | Small uppercase tags |
| `.sl-quote` | Big quote for the ink band |
| `.sl-plans`, `.sl-plan`, `--featured`, `__name/__for/__price/__list` | Pricing plans; the featured one is solid coral |
| `.sl-table-wrap`, `.sl-table`, `.sl-yes` | Comparison table |
| `.sl-faq` | Details and summary rows with a coral plus |
| `.sl-article`, `__meta`, `.sl-prose`, `.sl-figure`, `.sl-author`, `__mark` | Article layout |
| `.sl-form`, `__row`, `.sl-field`, `--error`, `.sl-label`, `.sl-hint`, `.sl-input`, `.sl-select`, `.sl-check`, `.sl-choice` | Forms |
| `.sl-auth`, `__art`, `__art-body`, `__panel` | Split sign-up layout: scene with letters on the left, form on the right |
| `.sl-footer`, `__cols`, `__fine` | Coral footer with the whole name cropped along the bottom |
| `.sl-f-*`, `.sl-s-*` | Fill and stroke classes for drawn scenes |

## Pages in this kit

| File | Page |
|---|---|
| `demo.html` | Landing: hero scene with split letters, visit intro with three facts, three cards, a timetable, an ink quote band, a closing call to action |
| `pricing.html` | Coral band, three plans overlapping it, comparison table, FAQ, ink trial band |
| `blog.html` | Coral band with title and meta, article with a drawn figure and a coral pull quote, related stories as listing rows |
| `signup.html` | Split layout: scene with letters and a caption, form with an error state, plan choice and checkboxes |

## Page recipe

1. `.sl-bar` with Menu, the wordmark and two or three action links with icon chips.
2. `.sl-hero`: an SVG scene (`preserveAspectRatio="xMidYMid slice"`), then `.sl-split` with three pairs that spell the name (top, left, bottom), then the caption.
3. A white section with a two-column intro and one primary plus one outline button.
4. A plaster section with three `.sl-card`s.
5. A white section with `.sl-listing` rows.
6. An ink band with `.sl-quote`.
7. A short closing call to action, then `.sl-footer`.

**Pricing recipe:** `.sl-band` with ghost letters and extra bottom padding, then a plaster section with zero top padding whose `.sl-plans` pull up over the band with a negative margin. Feature the middle plan. Then a table, an FAQ and an ink band.

**Article recipe:** `.sl-band` holding the kicker, title and `.sl-article__meta` with a `.sl-tag--light`. Then `.sl-article.sl-prose` with a bigger first paragraph, `h2`s, one `.sl-figure` and one `blockquote`. End with `.sl-author` and a plaster section of related `.sl-listing` rows.

**Sign-up recipe:** `.sl-auth` with the scene, two split pairs and a captioned offer in `__art`, and the form in `__panel`: a step kicker, an h1 at h2 size, name row, email, `.sl-choice` for the plan, a select, checkboxes and one full-width primary button.

## Don'ts

- Don't set the split letters in any other color than white (or the ghost and tint variants), and don't let them fit neatly inside the frame: they must be cropped.
- Don't split names into more than three pairs, and keep each pair two or three letters.
- Don't use all caps for headings, buttons or links.
- Don't add shadows, rounded cards or gradients other than the scrim.
- Don't put scene colors in the page chrome, or coral inside the scenes.
- Don't use photos or external images: draw scenes with inline SVG and the fill classes.
- Don't use em dashes in copy.
