# Emoji Shelf

A friendly community feed. A white top strip sits over a pale sky wash, and the content lives on flat white surfaces with no shadows at all. Every post, event and plan gets a big emoji in a rounded white tile, which does the job photos usually do. Headlines use a rounded Japanese gothic, body text is a clear modern sans, and a single bright sky-blue pill carries the main action. Small outlined tag chips and tiny sunflower dots add detail without noise. It feels open, honest and easy to join.

Use it for: community sites, knowledge sharing, hobby clubs, newsletters and writing platforms, local services, education, anything built around a feed of short posts. Avoid it for: luxury brands, serious finance or legal products, anything that needs photography or a dramatic mood.

## 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 Emoji 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 allotment community called Plotline.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Zen Maru Gothic 700 to 900 | Hero (900), section headings (900), card titles (700), quotes. Its rounded ends are the voice of the style. |
| Body | Figtree 400 to 700 | Paragraphs, nav, buttons, feed titles (700), meta lines. |
| Mono | Spline Sans Mono 400 | Dates ("2027/03/01"), counts, logs and code. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--es-white` | #FFFFFF | Nav strip, hero, cards, emoji tiles |
| `--es-wash` | #EBF4FC | The page background under the feed, and tiles that sit on white |
| `--es-wash-2` | #DCEBF8 | Hover on wash, letter tiles |
| `--es-line` | #DDE6EF | Every border and divider |
| `--es-ink` | #1F2A36 | Headlines and body text |
| `--es-soft` | #5D6B7A | Leads, meta lines |
| `--es-sky` | #2E98EE | The one action color: primary pill, chip outlines, the featured plan border, ticks |
| `--es-sky-deep` | #1C7DCF | Links and hover |
| `--es-sun` | #F6C543 | Tiny highlights only: "new" dots, the featured ribbon |
| `--es-heart` | #EC5B7D | The like heart, nothing else |

Rules:
- The page alternates white bands (nav, hero, feature cards, final call) and wash bands (events, feed, quote). Tiles flip: white tiles on wash, wash tiles on white.
- Sky blue is for actions and tags. One primary pill per view.
- Sun yellow never covers more than a dot, a badge or a ribbon.
- No gradients, no photos, no shadows.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--es-text-hero` | clamp(36px, 5.6vw, 64px) | Hero headline, Zen Maru Gothic 900, line-height 1.18 |
| `--es-text-h2` | clamp(28px, 3.4vw, 40px) | Section headings, 900 |
| `--es-text-h3` | 20px | Card and plan titles, 700 |
| `--es-text-lead` | 18px | The sentence under a headline, soft color, max 600px |
| `--es-text-body` | 16px | Body, line-height 1.65 (1.9 in articles) |

Feed titles are Figtree 700 at 17px, not the headline font. Headlines are plain, honest sentences ("What grew, what didn't, and why"). Sentence case.

## Shape and space

- Borders: 1px `--es-line`, used mostly on outlined cards, inputs and the nav search.
- Radius: 18px on emoji tiles, 24px on large tiles, 16px on cards and plans, 8px on inputs, 4px on tag chips, pills on buttons, toggles and reactions.
- Shadows: none. Depth comes only from white on pale blue.
- Sections: 72px to 104px vertical padding. Container 1080px, articles 720px.
- Feeds are two columns of tile + text rows with 32px to 48px gaps. One column below 680px.

## Components (in components.css)

