# Tilt Shelf

Cheerful, a little retro and clearly made by a small team that loves its stuff. A night-blue hero with stars, rolling hills and a warm campfire glow sits above a pale gray "shelf" page that is cut in on a slant. Every section opens with one light-weight sentence in its own bright color, led by a tiny line icon, and then shows a centered shelf of glossy rounded icon tiles, like apps lined up on a desk. A near-black footer comes in on the opposite slant with a sunflower sentence and small help rows. The chunky rounded display face is saved for the wordmark and nothing else.

Use it for: community projects, local services, rental and lending schemes, hobby clubs, indie software and game studios, anything with a catalog of friendly "things" to show off. Avoid it for: banks, legal, healthcare, enterprise dashboards, anything that needs dense text or a serious tone.

## 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 Tilt Shelf 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 neighborhood tool library called Shedful.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;600;700&family=Rammetto+One&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Sentences and body | Figtree 300 to 700 | Section sentences and headlines at 300 (light), body at 400, labels and buttons at 600 and 700. |
| Wordmark | Rammetto One 400 | The hero wordmark, the nav brand, step numbers. Never for sentences or body. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--ts-shelf` | #ECECF0 | The main page background |
| `--ts-shelf-2` | #DFDFE6 | Inputs, table headers, quiet buttons, toggles |
| `--ts-white` | #FFFFFF | Cards, plans, panels, white sections |
| `--ts-night` | #151A35 | The hero sky; `--ts-night-2` #222A52 for hills |
| `--ts-coal` | #1D1D22 | The footer |
| `--ts-ink` | #2A2A31 | Body text on light |
| `--ts-soft` | #686874 | Leads, labels, secondary text |
| `--ts-violet` | #8B2FD6 | Primary button, the first section sentence, focus |
| `--ts-teal` | #10A3B4 | Second sentence, check marks, pull quotes |
| `--ts-sun` | #F1C232 | Footer sentence, the button on night, bullets |
| `--ts-tomato` | #D8472C | Third sentence, errors, avatars |
| `--ts-cornflower` | #5277C2 | The seal and brand dot |
| `--ts-mint` | #35B58A | Tile color, live dots |
| `--ts-glow` | #FFB45A | The campfire glow, only in the hero |

Rules:
- The page is pale gray, not white. White is for things sitting on the shelf (cards, plans, panels) and for every third section at most.
- Each section sentence gets one accent color, and the next sentence gets a different one. Never two sentences in the same color in a row.
- Tiles may use any accent, as a top-lit gradient from a lighter tint to the token. Keep a shelf to 3 or 4 colors mixed well.
- Night only for the hero, the cover image and dark tiles; coal only for the footer.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--ts-text-mark` | clamp(56px, 9vw, 120px) | The chunky wordmark, two stacked lines, the second indented |
| `--ts-text-hero` | clamp(30px, 4vw, 46px) | Light hero sentence on inner pages |
| `--ts-text-say` | clamp(23px, 2.6vw, 30px) | The colored section sentence, weight 300 |
| `--ts-text-h2` | clamp(28px, 3.4vw, 40px) | Plain headings, weight 300 |
| `--ts-text-h3` | 20px | Card titles, weight 600 |
| `--ts-text-lead` | 19px | Leads, weight 300 |
| `--ts-text-body` | 16px | Body |

Section sentences are complete, plain statements that end in a full stop or a question mark ("Shedful lends the tools you use twice a year."). Big type is light, never bold.

## Shape and space

