# Cell Sheet

A specimen-sheet style on warm butter paper. The whole page is a grid of square cells drawn with 1px hairlines, like a type catalogue or a printed timetable. The header is itself a row of cells, and the current page is a solid near-black block with a tiny count in its bottom corner. Labels, filters and meta are small and grey, so the one huge grotesk number or word in each cell does the talking. There is no radius and no shadow anywhere, and the only color is a small sun-yellow dot. It reads as precise, minimal and quietly nerdy, the look of a tool that respects numbers.

Use it for: catalogues and directories, timetables and booking grids, sports and outdoor clubs, weather and tide data, type and asset libraries, marketplaces with many comparable items, data-led consumer apps. Avoid it for: luxury and fashion, emotional storytelling, kids' brands, anything that needs photography to sell, long text-heavy marketing pages without data.

## 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 Cell Sheet 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 sea swimming club called Saltline that books led swims off the tide sheet.

## Fonts

Free on Google Fonts:

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

| Role | Font | Weight | Use |
|---|---|---|---|
| Display | Schibsted Grotesk | 700 and 800 | Specimen numbers, hero titles, headings, prices, counts (500) |
| Body and UI | Hanken Grotesk | 400 to 600 | Body copy, nav cells, filters, labels, buttons, meta |

Display type is always set tight: letter-spacing -0.035em and line-height 0.96 for the big sizes. Never italicize, never set display type in all caps.

## Color

| Token | Hex | Use |
|---|---|---|
| `--cs-paper` | #FCFBE7 | The page and most cells |
| `--cs-paper-deep` | #F5F3D6 | One highlighted cell per sheet, hover on nav cells, figure bands |
| `--cs-ink` | #151512 | Text, the active nav cell, the one inverted cell, primary buttons |
| `--cs-ink-soft` | #33332D | Big specimen and heading type, so it sits a touch softer than UI text |
| `--cs-mute` | #9A9984 | Filters, meta, placeholders, inactive switches |
| `--cs-mute-strong` | #6F6E5E | Bold meta (names in cell headers), labels, footer links |
| `--cs-line` | #E3E1C6 | Light hairlines: filter rows, table rows, header dividers |
| `--cs-line-strong` | #C8C6A6 | Cell borders, field underlines, tags |
| `--cs-sun` | #F1D873 | The sun dot, the "best" tag and one sun button per page. Nowhere else |
| `--cs-signal` | #D9502B | A live dot only. Never text, never a button |

The page is cream and ink. Sun yellow is a spot, not a theme: at most one sun button and a handful of dots per page.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `cs-specimen` | clamp(64px, 11vw, 168px) | 800, the giant word or number. Inside a cell it drops to `--cs-text-cell` clamp(52px, 5.6vw, 92px) |
| `cs-hero-title` | clamp(44px, 7vw, 104px) | 800, line-height 0.96, max 14ch |
| `cs-h1` | clamp(36px, 4.6vw, 64px) | 700 |
| `cs-h2` | clamp(26px, 2.8vw, 38px) | 700 |
| `cs-h3` | clamp(19px, 1.6vw, 22px) | 700 |
| `cs-lead` | clamp(19px, 1.6vw, 22px) | 400, `--cs-ink-soft`, max 46ch |
| Body | 17px | 400, line-height 1.55. Article prose is 19px |
| UI | 15px | Nav cells, buttons, tables |
| `cs-meta` | 13px | 500 in `--cs-mute`, with `<b>` in `--cs-mute-strong` |
| `cs-micro` | 11px | 600, tab counts, footer column heads, tags |
| `cs-count` | 22 to 26px | Display 500, the result count before a toolbar |

Headlines are sentence case and short. Numbers are the stars: show the temperature, the price, the count big, and put the words around them small.

## Shape and space

- Square everything. `--cs-radius` is 0. The only circles are the sun dot, the slider knob and chart markers.
- No shadows, ever. Structure comes from 1px hairlines: `--cs-hair` for light dividers, `--cs-hair-strong` for cell edges.
- Sheets draw their outer border on the top and left of the grid and each cell draws right and bottom, so lines never double up.
- One cell per sheet may be inverted (`cs-cell--ink`) and one may be deep (`cs-cell--deep`). Never more.
- Fields are underline only, like the search row: no boxes. Focus thickens the underline to 2px ink.
- Space on an 8px base. Cells get a generous `--cs-cell-pad` (20 to 40px) so the big type has air. Sections sit 64px apart.

## Components (in components.css)

