# Embossed Lab Monochrome

A hushed industrial-minimalist system: pure black chrome framing pale clay-white embossed tiles, hairline-light typography and pictogram nav icons. Playful toy-like 3D relief meets rigorous grid and Swiss-style lowercase labels.

Tags: minimal, monochrome, industrial, lowercase, grid, embossed, dark-header, ecommerce
Inspired by: https://teenage.engineering/

## How to use (for coding agents)

Use `tailwind.config.js` (theme.extend) and `tokens.css` from this folder. Build UI with the
token classes below rather than default Tailwind colors. Components in `components/` are
self-contained React + Tailwind files and can be copied in as-is.

## Colors
| Token | Value | Role |
| --- | --- | --- |
| `canvas` | #000000 | Page background, header and footer |
| `ink` | #0f0e12 | Primary buttons, near-black text and fills |
| `tile` | #f5f5f5 | Tile and product surface background |
| `tile-shade` | #d3d4d7 | Embossed tile base / relief shading |
| `surface-muted` | #e5e5e5 | Light panels, disabled fields, field borders |
| `on-dark` | #f1f2f2 | Nav and footer text on black |
| `muted` | #767676 | Secondary text and subtitles |
| `hairline` | #b2b2b2 | Grid dividers between tiles |
| `white` | #ffffff | Field background |
| `accent-yellow` | #fab413 | Cookie control warning triangle |
| `accent-green` | #006837 | Success and cart overlay tab |
| `accent-orange` | #f05a24 | Brand accent (sparingly) |
| `accent-blue` | #0071bb | Link/info accent |
| `error` | #c0262c | Form error state |

## Typography
| Token | Stack | Usage |
| --- | --- | --- |
| `font-sans` | te-20, Unicode, Helvetica Neue, Arial, sans-serif | All UI, nav, body copy and form text in thin/light weights, lowercase |
| `font-display` | te-40, Unicode, sans-serif | Large headings such as page titles |

| Class | Size | Line height | Weight | Tracking |
| --- | --- | --- | --- | --- |
| `text-display` | 39.7px | 41px | 100 | 0 |
| `text-h1` | 26.4px | 30px | 100 | 0 |
| `text-nav-title` | 26.4px | 30px | 300 | 0 |
| `text-body-lg` | 19.1px | 1.3 | 300 | 0 |
| `text-body` | 16px | 1.4 | 300 | 0 |
| `text-field` | 13.2px | 1.5em | 300 | 0 |
| `text-caption` | 9px | 10px | 300 | 0.01em |

