# Loose Orbit

An airy discovery style for products people browse more than they read. A warm off-white canvas, one tight grotesk headline set dead center, and a loose orbit of small glossy tiles floating around it at odd angles, each with a soft lift and a light edge, like objects tossed on a table. Under the headline a single word blurs in and out as it cycles ("Find your next ... speckled mug"), and the one real control is a search field sitting in a soft tray. Buttons are black pills, cards are white with soft rounded corners, and all the color lives in the tiles, never in the interface.

Use it for: marketplaces and curated shops, inspiration and moodboard apps, collections and wishlists, homeware and craft, fashion and vintage finds, galleries, recipe or plant finders, any product whose first screen is "search for a thing you will like". Avoid it for: dashboards, dense documentation, finance or legal products that need weight and gravity, long forms, anything where color has to carry meaning in the UI.

## 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 Loose Orbit 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 a made-up marketplace of handmade ceramics called Kiln.

## Fonts

All free on Google Fonts:

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

| Role | Font | Weight | Use |
|---|---|---|---|
| Headlines | Geist | 600 | Hero, section titles, card titles, prices, stats. Tight negative tracking |
| Body and UI | Geist | 400 to 500 | Body copy, nav, buttons, chips, fields, the cycling word |
| Wordmark | Geist | 700 | Uppercase with .06em tracking, centered in the nav |
| Meta | Geist Mono | 400 | Small uppercase labels above titles, captions, studio names, table heads |

One family does nearly everything. Hierarchy comes from size and tracking: headlines are big, 600 and pulled tight (-.045em on the hero); everything else is plain.

## Color

| Token | Hex | Use |
|---|---|---|
| `--lo-canvas` | #F3F1EE | The page. Warm off-white, never pure white |
| `--lo-white` | #FFFFFF | Cards, plans, the search field, alternating sections |
| `--lo-tray` | #E9E6E2 | The tray around the search, toggles, the sign-up side panel, covers |
| `--lo-ink` | #161514 | Text, the primary pill, the featured plan, the dark section |
| `--lo-soft` | #6D6A66 | Leads, secondary text, meta |
| `--lo-faint` | #A19D97 | Placeholders, text on ink |
| `--lo-line`, `--lo-line-strong` | #E1DDD8, #CBC6BF | Hairlines, card and field borders |
| `--lo-cobalt` | #3346D3 | Tile glaze, and the small dot in badges |
| `--lo-rose` | #E5466F | Tile glaze |
| `--lo-celadon` | #93BDAA | Tile glaze, and the check marks |
| `--lo-ochre` | #DBA543 | Tile glaze, avatars |
| `--lo-clay`, `--lo-sky`, `--lo-plum` | #C46A48, #9CC3EA, #5B3355 | More tile glazes |

The glaze colors belong to tiles. Buttons, links and headings stay ink. A screen should feel neutral with confetti of color around the edges, not a colorful interface.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `lo-hero-title` | clamp(42px, 6.4vw, 92px) | 600, tracking -.045em, line-height .98, centered, short (3 to 5 words) |
| `lo-cycle` | clamp(20px, 2.4vw, 30px) | 500, `--lo-soft`, one word or two, swapped with a blur |
| `lo-h2` | clamp(30px, 3.8vw, 52px) | 600, tracking -.03em |
| `lo-h3` | 20px | 600, tracking -.015em |
| `lo-lead` | clamp(17px, 1.5vw, 20px) | `--lo-soft`, max 560px |
| Body | 16px | 400, line-height 1.55 |
| `lo-prose` | 18px | line-height 1.7 |
| `lo-meta` | 12px | Geist Mono, uppercase, tracking .04em |

## Shape and space

- Controls are pills (`--lo-radius-pill`). Cards and plans are 22px. Tiles are 14px. The search tray is 30px. Fields are 16px.
- Shadows are soft and low (`--lo-shadow-card`). Only tiles get a real lift (`--lo-shadow-tile`), a glossy top-left sheen (`--lo-gloss`) and a light inner edge (`--lo-edge`).
- Tiles always sit at an angle (`--r`, between -20deg and 20deg) and float slowly (`lo-float`, 7s). Never put a tile perfectly straight in an orbit.
- Space is generous: hero padding 110 to 200px, sections 72 to 128px. The hero column is narrow and centered; the orbit uses the edges.

## Components (in components.css)

