---
version: alpha
name: "Repair shop template by 8B"
description: "A repair shop one-pager in grained near-black and off-white with one electric blue, condensed uppercase labels and a wordmark drawn from rounded dashes. Free HTML template by 8B, MIT."
colors:
  primary: "#0e0e0e"
  secondary: "#d0d0d0"
  tertiary: "#0000ff"
  neutral: "#f5f5f5"
  surface: "#0e0e0e"
  on-surface: "#d0d0d0"
  muted-on-dark: "#8e8e8e"
  muted-on-light: "#575757"
  hairline-dark: "#1b1b1b"
  hairline-light: "#e2e2e2"
typography:
  headline-display:
    fontFamily: Instrument Sans
    fontSize: 152px
    fontWeight: 400
    lineHeight: 0.94
    letterSpacing: -0.035em
  headline-lg:
    fontFamily: Instrument Sans
    fontSize: 108px
    fontWeight: 400
    lineHeight: 0.94
    letterSpacing: -0.035em
  headline-md:
    fontFamily: Instrument Sans
    fontSize: 40px
    fontWeight: 400
    lineHeight: 1.08
    letterSpacing: -0.02em
  quote:
    fontFamily: Instrument Sans
    fontSize: 58px
    fontWeight: 400
    lineHeight: 1.06
    letterSpacing: -0.02em
  body-md:
    fontFamily: Instrument Sans
    fontSize: 17px
    fontWeight: 400
    lineHeight: 1.5
  label-lg:
    fontFamily: TikTok Sans
    fontSize: 17px
    fontWeight: 500
    lineHeight: 1.2
    letterSpacing: 0.02em
    fontVariation: "'wdth' 75"
  label-md:
    fontFamily: TikTok Sans
    fontSize: 13px
    fontWeight: 500
    lineHeight: 1.25
    letterSpacing: 0.03em
    fontVariation: "'wdth' 75"
  button:
    fontFamily: TikTok Sans
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1
    letterSpacing: 0.05em
    fontVariation: "'wdth' 75"
rounded:
  sm: 2px
  full: 999px
spacing:
  gutter: 24px
  gutter-phone: 16px
  section-y: 168px
  section-y-phone: 88px
  nav-height: 56px
  list-row: 44px
components:
  button-primary:
    backgroundColor: "{colors.secondary}"
    textColor: "{colors.primary}"
    typography: "{typography.button}"
    rounded: "{rounded.sm}"
    padding: 14px 18px 13px
  button-primary-hover:
    backgroundColor: "{colors.tertiary}"
    textColor: "{colors.neutral}"
  button-dark:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.neutral}"
    typography: "{typography.button}"
    rounded: "{rounded.sm}"
    padding: 14px 18px 13px
  nav-bar:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.secondary}"
    typography: "{typography.label-md}"
    height: "{spacing.nav-height}"
  check-row:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.secondary}"
    typography: "{typography.label-lg}"
    padding: 8px 10px
    height: "{spacing.list-row}"
  price-row:
    backgroundColor: "{colors.neutral}"
    textColor: "{colors.primary}"
    typography: "{typography.label-lg}"
    padding: 14px 0
  input-field:
    backgroundColor: transparent
    textColor: "{colors.primary}"
    typography: "{typography.body-md}"
    padding: 12px 0 10px
    height: 48px
  form-panel:
    backgroundColor: "{colors.hairline-light}"
    textColor: "{colors.primary}"
    typography: "{typography.body-md}"
    rounded: "{rounded.sm}"
    padding: 32px
---

# Reflow: repair shop template

## Overview

Reflow is a one-page site for an independent phone, laptop and console repair shop with a bench in the shop window. Its one idea is the rounded dash: a short pill that builds the wordmark, the time bars on the price wall, the steps of a mail-in repair and the rule above the footer. The tone is workshop-honest and technical, like a printed parts sheet, and the page shows its work: a twelve-check diagnosis, a price table with bench times, a pickup timetable. Electric blue marks what is being looked at. Names, prices and addresses in the demo are invented.

## Colors

Near-black and off-white sections take turns; blue is a highlighter, never a background field.

