# Pipe Tabs

The handmade community homepage that has been running for twenty years and never needed a redesign. A pure black page holds one fixed, centered column. A red, rounded, lowercase wordmark sits beside a two-row monospace nav split by thin gold pipes, with one link lit up in green. The main column has grey folder tabs over a grid of square art tiles with teal mono titles. On the right, a rounded charcoal sidebar holds a live counter, gold headings and a stack of chunky green buttons. It feels honest, friendly and a little homemade: run by people, paid for by members.

Use it for: co-ops, member-supported projects, community studios, clubs, independent radio, small nonprofits, local venues, anything with "support us" at its heart. Avoid it for: polished SaaS, luxury brands, finance, anything that must look corporate or minimal.

## 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 Pipe Tabs 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 member-run pottery studio called kiln club.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Varela+Round&family=Cousine:ital,wght@0,400;0,700;1,400&family=Arimo:wght@400;700&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Wordmark and page titles | Varela Round 400 | The lowercase red wordmark, the h1 on inner pages, big prices. Never bold. |
| Body and labels | Cousine 400 and 700 | Nav, tile titles and notes, section headings, body copy, tables. The page is mostly mono. |
| Sidebar and buttons | Arimo 400 and 700 | The hero intro sentence, the sidebar, buttons, tabs, form labels, pull quotes. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--pt-black` | #030303 | The page, always. Never a dark grey page. |
| `--pt-column` | #0B0B0B | The hero strip, the featured plan, even table rows |
| `--pt-panel` | #262626 | The rounded sidebar and boxed notes |
| `--pt-tab` / `--pt-tab-on` | #9C9C9C / #D4D4D4 | Folder tabs, grey buttons, table header |
| `--pt-text` | #F1F1EE | Body text on black |
| `--pt-soft` | #B3B3AD | Dates, captions, plan descriptions |
| `--pt-red` | #EE2F37 | The wordmark, live dots and the pull quote edge. Nothing else. |
| `--pt-teal` | #2EA7A1 | Tile titles, section headings, plan names, FAQ questions |
| `--pt-gold` | #E3A646 | Nav pipes, sidebar headings, underlined links, labels |
| `--pt-green` | #44B552 | Buttons and the one lit nav link |
| `--pt-lime` | #39E04A | Short shouty sentences in the sidebar, "yes" in tables, the hit counter |

Rules:
- Black everywhere. Color is for text and small things, never big fills, except the drawn tile art.
- Each color has one job. Teal titles things, gold separates and links, green acts, red is the brand and "live".
- Tile art uses the `--pt-art-*` palette (clay, cream, sky, moss, plum, sun) and only inside square tiles and the hero scene.
- No gradients in chrome. Gradients only draw tile art.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--pt-text-wordmark` | 44px (36px on phones) | The wordmark |
| `--pt-text-h1` | clamp(28px, 3.6vw, 40px) | Page titles on inner pages, Varela Round |
| `--pt-text-hero` | clamp(20px, 2.2vw, 24px) | The one intro sentence on the hero strip, Arimo, with a gold bold phrase |
| `--pt-text-h2` | 24px | Section headings, teal mono bold |
| `--pt-text-h3` | 18px | Plan names and small headings |
| `--pt-text-body` | 15px | Body, line-height 1.45 |
| `--pt-text-small` / `--pt-text-tiny` | 13px / 12px | Nav, dates, legal line |

Copy is plain, warm and specific ("Wheel 5 is fixed. The squeak was a single bolt."). Nav links are lowercase. Headings are sentence case.

## Shape and space

