---
version: alpha
name: "Construction company template by 8B"
description: "Black, white and grey with red measuring marks, square corners and numbered chapters for a home renovation and extension contractor. Free HTML template by 8B, MIT."
colors:
  primary: "#0c0c0c"
  secondary: "#6b6b6b"
  tertiary: "#d4351c"
  neutral: "#f2f2f2"
  surface: "#ffffff"
  on-surface: "#0c0c0c"
  hairline: "#dcdcdc"
  steel: "#444444"
  charcoal: "#2a2a2a"
typography:
  headline-display:
    fontFamily: Host Grotesk
    fontSize: 168px
    fontWeight: 400
    lineHeight: 0.88
    letterSpacing: -0.05em
  headline-lg:
    fontFamily: Host Grotesk
    fontSize: 64px
    fontWeight: 400
    lineHeight: 1
    letterSpacing: -0.035em
  headline-md:
    fontFamily: Host Grotesk
    fontSize: 34px
    fontWeight: 400
    lineHeight: 1.1
    letterSpacing: -0.025em
  body-lg:
    fontFamily: Host Grotesk
    fontSize: 28px
    fontWeight: 400
    lineHeight: 1.18
    letterSpacing: -0.02em
  body-md:
    fontFamily: Host Grotesk
    fontSize: 17px
    fontWeight: 400
    lineHeight: 1.5
    letterSpacing: -0.005em
  label-sm:
    fontFamily: Host Grotesk
    fontSize: 13px
    fontWeight: 400
    lineHeight: 1.35
    letterSpacing: 0em
  button:
    fontFamily: Host Grotesk
    fontSize: 15px
    fontWeight: 500
    lineHeight: 1
    letterSpacing: -0.005em
  button-sm:
    fontFamily: Host Grotesk
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1
    letterSpacing: -0.005em
  display-condensed:
    fontFamily: TikTok Sans
    fontSize: 420px
    fontWeight: 500
    lineHeight: 0.8
    letterSpacing: -0.01em
rounded:
  none: 0px
spacing:
  page-gutter: 32px
  column-gap: 24px
  section-padding: 168px
  block-gap: 8px
  nav-height: 64px
  control-height: 52px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.surface}"
    typography: "{typography.button}"
    rounded: "{rounded.none}"
    padding: "0 26px"
    height: "{spacing.control-height}"
  button-primary-hover:
    backgroundColor: "{colors.steel}"
  button-outline:
    backgroundColor: transparent
    textColor: "{colors.primary}"
    typography: "{typography.button-sm}"
    rounded: "{rounded.none}"
    padding: "0 14px"
    height: 38px
  nav-bar:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.primary}"
    typography: "{typography.label-sm}"
    rounded: "{rounded.none}"
    height: "{spacing.nav-height}"
  input-field:
    backgroundColor: transparent
    textColor: "{colors.primary}"
    typography: "{typography.body-md}"
    rounded: "{rounded.none}"
    padding: "10px 0"
    height: 44px
  step-card:
    backgroundColor: "{colors.neutral}"
    textColor: "{colors.primary}"
    rounded: "{rounded.none}"
    padding: "22px 24px"
  review-card-dark:
    backgroundColor: "{colors.charcoal}"
    textColor: "{colors.surface}"
    rounded: "{rounded.none}"
    padding: 56px
  dimension-line:
    backgroundColor: "{colors.tertiary}"
    height: 1px
---

## Overview

Ashlar Build is a one-page site for a general contractor who renovates and extends homes and prices each job after measuring the house. The one idea is a drawing sheet: black, white and grey, hairline rules, square corners, numbered chapters in brackets, and a red that appears only as a measuring mark. A wall of grey blocks on the first screen stands for building in the right order. The reader is a homeowner deciding whom to let into the house, so the feeling is exact, calm and plain-spoken. All names and numbers in the demo are invented.

## Colors

The palette is a ladder of greys with one signal colour.

