# Ridge Line

Plain, confident and a little architectural. White pages held together by one thin black line: the masthead is a single hairline ridge that climbs and drops across the full width and stretches with the window, framing a heavy grotesk wordmark. Under it runs a ruled row of huge bold uppercase links, then quiet body text, outlined square buttons and 1px black rules between everything. Color is rare: one ultramarine for actions and small round "hold dots" in yellow, pink, green and orange that mark categories and grades. It reads like a good venue's printed program: loud headlines, calm everything else.

Use it for: venues and places people visit (gyms, studios, halls, galleries, markets), clubs and memberships, events and festivals, classes and workshops, civic or cultural programs. Avoid it for: dense dashboards, soft wellness brands, luxury goods that need texture and photography, anything that should feel cute.

## 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 Ridge Line 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 an invented bouldering gym called Crux Hall.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@500;700;800;900&family=Instrument+Sans:wght@400;500;600&family=Spline+Sans+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Display | Schibsted Grotesk 800 to 900 | Wordmark, hero, section headings, the big nav row, plan names, big numbers. Uppercase with tight tracking (-0.035em). |
| Headings | Schibsted Grotesk 700 | Card titles, list titles, FAQ questions, pull quotes. Sentence case. |
| Body | Instrument Sans 400 to 600 | Paragraphs, buttons, form text, captions. |
| Mono | Spline Sans Mono 400 to 500 | Labels, times, grades, step counters, table values. Uppercase with wide tracking for labels. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--rl-paper` | #FFFFFF | The page. Almost everything sits on white |
| `--rl-chalk` | #F3F1EC | Plates (drawn picture panels), the odd quiet section, the sign-up side panel |
| `--rl-chalk-2` | #E6E3DB | Shaded wall panels inside plates, avatars |
| `--rl-ink` | #111111 | Text, every rule, the ridge, the one dark band per page |
| `--rl-soft` | #5C5B57 | Leads, captions, secondary text |
| `--rl-blue` | #2337E6 | The one action color: primary buttons, active nav underline, list bullets, checked inputs |
| `--rl-blue-soft` | #E3E6FD | The featured plan, selected choices, blue chips |
| `--rl-hold-yellow` | #F4C430 | Hold dot |
| `--rl-hold-pink` | #F25C9A | Hold dot |
| `--rl-hold-green` | #2FAE5F | Hold dot |
| `--rl-hold-orange` | #F0783A | Hold dot, and the error color |

Rules:
- White first. Use chalk for plates and at most one full section per page; use ink for one band per page (a quote, a closing call to action).
- Ultramarine is for things you can press or that show "you are here". Never for headings or backgrounds larger than a plan column.
- Hold colors appear only as small round dots (10 to 14px) or as holds inside a drawn plate. Never as text color, button color or section background.
- No gradients, no shadows, no tints of black for borders: rules are solid `--rl-ink`, except the soft divider inside plan lists.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--rl-text-mast` | clamp(56px, 10vw, 148px) | The masthead wordmark, weight 900, line-height 0.86, often on two lines |
| `--rl-text-hero` | clamp(42px, 6.6vw, 96px) | Hero and page titles, uppercase, line-height 0.98 |
| `--rl-text-nav` | clamp(22px, 2.6vw, 38px) | The big ruled nav row, uppercase |
| `--rl-text-h2` | clamp(32px, 4.2vw, 58px) | Section headings, uppercase |
| `--rl-text-h3` | 24px | Card and column titles, sentence case, weight 700 |
| `--rl-text-lead` | 20px | The sentence under a heading, soft gray, max 620px |
| `--rl-text-body` | 16px | Body; article prose runs at 18px |
| `--rl-text-tiny` | 12px | Mono labels, uppercase, 0.08em tracking |

Headlines are plain statements of what you get ("Climb something new every week"), short enough to set in uppercase without shouting nonsense. No exclamation marks.

## Shape and space

