# Acid Front

A loud, dark front page that never stops updating. Near-black surfaces carry a dense grid of stories: one huge lead with an extra-condensed headline biting into its art, a 2 by 2 of compact stories under it, and a live "river" column behind a dashed divider. A giant vertical wordmark climbs the left edge of the hero. The nav is a row of words split by slashes over a hairline. Acid mint does the talking (bylines, rules, the live toggle, the main button) and ultraviolet does the shouting (the one feature slab, the featured plan). Headlines are tight and heavy, reading text is a calm serif, and all the small print is uppercase monospace. It feels bold, editorial, a little cheeky and very now.

Use it for: news and media sites, release calendars and drop trackers, newsletters with a front page, fan sites, magazines, marketplaces and launches with a lot happening at once. Avoid it for: calm or premium brands, healthcare, finance tools, children's products, anything with only one or two things to say.

## 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 Acid Front 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 sneaker release tracker called Laceline.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..100,500..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Display | Archivo 900 at `font-stretch: 62%` | Hero titles, section headlines, the vertical wordmark, prices, countdowns, stats, pull quotes and the drop cap. Sentence case, line height 0.86, set tight. |
| Titles and interface | Archivo 800 at 88% width for story titles; 500 to 600 at full width for nav and body UI | Story titles, plan names, section head titles, nav links, form text. |
| Reading | Source Serif 4 400, italic | Deks under headlines, river text, article body, plan descriptions, FAQ answers. |
| Small print | Space Mono 400 and 700 | Bylines, timestamps, kickers, badges, buttons, labels, table heads. Always uppercase, 11px, 0.09em tracking. |

Archivo's width axis is the trick: one family gives both the extra-condensed display and the normal-width interface. Always set `font-stretch` through the tokens (`--af-stretch-display`, `--af-stretch-title`).

## Color

| Token | Hex | Role |
|---|---|---|
| `--af-ink` | #141417 | The page |
| `--af-void` | #0B0B0D | Footer, inputs, countdown boxes |
| `--af-soot` | #1D1D22 | Alternate sections, panels, notes |
| `--af-line` | #34343C | Every rule and border |
| `--af-paper` | #F2F2EC | Text, the nav hairline, paper buttons |
| `--af-mute` | #9A9AA5 | Deks on inner pages, timestamps, captions |
| `--af-acid` | #3DF2C4 | Bylines, section rules, the active toggle, the main button, "now" |
| `--af-uv` | #5B1CFF | The one feature slab per page, the featured plan, avatars |
| `--af-lilac` | #B9A2FF | Ultraviolet as text on dark (UV itself is too dark to read) |
| `--af-flare` | #FF5436 | Live dots and one art colorway only |

Art gradients (`--af-art-uv`, `-acid`, `-flare`, `-night`, `-paper`, `-split`) are only for `.af-art` tiles.

