Design system

“The well pad, protected.” Built for a field manager on a phone in a truck: fast, legible in sunlight, call-first. Everything here is defined once in src/styles/global.css, and the numbers on this page are read from it.

Colour

The brand green is ANSI Z535 safety green — the standard colour for safety equipment and emergency showers. It replaces the neon #00CB2C used previously, which read as a consumer “go” button rather than as safety equipment.

  • #FAFAF8

    --color-paper

    Page ground.

  • #EDEEEA

    --color-zinc-wash

    Alternate band.

  • #D8DBD4

    --color-rule

    Hairlines and dividers. Too faint for a field border (1.4:1).

  • #0C1711

    --color-deep

    Dark band ground: header, menus, quick bar, contact band, footer.

  • #151E19

    --color-ink

    Primary text. 16.3:1 on paper.

  • #566059

    --color-steel

    Secondary text. Form-field and outline-button borders. 6.3:1 on paper.

  • #00754A

    --color-signal

    ANSI Z535 safety green. Primary action. 5.8:1 with white text.

  • #005838

    --color-signal-deep

    Hover and pressed states.

  • #E6F2EC

    --color-signal-tint

    Wash behind signal content; row hover and press.

  • #6FBF9A

    --color-signal-lift

    Green for dark surfaces only. 8.4:1 on deep.

  • #39D42D

    --color-brand

  • #9A5B00

    --color-hazard

    Real risk and consequence only — including form errors. Never decorative. 4.8:1 on hazard tint.

  • #FBF1E0

    --color-hazard-tint

    Wash behind hazard content.

Why amber for errors, not red

The palette has one warning colour. A field that will stop an enquiry from sending, or a message that did not send, is a real consequence for the visitor — exactly what hazard amber is reserved for. A red would add a second alarm colour competing with the safety green, and red/green is the pair colour-blind readers confuse most. An error is always stated in words and marked aria-invalid; colour is never the only signal.

Dark surfaces

Anything painted deep carries .on-dark; a light card inside it (the contact form, the Services panel) carries .on-light. Without them, headings go ink-on-ink or a focus ring drops to 2.1:1 — and only npm run audit:contrast would notice.

Type scale

One superfamily, split by width. Sizes are assigned by role, never by taste: a page has one page title, its sections share one size, and the uppercase hero is kept for two pages so it stays a signature. IBM Plex Mono is for numbers and standard designations only — (940) 612-2286, NFPA 780, 40 CFR 112 — never labels or prose, and only at its one weight, 500. A customer's own words (the symptom quotes on /learn and the home page) are set in Plex Sans at a display size, so they never read as our headings.

text-hero · Condensed 700, uppercase

The one uppercase headline — home and /learn H1 only

44px at 390 → 88px at 1440 · line 0.94

Trusted HSE specialist

text-d1 · Condensed 600

Page title — every other H1

32px at 390 → 56px at 1440 · line 1

Primary & high-wall containment

text-d2 · Condensed 600

Section title — H2

26px at 390 → 40px at 1440 · line 1.05

Common questions

text-d3 · Condensed 600

Item and sub-section title — H3, FAQ questions

19px at 390 → 24px at 1440 · line 1.15

Restraint Systems

text-lede · Plex Sans 400

The paragraph under a title

17px at 390 → 21px at 1440 · line 1.55

Dedicated HSE experts providing quality products and personnel.

text-base · Plex Sans 400

Body copy

17px at 390 → 17px at 1440 · line 1.65

Tell us the site, the scope, and when you need it.

text-sm · Plex Sans 400–600

Controls, list rows, secondary copy

15px at 390 → 15px at 1440 · line 1.55

Get a free estimate

text-xs · Plex Sans 400

Labels, captions, meta

13px at 390 → 13px at 1440 · line 1.45

Governing standard

Rhythm

Vertical space follows the role of a band, so a page does not beat the same drum section after section. Phones get the tight end of every range. Inside a band, a title and its lede sit close (0.75rem) and the content starts clearly after them (1.5rem on a phone, 2rem on a desktop).

Band padding by role
Class Role 390 1440
.page-head The page title block under the header 32px 62px
.band A primary section 44px 88px
.band-tight A supporting strip — numbers, reviews, cross-links, the footer 32px 52px
.band-close The closing contact band on every page 48px 102px

On a phone: “in the truck”

  • The header bar is 64px: the logo unaltered at 107×32, a Call button and a 48×48 menu toggle. On a desktop it reads as 80px at the top and condenses to 64px with a shadow once the page scrolls. The condense is paint and transforms only (a strip drawn under a constant 64px bar, its contents lifted 8px): neither the header nor anything in it changes layout, so scrolling shifts nothing.
  • In-page links land exactly under the bar: scroll-padding-top: var(--header-h), which Lenis reads too.
  • Below 640px, a quick bar slides up once the page's own call/estimate buttons have scrolled off the top. It hides while the menu is open or a form field has focus (the keyboard is up), pads itself for the home indicator, and the footer is always padded for it, so it covers nothing and shifts nothing. Keyboard focus never lands behind it: below 640px the page has a scroll-padding-bottom of the bar's height.
  • Touch targets are 48px: buttons, the menu toggle, menu rows, footer links, breadcrumbs, FAQ rows, list rows and service chips. With a mouse (≥ 1024px) footer links are 40px.

