# Tilt Frame

A friendly, chatty reading room. A solid tomato header band runs across the top with white grotesk links, and under it sits a rail of pale pink pill tags. Headlines are a chunky grotesk at heavy weight; everything you actually read is a warm book serif, with bylines that say "Name *wrote*". The signature is the frame: portraits and pictures sit in rounded squares with a thick tomato border, tipped a few degrees left or right, resting on a long soft shadow, so a list of posts looks like snapshots pinned to a board. A sky-blue side card with a little mascot on its top edge holds the newsletter.

Use it for: magazines and newsletters with real authors, community sites, workshops and courses, membership clubs, hobby publications, anything that should feel warm, human and a bit cheeky while still being easy to read for a long time. Avoid it for: luxury brands, finance dashboards, minimal portfolios, dark product sites, anything that should feel quiet or serious.

## 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 Frame 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 for one invented product, Darn Good, a mending magazine and sewing circle, built only with the kit.

## Fonts

Both free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,600;1,7..72,400&display=swap" rel="stylesheet">
```

| Role | Font | Weight | Use |
|---|---|---|---|
| Headlines and UI | Bricolage Grotesque | 800 | Hero, section and post titles, prices, step numbers. Tight tracking (-0.025em) |
| UI | Bricolage Grotesque | 600 | Nav, buttons, tags, labels, author names, "Keep reading" links |
| Reading | Literata | 400 and 600 | Body, leads, blurbs, side card headings, form inputs |
| Asides | Literata italic | 400 | The "wrote" in bylines, placeholders, captions |

Post titles may use Title Case, like a magazine. Everything else is sentence case.

## Color

| Token | Hex | Role |
|---|---|---|
| `--tf-paper` | #FFFFFF | The page |
| `--tf-tomato` | #E2462F | The voice: header band, frame borders, links, author names, primary buttons |
| `--tf-tomato-dark` | #B8321F | The "More" pill on the band, hover |
| `--tf-blush` | #FDE8E4 | Tag pills, quiet sections, toggles, author box |
| `--tf-sky` | #E4F3FB | The side card, notes, a calm section |
| `--tf-sky-deep` | #1E7FB5 | Newsletter button, outline button text, a second frame border |
| `--tf-leaf` | #3C9F59 | The one "yes" button in a toast or dialog, success badges |
| `--tf-ink` | #221C1B | Text and the footer |
| `--tf-soft` | #5F5653 | Leads and blurbs |
| `--tf-sun` | #F6B73C | Mascot highlights and illustration backgrounds only |

Rules:
- The header band is always solid tomato. No gradient, no image.
- Tomato is the main voice, sky is its calm partner. Leaf appears once per screen at most.
- Sun, and the skin and hair tones in portraits, live only inside illustrations.
- Links are tomato and underlined; on hover they darken.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--tf-text-hero` | clamp(38px, 5.4vw, 64px) | Hero and page titles, line-height 1.06 |
| `--tf-text-h2` | clamp(28px, 3.4vw, 40px) | Section headings |
| `--tf-text-h3` | 24px | Post titles in a list, card titles |
| `--tf-text-lead` | 19px | The serif sentence under a headline |
| `--tf-text-body` | 17px | Body serif, line-height 1.65 (1.75 in articles) |
| `--tf-text-micro` | 12px | Dates and categories in letter-spaced caps (`.tf-caps`) |

## Shape and space

- Frames (`.tf-frame`): rounded square, radius 18px, a 5px tomato border, tipped -5deg or 4deg (`--alt`), with a long soft shadow down and to the left. On hover they straighten. Use them for every portrait and picture.
- Alternate the tilt down a list, so neighbours never lean the same way.
- Everything else sits straight. Buttons and inputs: radius 8px. Cards: 12px. Side card and plans: 22px. Tags: 6px. Badges are the only pills.
- Borders: 1px `--tf-line` for dividers and cards; 2px on inputs, outline buttons and plans.
- Shadows: soft `--tf-shadow` on cards; `--tf-shadow-frame` on frames and the picked plan only.
- Sections: 56px to 104px vertical padding. Container 1180px, article column about 720px, side column 320px.
- Motion: buttons tip 1.5 degrees on hover with a small spring; frames straighten. Nothing else moves.