Rules:
- The page is a neutral near-black, never warm brown and never navy.
- Acid text sits on dark; on an acid fill, text is `--af-acid-ink`.
- One ultraviolet slab per page. Everywhere else UV is a small accent.
- Flare never becomes a button or a heading color.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--af-text-mega` | clamp(72px, 12vw, 190px) | The vertical wordmark |
| `--af-text-hero` | clamp(50px, 6.8vw, 108px) | Lead headline, page titles |
| `--af-text-h2` | clamp(38px, 4.6vw, 68px) | Slab and CTA headlines |
| `--af-text-h3` | 26px | Feature card titles, plan names |
| `--af-text-title` | 19px | Compact story titles |
| `--af-text-dek` | 20px | Serif dek under a headline |
| `--af-text-body` | 19px | Article body |
| `--af-text-ui` | 15px | Interface text |
| `--af-text-mono` | 11px | Bylines, kickers, badges |

Headlines read like news: short, specific and a little provocative ("Is it even a drop anymore?", "Pay for speed, not for pairs"). Never set a headline in the serif or in all caps.

## Shape and space

- Radius: 0 for art tiles, plans and panels; 3px for buttons, badges and inputs; pills (999px) only for the feed toggle and choice chips.
- Borders: 1px `--af-line` between stories; a 1px paper hairline under the nav; a 3px acid rule on top of every section head and panel; a dashed divider (`--af-border-dashed`) before the river column.
- Shadows: none in the interface. The only shadow is the flat drop under drawn shoes.
- Art: `.af-art` tiles are drawn, never photos. A colorway gradient, a halftone dot overlay, an inline SVG object (here a sneaker via `<use href="#af-shoe">`), an optional corner badge and an optional ghosted condensed word.
- Density: stories sit 20px apart with hairlines, not cards with padding. Sections are 56px to 112px.
- Container 1320px with 24px gutters; river 360px; reading column 680px.
- Motion: a mint ticker, a blinking live dot, arrows that nudge 3px. Nothing slower than 200ms.

## Components (in components.css)

- `.af-nav`: `.af-nav__top` (a small `.af-btn--acid .af-btn--small` and `.af-nav__signin`), `.af-nav__row` with `.af-nav__mark` (wordmark, second half in a `span`), `.af-nav__links` (slashes are added for you), `.af-nav__tools` and `.af-burger`.
- Front page: `.af-front` grid with `.af-front__rail` (holds `.af-vword`), `.af-front__main` and `.af-front__river`.
- `.af-lead` with an `.af-art` and `.af-lead__head` (the headline overlaps the art by 54px).
- `.af-stories` (2 columns, or `--one`) of `.af-story` (thumb + `__body`, `--flip` puts the thumb right); `.af-card` for tile cards; `.af-week`, `.af-tiles` grids.
- River: `.af-toggle` (buttons with `aria-pressed`), `.af-river__top`, `.af-river__item`, `.af-river__who`, `.af-river__text` (bold first sentence in `b`), `.af-river__source`, `.af-avatar` (`--acid`, `--big`).
- Type: `.af-mega`, `.af-hero-title`, `.af-h2`, `.af-h3`, `.af-title`, `.af-dek` (`--mute`), `.af-kicker` (`--uv`), `.af-meta` with `__by` and `__count`, `.af-link`.
- `.af-head` section head: `__title` with a `span` subtitle (the slash is added), `__more`.
- `.af-art` with `--uv`, `--acid`, `--flare`, `--paper`, `--split`, `--night`, `--square`, `--wide`, `--tall`, `--framed`; `__tag`, `__word`; `.af-shoe` for the drawn object.
- `.af-btn` with `--acid`, `--uv`, `--paper`, `--ghost`, `--small`, `--big`, `--block`. `.af-badge` with `--acid`, `--uv`, `--line`, `--live`.
- `.af-ticker-wrap` + `.af-ticker`; `.af-slab` + `__grid`; `.af-count`; `.af-steps` + `.af-step`; `.af-stats` + `.af-stat`; `.af-cta`.
- Pricing: `.af-pagehead`, `.af-plans`, `.af-plan` (`__top`, `__name`, `__price`, `__desc`, `__list`), `.af-plan--feature`, `.af-table` (`.af-col-feature`, `.af-yes`, `.af-no`), `.af-faq`.
- Article: `.af-byline`, `.af-article` (acid drop cap), `.af-pull`, `.af-figure`, `.af-note`, `.af-tags`.
- Forms: `.af-panel`, `.af-form`, `.af-field`, `.af-label`, `.af-input`, `.af-select`, `.af-hint`, `.af-row-2`, `.af-fieldset`, `.af-choices` + `.af-choice`, `.af-check`.
- `.af-footer` with `__cols`, `__about`, `__base` and the giant dim `__word`.

## Pages in this kit

- `demo.html`: landing as a front page. Vertical wordmark, lead story, 2 by 2 stories, live river, ticker, "This week" grid, an ultraviolet "Drop of the week" slab with a countdown, four closing-today tiles, steps and stats, CTA, footer.
- `pricing.html`: page head with the billing toggle, three plans in one bordered strip (middle one ultraviolet), a student strip, comparison table, FAQ.
- `blog.html`: headline beside its art, a sticky byline rail, serif article with drop cap, pull quote, figure, an ultraviolet-edged note, then four related tiles.
- `signup.html`: vertical "Signup" word, title, dek, art and a reader quote on the left; the form in a panel on the right.

## Page recipe

1. Nav at the top: small acid Join chip and mono Sign in above, then the wordmark and slashed links over the paper hairline.
2. Open dense. On a home page use `.af-front`: vertical wordmark, a lead with its headline overlapping the art, compact stories below and the river on the right.
3. Follow with a ticker, then sections that each start with `.af-head` (acid rule, title / subtitle, a mono "more" link).
4. Put exactly one `.af-slab` on the page for the biggest thing, with a countdown or stat in acid.
5. Close with steps or stats on soot, a CTA band between an acid rule and a hairline, and the footer with the giant dim word.

Pricing recipe: `.af-pagehead` with kicker, condensed title, dek and the toggle on the right; `.af-plans` with exactly one `.af-plan--feature` holding the only acid button; a table on soot; FAQ in two columns.

Article recipe: headline and dek beside a wide `.af-art`, a byline rail on the left, `.af-article` in the reading column with one `.af-pull`, one `.af-figure` and one `.af-note`, then related `.af-tiles`.

Sign-up recipe: three columns on desktop (vertical word, intro, 540px panel), one column on phones where the word lies flat. Choices first, then fields, then one acid block button.

## Don'ts

- Don't set headlines at normal width; the extra-condensed 900 is the voice.
- Don't use more than one ultraviolet slab per page, or put UV text on dark (use lilac).
- Don't round art tiles or plans, and don't add card shadows.
- Don't use photos or stock images. Draw objects in SVG on colorway gradients with the dot overlay.
- Don't space stories out like cards; keep them dense with hairlines.
- Don't write bylines or labels in sentence case; they are uppercase mono.
- No em dashes in copy.