- **Primary (#0c0c0c):** black for text, solid buttons, the work gallery and the footer.
- **Secondary (#6b6b6b):** grey for bracket labels, captions and chapter tags.
- **Tertiary (#d4351c):** red, kept for dimension lines, X marks on the survey photo, link hover lines and keyboard focus outlines. It never fills a large area or sets body text.
- **Neutral (#f2f2f2):** light grey for panels, the form sheet and the first process block.
- **Surface (#ffffff):** the page background, the nav bar and cards laid over photos.
- **On-surface (#0c0c0c):** text on white.
- **Hairline (#dcdcdc):** one-pixel rules, pale blocks, the outline button's hover fill and the second review card.
- **Steel (#444444):** the bars that slide in on a button hover, dark wall blocks and footer rules.
- **Charcoal (#2a2a2a):** dark cards, process blocks and wall blocks.

## Typography

Two faces, with a strict division of work.

- **Host Grotesk** carries everything: headlines, body, labels and buttons. It loads at weights 400 and 500, and headlines stay at regular 400 even at the largest size, packed with tracking from -0.025em to -0.05em and line heights from 0.88 to 1.1.
- **TikTok Sans** appears once, for the huge word "Fixed" in the promise section. It is set condensed and sized from the page width and the word's character count (`--len`) so it fills the line.
- Body text is 17px (16px on phones). Small labels are 13px, grey, and wrapped in brackets with a number, for example "02 ( Services )". Nothing is uppercase.
- The hero headline reaches 168px; section headings run from 34px to 64px.

## Layout

A 12-column grid with a 24px column gap and a page gutter of up to 32px. Sections are separated by vertical padding of 96px to 168px, scaled to the viewport height. Headings take columns 1 to 8 and their intros sit in 8 to 13; the services list takes the left half beside a sticky photo frame, the survey sits in columns 2 to 12, the gallery is six square photos across, the materials are five strips, and the crew is five portraits with different aspect ratios. The process is a wall of eight-column blocks with 8px joints.

At 800px and below the columns collapse to one or two. At 760px and below the nav shrinks to 56px and drops its arrow buttons and its book link, the wall of blocks moves under the headline, and the chapter Index overlay turns from two columns into one.

## Elevation & Depth

There are no shadows. Depth is made by flat tone steps (white, light grey, pale grey, steel, charcoal, black), by hairline rules, and by layers that move. The room photo is sticky behind the first screen and a white ground sits over it; once you scroll, a hole opens in the ground from the wall's outline. Sticky photo frames in the services list and sticky review cards that scale back as the next one slides over them give the page a stacked feel.

## Shapes

Corners are square everywhere: buttons, cards, photos and fields. The form fields have only a one-pixel bottom line. The only rounded shapes are temporary ones: photo frames open from an inset with a 44px radius, and the last service crop has an arched top. Measuring marks are drawn in CSS: red lines with end ticks, a vertical twin for heights, and small crossed X marks in the corners of the survey photo. Photos keep their natural colour and are cropped to a mix of ratios, from square to tall portrait.

## Components

- **button-primary:** black rectangle, 52px high, white 15px label. On hover two steel bars slide in from opposite sides.
- **button-outline:** 38px, one-pixel border in the text colour, 14px label; fills with hairline grey on hover. Used for Index and Shuffle.
- **nav-bar:** a fixed 64px white bar with a hairline under it, the wordmark, the current chapter and arrows, a Book a visit link and the Index button.
- **input-field:** no box, only a black bottom line, 44px minimum height.
- **step-card:** the order-of-work blocks in light grey, charcoal, black and pale grey.
- **review-card-dark:** large quote cards in four tones, each with a rule above the author.
- **dimension-line:** a red one-pixel line with end ticks and a label, used above the survey photo and the form.

## Motion

The page loads no animation library. Scroll motion is CSS scroll-driven animation (`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 (the wall's outline, each block's course, the photos' scattered start positions), adds `is-in` to `data-8b-motion` elements as they arrive, 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 one motion idea is a building going up in order: pieces arrive from alternate sides, blocks break away, and red dimension lines draw themselves.

- **Opening:** on load (CSS keyframes) the headline lines rise and the wall courses slide in from alternate sides; a red level line sweeps the wall and one block bobs, both pausing when off screen. On scroll a hole opens in the white ground from the wall's outline onto the room photo, which zooms out slightly, the blocks lift off tilted course by course, and the statement panel rises.
- **Services:** photos wipe up over each other in the sticky frame as each row reaches the middle while the other rows dim, and on wide screens the frame's crop changes shape.
- **Survey:** the photo opens out from a rounded inset and the red width and height lines draw.
- **Work:** on wide screens the section is 250vh tall with a sticky stage, and twelve scattered, tilted photos settle into a contact sheet; on phones they settle as the sheet scrolls past.
- **Materials:** five strips start folded into narrow grey bands (at the right edge on wide screens, at the top on phones) and fan out while the grey lifts off each photo.
- **Process:** from 900px wide the section is 290vh tall with a sticky stage and the blocks fly in from alternate sides, bottom course first; narrower, each step slides in from alternate sides.
- **Promise:** four copies of "Fixed" slide down into the word; halfway through, the script switches a class and `font-stretch` moves from 150% to 75% over 0.9 seconds; three rules draw in turn.
- **Crew and reviews:** portraits open from insets; the cards stick, shrink to 92% and dim as the next one covers them.
- **Contact:** the two heading lines slide in from opposite sides and the grey form sheet unfolds downward.

Headings and intros rise 36px into place when they reach the lower part of the screen. On hover, buttons fill with two steel bars and links draw a line. With reduced motion, and in browsers without CSS scroll-driven animations (Firefox today), `data-8b-live` is not set: the smooth wheel, the entrances and all scroll motion are off, scrolling is the browser's own, and every section shows its finished layout (the gallery and materials as plain rows, the order of work as a static wall, reviews as a list, the services frame on its first photo). The opening's load-in, the level line and the bobbing block are CSS keyframes under `prefers-reduced-motion: no-preference`, so they still play in Firefox and stop with reduced motion. Hover effects remain in both cases. If a section's script throws, the kit logs an error and switches off that section's motion styles, so only that section stays static.

## Do's and Don'ts

- Do keep every corner square, including buttons, photos and fields.
- Do use red only for measuring marks, link hover lines and focus outlines.
- Do number and bracket each new chapter, and keep the nav, the Index and the footer link in step.
- Do keep headlines at regular weight with tight tracking.
- Do keep the greys as the only fills: no brand colour behind sections.
- Don't add drop shadows, gradients, rounded cards or pill buttons.
- Don't add a third font or stock icons beyond thin arrows and crosses.
- Don't set body text in red or on red.
- Do build new motion as CSS scroll-driven animations scoped to `[data-8b-live]`, with the inline kit for measurements; keep the gate script, `data-8b-section` and `data-8b-motion`.
- Don't add GSAP, Lenis or any other animation library.
