# Pixel Crop

A dark, exact look with one living color. The page is near-black with a faint green cast, and almost everything on it is gray. Headlines are medium-weight grotesque in off-white, centered in the hero, with one phrase lit in bright sprout green. The signature visuals are isometric blocks drawn from tiny glowing dots, like an LED matrix seen at night: single cubes, stacked slabs, clusters and steps, each with a bright top face, a mid side and a dim side, wrapped in a soft green glow. Actions are pills: a pale primary and a dark ghost. Labels, numbers and code sit in a wide mono face, uppercase and tracked.

Use it for: hardware with software inside, climate and farming tech, labs, infrastructure, energy, data products, any product that wants to feel technical and alive at the same time. Avoid it for: children's brands, fashion and beauty, charities that need warmth and faces, anything that depends on photography.

## 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 Pixel Crop 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`, `pricing.html`, `blog.html` and `signup.html` are complete example pages built only with the kit.

## Fonts

All free on Google Fonts:

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

| Role | Font | Use |
|---|---|---|
| Headlines | Hanken Grotesk 500 (600 for h3) | Every headline. Tracking -0.03em, line-height about 1.04, balanced wrapping. |
| Body | Hanken Grotesk 400 to 600 | Paragraphs, nav, buttons, form labels. 16px base, gray. |
| Mono | Martian Mono 400 to 500 | Section labels, stat captions, table headers, badges, dates, code. Labels are 11px, uppercase, tracked 0.06em. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--pc-soil` | #050806 | Page background |
| `--pc-bed` | #0A0F0B | Alternate sections, footer, code panels, art frames |
| `--pc-tray` | #111813 | Cards, plans, inputs |
| `--pc-stem` | #1A231C | Hover, selected toggle, raised controls |
| `--pc-line` | pale green at 8% | Every border and divider |
| `--pc-text` | #ECF1EA | Headlines, primary text, the primary button fill |
| `--pc-text-2` | #9AA59C | Body and leads |
| `--pc-text-3` | #626D64 | Labels, metadata, the dimmed half of a headline |
| `--pc-sprout` | #84E26F | Lit words, bright dots, focus, success, links in prose |
| `--pc-leaf` | #2E8F42 | Mid dots on the left face of a block |
| `--pc-moss` | #1A4A24 | Dim dots on the right face of a block |
| `--pc-pollen` | #E4EF6B | Sparks inside dot art and string values in code. Never text. |
| `--pc-rust` | #E0775A | Errors only |

Rules:
- The page is gray and black. Sprout green appears in three places: one lit phrase per headline, the dot art, and small status marks (badges, bullets, the featured plan border).
- The primary button is off-white on black, never green. `.pc-btn--sprout` exists for one special action at most.
- One phrase lit per headline. Use `.pc-lit` for green or `.pc-dim` for gray, never both in the same headline.
- No gradients except the soft halo (`--pc-halo`) behind heroes, the art frames and the featured plan wash.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--pc-text-hero` | clamp(42px, 6.2vw, 80px) | Hero headline, centered, two lines |
| `--pc-text-h1` | clamp(36px, 4.8vw, 60px) | Page titles and big calls to action |
| `--pc-text-h2` | clamp(28px, 3.4vw, 44px) | Section headings |
| `--pc-text-h3` | 19px | Card, plan and step titles |
| `--pc-text-lead` | 18px | Paragraph under a headline, max 38em |
| `--pc-text-body` | 16px | Body |
| `--pc-text-small` / `--pc-text-micro` | 14px / 11px | UI text / mono labels |

## Shape and space

- Borders are 1px hairlines in pale green at 8% (15% for inputs and ghost buttons).
- Radius: pill on every button, toggle and badge; 6px on inputs; 12px on cards and panels; 18px on plans and the CTA box.
- No drop shadows. Raised things get `--pc-inset-top`, a 1px light edge. The only glow is `--pc-glow` on dot art and tiny status dots.
- Space: roomy. Sections are 80 to 136px apart, container 1240px, article measure 680px.
- Background texture: `.pc-section--field` lays a very faint 18px dot grid behind a section. Use it once per page at most.

## Dot art

The dot art is the identity. It's pure CSS, no images.

