# Cliff Homesite

A hand-built personal homepage from the early web, kept with love. The page is a flat cobalt field. In the middle stands one narrow column framed by a thick ink border, and inside the frame a lighter sky bowl with big rounded top corners holds everything. At the top sits a bubbly hand-lettered wordmark in magenta with a fat plum outline, tilted a little. Under it, a short bold welcome paragraph and a stack of big monospace links in sky cyan, one per line, the way a homesite lists its rooms. Cards and plans are postcards with rounded top corners, an ink border and a hard offset shadow. Every page ends at the shore: a pool of dark water with grassy cliff islands standing in it, drawn in inline SVG. It feels playful, nostalgic, crafted and a little raw, like a site someone made because they wanted to.

Use it for: clubs and hobbies, pen pal and community projects, small memberships, indie makers, kids and family products, newsletters, classes and workshops, anything personal and handmade. Avoid it for: banks, healthcare, legal and enterprise sales, luxury brands, data heavy dashboards, anything that needs to feel corporate or quiet.

## 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 Cliff Homesite 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 pen pal club called Pebble Post, where strangers trade hand drawn postcards by real mail.

## Fonts

Free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Chewy&family=JetBrains+Mono:ital,wght@0,400;0,700;0,800;1,400&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Wordmark, headlines, plan names, quotes, handwriting on postcards | Chewy 400 | Always with an outline: plum on magenta for the wordmark, ink on white for headlines (`-webkit-text-stroke` with `paint-order: stroke fill`) |
| Everything else | JetBrains Mono 400, 700, 800, italic 400 | Body at 15px, the link stack at 800, buttons at 800, labels at 700 uppercase |

Never set body copy in Chewy. Never set Chewy without its outline, except the handwriting on a postcard.

## Color

| Token | Hex | Role |
|---|---|---|
| `--ch-field` | #1C61B0 | The page outside the frame |
| `--ch-sky` | #2470C2 | The bowl inside the frame, where all content sits |
| `--ch-deep` | #154F95 | Frame corners, cards, plans, FAQ rows, table heads |
| `--ch-pool` | #0E3C74 | The water at the shore, the footer, inputs, guestbook lines, quotes |
| `--ch-ink` | #0A0910 | The frame border, every outline and hard shadow |
| `--ch-text` | #FFFFFF | Headlines and body |
| `--ch-dim` | #D3E3F6 | Secondary text |
| `--ch-link` | #72CDF8 | The link stack, inline links, the sky button |
| `--ch-magenta` | #D4248F | The wordmark, the main button, the hot plan, stamps |
| `--ch-plum` | #5A0C43 | The outline around magenta lettering |
| `--ch-sun` | #FFD84A | The highlighted word, the current nav item, new badges, focus rings |
| `--ch-grass` | #8FC83F | Island grass, "yes" in tables, hit counter digits |
| `--ch-rock` | #6D4A31 | Island rock |

