# Doodle Cast

Cheeky, playful and light. The page is plain white with near-black, tightly tracked Inter Tight headlines, so it reads clean and grown-up at first glance. Then the hero headline turns into a ransom note: single letters swap into chunky Bagel Fat One or loopy Shrikhand, one letter tilts, one goes hollow, and a drawn mascot (a sky-blue square or a lemon triangle with stick arms and dot eyes) stands in for a letter. Content sits on near-square artboards inside big soft-gray rounded tiles, like a gallery of work in progress. Black pill buttons, no borders on tiles, and color only where the cast lives.

Use it for: kids and family services, classes and lessons, booking apps, creative tools, community clubs, playful consumer apps that still need to look tidy. Avoid it for: serious finance, healthcare triage, legal, luxury, anything where a winking triangle would feel wrong.

## 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 Doodle Cast 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. Copy the SVG sprite from demo.html for the mascots.

`demo.html` (a landing page), `pricing.html`, `blog.html` and `signup.html` are complete example pages for a sample swim lesson app, built only with the kit.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&family=Bagel+Fat+One&family=Shrikhand&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines and body | Inter Tight 400 to 800 | Everything: 800 for headlines with tight tracking, 600 for nav and buttons, 400 for body. |
| Ransom letters, numbers | Bagel Fat One 400 | One or two swapped letters per headline, big prices, step numbers, stat numbers. |
| Ransom swash | Shrikhand 400 | One slanted, loopy letter per headline. Never a whole word. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--dc-white` | #FFFFFF | The page |
| `--dc-tile` | #F1F1F3 | Gray tiles, cards, inputs, secondary buttons |
| `--dc-tile-2` | #E6E6EA | Hover on tiles |
| `--dc-line` | #E3E3E8 | The few dividers (FAQ, footer) |
| `--dc-ink` | #17161B | Text, primary buttons, mascot outlines, the dark featured plan and CTA band |
| `--dc-soft` | #5F5E66 | Leads and secondary text |
| `--dc-faint` | #B4B3BB | The faded tail of a statement paragraph |
| `--dc-sky` | #3FA9F2 | The square mascot, sky artboards, list ticks |
| `--dc-lemon` | #F4E23C | The triangle mascot, lemon artboards, the featured badge |
| `--dc-lilac` | #C9BCFF | The round mascot and small "new" pills |

Rules:
- White and gray do almost all the work. Sky, lemon and lilac belong to the mascots and to the artboards inside tiles, never to page sections or body text.
- Ink is the only button color. White buttons appear only on ink surfaces or on gray plan cards.
- Soft tints (`--dc-sky-soft`, `--dc-lemon-soft`) are for a pull quote, a pill or a tile behind an artboard.
- One gradient only: sky fading to sky-soft, inside an artboard.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--dc-text-hero` | clamp(44px, 7.4vw, 96px) | The ransom headline, centered, max 15ch, line-height 1 |
| `--dc-text-h2` | clamp(34px, 4.6vw, 60px) | Section headings, 800, tracking -0.035em |
| `--dc-text-statement` | clamp(28px, 3.6vw, 44px) | The big paragraph whose last sentence fades to gray |
| `--dc-text-h3` | 22px | Card titles |
| `--dc-text-lead` | 19px | The sentence under a headline |
| `--dc-text-body` | 16px | Body; 18px inside articles |

Headlines are short and a little cheeky ("Swim lessons with a big splash.", "Pick a pool pass."). Sentence case. A period is welcome.

## Shape and space