- Tiles: squircle-ish 26% radius or a full circle, white line icon in the middle, a gloss highlight on the top half and a soft drop shadow. On hover they lift and tip 2 degrees.
- Radius: 22px on cards and panels, 14px on small cards, 8px on buttons and inputs, pills on badges and toggles.
- Section edges: diagonal cuts made with `clip-path`. The shelf rises up over the hero to the right (`.ts-cut`); the footer rises over the shelf the same way. `--ts-slant` sets the height.
- Shadows: soft and glossy. No borders on cards; no hard offset shadows.
- Space: sections 64px to 104px; container 1040px; text 700px. Shelves are centered, max 520px wide so they wrap into neat rows.
- Motion: tiles drop onto the shelf one by one with a tiny bounce, respecting reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.ts-hero`, `.ts-hero__hills`, `.ts-hero__lead` | Night sky with CSS stars and a campfire glow; the hills are an inline SVG at the bottom |
| `.ts-seal` | Scalloped stamp (inline SVG) holding the brand letter, tilted |
| `.ts-mark` | Chunky two-line wordmark over three overlapping color dots, with a small italic tagline |
| `.ts-nav`, `__brand`, `__links`, `__actions` | Small quiet nav with a round brand dot |
| `.ts-say`, `--violet/teal/sun/tomato/cornflower` | The signature colored sentence with a tiny line icon |
| `.ts-hero-title`, `.ts-h2`, `.ts-h3`, `.ts-lead`, `.ts-eyebrow` | Light headlines, soft leads and a small uppercase label |
| `.ts-btn--primary/sun/ghost/quiet`, `--sm`, `--block`, `.ts-btn-row` | Buttons with a gloss highlight; sunflower is the button on night |
| `.ts-shelf`, `--wide`, `.ts-shelf__label` | Centered wrapping row of tiles with small labels |
| `.ts-tile`, `--round`, `--sm`, color variants | The glossy icon tile |
| `.ts-badge`, `--violet/sun/teal`, `.ts-dot` | Small pills |
| `.ts-cards`, `.ts-card`, `__title`, `__text` | White cards with a tile on top |
| `.ts-steps` | Numbered steps in sunflower, teal and violet circles |
| `.ts-quote`, `.ts-avatar` | Light centered quote with a colored initials avatar |
| `.ts-toggle`, `.ts-plans`, `.ts-plan`, `--featured`, `__name/__desc/__price/__list` | Pricing with a pill toggle; the featured plan gets a violet ring and badge |
| `.ts-table-wrap`, `.ts-table`, `__yes`, `__no` | Comparison table; the wrap scrolls sideways on phones |
| `.ts-faq` | `<details>` FAQ with a violet plus that turns into a cross |
| `.ts-prose`, `.ts-callout`, `.ts-cover` | Article text with h2s that cycle violet, teal and tomato, sunflower dot bullets, a teal pull quote; a callout with a sunflower edge; a night cover panel |
| `.ts-meta`, `.ts-author`, `--card`, `.ts-posts`, `.ts-post` | Article meta, author card and related posts |
| `.ts-form`, `.ts-field`, `.ts-label`, `.ts-input`, `.ts-select`, `.ts-help`, `.ts-error`, `.ts-field--error`, `.ts-check` | Form parts with filled gray inputs that turn white with a violet ring on focus |
| `.ts-choices`, `.ts-choice` | Radio cards with a small tile, violet ring when chosen |
| `.ts-panel` | White rounded panel for forms |
| `.ts-section`, `--white/night/coal`, `.ts-cut`, `--left` | Section surfaces and the slanted cut |
| `.ts-footer`, `.ts-help-rows`, `.ts-mini-form`, `__legal` | Coal footer on a slant with a sunflower sentence and small icon help rows |

## Pages in this kit

- `demo.html`: landing page. Night hero with seal and wordmark, three colored sentences each with its own shelf, how it works, a quote and a footer.
- `pricing.html`: short night hero, three plans with a yearly toggle, a comparison table and an FAQ.
- `blog.html`: night hero with the title, a night cover with a shelf, prose, an author card and related posts.
- `signup.html`: a white form panel next to a shelf of things you can borrow and a quote.

## Page recipe

1. Night hero: nav, the seal, the wordmark (or a light sentence on inner pages), a short soft lead and a sunflower button next to a ghost button.
2. Shelf section cut in on a slant: a violet sentence, then a shelf of 3 to 4 tiles.
3. A teal sentence, then a wider shelf of 6 to 8 tiles mixing squircles and circles.
4. A tomato sentence with a single tile and a lead.
5. A white section for the plain information: steps and cards.
6. A quote and one last sentence with an underlined link ("Why not start a shed on your street?").
7. The coal footer on a slant.

Pricing: short night hero with an eyebrow and a light hero sentence; plans on the shelf; the table on white; the FAQ on the shelf.
Article: night hero holding the title and meta; the article on the shelf in the narrow column, with a night cover panel at the top.
Sign up: a thin night band with the nav only, then a white panel with the form and a shelf beside it.

## Don'ts

- Don't set sentences or headlines in bold or in Rammetto One. Big type is light.
- Don't put two sentences of the same color in a row, or use more than one accent in one sentence.
- Don't draw tiles flat: always the gradient, the gloss and the shadow.
- Don't use photos or brand logos in tiles; draw simple white line icons.
- Don't straighten the section edges. The slants are the frame.
- No em dashes in copy.
