# Relief Grid

Precise, cinematic and a little futuristic, like a survey map pinned to a mission control wall. A pale fog page is split by hairline frame grids, and the content sits in flush, square color tiles: deep navy, signal ember and near-white paper, with no gaps, no rounded corners and no shadows. The signature is the drawn relief: ember contour rings over a navy ground with a faint survey grid on top, drawn in CSS and used for heroes, covers and image tiles instead of photos. Headlines are a medium grotesk, ember on navy and navy on paper. Every clickable tile and nav cell carries a small corner arrow.

Use it for: science and engineering companies, outdoor and terrain products, mapping and data tools, energy and infrastructure, research labs, logistics, anything that should feel exact and a bit epic. Avoid it for: soft lifestyle brands, food, kids' products, anything that wants rounded friendliness or lots of photography.

## 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 Relief Grid 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 avalanche forecast service called Talus.

## Fonts

All free on Google Fonts:

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

| Role | Font | Weight | Use |
|---|---|---|---|
| Headlines | Schibsted Grotesk | 500 | Hero titles, section titles, tile titles, prices, readout numbers, pull quotes. Never bold |
| Body and UI | Instrument Sans | 400 to 600 | Text, nav cells, buttons, labels, forms |
| Data | IBM Plex Mono | 400 to 500 | Coordinates, times, badges, table heads, captions. Always small and uppercase |

## Color

| Token | Hex | Use |
|---|---|---|
| `--rg-fog` | #ECEFF3 | The page background |
| `--rg-paper` | #F8F9FB | Light tiles, nav bar, panels, plan cards |
| `--rg-navy` | #13295A | Text on light, dark tiles, the relief ground, the featured plan, the footer |
| `--rg-navy-deep` | #0B1B40 | Text on ember, hover on navy |
| `--rg-ember` | #EA7B3C | The one accent: headlines and labels on navy, ember tiles, the main button, relief lines, list squares |
| `--rg-ember-deep` | #C9612A | Ember text on light surfaces (mono labels, links, current nav cell) |
| `--rg-soft` | #5A6782 | Secondary text on light |
| `--rg-on-navy` / `--rg-on-navy-soft` | #E8ECF5 / #A9B4CF | Text on navy |
| `--rg-line` / `--rg-line-strong` | #C6CDD9 / #98A3B8 | Hairlines on light, outlined buttons and fields |
| `--rg-low` / `--rg-high` | #3F9B6E / #D9452F | Status dots only, never fills |

Ember on navy and navy on ember are the two pairings. Use ember as a fill only for whole tiles, the main button and small badges. Never put ember text on fog or paper at body size: use `--rg-ember-deep`.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `rg-hero-title` | clamp(48px, 8vw, 112px) | Schibsted Grotesk 500, tracking -0.035em, line-height 0.95. Ember when on the relief |
| `rg-h2` | clamp(32px, 4.6vw, 60px) | Tracking -0.025em, line-height 1.04 |
| `rg-h3` | clamp(22px, 2.2vw, 28px) | Tile titles, step titles |
| `rg-lead` | 19px | Instrument Sans, `--rg-soft`, max 560px |
| Body | 16px | Line-height 1.6; articles use 18px at 1.7 |
| `rg-label` | 13px | Instrument Sans 600, sentence case. Tile and strip labels |
| `rg-mono` | 12px | IBM Plex Mono, uppercase, tracking 0.04em |

## Shape and space

- Every corner is square. Fields get a 2px radius at most, nothing else rounds.
- No shadows. Depth comes from color blocks and 1px hairlines only.
- The frame: big surfaces are inset from the screen edge by `--rg-frame` (10 to 20px) and outlined with a hairline, so the page reads like a mounted map.
- Tiles sit flush against each other in a grid with zero gap. Mix navy, ember, paper, fog and one relief or halftone tile per row; never two of the same color side by side.
- Inside tiles: label top left, corner arrow top right, title pushed to the bottom.
- Space: tile padding 20 to 36px (`--rg-pad`), sections 72 to 128px tall in padding.

## Components (in components.css)

