# Style 03: Retro Pill Badges

**Reference:** image 3, a bakery page with a giant western-serif headline, a yellow product card, coloured tilted pills and a tilted dark marquee band.
**Not taken:** the brand name, the headlines, the copy, the review numbers and the photos.

**What makes it itself:** a white page set in a 70s **western/groovy serif**. A stack of tilted, candy-coloured "reason" pills stands next to the product. A dark band cuts diagonally across the page, carrying product words and stars.

---

## 1. Palette

| Role | Hex | Source | Confidence |
|---|---|---|---|
| Page white | `#FDFCFB` | measured (53%) | measured |
| Cocoa (type, marquee band) | `#2F1613` | measured (6.7%) | measured |
| Butter yellow (photo card, primary button, arrows) | `#FBDF63` | measured (2.1%) | measured |
| Blush card (product card ground) | `#F4ECE8` | measured (median-cut, 15%) | measured |
| Pill orange | `#F86E35` | sampled pixel | measured |
| Pill green | `#297847` | sampled pixel | measured |
| Pill blue | `#259FDF` | sampled pixel | measured |
| Pill lilac | `#D9A4F0` | sampling missed | guess |
| Star / marquee accent | `#F1E18B` | sampled | estimate |

## 2. Type character

| Item | Detail |
|---|---|
| Display | Heavy western/groovy serif with flared ends and ornamental "E" and "S" shapes. Cocoa, mixed case for the hero and caps for section heads. |
| Scale | Very large: the hero headline is about 110px and is centred **above** the product card, so the type is the roof of the hero. |
| Pills | Same serif in white, small caps. |
| Body | Plain sans, 13–14px, grey-cocoa. |
| Closest pairing | **Rye** (display) + **Lexend** (body). Confidence: guess. **Shrikhand** is the alternative if Rye feels too "saloon". |

## 3. Shape language

- **Tilted pills.** A stack of 4, each rotated by a different amount (−8°, +4°, −3°, +10°), each in its own candy colour, with a 2px white stroke and a cocoa outline.
- **Diagonal marquee band.** Cocoa, rotated about −3°, full bleed, with a ✦ star between words.
- **Soft cards.** Radius 20, blush ground, products cut out on top.
- **Ink splats.** Small cocoa drops near the product image (decoration).
- Round yellow arrow buttons for the carousel.

## 4. Section map

| Section | 1440 | 390 | States |
|---|---|---|---|
| Nav | A thin blush bar: wordmark left, centre links with a small orange "+" on dropdowns, cart icon right. | Wordmark plus cart plus menu. | Hover: serif underline. |
| Hero | The giant headline (2 lines) is centred on top. Below it are 3 columns: left has a short intro, a yellow "Order" button and a "watch" link plus a tagline; centre has the product on a yellow card (radius 20); right has a "Why us?" title and the tilted pill stack. | Headline (48px), product card, pills in a horizontal row (tilted), intro, buttons. | Pill hover: wiggle. Button press. |
| Story | Left: big heading in 2 lines. Right: a "watch" link. Below: 2 cards (photo; real description with a real rating). | Stacked. | The rating shows **only** with the real count (PR-5). |
| Menu | A "best sellers" heading, yellow arrows, 3 cards (the middle card is raised and taller, with its button showing). | 1-up carousel. | The centre card is the active state. |
| Gallery | A "from the oven" grid: blush tiles with cut-out products. | 2 columns. | Hover: tilt 2°. |
| Reviews | Quote cards rotated slightly differently, like pinned notes. | Swipe. | Real only. |
| Visit | Address and hours on a yellow card, with a tilted "Open today" pill **only if the hours are real**. | Stacked. | Static. |
| FAQ | Serif questions with pill toggles. | Same. | Open. |
| CTA | A second diagonal band (opposite tilt) with an "Order now" pill. | Same. | Hover. |
| Footer | Cocoa background, cream serif wordmark, pills as social links. | Stacked. | Hover. |

## 5. Motion sheet

**Libraries:** vanilla CSS. The marquee is a CSS `@keyframes` translateX on a duplicated track. The pill drop uses WAAPI with a custom easing.