## Shape & depth
| Class | Value |
| --- | --- |
| `rounded-none` | 0 |
| `rounded-soft` | 8.67px |
| `rounded-pill` | 9999px |
| `shadow-emboss-relief` | inset 0 1px 2px rgba(255,255,255,0.8), inset 0 -2px 6px rgba(0,0,0,0.12) |
| `shadow-emboss-lift` | 2px 3px 6px rgba(0,0,0,0.18) |
| `bg-clay-sheen` | linear-gradient(145deg, #f5f5f5 0%, #d3d4d7 100%) |

## Motion
| Token | Kind | Duration | Easing | Notes |
| --- | --- | --- | --- | --- |
| `fade-in` | animation | 250ms | ease | Page root fades in on load. |
| `tile-hover` | transition | 250ms | ease | Transform and opacity transition on tiles and links. |
| `bulge` | animation | 400ms | ease-in-out | Cart badge pulse on add. |
| `spin-load` | animation | 1s | linear | Loading spinner rotation. |
| `marquee-scroll` | animation | 30s | linear | Endless horizontal scroll for ticker rows. |
| `link-underline` | transition | 0s | linear | Footer links gain an instant underline on hover. |

## Components
- **Pictogram Mega Nav Bar** (`components/pictogram-nav-bar.tsx`, header) — Full-width black bar with five columns, each a large line-art pictogram (flower, device, square, finder icons) beside a light 26px lowercase title and a stack of tiny 13px sub-links. A Japanese mission-statement text block and a hexagon-nut logo mark close the row. Props: brand (use \n for line break), columns (title, icon: flower|device|square|finder, links) and statement (array of text lines). Renders standalone with defaults; sits as a full-width black header.
- **Centered Link Footer** (`components/minimal-footer-bar.tsx`, footer) — Black bar with country selector at left, centered row of lowercase text links, and copyright at right, all in light grey thin type. Props: country, countries (native select options), links ({label, href}[]) and copyright. Renders standalone with defaults; stacks on mobile and uses a three-column grid on md+.
- **Embossed Advent Tile Grid** (`components/embossed-tile-grid.tsx`, features) — Four-column square grid of pale clay tiles separated by 1px grey hairlines, each holding a soft 3D embossed object (triangle, sphere, umbrella, screw, hand, keys) with a small day number in the top-right corner. The final tile spans two columns and two rows with a large embossed logo. Props: intro (array of heading lines), countdownLabel and countdown (footer text). Click a tile to toggle it open; tiles lift and fade on hover.
- **Embossed Relief Tile** (`components/embossed-object-tile.tsx`, card) — Single square tile with square corners, light grey sheen background, centered clay-white raised object using inset highlight and soft shadow, and a tiny numeric label in the corner. Props: number (corner label), label (aria label prefix), shape (sphere | triangle | nut | umbrella), onSelect callback. Tile scales slightly and dims on hover; click toggles aria-pressed.
- **Centered Uppercase Intro Panel** (`components/intro-banner-panel.tsx`, hero) — Wide pale grey panel with a slightly bevelled edge, containing three centered lines of uppercase light text introducing the calendar. Pass `lines` (array of strings) to change the three centered uppercase intro lines. The panel fades in on load after a 250ms delay and sits on the black canvas.
- **Quiet Countdown Readout** (`components/countdown-footer-text.tsx`, stats) — Centered two-line white-on-black caption with uppercase label and a monospaced-feel timer, surrounded by generous black space. Props: `label` (caption text) and `initialSeconds` (countdown start). The timer ticks every second and stops at 00:00:00.
- **Hairline Newsletter Signup** (`components/newsletter-signup-form.tsx`, form) — Narrow centered column on white: light 39px headline, grey subtitle at 26px, a square-cornered outlined email field with tiny floating label, a consent checkbox row and a full-width near-black subscribe bar. All copy is overridable via props (heading, subtitle, emailLabel, consentText, consentLinkText, buttonLabel). Pass onSubmit to receive the email once the consent box is checked.
- **Floating Label Square Field** (`components/outlined-email-field.tsx`, text-field) — Sharp-cornered 1px black bordered input, 60px tall, with a tiny grey label pinned top-left inside. Props: heading, description, label (the small floating field label), consentText, linkText, buttonText. All have defaults, so it renders with no props; the field border darkens with an inner ring on focus.
- **Square Consent Checkbox** (`components/square-consent-checkbox.tsx`, checkbox) — Empty square outlined in light grey beside lowercase consent sentence with underlined privacy link and asterisk. Props: beforeLink, linkText, linkHref, required, defaultChecked, onChange(checked). The checkbox is a native input styled as a light grey square that shows a tick when checked; the link is always underlined.
- **Full-Width Ink Button** (`components/solid-block-button.tsx`, button) — Rectangular near-black (#0f0e12) block, no radius, with centered light white lowercase label at 26px. Props: label (string), onClick, type ("button" | "submit"), disabled. It fills its container's width; place it inside a form column to span the fields.
- **Warning Triangle Cookie Badge** (`components/cookie-warning-badge.tsx`, floating-button) — Fixed bottom-left yellow triangular sign with a black hand icon and tiny 'cookie control' caption, evoking a hazard label. Renders a fixed bottom-left yellow hazard-style triangle; clicking opens a small preferences dialog. Props: label (caption), title and description (dialog copy). Works with no props.
- **Green Cart Tab** (`components/cart-tab-overlay.tsx`, floating-button) — Small green rounded-top tab fixed at bottom-right edge resembling a bag, 3.25vw wide, used as cart shortcut. Props: count (initial items), label (aria label), href (cart link). The tab is fixed bottom-right; clicking the demo 'add item' button increments the count and triggers the bulge pulse.
- **Minimal Country Selector** (`components/country-select.tsx`, select) — Thin lowercase 'united kingdom' text with a small chevron, in muted grey on black; opens a long list of countries. Props: countries (string[]), defaultValue, label (screen-reader label), onChange(value). Uses a native select so the dropdown opens on click while the chevron stays static.
- **Micro Japanese Text Block** (`components/jp-mission-text.tsx`, other) — A tiny, tightly set block of Japanese mission statement text at 9px in the nav, acting as a graphic texture beside the logo. Pass `lines` (array of short Japanese strings, one per row) and optional `label` for the accessible name. Renders a static 9px tightly set text block on a black canvas with a 250ms fade-in.
- **Thin Rotating Loader** (`components/loading-spinner.tsx`, spinner) — Simple rotating element for loading states, monochrome on light surface. Props: label (main text), caption (secondary text) and size (spinner diameter in px). The thin ring rotates continuously via animate-spin-load and stops for reduced-motion users.