- One fixed column, 1000px max, centered. Main column plus a 210px sidebar with a 20px gap.
- Radius: 14px on the sidebar and boxed notes (the hero strip only rounds its bottom right corner), 6px on buttons, 3px top corners on folder tabs, 2px on inputs. Tiles are perfectly square with no radius.
- Borders: 1px `--pt-rule` under the masthead and footer, a 2px rule under the tab row. Plans have a 1px rule border; the featured one has 2px green.
- Shadows: none, except the 3px darker bottom edge on buttons (`--pt-shadow-btn`) that disappears when pressed.
- Inputs are light on black with an inset border, like an old form.
- Motion: only the blinking red live dot. Respects reduced motion.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.pt-page`, `.pt-column` | The black body and the fixed centered column |
| `.pt-masthead`, `.pt-wordmark` | Red lowercase wordmark left, pipe nav right, rule underneath |
| `.pt-nav`, `.pt-nav__on`, `.pt-nav__break` | Mono links split by gold pipes; one link lit in green; a break starts the second row |
| `.pt-layout`, `.pt-main` | The main column plus sidebar grid; stacks on small screens |
| `.pt-hero`, `__scene`, `__text` | Near-black strip with a drawn SVG scene on top and one big intro sentence |
| `.pt-scene`, `__wire/__bulb--*/__shelf/__pot--*/__glow` | Classes for the inline SVG hero scene (string lights over a shelf of pots) |
| `.pt-tabs`, `.pt-tab`, `--on` | Grey folder tabs over a 2px rule; use `aria-selected="true"` for the open one |
| `.pt-tiles`, `.pt-tile`, `__art`, `__label`, `__title`, `__text` | Grid of 4 square art tiles, teal mono title and white note underneath |
| `.pt-art--bowls/stripes/sun/check/glaze/kiln/wheel/moss` | Drawn CSS art for tiles; no images needed |
| `.pt-side`, `__title`, `__shout`, `__stack`, `__center` | Rounded charcoal sidebar with gold headings, lime shout text and a stack of green buttons |
| `.pt-btn`, `--block`, `--sm`, `--grey` | Chunky green button with a darker bottom edge; grey for secondary |
| `.pt-dot`, `.pt-counter`, `.pt-badge`, `--new`, `--live` | Blinking live dot, hit counter digits, small square badges |
| `.pt-box`, `--outline` | Charcoal rounded note; the outline one has a dashed gold border |
| `.pt-news`, `__date` | Dated list with faint dividers |
| `.pt-plans`, `.pt-plan`, `--featured`, `__name/__price/__desc/__list` | Three plans; the featured one has a green border and the green button |
| `.pt-table-wrap`, `.pt-table`, `.pt-yes`, `.pt-no` | Comparison table with a light grey header; scrolls sideways on phones |
| `.pt-faq` | `<details>` list with `[+]` and `[-]` markers in gold |
| `.pt-meta`, `.pt-prose` | Pipe-separated post meta; long-form text with `>` bullets, red-edged pull quote, lime inline code |
| `.pt-form`, `.pt-field`, `.pt-label`, `.pt-input`, `.pt-select`, `.pt-textarea`, `.pt-help`, `.pt-error`, `.pt-field--error`, `.pt-check`, `.pt-radios` | Stacked form with gold labels and light inset inputs |
| `.pt-footer` | Centered pipe nav and one small line |
| `.pt-h1`, `.pt-h2`, `.pt-h3`, `.pt-lead`, `.pt-soft`, `.pt-link` | Text styles |

## Pages in this kit

- `demo.html`: the landing page (masthead, hero strip with drawn scene, folder tabs over a tile grid, a second tile grid, news and a visit box, sidebar with live count and support buttons).
- `pricing.html`: monthly or yearly tabs over three plans, a comparison table, an FAQ, and a pay-what-you-can sidebar.
- `blog.html`: a post from the studio log with a drawn cover, prose, related tiles and a repair fund sidebar.
- `signup.html`: a sign-up form with an error state, radios and checkboxes, and a "what happens next" sidebar.

## Page recipe

1. Masthead: red wordmark, then a pipe nav over two rows with the current section lit green. A rule underneath.
2. Main column plus sidebar on every page.
3. Hero strip: a drawn scene across the top and one generous sentence that says what this place is, with one gold bold phrase.
4. Folder tabs, then a grid of four square tiles per row. Every tile has art, a teal title and a short plain note.
5. A second section with a teal mono heading and more tiles or a dated news list.
6. Sidebar: a live dot with a real count, a gold heading, a lime shout sentence, a stack of three or four green buttons, a small aside with a gold link.
7. Footer: centered pipe nav and one honest line.

Pricing recipe: an h1 and a lead, Monthly and Yearly folder tabs, three plans (featured in the middle with a green border), a side by side table, an FAQ titled like a real question.

Article recipe: a badge, a Varela h1, a pipe meta line, a drawn cover, prose with `>` bullets and one red-edged pull quote, then three related tiles.

Sign-up recipe: an h1 and a friendly lead, a single-column form under 460px wide, one green submit button, and a sidebar listing the next steps.

## Don'ts

- Don't use a dark grey or blue page. It's black.
- Don't round the tiles or add shadows to them.
- Don't use more than one green link in the nav.
- Don't make the red do anything but the wordmark and live signals.
- Don't center the hero or make it full-bleed. Everything sits in the column.
- Don't use photos of stock people. Draw the art with CSS and SVG.
- Don't write slick marketing slogans. Say plainly what happens.