- **Primary (#0e0e0e):** the grained near-black ground for the opening, diagnosis, bench, refurbished, mail-in, FAQ and footer sections, and the ink on light sections.
- **Secondary (#d0d0d0):** body text on dark, the wordmark dashes and the primary button fill.
- **Tertiary (#0000ff):** electric blue, used for the scan band, the highlight wipes, the pickup cursor and the current bar, the review selection box, button hover fills and error text. Never body text.
- **Neutral (#f5f5f5):** the off-white sections (prices, parts, business, reviews, visit and the opening's second screen) and headings on dark.
- **Muted on dark (#8e8e8e):** secondary text on near-black.
- **Muted on light (#575757):** secondary text and eyebrow lines on off-white.
- **Hairline dark (#1b1b1b):** 1px rules on dark sections.
- **Hairline light (#e2e2e2):** rules on light sections, the booking form panel and the pending pickup bars.

Dark sections carry a faint white noise grain, at most 7 percent opacity; keep it.

## Typography

Two families. **Instrument Sans** (400 to 500) sets headlines, leads and body in sentence case at very large sizes and tight tracking: the display size reaches 152px, section titles 108 to 128px, quotes up to 58px, and the line height stays under 1 on big type. **TikTok Sans** at weight 500 and condensed width (`font-stretch: 75%`) sets every label, button, table heading and list row in uppercase with +0.02 to +0.08em tracking. Eyebrow lines above each section are 12px uppercase and justified to the full width of the column. The contrast between a huge soft headline and tiny rigid capitals is the voice. Headlines on dark are off-white; body is light grey.

## Layout

A four-column grid with a gutter of 16px on phones up to 24px, and two columns under 48em. There is no max width. Sections are padded 88px to 168px. Headings step like a staircase: the bench and visit titles start each word one column further right, the opening words zigzag across the columns, and the diagnosis and FAQ titles indent their lines by set percentages. Body copy sits in the second to fourth columns at 30 to 46 characters wide. Under 64em the nav hours and links disappear into a Menu button with a full-screen overlay, titles go full width and the opening wordmark restacks into two lines at phone width. Without motion the refurbished shelf is a grid of three, two or one columns by width; in the price table the time bar stacks above its minutes.

## Elevation & Depth

There are no shadows. Depth comes from alternating grounds (grained dark against flat off-white), from the sticky first screen that the next screen scrolls over, and from 1px hairlines. The only overlays are the blue band or box behind the text being read and the off-white flood that covers the wordmark.

## Shapes

Corners are nearly square: 2px on buttons, photo tiles and the form panel. Round shapes are only dashes, drawn as 999px pills: the wordmark rows, the trailing mark inside buttons, price wall time bars, the step rules, the menu icon bars, the FAQ toggle and the footer rule. Never use circles or large radii. Photos are cropped to 4:5, 3:2, 1:1, tall tiles or a 16:7.4 strip, and left in colour.

## Components

- **button-primary:** a light grey rectangle with near-black condensed capitals and a trailing dash. On hover devices blue fills it from the left in 0.45s, the label turns off-white and the dash stretches and slides right.
- **button-dark:** the same button in near-black with an off-white label, used on light sections.
- **text-link:** a dashed 1px underline that runs sideways on hover.
- **nav-bar:** a fixed 56px near-black bar: dash mark and name, opening hours, links with growing underlines and a Book a repair button. It hides on the way down and returns on the way up.
- **check-row:** one of twelve diagnosis rows, 44px high, name left and Queued or a result with a dash right.
- **price-row:** device and models left, a dash bar scaled to bench minutes in the middle, price flush right at 20px.
- **input-field:** underline only, square corners, 48px high; focus is a 2px blue outline.
- **form-panel:** a light grey panel with 2px corners that holds the booking form.

## Motion

The page loads no animation library. Scroll scenes are CSS scroll-driven animations (`animation-timeline: view()` and named view timelines), written per section in `<style data-8b-part="scene:...">` blocks. A small inline motion kit at the end of the body measures distances into CSS variables, adds `is-in` to `data-8b-motion` elements (`spread`, `dash`, `select`) as they arrive, tracks scroll progress for the diagnosis band, the pickup cursor and the review selection, pauses endless loops off screen, and smooths the mouse wheel (fine pointers only; touch scrolls natively). A gate script in the head sets `data-8b-live` on the root only when the browser supports `animation-timeline` and the visitor has no reduced-motion preference; every scroll rule is scoped to it. The motion idea is a reader's eye moving over a document: blue selects, dashes draw, lines spread.

- **Opening:** on load (CSS keyframes) the wordmark's letters slide in from the left in turn and the copy rises; each dash row pulses sideways every 3.6s while the first screen is visible. The first screen is held with CSS sticky; on scroll the dashes stretch sideways and an off-white flood grows from the wordmark's box to fill the screen, then the staircase words slide into place and three photos rise at different speeds. A blue selection sweeps over one word.
- **Eyebrow lines:** bunched words spread out to the full column width, once.
- **Diagnosis:** on desktop screens at least 64em wide and 760px tall the list is held with CSS sticky and a blue band steps down the twelve checks while Queued turns into each result; on smaller screens the same runs without the hold.
- **Prices:** bench-time bars draw from the left as each group appears; a blue selection sweeps over the cheaper-price promise.
- **Bench, parts, mail-in:** four strips of one photo slide in from staggered heights; row dashes and step dashes draw in.
- **Refurbished:** the section is held with CSS sticky and the shelf of five devices slides sideways.
- **Business:** a blue cursor crosses the hour grid; the pickup bars it passes turn dark and the one under it turns blue.
- **Reviews:** a blue box jumps word by word along each quote.
- **Visit and footer:** the heading grows from one small line into three big words; the dashed rule draws in.

With reduced motion, and in browsers without CSS scroll-driven animations (Firefox today), `data-8b-live` is not set: the smooth wheel, the scroll scenes and the spread, dash and select entrances are off, scrolling is the browser's own and every section shows its finished layout. The checklist shows all twelve results and the summary below them, the refurbished shelf is a grid, the pickup bars are all dark with no cursor, and the first screen still holds while the light second screen slides over it. The wordmark's load-in and pulse are CSS keyframes under `prefers-reduced-motion: no-preference`, so they still play in Firefox and stop with reduced motion. Button hover fills and the nav bar's hide and return remain in both cases. Keep the gate script, the `data-8b-section`, `data-8b-motion` and `data-8b-split` attributes, the wordmark rows and the `--m`, `--a` and `--b` numbers that size the time bars and pickup windows.

## Do's and Don'ts

- Do keep blue for selection and hover, one small area at a time.
- Do pair huge Instrument Sans headlines with tiny condensed uppercase labels.
- Do draw every divider, bar, step marker and menu bar as a rounded dash.
- Do alternate grained near-black and flat off-white sections, with hairlines for structure.
- Do keep corners at 2px and photos in colour.
- Don't add shadows, gradients, cards with large radii or circles.
- Don't set body text in blue or fill a section with blue.
- Don't use a third typeface, icon sets, or sentence-case labels.
- Don't remove the noise grain from dark sections.