- **Header** `cs-header` with `cs-header__row`: a `cs-logo` cell (name plus a small `sup` unit), three `cs-tab` cells with a `cs-tab__count` in the corner, a `cs-burger` cell and a `cs-header__status` cell. Mark the current page with `aria-current="page"` and it turns into the black block. Under 900px the logo takes its own row, the tabs become three equal cells and the burger and status hide.
- **Filters** `cs-filters` with `cs-filter` rows (icon, label, `cs-filter__caret`), `cs-filter--on` for set values, `cs-filter__opts` for inline switches.
- **Slider** `cs-slider` with `cs-slider__track` and `cs-slider__knob` (position it with `left`).
- **Toolbar** `cs-toolbar`: a `cs-count`, then `cs-toolbar__opts` groups, `cs-toolbar__push` to send one right, `cs-toolbar__rule` for the short line after "Sort by".
- **Sheet** `cs-sheet` (4 columns, `--3`, `--2`, `--1`) of `cs-cell` items, with `cs-cell__meta` (label left, star or tag right), `cs-cell__foot` pinned to the bottom, `cs-cell--wide`, `--full`, `--ink`, `--deep`, and `cs-star`.
- **Hero** `cs-hero` with `cs-hero__grid` and a `cs-hero__side` that starts with a 2px ink rule.
- **Buttons** `cs-btn` (ink), `--ghost` (hairline), `--sun` (one per page), `--block`, grouped in `cs-btn-row`.
- **Tags** `cs-tag`, `--ink`, `--sun`. **Dots** `cs-dot`, `--half` (the contrast toggle), `--live`.
- **Table** `cs-table` inside `cs-table-wrap`: the first column is set in display bold.
- **Forms** `cs-form`, `cs-field`, `cs-label`, `cs-input`, `cs-select`, `cs-hint`, `cs-fieldset`, `cs-choice-grid` of `cs-choice` radio cells (the checked one goes black), `cs-check`.
- **Pricing** a `cs-sheet--3` of `cs-cell cs-plan`, each with a `cs-specimen` word, `cs-plan__price` and `cs-plan__list`. The recommended plan is the `cs-cell--ink` one.
- **Article** `cs-article` (a three-column grid with a sticky `cs-article__aside` table of contents), `cs-prose`, `cs-pull`, `cs-figure`.
- **Footer** `cs-footer` with `cs-footer__row` of `cs-footer__cell` items and a `cs-footer__base` line.
- **Links** `cs-link`: ink text, hairline underline that darkens on hover.

## Pages in this kit

- `demo.html`: header cells, two filter rows, a hero, a toolbar, a sheet of four swim cells (one inverted), a tide chart and table cell, a deep explainer cell, a closing statement and footer.
- `pricing.html`: a title row, a toolbar, three plan cells (the middle one inverted) and an FAQ list.
- `blog.html`: tags, a huge title, byline meta, a sticky contents aside, prose with a pull quote and a ruled figure.
- `signup.html`: a two-cell sheet, the pitch and steps in a deep cell, the form in a plain cell with radio cells for pace.

## Page recipe

1. `cs-header` with the current page's tab marked.
2. Optional `cs-filters` when the page lists things.
3. `cs-hero`: a `cs-hero-title` on the left, `cs-hero__side` with a lead and one or two buttons on the right.
4. `cs-toolbar` with a count, then a `cs-sheet` of cells. Every cell has a meta row on top, one huge `cs-specimen`, one line of meta and a foot row.
5. A wide cell for the detail (a chart or `cs-table`) next to a deep cell that explains in words.
6. A closing statement in `cs-hero-title` size with one `cs-btn--sun`.
7. `cs-footer`.

**Pricing:** a title row, a `cs-toolbar` for the billing switch, then a `cs-sheet--3` of plan cells. Name each plan with a one-word `cs-specimen`, then the price, the list and a block button. Invert the recommended plan.

**Article:** tags, a `cs-hero-title`, a byline in `cs-meta`, a hairline, then `cs-article` with the contents aside and `cs-prose`. Use one `cs-pull` and at most one `cs-figure`.

**Sign up:** a `cs-sheet--2`. Left: a deep cell with the promise and three numbered steps. Right: the form with underline fields, a `cs-choice-grid` and one block button.

## Don'ts

- Don't round corners or add shadows, gradients or blur.
- Don't use the sun yellow for text, large fills or more than one button per page.
- Don't box the inputs. Fields are underlines.
- Don't put more than one inverted cell in a sheet, and don't put two specimens in one cell.
- Don't let a giant specimen run wider than its cell: use `--cs-text-cell` inside cells and keep specimens to about five characters.
- Don't set meta in black. The contrast between grey labels and black specimens is the style.
- Don't use photos as decoration. If a cell needs a visual, draw it with an inline SVG line in ink.