- Tiles: 36px radius, gray, no border, no shadow. Padding 24px to 48px.
- Artboards inside tiles: 4px radius (nearly square), white, ink, sky or lemon, with a deep soft shadow (`--dc-shadow-board`). Portrait 4:5 in strips, 16:10 when wide.
- Cards and plans: 20px and 36px radius. Inputs 12px. Buttons, pills and toggles are full pills.
- Mascot lines: 2.5px ink, round caps. Faces are two dots and a small curve.
- Sections: 72px to 136px vertical padding. Container 1080px, text 720px.
- Motion: small wobbles. Mascots bob 6px and rotate 3deg; buttons lift 2px and tip -1.5deg on hover. Both switch off for reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.dc-nav`, `__links`, `__actions`, `.dc-logo` | Logo (with a tiny square mascot) left, 4 links, "Log in" and a black pill on the right |
| `.dc-btn--ink/tile/white`, `--sm`, `--block` | Pill buttons; ink is primary |
| `.dc-pill`, `--lilac/lemon/sky`, `--tiny` | Small rounded labels above headings |
| `.dc-hero`, `.dc-ransom` | Centered hero with the ransom headline |
| `.dc-r-fat`, `.dc-r-swash`, `.dc-r-tilt`, `.dc-r-drop`, `.dc-r-outline`, `.dc-word` | Swapped letters inside `.dc-ransom`; wrap each word that has a swap in `.dc-word` so it never breaks |
| `.dc-mascot`, `--float` | An inline SVG mascot sized to stand in for a letter |
| `.dc-statement` | Big bold paragraph; wrap the last sentence in a `<span>` to fade it |
| `.dc-tile`, `--sky/lemon`, `.dc-board`, `--wide/ink/sky/lemon`, `__title/__meta`, `.dc-tile__caption`, `.dc-avatar` | Gray tile holding an artboard, with an avatar caption below |
| `.dc-strip`, `__track` | A row of tiles that runs off the right edge (clipped, no sideways scroll) |
| `.dc-grid`, `.dc-card`, `__icon` | Three gray cards, each topped by a mascot |
| `.dc-steps` | Numbered list with Bagel Fat One numbers |
| `.dc-quote`, `__by` | Big bold quote with avatar |
| `.dc-stats`, `.dc-stat` | Big Bagel numbers |
| `.dc-cta` | Ink band with the cast lined up above the heading |
| `.dc-toggle`, `.dc-plans`, `.dc-plan`, `--featured`, `__name/__desc/__price/__list/__mascot` | Pricing; the featured plan is ink with a triangle peeking over its top edge |
| `.dc-faq` | Details list with Bagel plus and minus signs |
| `.dc-article`, `__meta`, `__title`, `.dc-prose`, `.dc-author` | Blog post; the pull quote sits on lemon-soft |
| `.dc-form`, `.dc-field`, `.dc-label`, `.dc-input`, `.dc-select`, `.dc-hint`, `.dc-check`, `.dc-choices`, `.dc-choice` | Gray filled inputs that turn white with an ink outline on focus; pill radio choices |
| `.dc-footer`, `__cols`, `__base` | Four-column footer |
| `.dc-sprite`, `.dc-ink-line`, `.dc-fill-*` | The hidden SVG sprite and the classes its shapes use |

## The cast

The sprite at the top of each page defines four symbols: `#dc-sq` (sky square), `#dc-tri` (lemon triangle), `#dc-blob` (lilac circle) and `#dc-burst` (ink star). Use them with `<svg viewBox="0 0 64 76"><use href="#dc-sq"/></svg>`. Give a mascot that replaces a letter `role="img"` and an `aria-label` of that letter.

## Pages in this kit

- `demo.html`: landing page: ransom hero, a strip of tiles with artboards, a fading statement, three mascot cards, a split section with steps, a quote and an ink CTA.
- `pricing.html`: ransom headline, billing toggle, three plans and an FAQ.
- `blog.html`: article with a tiled artboard cover, prose, a lemon pull quote and an author card.
- `signup.html`: a gray tile with a ransom headline and a "what you get" artboard next to the form.

## Page recipe

1. Nav, then a centered ransom hero: 6 to 8 words, two swapped letters, one tilt or outline, one mascot. A short lead and one ink button.
2. A strip of 3 or 4 tiles running off the page edge, each holding an artboard with a tiny meta line and a bold title.
3. A statement paragraph that fades out.
4. A pill, an H2 and three mascot cards.
5. One split section (tile on one side, steps on the other), a quote tile, then the ink CTA with the cast.
6. Footer.

Pricing recipe: smaller ransom headline, toggle, three plans with the middle one ink and a mascot peeking over it, then an FAQ in a narrow column.

Article recipe: meta pills, a plain 800-weight title (no ransom), a lead, a tile with a wide artboard as the cover, prose at 18px, one lemon-soft pull quote, the author card and two related cards.

Sign-up recipe: two columns. Left: a gray tile with a ransom headline and an artboard listing what you get. Right: a pill, an H2 and the form, with one ink full-width button.

## Don'ts

- Don't ransom more than one headline per page, or more than three letters in it.
- Don't put sky, lemon or lilac on section backgrounds, body text or buttons.
- Don't add borders or shadows to the gray tiles; only artboards cast shadows.
- Don't round artboards; their near-square corners are what make them read as artboards.
- Don't use photos or stock illustrations. The cast is drawn in SVG with ink lines.
- Don't let a word with a swapped letter break across lines: wrap it in `.dc-word`.
- No em dashes in copy.