- **Nav** `lo-nav`: a three-column grid. `lo-nav__start` holds the dotted `lo-mark` and quiet `lo-nav__links`, the `lo-wordmark` sits in the middle, `lo-nav__end` holds "Log in" and a small ink pill. Links hide under 820px; the pill stays.
- **Hero** `lo-hero` (or `--short`): an `lo-orbit` of up to 12 `lo-tile`s, then `lo-hero__body` with a badge, `lo-hero-title`, the `lo-cycle` word, the search tray and one ink pill. Tiles are placed by their order in the orbit; on phones the orbit drops to 7 smaller tiles pushed to the top and bottom edges.
- **Tile** `lo-tile`: color `--cobalt`, `--rose`, `--celadon`, `--ochre`, `--clay`, `--sky`, `--plum`, `--white`; glaze pattern `--ring`, `--drip`, `--stripe`, `--dot`, `--half`; size `--sm`, `--lg`, `--wide`, `--tall`; `--still` stops the float. Swap a tile for a real product photo with the same radius, lift and tilt when you have one.
- **Search** `lo-tray` wrapping `lo-search` (icon plus input) and the round `lo-swatch-btn` color wheel.
- **Cycling word** `lo-cycle` with `lo-cycle__word`: add `is-out` to blur it away, swap the text, remove `is-out`. See the short script in `demo.html`.
- **Buttons** `lo-btn` plus `--primary` (ink pill), `--secondary` (white with a hairline and soft shadow), `--light` (canvas pill on ink), `--outline` (on ink), sizes `--sm`, `--lg`, and `--block`. `lo-round` is a 40px round icon button.
- **Badges and chips** `lo-badge` (white pill, optional `lo-dot`), `lo-badge--ink`, `lo-chips` of `lo-chip` filters with `aria-pressed`.
- **Cards** `lo-card` (white, soft shadow) and `--flat`; `lo-feature` with an `lo-feature__art` cluster of three tiles; `lo-object` product cards with a big still tile as the picture, a name and price row and the studio in meta.
- **Stats** `lo-stats` of `lo-stat`. **Quote** `lo-quote` with `lo-person` and the tilted `lo-avatar` tile.
- **Pricing** `lo-toggle`, `lo-plans` of `lo-plan` (`--featured` is ink with a corner tile `lo-plan__corner`), `lo-price`, `lo-checks` (tilted celadon squares), `lo-table` inside `lo-table-wrap`, and `lo-faq`.
- **Article** `lo-article-head`, `lo-cover` (a tray panel scattered with large tiles), `lo-prose` (tilted cobalt bullets), `lo-pull`, `lo-figure` with `lo-swatches`, `lo-author`.
- **Forms** `lo-form`, `lo-field`, `lo-label`, `lo-input`, `lo-select`, `lo-hint`, `lo-row`, `lo-fieldset`, `lo-picks` of `lo-pick` tile choices, `lo-check`, `lo-divider`. `lo-split` puts an orbit panel beside the form.
- **Footer** `lo-footer` with `__top`, `__cols` and `__bottom`.

## Pages in this kit

- `demo.html`: landing page. Orbit hero with the cycling word and search, an "Out this week" product grid with filter chips, three feature cards, stats, a quote and an ink call to action with its own small orbit.
- `pricing.html`: short orbit hero with the billing toggle, three plans with the middle one in ink, a comparison table and an FAQ.
- `blog.html`: a centered article head, a tile cover, prose with a pull quote and a swatch figure, then more stories as object cards.
- `signup.html`: a split screen with an orbit panel on the left and the form on the right.

## Page recipe

1. `lo-nav`.
2. `lo-hero` with an `lo-orbit` of 8 to 12 mixed tiles (mix sizes, colors and patterns; no two neighbours the same color), a badge, a 3 to 5 word title, the cycling word, the search tray and one ink pill.
3. A white section of `lo-object` cards with `lo-chips` filters in a split head.
4. A canvas section of three `lo-feature` cards under a centered head.
5. Stats or a quote, then an ink call to action with a small orbit.
6. `lo-footer`.

Alternate canvas and white sections. One orbit per screen height at most.

**Pricing recipe:** `lo-hero--short` with 6 to 8 tiles and the toggle, then `lo-plans` pulled up over the hero edge, the featured plan in the middle, then the table and the FAQ.

**Article recipe:** `lo-article-head` in `lo-narrow` with badges, a long `lo-hero-title` (clamped smaller), the lead and `lo-author`; then a full-width `lo-cover`; then `lo-prose` in `lo-narrow`; finish with related `lo-object` cards on white.

**Sign-up recipe:** `lo-split` with the orbit and a short pitch on the `lo-tray` side, and a single-column form on the other: one secondary pill for a passwordless option, `lo-divider`, the fields, `lo-picks` to personalise, and one block ink pill.

## Don'ts

- Don't color buttons, links or headings with the glaze colors. Ink only.
- Don't line tiles up in a grid in the hero or set them straight. The orbit is loose on purpose.
- Don't put text on tiles or make them carry information; they are objects, not cards.
- Don't use square corners or hard shadows, and don't add borders to tiles.
- Don't use more than one orbit per screen, or let tiles cover the headline or the search.
- Don't add a second typeface: Geist and Geist Mono only.
- Don't use pure white for the page background.