- A block is `<span class="pc-iso"><i class="pc-iso__top"></i><i class="pc-iso__left"></i><i class="pc-iso__right"></i></span>`. The three faces are clip-paths filled with dot gradients: bright on top, leaf on the left, moss on the right.
- Ready scenes live in a 240px box: `.pc-scene--block`, `--stack`, `--cluster`, `--tower` and `--steps`. Set `--s` on the scene to scale it (0.66 on phones, 0.8 inside cards).
- `.pc-iso--spark` sprinkles a few pollen dots on the top face. Use it on one block per scene. `.pc-iso--sparse` spaces the dots wider for one large block.
- Faces have an opaque fill (`--pc-iso-fill`) so front blocks hide back ones. Inside cards, frames and the CTA it switches to `--pc-bed` automatically.
- Show scenes in a row of four with mono captions under the hero, one per card on feature grids, and one in figures and side panels. Never more than seven blocks in one scene.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.pc` | Body class: background, font, gray text, clips sideways overflow |
| `.pc-container`, `.pc-narrow`, `.pc-center` | Layout helpers |
| `.pc-section`, `.pc-section--bed`, `.pc-section--field`, `.pc-halo` | Section spacing, a lifted section with hairlines, the faint dot grid, the soft green halo |
| `.pc-hero-title`, `.pc-h1`, `.pc-h2`, `.pc-h3`, `.pc-lit`, `.pc-dim`, `.pc-lead`, `.pc-label`, `.pc-mono` | Type. The label is mono uppercase with a tiny dot square. |
| `.pc-btn` + `--primary`, `--ghost`, `--sprout`, `--text`, `--sm`, `--lg`, `--block`; `.pc-actions` | Pill buttons and a button row |
| `.pc-nav`, `.pc-nav__inner`, `.pc-nav__links`, `.pc-nav__end`, `.pc-logo`, `.pc-logo__mark` | Sticky blurred nav with centered links |
| `.pc-hero` | Hero spacing |
| `.pc-iso`, `.pc-scene--*`, `.pc-scenes`, `.pc-scene-tile` | Dot art blocks, ready scenes, the row of four with captions |
| `.pc-logos`, `.pc-logos__intro`, `.pc-logos__row` | Customer strip: a short intro, a divider, word marks in gray |
| `.pc-card`, `.pc-card__icon`, `.pc-card--art`, `.pc-card__art`, `.pc-grid--2`, `.pc-grid--3` | Cards, a dot icon tile, cards topped with a scene |
| `.pc-stats`, `.pc-stat` | Four big numbers in a hairline grid, captions in mono |
| `.pc-code`, `.pc-code__bar` | A config or recipe file in mono with green keys and pollen strings |
| `.pc-badge`, `--sprout`, `--rust` | Mono pill badges; the sprout one has a glowing dot |
| `.pc-field`, `.pc-input`, `.pc-select`, `.pc-input--error`, `.pc-error`, `.pc-check`, `.pc-choice`, `.pc-divider` | Form parts |
| `.pc-toggle`, `.pc-plans`, `.pc-plan`, `.pc-plan--featured`, `.pc-plan__name`, `.pc-plan__price` | Pricing |
| `.pc-table-wrap`, `.pc-table` | Comparison table, `.yes` cells in green |
| `.pc-faq` | Details and summary list with a mono plus sign |
| `.pc-article-head`, `.pc-meta`, `.pc-byline`, `.pc-avatar`, `.pc-prose`, `.pc-quote`, `.pc-figure`, `.pc-callout` | Article parts |
| `.pc-cta` | Closing call to action box with a halo |
| `.pc-footer`, `.pc-footer__grid`, `.pc-footer__base` | Footer |

## Pages in this kit

| File | Page |
|---|---|
| `demo.html` | Landing page for Rootstack, a farm tower for city kitchens |
| `pricing.html` | Plans, a monthly and yearly toggle, a comparison table and FAQ |
| `blog.html` | A kitchen story with a figure, list, quote, code and callout |
| `signup.html` | Booking form beside three numbered steps and a dot block |

## Page recipe

1. Nav: logo left, four or five links centered, a text link and a small primary pill right.
2. Hero on `.pc-halo`, centered: a two-line hero title with one lit phrase, a lead, a primary and a ghost pill.
3. A row of four dot scenes with numbered mono captions (`01 Seed pod`).
4. Customer strip with word marks.
5. A section label, a two-tone h2 and a three-card grid, each card topped with a scene.
6. A `.pc-section--bed` split: copy and a dot-bullet list on the left, a `.pc-code` panel on the right.
7. Stats on a `.pc-section--field`.
8. `.pc-cta` box, then the footer.

Pricing: centered label, h1 with a lit phrase, lead and toggle; three plans with the middle one featured; a comparison table; then FAQ beside a single scene.

Article: label, h1 with a lit phrase, mono meta row, byline with a dotted avatar, then a figure with two scenes in a frame, prose at 680px, one quote and one callout, two related cards and a CTA.

Sign up: a card with the form on the left (two fields per row on desktop), a single large sparse block and three numbered steps on the right.

## Don'ts

- Don't fill large areas with green or use green for body text.
- Don't use photos or illustrations in another style. If you need a picture, draw it from dot blocks.
- Don't round buttons less than a pill, or cards more than 18px.
- Don't add drop shadows or glow to anything but dot art and status dots.
- Don't put more than one lit phrase in a headline.
- Don't use the pollen yellow as a text or button color.
- No em dashes in copy.