Rules:
- Blue everywhere. The field, sky, deep and pool blues do all the layout work; never use black or grey for a section.
- Magenta is for the wordmark and the one thing to press. Sun yellow is for the one thing to notice. Cyan is for links.
- Grass and rock only appear in the islands, the counter and table ticks.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ch-text-mark` | clamp(52px, 9vw, 96px) | The wordmark on the landing page |
| `--ch-text-h1` | clamp(36px, 6vw, 58px) | Page titles, CTA headings |
| `--ch-text-h2` | clamp(26px, 4vw, 36px) | Section headings |
| `--ch-text-h3` | 18px | Card titles, mono 800 |
| `--ch-text-link` | clamp(20px, 3vw, 26px) | The link stack |
| `--ch-text-body` | 15px | Body |
| `--ch-text-small` | 13px | The welcome paragraph, cards, tables, forms |
| `--ch-text-micro` | 11px | Labels, badges, the footer |

Line height 1.6 for body, 1.05 for headlines. Copy is first person, warm and a bit chatty ("Hello! This is the homesite of..."). Short sentences, real details, small numbers. Webring words (homesite, guestbook, webring, mailbag) are welcome.

## Shape and space

- The frame: `.ch-site` is a centered column 760px wide with a 3px ink border and square outer corners. Inside it `.ch-bowl` has 56px rounded top corners (32px on phones), so the deep blue shows in the top corners.
- Cards, plans, quotes and the form box: rounded top corners (18px), square bottom corners, 2 to 3px ink border, and a hard 4px offset ink shadow. No soft shadows anywhere.
- Buttons, badges and picks are pills with a 2px ink border. Buttons carry the hard shadow and press into it on hover.
- Inputs and FAQ rows: 10px radius, 2px ink border, pool or deep blue fill.
- The dotted rule (`.ch-rule`) is a row of cyan dots. One or two per page.
- The shore (`.ch-shore`) ends every page: a pool of water and four grassy cliff islands from the `#isle` symbol. Two islands hide on phones. They bob 3px, slowly.
- Space: sections get 32px vertical padding, the bowl has 16 to 48px side padding. Everything is centered unless it sits in a `.ch-split`.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ch` | Body class: cobalt field, mono body |
| `.ch-site`, `.ch-site--wide`, `.ch-bowl` | The framed column and the rounded sky bowl inside it |
| `.ch-mark`, `.ch-mark--sm` | The tilted, outlined magenta wordmark |
| `.ch-ring` | The webring nav: links joined by tildes, the current one in yellow |
| `.ch-h1`, `.ch-h2`, `.ch-h3`, `.ch-intro`, `.ch-lead`, `.ch-hl`, `.ch-micro`, `.ch-center` | Text helpers |
| `.ch-stack`, `.ch-tilde` | The big stacked link list |
| `.ch-btn` (`--sky`, `--ghost`, `--block`), `.ch-btns` | Pill buttons with hard shadows |
| `.ch-badge` (`--new`, `--hot`, `--grass`) | Small pill labels |
| `.ch-hero`, `.ch-section`, `.ch-rule`, `.ch-split` | Layout pieces |
| `.ch-cards`, `.ch-card`, `.ch-card__icon` | Postcard style cards with drawn icons |
| `.ch-postcard`, `__stamp`, `__note`, `__lines` | A tilted drawn postcard with a stamp and handwriting |
| `.ch-guest` | Guestbook entries |
| `.ch-counter`, `.ch-count`, `__num`, `__label` | Hit counter numbers |
| `.ch-plans`, `.ch-plan`, `.ch-plan--hot`, `__name`, `__price`, `__list` | Pricing plans |
| `.ch-table-wrap`, `.ch-table`, `.ch-yes` | Comparison table |
| `.ch-faq` | Accordion of `<details>` |
| `.ch-article`, `.ch-byline`, `.ch-avatar`, `.ch-prose`, `.ch-quote`, `.ch-figure` | Blog post parts; tilde bullets in yellow |
| `.ch-form`, `.ch-field`, `.ch-input`, `.ch-select`, `.ch-textarea`, `.ch-hint`, `.ch-picks`, `.ch-pick`, `.ch-check`, `.ch-formbox`, `.ch-label` | Forms |
| `.ch-cta` | Closing call to action |
| `.ch-defs`, `.ch-shore`, `.ch-isle` (`--a` to `--d`) | Hidden SVG symbols, the shore and its islands |
| `.ch-footer` | Small centered lines on the water |

Drawings: put the `#isle` and icon symbols in one hidden `<svg class="ch-defs">` at the top of `<body>` and draw them with `<use href="#isle">`. Inside a symbol, color each path with a style attribute that points at a token (`style="fill:var(--ch-grass)"`), because page CSS does not reach `<use>` copies.

## Pages in this kit

- `demo.html`: landing page. Wordmark, webring nav, welcome paragraph, the link stack, a new badge, a dotted rule, three how it works cards, a split with a drawn postcard, a hit counter, the guestbook, FAQ, CTA, the shore, footer.
- `pricing.html`: three plans with the middle one hot, a comparison table, FAQ, CTA.
- `blog.html`: a mailbag post with a badge, byline, prose, a quote, a tilde list, a postcard figure and two related cards.
- `signup.html`: a split with perks as a link stack and the form in a form box.

## Page recipe

1. `<body class="ch">`, the hidden `.ch-defs` svg, then `.ch-site` and `.ch-bowl`.
2. `.ch-mark` (use `--sm` on inner pages), then `.ch-ring` with the current page marked `aria-current`.
3. A hero: on the landing page a `.ch-intro` welcome and a `.ch-stack`; on inner pages a `.ch-h1` and a `.ch-lead`.
4. One idea per `.ch-section`. Keep it centered and narrow. A `.ch-split` at most once per page.
5. End with `.ch-cta`, then `.ch-shore` inside the bowl, then `.ch-footer` inside the frame.

Pricing recipe: centered title and lead, `.ch-plans` with three plans and the middle one `--hot` with a `--new` badge, a table in `.ch-table-wrap`, an FAQ, a short CTA.

Article recipe: a centered header with a `--grass` badge, the `.ch-h1` title and a `.ch-byline`, then `.ch-prose` inside `.ch-article` (600px), with one `.ch-quote` and one `.ch-figure`, and two related `.ch-card`s at the end.

Sign-up recipe: a `.ch-split` with the title, lead, a short `.ch-stack` of perks and one guestbook line on the left, and a `.ch-formbox` with a `.ch-form` on the right. One magenta button, full width.

## Don'ts

- Don't let the column get wide. 760px is the frame; use `--wide` (980px) only when a table or three plans need it.
- Don't round the outer frame or add a soft shadow to anything.
- Don't use photos. Draw with CSS and inline SVG: islands, postcards, stamps, small icons.
- Don't set Chewy without an outline, and don't use it for body copy.
- Don't put more than one magenta button in a section.
- Don't drop the shore. Every page ends at the water.
- No em dashes in copy.