- Lines: 1px `--rl-ink` everywhere (`--rl-stroke`). The only 2px line is the active nav underline in ultramarine.
- Corners: square. The only round things are hold dots and radio buttons.
- Shadows: none. Depth comes from rules and white space.
- Layout: a wide container (1344px) with generous gutters; rules run across the container, not the full window.
- Columns are separated by vertical rules, not boxed into cards.
- Sections: 64px to 120px vertical padding. Article text 720px wide.
- Motion: the masthead ridge draws itself left to right once on load (`.rl-ridge--draw`), and the hero text rises 12px. Nothing else moves. Both respect reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.rl-mast`, `__art`, `.rl-mast-word`, `__bar`, `__hours`, `--compact` | The masthead: wordmark top left, the ridge SVG stretched across `__art`, and a right-aligned bar with opening hours and outlined buttons. `--compact` for inner pages |
| `.rl-ridge`, `--draw` | The signature line: an inline SVG `<polyline>` with `preserveAspectRatio="none"` and `vector-effect="non-scaling-stroke"`, so it stretches with the box and stays 1px |
| `.rl-ridge-rule`, `--sm` | A short stretched ridge used as a section divider |
| `.rl-nav`, `__links`, `__tools`, `.is-active`, `.rl-icon-btn` | The big uppercase link row between two rules, with a search icon on the right |
| `.rl-notice` | A plain line of news under the nav, closed by a rule |
| `.rl-btn`, `--primary/ink/on-ink`, `--lg/sm/block`, `__arrow` | Square outlined buttons in uppercase; they fill black on hover. Primary is ultramarine |
| `.rl-hero-title`, `.rl-h2`, `.rl-h3`, `.rl-lead`, `.rl-label`, `.rl-small`, `.rl-mono` | Type helpers; `.rl-label` is the mono uppercase kicker, usually with a dot |
| `.rl-dot`, `--yellow/pink/green/orange/blue`, `--lg` | Hold dots for categories, grades and status |
| `.rl-hero`, `.rl-actions` | Two-column hero: title and buttons left, a tall plate right |
| `.rl-plate`, `--tall/--wide`, `__caption`, `.rl-figcaption` | A chalk picture panel drawn with inline SVG: wall panels as thin lines, holds as colored circles. Use the `rl-plate__panel/fill/ink/y/p/g/o/b` classes inside the SVG |
| `.rl-section`, `--rule/--chalk/--ink`, `.rl-section-head` | Section surfaces; `--rule` draws a container-width rule on top |
| `.rl-cols`, `.rl-col`, `__num` | A row of ruled columns with a mono number and dot |
| `.rl-tiles`, `.rl-tile`, `__kicker/__title` | Picture over caption, for events and posts |
| `.rl-list`, `__row/__time/__title/__tags` | Ruled schedule rows: mono time, bold title with a sub-line, chips or dots |
| `.rl-chip`, `--blue/--ink` | Square mono chips for status ("2 spots", "Full") |
| `.rl-quote`, `.rl-stats`, `.rl-stat` | Bold pull quote; big numbers under a rule |
| `.rl-toggle` | Square segmented toggle; the pressed option fills black |
| `.rl-plans`, `.rl-plan`, `--featured`, `__label/__name/__desc/__price/__list` | Plans as ruled columns; the featured one has a soft blue ground and a thick blue top edge |
| `.rl-table-wrap`, `.rl-table`, `__yes/__no` | Comparison table with uppercase headers and mono values; scrolls sideways on phones |
| `.rl-faq` | FAQ from `<details>`, mono plus that turns into a cross |
| `.rl-article-head`, `.rl-author`, `--card`, `.rl-avatar`, `.rl-meta` | Article header with a ruled author strip and slash-separated meta |
| `.rl-article-grid`, `.rl-toc` | Sticky numbered table of contents beside the text |
| `.rl-prose`, `.rl-callout` | Long-form text: ruled uppercase h2s, blue dot bullets, mono numbered lists, ruled pull quote, chalk inline code; an outlined note with a dot |
| `.rl-form`, `.rl-form-row`, `.rl-field`, `__label`, `.rl-input`, `.rl-select`, `.rl-input-wrap`, `.rl-input-toggle` | Underline-only inputs with mono labels; focus turns the underline ultramarine |
| `.rl-help`, `.rl-error`, `.rl-field--error` | Helper and error text; errors use the orange hold color |
| `.rl-check`, `.rl-choices`, `.rl-choice` | Square checkboxes; radio options as ruled rows that tint blue when chosen |
| `.rl-steps`, `.rl-divider-text` | Mono step counter with the current step underlined; a rule with "or" |
| `.rl-footer`, `__ridge/__word/__cols/__bottom` | Footer opened by a small ridge and a big wordmark, then ruled link columns |
| `.rl-rise`, `.rl-m0`, `.rl-mt-4/5/6` | Entrance animation and spacing helpers |

## Pages in this kit

- `demo.html`: the landing page (masthead, nav, notice, hero with plate, event tiles, schedule, ruled columns, ink quote band, chalk call to action, footer).
- `pricing.html`: a compact masthead, title with a billing toggle, three ruled plans, a comparison table, an FAQ and an ink call to action.
- `blog.html`: an article header, a wide cover plate, a sticky contents list beside the prose, an author card and related posts.
- `signup.html`: a booking form with steps, underline inputs, plan choices and checkboxes, beside a chalk panel with a plate and a first-visit schedule.

## Page recipe

1. Masthead: the wordmark top left (two lines on the landing page), the ridge drawn across the full container behind it, then the hours line and two outlined buttons on the right.
2. The nav row: four to six big uppercase links between two rules, the current page underlined in ultramarine.
3. A one-line notice under the nav, closed by a rule, when there is news.
4. Hero: mono label with a dot, uppercase title over three or four lines, a soft lead, a primary and an outlined button. A tall plate on the right.
5. Ruled sections on white: tiles, a schedule list, a row of ruled columns. Each starts with a mono label and an uppercase h2.
6. One ink band (quote and stats), one chalk call to action, then the footer with its own small ridge.

### Pricing recipe

Compact masthead and nav, then a two-column head: title left; lead and the square toggle right. Plans as ruled columns with the featured one in soft blue. Then the comparison table, an FAQ beside its heading, and one ink call to action.

### Article recipe

Label, uppercase title (up to two lines), lead and a ruled author strip. A wide plate as the cover. Then the sticky contents list beside 720px prose; every h2 has a rule above it. Close with an author card and three related tiles.

### Sign-up recipe

Compact masthead with a single "Log in" button and no nav. Two columns under a rule: the form (steps, h2, lead, fields, choices, checkboxes, a block primary button) and a chalk panel with a plate, a short schedule and a one-line quote.

## Don'ts

- Don't round corners or add shadows, ever.
- Don't put the ridge in a box or give it a fill; it is one open line, 1px, black (white on the ink band).
- Don't use more than one ridge per screen besides the footer's.
- Don't color headings or use ultramarine as a background beyond a plan column or a selected row.
- Don't use hold colors for text, buttons or surfaces; they are dots.
- Don't box columns into cards; separate them with vertical rules.
- Don't set body text in uppercase; uppercase is for display type, buttons and mono labels.
- Don't use photos with heavy filters or gradients; draw plates with lines and dots instead.