| Section | What moves | Trigger | Duration | Easing | Mobile | Reduced motion |
|---|---|---|---|---|---|---|
| Nav | Fade. | load | 400ms | ease-out | Same. | Static. |
| Hero | 1. The headline letters drop with a small bounce (per word). 2. The product card rises. 3. **The pills fall in one by one** and settle at their tilt, like stickers dropped on a table. | load | 700 / 600 / 500ms each, 120ms stagger | `cubic-bezier(.34,1.56,.64,1)` | Pills slide in from the right. | Final layout. |
| Marquee band | Words scroll endlessly. Speed comes from scroll velocity (rAF), clamped to 2×. | always / scroll | 30s per loop | linear | 40s loop, no velocity coupling. | **Stopped** (static band). |
| Story | Cards rise. | in view | 600ms | out-expo | Same. | Static. |
| Menu | Arrow click: cards slide. The middle card scales to 1.06. | click | 450ms | out-expo | Swipe (scroll-snap). | Instant. |
| Gallery | Tiles rise in alternating tilt. | in view | 500ms | back-out | Same. | Static. |
| Reviews | The notes "pin" in with a rotate overshoot. | in view | 500ms | back-out | Same. | Static. |
| Visit | Tilted pill drop. | in view | 500ms | back-out | Same. | Static. |
| FAQ | Height grid. | click | 300ms | in-out | Same. | Instant. |
| CTA | Second band marquee, reversed. | always | 30s | linear | Same. | Stopped. |
| Footer | None. | | | | | |

## 6. Signature moment

**Pills dropping like stickers.** The "why us" pills tumble in one after another. Each lands at its own angle with a little bounce. On hover a pill wiggles (±4°, 300ms).

The diagonal band then carries the rhythm down the page.

## 7. Concept fit

**NEW concept candidate, "Retro Cookie Shop":** a cookie, biscuit or brownie shop with a 70s diner warmth. It is playful but softer than C3.

Its nearest existing concept is **BK-C3 Street Bakery**, but it has a serif voice where C3 uses condensed grotesk.

## 8. What is guessed

- The font pairing.
- The pill lilac colour.
- The scroll-velocity marquee coupling: it is a proposal, so check the CPU on low-end Android.
- The concept name.

<!-- AUTO:BUILD -->
## 9. Build record (generated by `styles/_engine/build.mjs` — supersedes §5 library column and §7 where they differ)

**Concept:** NEW-RETRO-COOKIE Retro Cookie Shop (candidate) — cookie / biscuit / brownie counter with 70s diner warmth — softer than Street Bakery, serif voice
**Engine:** vanilla Web Animations API + one rAF loop (`styles/_engine/motion.js`). No GSAP, no scroll library — so never two.
**Structure (home skeleton):** hero → band → story → best → gallery → notes → visit → faq → ctaband

### Route map

| Page | Path | File | Sections (in order) |
|---|---|---|---|
| Home | `/` | [site/index.html](site/index.html) | nav, hero, band, story, best, gallery, notes, visit, faq, ctaband, footer |
| Menu | `/menu` | [site/menu.html](site/menu.html) | nav, head:menu, menuFull, band, footer |
| About | `/about` | [site/about.html](site/about.html) | nav, head:about, story:full, notes, ctaband, footer |
| Gallery | `/gallery` | [site/gallery.html](site/gallery.html) | nav, head:gallery, gallery:full, ctaband, footer |
| Visit | `/visit` | [site/visit.html](site/visit.html) | nav, head:visit, visit:full, faq, footer |
| Contact | `/contact` | [site/contact.html](site/contact.html) | nav, head:contact, contact, band, footer |
| Not found | `/404 (any unknown path)` | [site/404.html](site/404.html) | nav, notFound, footer |

### Standalone sections (22)

[`nav`](sections/nav.html) · [`hero`](sections/hero.html) · [`band`](sections/band.html) · [`ctaband`](sections/ctaband.html) · [`story`](sections/story.html) · [`best`](sections/best.html) · [`menuFull`](sections/menuFull.html) · [`gallery`](sections/gallery.html) · [`notes`](sections/notes.html) · [`visit`](sections/visit.html) · [`faq`](sections/faq.html) · [`contact`](sections/contact.html) · [`notFound`](sections/notFound.html) · [`footer`](sections/footer.html) · [`head-menu`](sections/head-menu.html) · [`head-about`](sections/head-about.html) · [`story-full`](sections/story-full.html) · [`head-gallery`](sections/head-gallery.html) · [`gallery-full`](sections/gallery-full.html) · [`head-visit`](sections/head-visit.html) · [`visit-full`](sections/visit-full.html) · [`head-contact`](sections/head-contact.html)

### Colour system — 12 tokens × 3 colourways

### Colourway A — Cocoa Diner (default)

**60** page white · **30** blush cards + cocoa bands · **10** butter yellow (buttons, arrows, product card).