## Components (in components.css)

- `.tf` body base, `.tf-container`, `.tf-narrow`, `.tf-section` (`--sky`, `--blush`, `--tomato`)
- `.tf-band` header with `.tf-logo` (tipped white mark), `.tf-band__links`, `.tf-band__more`, `.tf-search`
- `.tf-rail` with `.tf-tag` and `.tf-tag--on`: the tag row under the band, scrolls sideways on phones
- `.tf-btn` with `--primary`, `--sky`, `--leaf`, `--outline`, `--white`, `--block`; `.tf-actions` row
- `.tf-frame` with `--alt`, `--sm`, `--lg`, `--wide`; `.tf-stack` overlaps three frames for a hero
- `.tf-post` (frame plus title, byline, caps date and blurb), `--sm` for side lists
- `.tf-byline`, `.tf-caps`, `.tf-eyebrow`, `.tf-more`
- `.tf-split` main column plus aside; `.tf-side` sky card with `.tf-side__mascot`, `.tf-side__label` and `.tf-inline-form`
- `.tf-grid`, `.tf-card` (`--sky`, `--blush`), `.tf-icon` (tipped colored square)
- `.tf-badge` (`--sky`, `--leaf`, `--solid`)
- `.tf-hero` two-column hero
- `.tf-form`, `.tf-field`, `.tf-label`, `.tf-input`, `.tf-select`, `.tf-hint`, `.tf-check`, `.tf-choice` (radio tiles)
- `.tf-plans`, `.tf-plan`, `.tf-plan--pick` (framed and tipped), `.tf-plan__flag`, `.tf-plan__price`, `.tf-toggle`
- `.tf-faq` details list
- `.tf-article` (headings, tomato list markers, quote with a thick tomato rule), `.tf-note`, `.tf-figure`, `.tf-author`
- `.tf-toast` small box with a plain and a leaf button
- `.tf-footer` dark ink footer

## Pages in this kit

| File | Page |
|---|---|
| `demo.html` | Landing: band, tag rail, hero with a stack of frames, a post feed with the side card, workshop cards on sky, a tomato call to action |
| `pricing.html` | Three plans with a monthly or yearly toggle, the middle plan framed and tipped, a reader quote, FAQ |
| `blog.html` | A how-to post: framed author portrait beside the title, numbered tipped steps, a wide framed figure, a note, author box, side card |
| `signup.html` | Sign-up form beside a short pitch and a row of member portraits |

## Page recipe

1. `.tf-band` then `.tf-rail` at the top of every page.
2. A hero: eyebrow, heavy headline, serif lead, one tomato button and one outline button. Put framed pictures on the right, never a flat image.
3. The main content in `.tf-split`: a list of `.tf-post` items on the left, `.tf-side` on the right.
4. One `--sky` or `--blush` section with cards.
5. At most one `--tomato` section, as the closing call to action.
6. `.tf-footer`.

Pricing recipe: centered head with `.tf-toggle`, then `.tf-plans` with the recommended plan as `.tf-plan--pick` and a solid flag badge. Follow with a quote beside a frame on blush, then the FAQ beside a short heading.

Article recipe: the author's frame beside the title, byline above, caps date and tags below. Body in `.tf-article` with numbered steps as tipped tomato squares, one `.tf-frame--wide` figure, one quote and one `.tf-note`. End with the author box, and keep the side card in the aside.

Sign-up recipe: a two-column page, the pitch with three icon perks and a row of small frames on the left, a white panel form on the right. Use `.tf-choice` tiles instead of a plain radio list.

## Don'ts

- Don't tip anything except frames, the logo mark, icon squares, step numbers and the picked plan.
- Don't put a frame in any color but tomato, apart from one sky-deep frame in a stack.
- Don't set body text in the grotesk or headlines in the serif (except the side card heading).
- Don't use photos with their own borders or circles: everything goes in a frame.
- Don't add gradients, glows or dark sections other than the footer.
- Don't use em dashes in copy.