- **Relief** `rg-relief`: the navy contour background. Put it on the hero, a cover, a figure or a tile. Tune density with `--rg-relief-step`. `rg-halftone` is the duotone dot field for a second visual tile.
- **Hero** `rg-hero rg-relief` with `rg-nav` first, then `rg-hero__grid`: `rg-hero__main` (mono coordinates and the ember title) and `rg-hero__side` (lead and `rg-hero__links`, three arrow cells).
- **Nav** `rg-nav`: a row of hairline cells. `rg-logo` left, `rg-nav__links` right, each link with `rg-arrow`. Use `rg-nav--light` on pages without a relief hero. Under 960px only `rg-nav__menu-link` stays. Mark the current cell with `aria-current`.
- **Strip** `rg-strip`: one announcement line on paper under the hero.
- **Tiles** `rg-tiles` with `rg-tile` plus `--navy`, `--ember`, `--fog`, `rg-relief` or `rg-halftone`, and `--wide` / `--tall`. Inside: `rg-tile__top` (label and arrow) and `rg-tile__title`.
- **Buttons** `rg-btn` with `--ember` (main), `--navy`, `--ghost`, `--on-navy`, `--block`. Square, with an `rg-arrow` on actions that go somewhere.
- **Arrow** `rg-arrow`: the drawn corner arrow. Inherits the text color.
- **Badges** `rg-badge`, `--ember`, `--low`, `--high` with `rg-badge__dot`.
- **Section head** `rg-head`: hairline on top, title left, lead right.
- **Readouts** `rg-readouts` / `rg-readout`: big numbers in hairline cells.
- **Steps** `rg-steps` / `rg-step`: numbered cells with a mono time or index.
- **Pricing** `rg-toggle`, `rg-plans`, `rg-plan` (`--featured` is navy), `rg-plan__price`, `rg-plan__list`; `rg-table` in `rg-table-wrap` with `rg-yes` / `rg-no`; `rg-faq`.
- **Article** `rg-article-head`, `rg-meta`, `rg-prose`, `rg-figure` with `rg-figure__art`, `rg-quote` (a navy block with ember text), `rg-callout`.
- **Forms** `rg-panel`, `rg-form`, `rg-form__row`, `rg-field`, `rg-input`, `rg-select`, `rg-hint`, `rg-choices` / `rg-choice` (square radio cells, navy when picked), `rg-check`.
- **Footer** `rg-footer`: a navy block inset by the frame, columns split by hairlines, `rg-footer__base` below.

## Pages in this kit

- `demo.html`: relief hero with nav cells, announcement strip, a tile mosaic, readouts, steps, an ember and relief call to action, footer.
- `pricing.html`: light nav, a framed head with the billing toggle, three plans with the middle one navy, compare table, FAQ.
- `blog.html`: light nav, a relief cover band, narrow article with a relief figure, navy pull quote and callout, then a row of related tiles.
- `signup.html`: split screen, relief panel with the ember title and a list of what you get, a paper form panel with choice cells.

## Page recipe

1. `body.rg`. Start with `rg-hero rg-relief` holding `rg-nav`, or with `rg-nav rg-nav--light` on inner pages.
2. Under the hero, one `rg-strip` for news.
3. A `rg-tiles` mosaic of five to seven tiles: one tall navy tile with an ember h2, one relief or halftone tile, one ember tile, the rest paper or fog.
4. Sections in `rg-container` opening with `rg-head`. Use readouts and steps for facts and process.
5. Close with an ember tile beside a relief tile, then `rg-footer`.

Pricing: framed head with `rg-hero-title` on paper and the toggle on the right, `rg-plans` with the recommended plan `--featured`, then the compare table and FAQ.

Article: `rg-nav--light`, a relief cover band, `rg-narrow` header with a mono kicker and `rg-meta`, `rg-prose`, one `rg-figure` with a relief art block, one `rg-quote`, and a row of tiles to close.

Sign up: two columns inside the frame. Left is `rg-relief` with the logo, an ember title and a hairline list. Right is a paper panel with a mono step label, h2, `rg-form` and one `rg-btn--ember rg-btn--block`.

## Don'ts

- Don't round corners or add shadows.
- Don't leave gaps between tiles or use cards floating on the fog.
- Don't use photos where the relief or halftone would do; if you must, duotone them navy and ember.
- Don't add a third accent color. Status green and red are dots only.
- Don't set headlines in bold or in the mono.
- Don't put more than one relief and one halftone tile in the same row.
- Don't use em dashes in copy.