| Token | Role | Hex |
|---|---|---|
| `--bg` | background (60) | `#FDFCFB` |
| `--surface` | surface / cards (30) | `#F4ECE8` |
| `--ink` | text | `#2F1613` |
| `--muted` | secondary text | `#6E5650` |
| `--primary` | primary action (10) | `#FBDF63` |
| `--primary-hover` | hover / active | `#F5CF2E` |
| `--on-primary` | text on primary | `#2F1613` |
| `--secondary` | secondary colour block | `#2F1613` |
| `--price` | price / success accent | `#B8461A` |
| `--s1` | sticker 1 | `#F86E35` |
| `--s2` | sticker 2 | `#297847` |
| `--focus` | focus ring | `#1F7FBF` |

### Colourway B — Cherry Soda (`?cw=b`)

**60** soda white · **30** pink cards + wine bands · **10** cherry pink.

| Token | Role | Hex |
|---|---|---|
| `--bg` | background (60) | `#FFFAF6` |
| `--surface` | surface / cards (30) | `#FCE6E4` |
| `--ink` | text | `#3B0F1A` |
| `--muted` | secondary text | `#7A4A55` |
| `--primary` | primary action (10) | `#FF9DB0` |
| `--primary-hover` | hover / active | `#FF7F98` |
| `--on-primary` | text on primary | `#3B0F1A` |
| `--secondary` | secondary colour block | `#4A1222` |
| `--price` | price / success accent | `#B3122E` |
| `--s1` | sticker 1 | `#E8384F` |
| `--s2` | sticker 2 | `#2E7D8C` |
| `--focus` | focus ring | `#2E7D8C` |

### Colourway C — Mint Malt (`?cw=c`)

**60** malt white · **30** mint cards + pine bands · **10** mint.

| Token | Role | Hex |
|---|---|---|
| `--bg` | background (60) | `#FBFDF9` |
| `--surface` | surface / cards (30) | `#E6F1E8` |
| `--ink` | text | `#1E2B24` |
| `--muted` | secondary text | `#536259` |
| `--primary` | primary action (10) | `#9FE0B5` |
| `--primary-hover` | hover / active | `#7FD39C` |
| `--on-primary` | text on primary | `#1E2B24` |
| `--secondary` | secondary colour block | `#1E3A2C` |
| `--price` | price / success accent | `#2B7A4B` |
| `--s1` | sticker 1 | `#E58A1F` |
| `--s2` | sticker 2 | `#4D6FD8` |
| `--focus` | focus ring | `#4D6FD8` |

### Signature moments (never shared with another style)

- **SIG-03-1 Pill tumble** — the 'why us' pills fall one after another and land at their own tilt; hover makes a pill wiggle. Pattern: P30 Pill Tumble.
- **SIG-03-2 Tilted word band** — full-bleed cocoa bands cut the page at −3° and +2.5°, carrying words and stars in opposite directions. Pattern: P31 Tilted Band (marquee P11 on a rotated strip).

### Interaction (mouse / scroll / click)

- Hover a pill: it wiggles ±4°. Click it: it squashes and throws crumbs.
- Best-seller carousel: yellow arrow buttons, swipe on phone; the hovered card lifts like the raised centre card.
- Menu page: filter pills re-sort the cards with a FLIP glide.
- Review notes swing on their pin when hovered.
- Gallery tiles open in the lightbox.

### Fingerprint records (read by the live uniqueness check)

| Site | Concept | Hero | Menu | Colourway | Signatures | Hash |
|---|---|---|---|---|---|---|
| `03-retro-pill-badges/site/index.html` | NEW-RETRO-COOKIE | 03-H headline roof over 3 columns (intro · product card · pill stack) | 03-M centre-raised best-seller carousel + filter-pill grid | 03-a Cocoa Diner | SIG-03-1+SIG-03-2 | `f2457e5f` |
| `03-retro-pill-badges/site/index.html?cw=b` | NEW-RETRO-COOKIE | 03-H headline roof over 3 columns (intro · product card · pill stack) | 03-M centre-raised best-seller carousel + filter-pill grid | 03-b Cherry Soda | SIG-03-1+SIG-03-2 | `aa948886` |
| `03-retro-pill-badges/site/index.html?cw=c` | NEW-RETRO-COOKIE | 03-H headline roof over 3 columns (intro · product card · pill stack) | 03-M centre-raised best-seller carousel + filter-pill grid | 03-c Mint Malt | SIG-03-1+SIG-03-2 | `e40b6001` |

### Still guessed

- Rye + Lexend pairing (reference is a western/groovy serif; Shrikhand is the alternate).
- Pill lilac (#B77FD6) — sampling missed it.
- Marquee speed 30s/28s; no scroll-velocity coupling yet (CPU check on low-end Android pending).
- All timings.
<!-- /AUTO:BUILD -->