The quick bar, as it renders at 390px

Components

Buttons and links

48px tall, 3px radius. On press a button seats 1px and darkens; a row or outline button takes the signal tint. A standalone link is always underlined and firms up on hover.

Get a free estimate All services A standalone link

FAQ accordion

<h3><button aria-expanded> and a region. Height is animated with Motion, only here: it is the one place the end size is unknown.

On a dark surface

Heading on dark

Any dark-background element must carry .on-dark, which re-points the heading, body and rule colours.

Primary Outline

Hazard: risk and errors

What this costs if it is missed Amber describes consequence, never decoration. If it is not describing a hazard, it is the wrong token.

Inner pages

The service template, the /services catalogue, the careers chooser and the contact form’s qualifier. Classes live in the “Phase 4 — inner pages” block at the end of global.css.

Service page, in reading order

  • Hero (.svc-hero): breadcrumb, the live H1 verbatim, the key facts row, Estimate + Call. On a phone “Have this ready when you call” comes next, then the photo; from 1024px the photo sits beside the title and the checklist runs under both as a strip. Neither holds a control, so the grid placement never reorders focus.
  • Body: the live copy verbatim, with the symptom guide and “Where we work” beside it.
  • How it works: the service’s own included list as a strip, columns by count (4, 5, or 3 + 3). Not numbered: it is scope, not a sequence.
  • Common questions, then Related services (the curated related list as photo cards), then the contact band with the service pre-selected.

Key facts row

.facts: label over value under a hairline. “Governing standard” (mono, signal) only for a real designation, otherwise “Key point” in body type; an industry figure is labelled “Industry fact” and takes its own row (.facts-wide).

Governing standard
40 CFR 112 (SPCC)
Applies to
Well pads, production sites, industrial yards
Industry fact
25M Cloud to ground lightning strikes per year

Client photos: one treatment

.photo-frame sets the crop (its aspect ratio; the photo is object-fit: cover) and one grade — saturation 0.82, contrast 1.06 — with a hairline and a faint deep-green foot. Only the client’s own photos: no stock, no AI images, no clip-art. No text over a photo, and none baked into one.

Card and hero: 3:2

Phone row and schedule: 96px square

Typographic tile

.type-tile: where there is no client photo (the lightning structure types on /services), the words carry the tile. Zinc wash, 3px radius, Condensed title.

Inspection and maintenance

Regular system checks and maintenance services to keep your lightning protection effective and compliant year-round.

Contact form qualifier

“Which service is this about?” is a native <select> (the phone’s own picker) drawn like the text fields, grouped as in the menus, defaulting to “Not sure yet” and pre-selected on a service page. It is optional, and so is “Lease, county or state”. The handler accepts only its own list of values (SERVICE_CHOICES) and answers anything else with a 422 that marks the field. The careers form swaps company, service and location for “Role you are asking about”.

Application chooser

.choice: /career leads with “Which application is for you?” — one card per JotForm application, the button pinned to the foot so the two line up. The DOT notice is regulatory text, verbatim, in hazard amber. Applications never go through this site’s own form.

Motion

Motion answers what the visitor did. Nothing on this site waits for a scroll observer to become readable, and reduced motion gets the finished state at once.

  • One orchestrated moment per site: the home hero. Everything else is a response to a tap, a key, a scroll or a hover.
  • Chrome is CSS. Menu sheet and Services panel fade and slide 8px in 240ms; the header condenses in 220ms; the quick bar slides in 260ms; nav underlines draw in 220ms; buttons seat on press. One curve: cubic-bezier(0.2, 0, 0, 1). Nothing runs longer than 260ms, nothing flashes.
  • Motion (motion/mini, Web Animations) animates FAQ height only. It is downloaded on pages with an FAQ, once the visitor reaches for one; a tap that beats the download opens instantly.
  • Lenis smooths wheel and trackpad scrolling on a desktop pointer only — never touch, never under reduced motion or Save-Data. It stops while the menu is open, and in-page links glide to the same scroll-padding-top the browser uses, then move focus to the target.
  • Budget: the site module (chrome + contact form) is the only JS every page downloads; Lenis and Motion are separate chunks loaded on demand. Measured sizes are in the README.

Accessibility rules

  • Every text/background pair meets WCAG AA. Verified by npm run audit:contrast against rendered pages — at desktop width, at phone width with the quick bar showing, and with the menu and Services panel open.
  • Focus is always visible: a 3px signal-green outline, switched to signal-lift on dark surfaces and back to signal inside a light card; inset inside the full-bleed quick bar.
  • Headings never receive a colour in the base layer — they inherit from their surface.
  • Touch targets are at least 48px on phones, checked on every page by npm run audit:mobile, which also fails any horizontal overflow at 360px and 390px.
  • Menus: Escape closes and returns focus; the mobile menu locks the page and makes it inert.
  • prefers-reduced-motion disables transitions, smooth scrolling and the FAQ animation.
  • Every image is either descriptive or explicitly decorative (alt="").
  • Form fields have a steel border (6.3:1). Errors are shown under the field, in words, in hazard amber, and the field is marked aria-invalid.