- `.es-nav` with `.es-nav-inner`, `.es-logo`, `.es-search`, and an optional `.es-tabs` row of `.es-tab` links (active one underlined in ink).
- `.es-btn` with `--primary` (sky pill), `--secondary` (white pill with a line), `--ghost`, `--sm`, `--lg`, `--block`, `--social`.
- `.es-tile` (the signature emoji tile) with `--lg`, `--sm`, `--wash` and `--outline`. Put one emoji inside.
- `.es-shelf`: a wash panel holding six large tiles, every second one nudged down. Use it as the hero visual.
- `.es-feed` and `.es-item`: tile on the left, `.es-item-title` and `.es-meta` (avatar, name, club, time, `.es-like`) on the right.
- `.es-events` and `.es-event`: a three-up strip of small outlined tiles with a `.es-chip`, a title and a mono `.es-event-date`.
- `.es-chip` (outlined, square-ish), `--fill`, `--sun`; `.es-pill-bar` with `.es-pill-badge` and `.es-dot`.
- `.es-card`, `.es-card--outline`, `.es-card-row`; `.es-stats`, `.es-quote`.
- Pricing: `.es-toggle`, `.es-plans`, `.es-plan`, `.es-plan--featured`, `.es-price`, `.es-list`, `.es-table-wrap`, `.es-table`, `.es-faq`.
- Article: `.es-article-head`, `.es-article-title`, `.es-article-body`, `.es-prose`, `.es-callout`, `.es-toc`, `.es-reactions`, `.es-author-card`.
- Forms: `.es-form`, `.es-field`, `.es-input`, `.es-select`, `.es-input-wrap` with `.es-input-toggle`, `.es-help`, `.es-field--error` with `.es-error`, `.es-check`, `.es-picker` (emoji pill checkboxes), `.es-divider-text`, `.es-social-row`.
- `.es-footer` with `.es-footer-grid` and `.es-footer-bottom`.

## Pages in this kit

| Page | File |
|---|---|
| Landing | demo.html |
| Pricing | pricing.html |
| Blog post | blog.html |
| Sign up | signup.html |

## Page recipe

1. White nav strip: logo, search box, a secondary and a primary small pill. Optional tabs row under it.
2. White hero: a pill bar with a sun badge, a 900-weight headline, a lead, a primary and a secondary large pill. On the right, an `.es-shelf` of six emoji tiles.
3. Wash band: the three-up events strip, then a centered "See all" arrow link.
4. Wash band continues: section head with h2, a help dot and a pill bar, then a two-column `.es-feed` of six items and a "More" link.
5. White band: centered h2 and lead, then three outlined cards, each with a wash tile.
6. Wash band: a quote with a big avatar next to three small stats.
7. White final call: a large wash tile, h2, lead and two pills. Then the footer.

## Pricing page recipe

1. Nav as on the landing page.
2. White hero, centered: a large wash tile, headline, lead and an `.es-toggle` for Monthly / Yearly. Keep both prices in `data-monthly` and `data-yearly` and swap them in a few lines of JS.
3. Wash band: `.es-plans` with three white plans. The middle one is `--featured` with a sun chip ribbon and the only primary button.
4. One line of small print, then the comparison `.es-table` in `.es-table-wrap`.
5. White band: `.es-faq` with 4 to 6 questions, the first open. Then a short final call on wash.

## Article page recipe

1. Nav on white.
2. `.es-article-head` on white: a large wash tile with the post's emoji, the title, a row of tag chips, then the meta line.
3. On wash: a white `.es-article-body` card with `.es-prose`, next to a sticky `.es-toc` on wide screens.
4. Inside the prose: short paragraphs, h2 with a hairline under it, a list, one figure built from tiles, a blockquote, a `<pre>` log, an `.es-callout` with an emoji.
5. `.es-reactions` and an `.es-author-card` to close, then a white "More from" band with a two-item feed.

## Sign-up page recipe

1. Two columns, full height. Left on white: logo, h2 headline, a short lead.
2. `.es-form`: name, email, password with a show/hide toggle, a select, an `.es-picker` of emoji pills, an `.es-check` for terms, a block primary button.
3. `.es-divider-text`, two `.es-btn--social` buttons, then a "Log in" link.
4. Errors use `.es-field--error` and `.es-error`; hints use `.es-help`.
5. Right column on wash: a pill bar, a small white card of two feed items, and a quote. Hide it below 860px.

## Don'ts

- Don't add shadows, gradients or photos. The emoji tile is the image.
- Don't put more than one emoji in a tile, or emoji in headlines.
- Don't round the tag chips into pills; they stay at 4px.
- Don't use the headline font for feed titles or buttons.
- Don't add a second strong accent. Sun stays tiny.
- Don't use em dashes in copy.
