/*
 * A.N.S. Steels and Construction. Bespoke theme by Revive.
 * Concept: the steel stockholder's yard and the engineer's drawing. Real section sizes,
 * navy steel from the van livery on white, sawn ends, paint-marker marks, dimension lines and a title block.
 * Committed colour posture: navy is the beam itself, the dark sections and the enquiry band.
 * Plain CSS, no build step.
 */

/* ---------- Fonts (self-hosted, Latin subset, OFL) ---------- */
@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Display Fallback"; src: local("Arial Narrow"), local("Roboto Condensed"), local("Arial"); size-adjust: 76%; ascent-override: 100%; }
@font-face { font-family: "Body Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 101%; }

/* ---------- Tokens ---------- */
:root {
  /* v2.0, dark: steel in an unlit shed, and the blue of Christopher's logo is the light. The token names are kept
     from v1 so every component follows: "paper" is now the shed floor, "ink" the light text on it.
     Logo colours (sampled 18 Nov 2026): sky #467abe, royal #2d38a3, deep navy #272766. Neutrals lean to their hue. */
  color-scheme: dark;
  --paper: oklch(0.16 0.012 262);
  --paper-2: oklch(0.19 0.014 262);
  --paper-3: oklch(0.24 0.016 262);
  --line: oklch(0.96 0.01 255 / 0.09);
  --line-2: oklch(0.96 0.01 255 / 0.16);
  --ink: oklch(0.965 0.006 255);
  --ink-2: oklch(0.85 0.012 255);
  --ink-3: oklch(0.74 0.016 255);
  --ink-4: oklch(0.68 0.016 255); /* 6:1 on paper-2 */
  /* The deeper dark: alternate sections, the footer. */
  --graphite: oklch(0.125 0.01 262);
  --graphite-2: oklch(0.15 0.012 262);
  --graphite-3: oklch(0.2 0.014 262);
  --on-dark: var(--ink);
  --on-dark-2: var(--ink-2);
  --on-dark-3: var(--ink-3);
  --dark-line: oklch(0.96 0.01 255 / 0.11);
  /* The light. Buttons and the call button: the logo's royal, lifted so it glows on the dark (white text 4.6:1). */
  --oxide: oklch(0.55 0.19 263);
  --oxide-hover: oklch(0.61 0.19 261);
  --oxide-deep: oklch(0.82 0.1 255);
  --oxide-ink: oklch(0.82 0.1 255);
  --oxide-tint: oklch(0.55 0.19 263 / 0.14);
  --oxide-on: oklch(0.995 0.003 260);
  --navy: oklch(0.4 0.17 271);
  /* Sky: the light itself. Highlights, numbers, rules that glow. */
  --sky: oklch(0.72 0.14 254);
  --sky-on-dark: oklch(0.8 0.11 253);
  --glow: oklch(0.62 0.19 260);
  --glow-soft: oklch(0.62 0.19 260 / 0.22);
  --marker: oklch(0.95 0.02 95);
  --focus: oklch(0.8 0.12 252);
  --ok: oklch(0.75 0.13 150);
  --err: oklch(0.72 0.17 25);

  /* Beam rendering (the drawn SVG sections): deep navy steel, like the A. */
  --ox-top-a: oklch(0.45 0.13 271);
  --ox-top-b: oklch(0.37 0.14 272);
  --ox-side-a: oklch(0.3 0.11 275);
  --ox-side-b: oklch(0.22 0.08 277);
  --cut-a: oklch(0.9 0.008 240);
  --cut-b: oklch(0.72 0.012 240);
  --cut-c: oklch(0.54 0.014 240);

  --radius: 2px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-micro: 150ms;
  --t-ui: 240ms;

  /* Display: Big Shoulders, the condensed industrial face of the logo's wordmark, set in capitals. */
  --f-display: "Big Shoulders Display", "Display Fallback", "Arial Narrow", sans-serif;
  --f-brand: "Big Shoulders Display", "Display Fallback", "Arial Narrow", sans-serif;
  --f-body: "Hanken Grotesk", "Body Fallback", Arial, sans-serif;
  --f-mono: "Hanken Grotesk", "Body Fallback", Arial, sans-serif;

  --s-mono: 0.875rem;
  --s--1: clamp(0.9rem, 0.87rem + 0.1vw, 0.95rem);
  --s-0: clamp(1.0625rem, 1.04rem + 0.1vw, 1.125rem);
  --s-1: clamp(1.2rem, 1.12rem + 0.35vw, 1.4rem);
  --s-2: clamp(1.6rem, 1.35rem + 1vw, 2.25rem);
  --s-3: clamp(2.6rem, 1.7rem + 3.4vw, 5rem);
  --s-4: clamp(3.5rem, 1.4rem + 7.4vw, 9.5rem);

  --gutter: 20px;
  --max: 90rem; /* 1440 px at 16 px; grows with the root size on big screens */
}
@media (min-width: 1024px) { :root { --gutter: 2.5rem; --header-h: 4.5rem; } }
/* Big screens: from 1600 px wide the root size grows (16 px to 20 px by about 2300 px), and every rem-based
   size, the content width and the gutters grow with it. Below 1600 px nothing changes. */
@media (min-width: 1600px) { html { font-size: clamp(100%, 0.35rem + 0.62vw, 125%); } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: var(--s-0); line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--oxide); color: var(--oxide-on); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; }
.skip-link:focus { top: 16px; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Type ---------- */
.display { font-family: var(--f-display); font-weight: 800; line-height: 0.9; letter-spacing: 0; text-transform: uppercase; text-wrap: balance; }
.h-hero { font-size: var(--s-4); }
.h-section { font-size: var(--s-3); }
.h-sub { font-size: var(--s-2); line-height: 1.1; }
.mono { font-family: var(--f-mono); font-size: var(--s-mono); line-height: 1.45; letter-spacing: 0; }
.lede { font-size: var(--s-1); line-height: 1.5; max-width: 34ch; text-wrap: pretty; }
.measure { max-width: 64ch; text-wrap: pretty; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--f-display); font-weight: 650; font-size: var(--s-2); line-height: 1.1; letter-spacing: -0.025em; margin-top: 1.6em; }
.prose h3 { font-size: var(--s-1); line-height: 1.3; margin-top: 1.4em; }
.prose a, .text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.prose a:hover, .text-link:hover { text-decoration-thickness: 2px; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 10vw, 9.5rem) 0; }
.section--tight { padding: clamp(56px, 7vw, 104px) 0; }
.t-dark { background: var(--graphite); color: var(--on-dark); }
.t-paper-2 { background: var(--paper-2); }
.t-oxide { background: var(--oxide); color: var(--oxide-on); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } }

/* The drawing sheet: a 1 mm-style grid that fades out, used where the page is a drawing. */
.sheet-off { background-image: linear-gradient(var(--sheet-line, oklch(0.37 0.138 272 / 0.045)) 1px, transparent 1px), linear-gradient(90deg, var(--sheet-line, oklch(0.37 0.138 272 / 0.045)) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; }
.t-dark.sheet { --sheet-line: oklch(0.95 0.02 270 / 0.05); }

/* ---------- Buttons ---------- */
.btn { --bg: var(--oxide); --fg: var(--oxide-on); --bg-h: var(--oxide-hover); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 3.25rem; padding: 0 1.5rem; border: 0; border-radius: var(--radius); background: var(--bg); color: var(--fg); font-weight: 650; font-size: 1rem; line-height: 1; text-decoration: none; transition: background-color var(--t-micro) var(--ease), transform var(--t-micro) var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn svg:last-child { transform: translateX(1px); }
.btn:active { transform: translateY(1px); }
@media (hover: hover) { .btn:hover { background: var(--bg-h); } .btn:hover svg:last-child { transform: translateX(4px); transition: transform var(--t-ui) var(--ease); } }
.btn--ink { --bg: var(--ink); --fg: var(--paper); --bg-h: var(--graphite-3); }
.btn--paper { --bg: var(--paper); --fg: var(--ink); --bg-h: var(--paper-3); }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.75; }
.btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.call { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 650; text-decoration: none; font-variant-numeric: tabular-nums; }
.call svg { width: 20px; height: 20px; flex: none; color: var(--oxide); }
.call span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
@media (hover: hover) { .call:hover span { text-decoration-thickness: 2px; } }
.t-dark .call svg, .t-oxide .call svg { color: currentColor; }

/* ---------- Header (Revive adaptive header) ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: var(--ink); transition: transform var(--t-ui) var(--ease), background-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease); }
.site-header[data-theme="dark"] { color: var(--on-dark); }
.site-header.is-solid { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid[data-theme="dark"] { background: var(--graphite); box-shadow: 0 1px 0 var(--dark-line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 2.5rem; height: 2.5rem; flex: none; }
/* The A.N.S. mark: ring and bar in the logo's blue, the A in deep navy; light versions on dark. */
.lm-s { fill: var(--lm-s, currentColor); }
.lm-a { fill: var(--lm-a, currentColor); }
.site-header { --lm-s: oklch(0.47 0.172 270); --lm-a: oklch(0.27 0.115 276); }
.site-header[data-theme="dark"] { --lm-s: oklch(0.8 0.09 255); --lm-a: var(--on-dark); }
.footer-mark { display: block; width: 3.5rem; height: 3.5rem; margin-bottom: 20px; --lm-s: oklch(0.8 0.09 255); --lm-a: var(--on-dark); }
.brand__words { font-family: var(--f-brand); font-weight: 800; text-transform: uppercase; line-height: 0.82; font-size: 1.5rem; letter-spacing: 0.005em; }
.brand__words small { display: block; font-size: 0.62em; font-weight: 700; letter-spacing: 0.02em; margin-top: 3px; }
.nav ul { display: none; gap: 32px; }
.nav a { text-decoration: none; font-weight: 550; padding: 10px 0; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat; transition: background-size var(--t-ui) var(--ease); }
@media (hover: hover) { .nav a:hover { background-size: 100% 1px; } }
.nav .current-menu-item > a { background-size: 100% 1px; }
@media (min-width: 1024px) { .nav ul { display: flex; } }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-call { display: inline-flex; align-items: center; gap: 8px; min-height: 2.75rem; padding: 0 1rem; border-radius: var(--radius); background: var(--oxide); color: var(--oxide-on); text-decoration: none; font-weight: 650; font-variant-numeric: tabular-nums; }
.header-call svg { width: 18px; height: 18px; }
@media (hover: hover) { .header-call:hover { background: var(--oxide-hover); } }
.header-call__num { display: none; }
@media (min-width: 640px) { .header-call__num { display: inline; } .header-call__label { display: none; } }
.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; }
.menu-toggle svg { width: 24px; height: 24px; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--graphite); color: var(--on-dark); padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; overflow: auto; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu li { border-bottom: 1px solid var(--dark-line); }
.mobile-menu li a { display: block; padding: 14px 0; font-family: var(--f-display); font-weight: 600; font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.02em; text-decoration: none; }
.mobile-menu__foot { display: grid; gap: 16px; margin-top: 32px; }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + clamp(20px, 4vw, 48px)); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "h1" "proof" "actions" "fig" "lede" "tb"; }
.hero__h1 { grid-area: h1; position: relative; z-index: 2; font-size: var(--s-4); color: var(--ink); max-width: 8ch; line-height: 1; letter-spacing: -0.045em; }
.hero__proof { grid-area: proof; position: relative; z-index: 2; margin-top: 20px; display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: var(--s--1); max-width: 44ch; }
.hero__proof svg { width: 20px; height: 20px; flex: none; color: var(--oxide); margin-top: 2px; }
.hero__proof a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; white-space: nowrap; }
.hero__lede { grid-area: lede; position: relative; z-index: 2; margin-top: 24px; color: var(--ink-2); max-width: 36ch; }
.hero__actions { grid-area: actions; position: relative; z-index: 2; margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.hero__art { position: absolute; z-index: 1; top: -24px; right: calc(-1 * var(--gutter)); width: 62%; height: 360px; overflow: hidden; pointer-events: none; }
.hero__art .beam { position: absolute; height: 330px; width: auto; max-width: none; right: -6px; top: 6px; overflow: visible; }
.hero__art .beam__dims { display: none; }
.fig { grid-area: fig; position: relative; z-index: 2; display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center; margin-top: 24px; padding: 14px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.fig img { width: 104px; height: 78px; object-fit: cover; border-radius: var(--radius); }
.fig figcaption { color: var(--ink-2); }
.fig figcaption strong { display: block; color: var(--ink); font-weight: 650; font-family: var(--f-body); font-size: var(--s--1); margin-bottom: 2px; }
.fig figcaption a { text-decoration: underline; text-underline-offset: 0.18em; }

/* Drawing title block: the proof, set the way an engineer's drawing sets its credits. */
.titleblock { grid-area: tb; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; border-top: 1px solid var(--ink); }
.titleblock > div { padding: 10px 12px 12px 0; border-bottom: 1px solid var(--line-2); }
.titleblock > div:nth-child(odd) { border-right: 1px solid var(--line-2); }
.titleblock > div:nth-child(even) { padding-left: 12px; }
.titleblock dt { font-size: 0.8125rem; color: var(--ink-4); }
.titleblock dd { font-size: 0.95rem; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 2px; letter-spacing: -0.005em; }
.titleblock dd a { text-decoration: underline; text-underline-offset: 0.18em; }

@media (min-width: 640px) {
  .hero__h1 { max-width: 10ch; }
  .hero__art { width: 58%; height: 480px; }
  .hero__art .beam { height: 440px; right: 40px; top: 10px; }
}
@media (min-width: 1024px) {
  .hero { min-height: min(100svh, 1040px); display: flex; flex-direction: column; padding-bottom: 0; }
  .hero > .wrap { flex: 1; display: flex; flex-direction: column; }
  .hero__grid { flex: 1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; grid-template-rows: 1fr auto auto auto auto 1fr auto; grid-template-areas: ". . . . . . . . . . . ." "h1 h1 h1 h1 h1 h1 h1 . . . . ." "proof proof proof proof proof proof . . . . . ." "lede lede lede lede lede lede . . . . . ." "actions actions actions actions actions actions actions . . . . ." ". . . . . . . . . . . ." "fig fig fig fig fig tb tb tb tb tb tb tb"; }
  .hero__h1 { max-width: 11ch; }
  .hero__art { top: calc(-1 * var(--header-h) - 48px); bottom: 0; right: calc(-1 * var(--gutter)); width: 64%; height: auto; }
  .hero__art .beam { height: 74%; right: 9%; top: 13%; }
  .hero__art .beam__dims { display: inline; }
  .fig { margin-top: 48px; padding: 18px 24px 18px 0; border-bottom: 0; border-top: 1px solid var(--ink); border-right: 1px solid var(--line-2); }
  .titleblock { margin-top: 48px; grid-template-columns: repeat(4, minmax(0, 1fr)); background: oklch(0.995 0.001 260 / 0.88); }
  .titleblock > div { border-bottom: 0; border-right: 1px solid var(--line-2); padding: 18px 16px; }
  .titleblock > div:nth-child(even) { padding-left: 16px; }
  .titleblock > div:last-child { border-right: 0; }
}

/* ---------- Beam ---------- */
.beam__arris { stroke: oklch(0.72 0.1 255 / 0.5); stroke-width: 1; fill: none; }
.beam__cut-edge { fill: none; stroke: oklch(0.42 0.012 240); stroke-width: 1.2; }
.beam__saw path { fill: none; stroke: oklch(0.98 0.004 240 / 0.22); stroke-width: 0.8; }
.beam__mark { font-family: var(--f-body); font-weight: 600; font-size: 20px; fill: var(--marker); letter-spacing: 0.06em; opacity: 0.5; }
.beam__dims path { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.beam__dims .beam__tick { stroke: var(--ink-3); stroke-width: 1.5; }
.beam__dims text { font-family: var(--f-body); font-size: 19px; font-weight: 500; fill: var(--ink-4); font-variant-numeric: tabular-nums; }
.beam__dims .beam__label { font-size: 20px; font-weight: 600; fill: var(--ink-2); }
.t-dark .beam__dims path { stroke: var(--on-dark-3); }
.t-dark .beam__dims .beam__tick { stroke: var(--on-dark); }
.t-dark .beam__dims text { fill: var(--on-dark-2); }
.t-dark .beam__dims .beam__label { fill: var(--on-dark); }
/* Entrance: the beam slides in along its own length, then the dimensions appear. CSS only, so no script can leave it stuck. */
@keyframes beam-in { from { transform: translate(var(--bx), var(--by)); } to { transform: none; } }
@keyframes dims-in { from { opacity: 0; } to { opacity: 1; } }
.hero .beam__slide, .page-head .beam__slide { animation: beam-in 1200ms var(--ease) 150ms both; }
.hero [data-beam-dims], .page-head [data-beam-dims] { animation: dims-in 500ms var(--ease) 1150ms both; }
@media (prefers-reduced-motion: reduce) { .hero .beam__slide, .page-head .beam__slide, .hero [data-beam-dims], .page-head [data-beam-dims] { animation: none; } }
/* The rendered beam slides in along its own line with the translate property, so it composes with the scroll
   scene's inline transform instead of fighting it. 20% / -17.5% of the image runs along the render's 35.8 degree axis. */
@keyframes beam-render-in { from { translate: 20% -17.5%; } to { translate: none; } }
.hero__art .beam--render, .page-head__art .beam--render { animation: beam-render-in 1200ms var(--ease) 150ms both; }
@media (prefers-reduced-motion: reduce) { .hero__art .beam--render, .page-head__art .beam--render { animation: none; } }
/* Sizing for the rendered beam (2400 x 2000 frame, axis from 21%, 73% to 89%, 14%). Phones: the front end sits
   beside the last line of the H1 and clear of the proof line. */
/* The stage holds the logo ring and the rendered beam in one 1.2:1 box, so they always line up. */
.hero__stage { position: absolute; width: 300px; aspect-ratio: 6 / 5; right: -36px; top: 20px; }
.hero__stage .beam--render { position: relative; inset: auto; display: block; width: 100%; height: auto; max-width: none; z-index: 1; }
.hero__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ring, oklch(0.91 0.045 268)); z-index: 0; }
@media (min-width: 640px) { .hero__stage { width: 540px; right: -24px; top: -10px; } }
/* Desktop: sized by the art box's width, capped by the screen height, so on tall, wide screens it never grows
   left into the intro and buttons (it did at 2560 x 1318 in v1.3 to v1.5). */
@media (min-width: 1024px) { .hero__stage { width: min(92%, 96vh); right: 5%; top: 13%; } }

/* ---------- Section heads ---------- */
.head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 4.5rem); }
.head p { color: var(--ink-3); }
.t-dark .head p { color: var(--on-dark-2); }
@media (min-width: 1024px) {
  .head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .head > :first-child { grid-column: 1 / 8; }
  .head > :last-child:not(:first-child) { grid-column: 9 / 13; }
}

/* ---------- Services: set out like a section table ---------- */
.stable { border-top: 2px solid var(--ink); }
.stable__head { display: none; font-size: var(--s--1); }
.srow { position: relative; display: grid; grid-template-columns: 1fr; row-gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: inherit; }
.srow__steel { display: block; width: min(64%, 240px); margin-bottom: 4px; }
.srow__steel img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 56% 46%; }
.srow__sec { display: block; color: var(--ink-4); margin-top: 2px; }
.srow__icon { grid-row: span 2; width: 56px; height: 56px; color: var(--ink); }
.srow__icon svg { width: 56px; height: 56px; }
.srow__name { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.srow__text { color: var(--ink-3); max-width: 52ch; }
.srow__jobs { color: var(--ink-4); font-size: var(--s--1); }
.srow__go { position: absolute; right: 0; top: 28px; width: 28px; height: 28px; color: var(--ink); }
.srow__go svg { width: 28px; height: 28px; }
.srow .srow__name { padding-right: 40px; }
@media (hover: hover) {
  .srow { transition: background-color var(--t-ui) var(--ease); }
  .srow:hover { background: var(--oxide-tint); }
  .srow:hover .srow__name, .srow:hover .srow__go { color: var(--oxide-deep); }
  .srow:hover .srow__go svg { transform: translateX(6px); transition: transform var(--t-ui) var(--ease); }
}
/* v2.21: the homepage's plain list: name, one line, arrow. */
.stable--plain .srow { padding: 24px 0; }
@media (min-width: 1024px) {
  .stable--plain .srow { grid-template-columns: 4fr 6fr 48px; padding: 26px 0; }
}
@media (min-width: 1024px) {
  .stable__head { display: grid; grid-template-columns: 3fr 3fr 4fr 3fr 48px; column-gap: 32px; padding: 12px 0; border-bottom: 1px solid var(--ink); color: var(--ink-3); }
  .srow { grid-template-columns: 3fr 3fr 4fr 3fr 48px; column-gap: 32px; align-items: center; padding: 20px 0; }
  .srow__steel { width: 100%; margin: 0; }
  .srow__name { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem); }
  .srow__go { align-self: center; }
  .srow__icon { grid-row: auto; width: 64px; height: 64px; }
  .srow__icon svg { width: 64px; height: 64px; }
  .srow__name { padding-right: 0; }
  .srow .srow__name { padding-right: 0; }
  .srow__jobs { grid-column: auto; }
  .srow__go { position: static; justify-self: end; }
}

/* ---------- Signature: how a beam goes in ---------- */
.process { display: grid; gap: 40px; }
.process__figure { position: relative; }
.drawing__frame { border: 1px solid var(--dark-line); background: linear-gradient(180deg, var(--graphite-2), var(--graphite)); padding: clamp(16px, 3vw, 40px); border-radius: var(--radius); }
.drawing { width: 100%; height: auto; overflow: visible; }
/* The rendered opening sits under the lines (same 640 x 450 box) and comes in with the beam at stage 4.
   Luminosity blend keeps it in the frame's navy, so it reads as depth under the drawing, not a second picture. */
.drawing__stack { position: relative; }
.drawing__stack > .drawing { position: relative; }
.drawing__render { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: luminosity; opacity: 0; transition: opacity 900ms var(--ease); }
.drawing__stack:has(.drawing:is([data-stage="1"], [data-stage="2"], [data-stage="3"])) .drawing__render--wall { opacity: 0.5; }
.drawing__stack:has(.drawing:is([data-stage="4"], [data-stage="5"])) .drawing__render--open { opacity: 0.5; }
@media (prefers-reduced-motion: reduce) { .drawing__render { transition: none; } }
.drawing__key { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; color: var(--on-dark-3); }
.d-line { fill: none; stroke: oklch(0.78 0.03 270); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.d-thin { stroke-width: 1; }
.d-hatch { stroke: var(--on-dark-3); stroke-width: 0.7; opacity: 0.32; }
.d-accent { stroke: oklch(0.86 0.06 255); }
.d-anno { font-family: var(--f-body); font-size: 13px; font-weight: 600; fill: var(--on-dark); }
.d-anno--accent { fill: oklch(0.86 0.06 255); }
.d-steel { fill: oklch(0.42 0.127 271); stroke: oklch(0.75 0.08 255); stroke-width: 1; }
.d-prop { stroke: var(--marker); }
/* Stage logic: .sN shows from stage N; .oN fades out at stage N. */
.st { transition: opacity 500ms var(--ease), stroke-dashoffset 900ms var(--ease), transform 900ms var(--ease); }
.st-draw { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.st-fade { opacity: 0; }
.st-beam { opacity: 0; transform: translateY(-46px); }
.drawing[data-stage="1"] .s1, .drawing[data-stage="2"] :is(.s1,.s2), .drawing[data-stage="3"] :is(.s1,.s2,.s3), .drawing[data-stage="4"] :is(.s1,.s2,.s3,.s4), .drawing[data-stage="5"] :is(.s1,.s2,.s3,.s4,.s5) { opacity: 1; stroke-dashoffset: 0; transform: none; }
.drawing[data-stage="4"] .o4, .drawing[data-stage="5"] :is(.o4,.o5) { opacity: 0; }
.drawing:not([data-stage="5"]) .o5 { opacity: 1; }
.steps { counter-reset: step; }
.step { padding: 24px 0; border-top: 1px solid var(--dark-line); transition: opacity var(--t-ui) var(--ease); }
.step:last-child { border-bottom: 1px solid var(--dark-line); }
.step__n { display: block; font-family: var(--f-mono); font-size: var(--s-mono); color: var(--on-dark-3); margin-bottom: 8px; }
.step__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--on-dark-2); max-width: 46ch; }
.step.is-current .step__n { color: var(--sky-on-dark); }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .process__figure { grid-column: 5 / 13; grid-row: 1; position: sticky; top: calc(var(--header-h) + 24px); }
  /* The sticky drawing must fit the screen: cap its width by the height left under the header (640:450 plus the
     frame's padding and the key line), and keep it to the right. */
  .process__figure { width: 100%; max-width: calc((100svh - var(--header-h) - 10rem) * 1.42 + 6rem); justify-self: end; }
  .steps { grid-column: 1 / 5; grid-row: 1; padding: 18vh 0 22vh; }
  .step { padding: 40px 0; opacity: 0.38; }
  .step.is-current { opacity: 1; }
  .no-js .step, .reduce .step { opacity: 1; }
}

/* ---------- Notes: objections answered, set as drawing notes ---------- */
.notes { display: grid; gap: 40px; }
.notes__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.notes__photo figcaption { margin-top: 12px; color: var(--on-dark-3); }
.notelist { counter-reset: note; display: grid; gap: 0; border-top: 1px solid var(--dark-line); }
.note { padding: 28px 0 32px; border-bottom: 1px solid var(--dark-line); }
.note::before { counter-increment: note; content: counter(note); display: block; font-family: var(--f-display); font-weight: 600; font-size: var(--s-1); line-height: 1; color: var(--sky-on-dark); font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.note h3 { font-family: var(--f-display); font-weight: 600; font-size: var(--s-2); line-height: 1.12; letter-spacing: -0.025em; color: var(--on-dark); text-wrap: balance; max-width: 18ch; }
.note p { margin-top: 14px; color: var(--on-dark-2); max-width: 46ch; }
.notes__actions { margin-top: clamp(40px, 5vw, 4rem); }
.notes-sec .call { color: var(--on-dark); }
@media (min-width: 768px) {
  .notelist { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 0; }
  .note { border-top: 1px solid var(--dark-line); border-bottom: 0; padding: 32px 0 8px; }
  .note:nth-child(n+3) { margin-top: 24px; }
}
@media (min-width: 1024px) {
  .notelist { column-gap: 48px; }
  .notes--photo { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .notes--photo .notes__photo { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 32px); }
  .notes--photo .notelist { grid-column: 6 / 13; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; min-height: 44px; font-weight: 650; font-size: var(--s-1); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform var(--t-ui) var(--ease); color: var(--oxide); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 24px; color: var(--ink-2); max-width: 64ch; }
@media (min-width: 1024px) { .faq-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } .faq-layout > :first-child { grid-column: 1 / 5; } .faq-layout > :last-child { grid-column: 6 / 13; } }

/* ---------- Enquiry ---------- */
.enquiry { display: grid; gap: 40px; }
.enquiry__h { font-size: var(--s-3); color: var(--oxide-on); }
.enquiry__intro { margin-top: 20px; max-width: 40ch; color: oklch(0.95 0.01 262 / 0.88); font-size: var(--s-1); line-height: 1.5; }
.contact-rows { margin-top: 32px; display: grid; gap: 4px; border-top: 1px solid oklch(1 0 0 / 0.25); padding-top: 20px; }
.contact-rows a, .contact-rows p { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.contact-rows svg { width: 20px; height: 20px; flex: none; }
.contact-rows .big { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.75rem, 1.5rem + 1vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.form { background: var(--paper); color: var(--ink); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); }
.form__title { font-family: var(--f-display); font-weight: 650; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 650; font-size: var(--s--1); margin-bottom: 6px; }
.field label span { font-weight: 400; color: var(--ink-4); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: oklch(1 0 0); font-size: 1rem; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--focus); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__err { color: var(--err); font-size: var(--s--1); margin-top: 6px; }
.field__err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin-top: 14px; font-size: var(--s--1); color: var(--ink-4); }
.form__fail { background: oklch(0.95 0.03 25); color: var(--err); padding: 12px 14px; border-radius: var(--radius); margin-bottom: 18px; font-size: var(--s--1); }
.form__success { padding: 8px 0; }
.form__success h3 { font-family: var(--f-display); font-weight: 650; font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.02em; }
.form__success p { margin-top: 14px; color: var(--ink-2); }
@media (min-width: 1024px) {
  .enquiry { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .enquiry > :first-child { grid-column: 1 / 7; }
  .enquiry > :last-child { grid-column: 8 / 13; }
}

/* ---------- Page heads (inner pages) ---------- */
.page-head { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); padding-bottom: clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line-2); position: relative; overflow: hidden; }
.page-head__h1 { font-size: var(--s-3); max-width: 13ch; }
.page-head .lede { margin-top: 20px; color: var(--ink-2); max-width: 46ch; }
.page-head__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.crumbs { margin-bottom: 20px; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head__art { display: none; }
@media (min-width: 1024px) {
  .page-head__art { display: block; position: absolute; right: 0; top: 0; bottom: 0; width: 48%; overflow: hidden; pointer-events: none; }
  .page-head__art .beam { position: absolute; height: 78%; width: auto; max-width: none; right: 14%; top: 16%; overflow: visible; }
}
.page-body { display: grid; gap: 48px; }
@media (min-width: 1024px) { .page-body { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } .page-body > .prose { grid-column: 1 / 8; } .page-body > aside { grid-column: 9 / 13; } }
.aside-card { border-top: 2px solid var(--ink); padding-top: 20px; position: sticky; top: calc(var(--header-h) + 32px); }
.aside-card h2 { font-family: var(--f-display); font-weight: 650; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.02em; }
.aside-card p { margin-top: 12px; color: var(--ink-3); }
.aside-card .btn { margin-top: 20px; }
.aside-card .call { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: var(--on-dark-2); padding: clamp(64px, 8vw, 112px) 0 calc(24px + env(safe-area-inset-bottom)); }
.footer-cta { display: grid; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid var(--dark-line); }
.footer-cta .display { color: var(--on-dark); font-size: var(--s-2); max-width: 16ch; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; color: var(--on-dark); }
.footer-grid { display: grid; gap: 32px; padding: 0 0 56px; }
.footer-grid h2 { font-family: var(--f-mono); font-size: var(--s-mono); font-weight: 500; color: var(--on-dark-3); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-grid a { text-decoration: none; color: var(--on-dark); }
.footer-grid a:hover { text-decoration: underline; }
.footer-word { display: none; font-family: var(--f-display); font-weight: 650; line-height: 0.78; color: var(--graphite-3); font-size: clamp(4.5rem, 20.2vw, 22rem); margin-top: 16px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; user-select: none; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: var(--s--1); color: var(--on-dark-3); }
.footer-legal a { color: inherit; }
@media (min-width: 1024px) {
  .footer-cta { grid-template-columns: 1fr auto; align-items: end; }
  .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .footer-grid > :nth-child(1) { grid-column: 1 / 5; }
  .footer-grid > :nth-child(2) { grid-column: 6 / 9; }
  .footer-grid > :nth-child(3) { grid-column: 10 / 13; }
}

/* ---------- Sticky mobile bar ---------- */
.sticky-bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: var(--graphite); box-shadow: 0 -1px 0 var(--dark-line); transform: translateY(110%); transition: transform var(--t-ui) var(--ease); }
.sticky-bar.is-shown { transform: none; }
.sticky-bar .btn { min-height: 48px; }
@media (min-width: 1024px) { .sticky-bar { display: none; } }

/* ---------- 404 ---------- */
.lost { min-height: 80svh; display: flex; align-items: center; padding-top: var(--header-h); }
.lost ul { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; }

/* ---------- Archive cards (services) ---------- */
.empty { color: var(--ink-3); }

/* Service marks: the steel is always red oxide. */
.mk-steel { fill: var(--oxide); stroke: var(--oxide-deep); }
.d-flange { fill: none; stroke: oklch(0.78 0.08 255); stroke-width: 1; }
.d-anno--on-steel { fill: var(--oxide-on); }

/* ---------- Scroll scene (homepage): the beam travels across, then its navy floods into the next section ---------- */
.scene__flood { display: none; }
.scene.is-live { height: calc(100svh + var(--scene-run, 110svh)); }
.scene.is-live .hero { position: sticky; top: 0; height: 100svh; min-height: 0; }
.scene.is-live .scene__flood { display: block; position: absolute; inset: 0; z-index: 4; pointer-events: none; background-color: color-mix(in oklch, var(--ox-side-a) calc((1 - var(--flood-c, 0)) * 100%), var(--graphite)); clip-path: polygon(0 0, 0 0, 0 0, 0 0); }
.scene.is-live .hero__art .beam { will-change: transform; }
.scene.is-live :is(.hero__h1, .hero__proof, .hero__lede, .hero__actions, .fig, .titleblock, .hero__ring) { will-change: transform, opacity; }
/* Phones: no pinning, the beam just slides along its length as the page moves. */
.scene.is-slide .hero__art .beam { will-change: transform; }
.scene.is-live .hero__art, .scene.is-slide .hero__art { overflow: visible; }
.scene.is-live { --scene-run: 95svh; }

/* ---------- Beam shadow ---------- */
.beam__shadow { fill: oklch(0.25 0.069 272 / 0.13); }

/* ---------- Headline: words rise into place with the beam (CSS only) ---------- */
.hero__h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.hero__h1 .w > span { display: inline-block; animation: word-up 900ms var(--ease) both; animation-delay: calc(80ms + var(--i) * 70ms); }
@keyframes word-up { from { transform: translateY(105%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__h1 .w > span { animation: none; } }

/* ---------- Services: the navy flood on hover ---------- */
@media (hover: hover) {
  .srow { isolation: isolate; overflow: hidden; }
  .srow::before { content: ""; position: absolute; inset: 0 -40px; z-index: -1; background: var(--graphite); transform: scaleX(0); transform-origin: 0 50%; transition: transform 520ms var(--ease); }
  .srow:hover { background: transparent; }
  .srow:hover::before { transform: scaleX(1); }
  .srow :is(.srow__name, .srow__text, .srow__jobs, .srow__go, .srow__icon, .srow__sec) { transition: color 300ms var(--ease); }
  .srow:hover :is(.srow__name, .srow__go, .srow__icon) { color: var(--on-dark); }
  .srow:hover :is(.srow__text, .srow__jobs, .srow__sec) { color: var(--on-dark-2); }
  .srow:hover .mk-steel { fill: oklch(0.6 0.12 255); stroke: oklch(0.75 0.08 255); }
  .srow:hover .srow__go svg { transform: translateX(8px); }
  .srow { padding-left: 0; transition: padding 520ms var(--ease); }
  .srow:hover { padding-left: 20px; padding-right: 20px; }
}

/* ---------- Span tool ---------- */
.span__grid { display: grid; gap: 28px; grid-template-areas: "head" "fig" "ctrl"; }
.span__head { grid-area: head; }
.span__figure { grid-area: fig; }
.span__ctrl { grid-area: ctrl; }
.span__control { padding-top: 20px; border-top: 2px solid var(--ink); }
.span__control label { color: var(--ink-3); display: block; }
.span__value { display: block; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.05em; font-size: clamp(3.75rem, 2.5rem + 4.5vw, 7rem); line-height: 1; margin-top: 8px; color: var(--oxide); font-variant-numeric: tabular-nums; }
.span__value small { font-size: 0.4em; margin-left: 6px; color: var(--ink-3); text-transform: none; }
.span__range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin-top: 12px; cursor: grab; }
.span__range:active { cursor: grabbing; }
.span__range::-webkit-slider-runnable-track { height: 10px; background: linear-gradient(var(--oxide), var(--oxide)) 0 / var(--fill, 50%) 100% no-repeat, var(--paper-3); border-radius: 0; }
.span__range::-moz-range-track { height: 10px; background: var(--paper-3); }
.span__range::-moz-range-progress { height: 10px; background: var(--oxide); }
.span__range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 44px; margin-top: -17px; background: var(--ink); border: 0; clip-path: polygon(0 0, 100% 0, 100% 18%, 64% 18%, 64% 82%, 100% 82%, 100% 100%, 0 100%, 0 82%, 36% 82%, 36% 18%, 0 18%); }
.span__range::-moz-range-thumb { width: 28px; height: 44px; background: var(--ink); border: 0; border-radius: 0; clip-path: polygon(0 0, 100% 0, 100% 18%, 64% 18%, 64% 82%, 100% 82%, 100% 100%, 0 100%, 0 82%, 36% 82%, 36% 18%, 0 18%); }
.span__range:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.span__scale { display: flex; justify-content: space-between; color: var(--ink-4); margin-top: 4px; }
.span__hint { margin-top: 16px; color: var(--ink-2); min-height: 2.9em; }
.span .hero__actions { margin-top: 24px; }
.span__figure figcaption { margin-top: 12px; color: var(--ink-3); }
.span__svg { width: 100%; height: auto; }
.sp-slab { fill: var(--paper-2); stroke: var(--line-2); stroke-width: 1.2; }
.sp-line { stroke: var(--ink); stroke-width: 2; fill: none; }
.sp-hatch { stroke: var(--line-2); stroke-width: 1; fill: none; }
.sp-brick-bg { fill: oklch(0.93 0.01 262); }
.sp-brick-line { stroke: oklch(0.78 0.02 270); stroke-width: 1; fill: none; }
.sp-wall { stroke: var(--line-2); stroke-width: 1.2; }
.sp-pad { fill: oklch(0.82 0.008 262); stroke: oklch(0.6 0.012 262); stroke-width: 1; }
.sp-steel { fill: url(#sp-steel); }
.sp-flange { stroke: none; fill: none; }
.sp-dim path { stroke: var(--ink-3); stroke-width: 1.2; fill: none; }
.sp-dim text { font-family: var(--f-body); font-size: 22px; font-weight: 600; fill: var(--ink); font-variant-numeric: tabular-nums; }
.sp-figure { fill: oklch(0.4 0.03 272 / 0.82); stroke: none; }
@media (min-width: 1024px) {
  .span__grid { grid-template-columns: 4fr 8fr; column-gap: clamp(40px, 4vw, 5rem); row-gap: 32px; grid-template-areas: "head fig" "ctrl fig"; align-items: start; }
  .span__figure { align-self: center; }
}

/* ---------- Consent banner (the network's revive-consent plugin), restyled for this site only ----------
   Scoped to #revive-consent so the plugin and other sites are untouched. A slim full-width bar on the site's
   tokens: under 20% of a 390 x 844 screen, never over the hero's call to action, accept and reject equal.
   The title stays for screen readers (the dialog is labelled by it) but is not shown: the text says it all. */
#revive-consent, .rc-reopen { --rc-primary: var(--oxide); --rc-primary-text: var(--oxide-on); --rc-bg: var(--paper); --rc-text: var(--ink); --rc-radius: var(--radius); --rc-btn-radius: var(--radius); --rc-border: var(--line-2); }
#revive-consent.rc { left: 0; right: 0; bottom: 0; width: auto; max-width: none; margin: 0; font-family: var(--f-body); }
#revive-consent .rc__panel { border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--paper); box-shadow: 0 -10px 30px -16px oklch(0.21 0.04 272 / 0.35); -webkit-backdrop-filter: none; backdrop-filter: none; }
#revive-consent .rc__title { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#revive-consent .rc__text { margin: 0 0 10px; padding-right: 36px; font-size: 0.875rem !important; line-height: 1.45 !important; color: var(--ink-2); opacity: 1; }
#revive-consent .rc__actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; }
#revive-consent .rc__btn { flex: 1 1 0; min-height: 44px; padding: 0 12px; font-size: 0.9375rem !important; font-weight: 650 !important; }
#revive-consent .rc__btn--manage { flex: 0 0 auto; min-height: 44px; padding: 0 6px; font-weight: 550 !important; opacity: 1; }
#revive-consent.rc--open .rc__actions { flex-wrap: wrap; }
#revive-consent .rc__btn--save { flex-basis: 100%; }
#revive-consent .rc__close { top: 6px; right: calc(var(--gutter) - 10px); width: 40px !important; height: 40px !important; border-radius: var(--radius) !important; opacity: 0.75; }
#revive-consent .rc__cat { border-top-color: var(--line); }
#revive-consent .rc__cat-desc { color: var(--ink-3); opacity: 1; }
#revive-consent .rc__always { border-radius: var(--radius); }
/* The reopen button: site tokens, and above the sticky call bar on phones. */
.rc-reopen { border-radius: var(--radius) !important; background: var(--paper); color: var(--ink); border-color: var(--line-2); -webkit-backdrop-filter: none; backdrop-filter: none; bottom: calc(80px + env(safe-area-inset-bottom)); left: 12px; }
@media (min-width: 1024px) {
  #revive-consent .rc__panel { padding: 14px var(--gutter); }
  #revive-consent .rc__view { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: center; max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; padding-right: 48px; }
  #revive-consent .rc__text { grid-column: 1; grid-row: 1; margin: 0; padding-right: 0; font-size: 0.9375rem !important; max-width: 70ch; }
  #revive-consent .rc__actions { grid-column: 2; grid-row: 1; flex-wrap: nowrap; }
  #revive-consent .rc__btn { flex: 0 0 auto; min-width: 9.5rem; }
  #revive-consent .rc__more { grid-column: 1 / -1; grid-row: 2; }
  #revive-consent .rc__more-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; padding-top: 12px; }
  #revive-consent.rc--open .rc__actions { flex-wrap: nowrap; }
  #revive-consent .rc__btn--save { flex: 0 0 auto; }
  #revive-consent .rc__close { top: 50%; margin-top: -20px !important; right: max(calc(var(--gutter) - 10px), calc((100vw - var(--max)) / 2 + var(--gutter) - 10px)); }
  #revive-consent.rc--open .rc__close { top: 14px; margin-top: 0 !important; }
  .rc-reopen { bottom: 16px; left: 16px; }
}

/* =====================================================================================================
   v2.0: dark mechanical. Steel in an unlit shed; the blue of the logo is the only light. Technical marks
   from the drawing office and the machine: bracketed section tags, crosshair registration marks, hairline
   columns, corner brackets on frames. Everything below overrides the v1 rules above.
   ===================================================================================================== */

/* v2.13.1: no film grain (Aaron: "remove film grain"). */

/* Titles in the display face: capitals, no negative tracking (Big Shoulders is already condensed). */
.prose h2, .mobile-menu li a, .srow__name, .step__title, .note h3, .form__title, .form__success h3, .aside-card h2, .footer-cta .display {
  font-family: var(--f-display); font-weight: 750; letter-spacing: 0.005em; text-transform: uppercase; line-height: 0.98; }
.srow__name, .step__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.25rem); }
.note h3 { font-size: clamp(1.9rem, 1.5rem + 1.5vw, 3rem); max-width: 16ch; }
.prose h2 { font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.75rem); }
.form__title, .aside-card h2 { font-size: 2rem; }
.form__success h3 { font-size: 2.25rem; }
.mobile-menu li a { font-size: 2.25rem; }
.span__value, .contact-rows .big { font-family: var(--f-display); font-weight: 800; letter-spacing: 0; }
.contact-rows .big { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.5rem); }
.h-sub { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.5rem); line-height: 0.95; }

/* Section tag: "[ 01  Method". Mono-sized, sentence case, the bracket in the light colour. */
.tag { display: flex; align-items: baseline; gap: 0.9em; margin-bottom: clamp(20px, 2.5vw, 32px); color: var(--ink-3); font-size: var(--s-mono); line-height: 1.4; }
.tag b { font-weight: 500; color: var(--sky-on-dark); font-variant-numeric: tabular-nums; }
.tag b::before { content: "["; margin-right: 0.6em; color: var(--sky); }

/* Registration marks: a small crosshair at each top corner of the content, on every section. */
.section, .page-head, .site-footer { --xm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15'%3E%3Cpath d='M7.5 0v15M0 7.5h15' stroke='%23a9b6d6' stroke-opacity='.5'/%3E%3C/svg%3E"); }
.section::before, .site-footer::before { content: ""; position: absolute; z-index: 1; pointer-events: none; top: 22px; height: 15px;
  left: max(calc(var(--gutter) - 7px), calc((100% - var(--max)) / 2 + var(--gutter) - 7px)); right: max(calc(var(--gutter) - 7px), calc((100% - var(--max)) / 2 + var(--gutter) - 7px));
  background: var(--xm) left center / 15px no-repeat, var(--xm) right center / 15px no-repeat; }
.site-footer { position: relative; }

/* Hairline columns: the drawing office's construction lines, at the content's edges and thirds. */
.cols { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.cols::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: min(100% - 2 * var(--gutter), var(--max) - 2 * var(--gutter)); transform: translateX(-50%);
  background: linear-gradient(90deg, var(--line) 1px, transparent 1px, transparent calc(33.333% - 0.5px), var(--line) calc(33.333% - 0.5px), var(--line) calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px), transparent calc(66.666% - 0.5px), var(--line) calc(66.666% - 0.5px), var(--line) calc(66.666% + 0.5px), transparent calc(66.666% + 0.5px), transparent calc(100% - 1px), var(--line) calc(100% - 1px)); }

/* Corner brackets: the camera's frame marks, drawn round anything framed. */
.frame-marks { position: relative; }
.frame-marks::after { content: ""; position: absolute; inset: -1px; pointer-events: none; --c: var(--sky); --l: 18px; --w: 1.5px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l) no-repeat; }

/* ---------- Header ---------- */
.site-header, .site-header[data-theme="dark"] { --lm-s: oklch(0.72 0.14 254); --lm-a: var(--ink); color: var(--ink); }
.site-header.is-solid, .site-header.is-solid[data-theme="dark"] { background: oklch(0.125 0.01 262 / 0.82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.header-call { box-shadow: 0 0 0 1px oklch(0.75 0.14 255 / 0.35) inset, 0 0 24px -6px var(--glow); }
.footer-mark { --lm-s: oklch(0.72 0.14 254); }

/* ---------- Buttons: lit from within ---------- */
.btn { box-shadow: 0 0 0 1px oklch(0.78 0.13 254 / 0.35) inset, 0 10px 36px -12px var(--glow); }
@media (hover: hover) { .btn:hover { box-shadow: 0 0 0 1px oklch(0.85 0.1 254 / 0.6) inset, 0 12px 44px -10px var(--glow); } }
.btn--paper { --bg: var(--ink); --fg: var(--graphite); --bg-h: oklch(0.88 0.02 255); box-shadow: none; }
.btn--ink { --bg: var(--paper-3); --fg: var(--ink); --bg-h: oklch(0.29 0.02 262); box-shadow: 0 0 0 1px var(--line-2) inset; }
.form .btn--ink { --bg: var(--oxide); --fg: var(--oxide-on); --bg-h: var(--oxide-hover); box-shadow: 0 0 0 1px oklch(0.78 0.13 254 / 0.35) inset, 0 10px 36px -12px var(--glow); }
.call svg { color: var(--sky); }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(60% 70% at 74% 42%, oklch(0.36 0.12 262 / 0.55), transparent 70%), radial-gradient(30% 36% at 74% 40%, oklch(0.5 0.17 262 / 0.35), transparent 70%), var(--paper); }
.hero__h1 { color: var(--ink); max-width: 7ch; line-height: 0.86; letter-spacing: 0; font-size: clamp(3.4rem, 1.2rem + 5.6vw, 8rem); }
.hero__proof { color: var(--ink-2); }
.hero__proof svg { color: var(--sky); }
.hero__proof a { color: var(--ink); }
.hero__lede { color: var(--ink-2); }
/* The logo's ring becomes the light: a ring lamp behind the steel. */
.hero__ring { fill: oklch(0.66 0.17 258); filter: drop-shadow(0 0 18px oklch(0.6 0.2 262 / 0.9)) drop-shadow(0 0 60px oklch(0.55 0.2 264 / 0.6)); opacity: 0.92; }
.hero__stage .beam--render { filter: drop-shadow(0 40px 50px oklch(0.05 0.01 262 / 0.7)); }
.fig { border-color: var(--line-2); }
.fig img { filter: saturate(0.85) brightness(0.92); }
.titleblock { border-top-color: var(--line-2); }
.titleblock > div { border-color: var(--line-2) !important; }
.titleblock dt { color: var(--ink-4); }
@media (min-width: 640px) { .hero__h1 { max-width: 8ch; } }
@media (min-width: 1024px) {
  .hero__h1 { max-width: 12ch; }
  .fig { border-top-color: var(--line-2); border-right-color: var(--line-2); }
  .titleblock { background: oklch(0.13 0.01 262 / 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}

/* ---------- Statement: steel stock, lit from behind, with one sentence over it ---------- */
.statement { position: relative; overflow: hidden; background: var(--graphite); padding: clamp(96px, 14vw, 13rem) 0; isolation: isolate; }
.statement__img { position: absolute; inset: 0; z-index: -1; }
.statement__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.statement__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(0.125 0.01 262 / 0.82) 0%, oklch(0.125 0.01 262 / 0.3) 50%, oklch(0.125 0.01 262 / 0) 100%), linear-gradient(0deg, var(--graphite) 0%, transparent 22%, transparent 78%, var(--graphite) 100%); }
.statement__text { font-family: var(--f-display); font-weight: 750; text-transform: uppercase; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 5.25rem); line-height: 0.95; max-width: 17ch; color: var(--ink); text-wrap: balance; }
.statement__text .lit { color: var(--sky-on-dark); }
.statement__foot { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--ink-3); }
/* Words brighten from grey to white as the sentence crosses the screen (scroll-driven, CSS only; static where unsupported). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .statement__text .wd { animation: wd-lit linear both; animation-timeline: view(); animation-range: cover calc(10% + var(--i) * 1.4%) cover calc(30% + var(--i) * 1.4%); }
    @keyframes wd-lit { from { opacity: 0.18; } to { opacity: 1; } }
  }
}

/* ---------- Section heads ---------- */
.head p { color: var(--ink-3); }

/* ---------- Services ---------- */
.stable { border-top: 1px solid var(--line-2); }
.stable__head { border-bottom-color: var(--line-2) !important; }
.srow { border-bottom-color: var(--line-2); }
.srow__steel img { filter: none; }
@media (hover: hover) {
  .srow::before { background: linear-gradient(90deg, oklch(0.3 0.12 262 / 0.55), oklch(0.2 0.05 262 / 0.2)); }
  .srow:hover :is(.srow__name, .srow__go) { color: var(--ink); }
  .srow:hover .srow__go { color: var(--sky-on-dark); }
}

/* ---------- Process drawing ---------- */
.drawing__frame { background: radial-gradient(80% 70% at 50% 40%, oklch(0.22 0.05 262), oklch(0.15 0.015 262)); border-color: var(--line-2); }
.step.is-current .step__n { color: var(--sky-on-dark); }
.step.is-current .step__title { text-shadow: 0 0 28px oklch(0.6 0.2 262 / 0.55); }

/* ---------- Notes ---------- */
.note::before { font-family: var(--f-display); font-weight: 800; font-size: 2.5rem; color: var(--sky); content: counter(note, decimal-leading-zero); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-2); }
.faq summary svg { color: var(--sky); }
.faq details[open] summary { color: var(--sky-on-dark); }

/* ---------- Enquiry: the lit panel ---------- */
.t-oxide { background: radial-gradient(70% 90% at 15% 0%, oklch(0.42 0.18 264), transparent 70%), radial-gradient(60% 80% at 100% 100%, oklch(0.3 0.13 266), transparent 70%), oklch(0.2 0.07 266); color: var(--ink); }
.enquiry__h { color: var(--ink); }
.enquiry__intro { color: var(--ink-2); }
.form { background: oklch(0.13 0.012 262 / 0.9); color: var(--ink); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.field input, .field textarea { background: oklch(0.1 0.01 262); border-color: var(--line-2); color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field textarea:focus { border-color: var(--sky); }
.form__fail { background: oklch(0.3 0.08 25 / 0.5); color: oklch(0.88 0.06 25); }
.form__success p { color: var(--ink-2); }

/* ---------- Page heads (inner pages) ---------- */
.page-head { background: radial-gradient(50% 80% at 78% 40%, oklch(0.32 0.11 262 / 0.5), transparent 70%), var(--paper); border-bottom-color: var(--line); }
.page-head__h1 { font-size: clamp(3rem, 1.6rem + 5vw, 7rem); max-width: 11ch; }
.aside-card { border-top: 1px solid var(--line-2); }

/* ---------- Span tool ---------- */
.span__control { border-top: 1px solid var(--line-2); }
.span__value { color: var(--sky-on-dark); text-shadow: 0 0 40px oklch(0.6 0.2 262 / 0.5); }
.span__range::-webkit-slider-runnable-track { background: linear-gradient(var(--glow), var(--glow)) 0 / var(--fill, 50%) 100% no-repeat, var(--paper-3); }
.span__range::-moz-range-track { background: var(--paper-3); }
.span__range::-moz-range-progress { background: var(--glow); }
.span__range::-webkit-slider-thumb { background: var(--ink); }
.span__range::-moz-range-thumb { background: var(--ink); }
.sp-slab { fill: var(--paper-3); stroke: var(--line-2); }
.sp-line { stroke: var(--ink-2); }
.sp-brick-bg { fill: oklch(0.21 0.014 262); }
.sp-brick-line { stroke: oklch(0.32 0.02 262); }
.sp-pad { fill: oklch(0.4 0.01 262); stroke: oklch(0.55 0.01 262); }
.sp-dim path { stroke: var(--ink-3); }
.sp-dim text { fill: var(--ink); }
.sp-figure { fill: oklch(0.7 0.03 262 / 0.5); }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); }
.footer-word { color: oklch(0.2 0.03 262); font-family: var(--f-display); font-weight: 800; text-transform: uppercase; }

/* ---------- Sticky bar, consent ---------- */
.sticky-bar { background: oklch(0.125 0.01 262 / 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line-2); }
#revive-consent .rc__panel { background: oklch(0.14 0.012 262); border-top-color: var(--line-2); box-shadow: 0 -10px 40px -16px oklch(0 0 0 / 0.6); }
#revive-consent .rc__text { color: var(--ink-2); }
.rc-reopen { background: var(--paper-2); }

/* ---------- Beam marks and dims on dark ---------- */
.beam__dims path { stroke: var(--line-2); }
.beam__dims .beam__tick { stroke: var(--ink-3); }
.beam__dims text { fill: var(--ink-3); }
.beam__dims .beam__label { fill: var(--ink-2); }
.beam__shadow { fill: oklch(0 0 0 / 0.35); }

/* ---------- Thin white accents (v2.0): blue is the light, white is the ink of the drawing office ----------
   Hairline white marks: registration crosshairs, frame brackets, the tag rule, and a short white lead-in on
   every divider so the eye has a place to start. Always 1 px (1.5 px for brackets), never a fill. */
:root { --hair: oklch(0.98 0.004 255 / 0.9); --hair-soft: oklch(0.98 0.004 255 / 0.55); }
.section, .page-head, .site-footer { --xm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15'%3E%3Cpath d='M7.5 0v15M0 7.5h15' stroke='%23fff' stroke-opacity='.75'/%3E%3C/svg%3E"); }
.frame-marks::after { --c: var(--hair); }
.tag { align-items: center; }
.tag b { color: var(--ink); }
.tag b::before { color: var(--ink); }
.tag::after { content: ""; flex: 1; height: 1px; max-width: 22rem; background: linear-gradient(90deg, var(--hair) 0 3rem, var(--line-2) 3rem); }
/* The lead-in: a short white segment over the start of a divider. */
.stable, .faq, .step, .note, .span__control, .aside-card, .footer-cta, .titleblock, .contact-rows { background-image: linear-gradient(var(--hair), var(--hair)); background-size: 3rem 1px; background-position: 0 0; background-repeat: no-repeat; }
.note, .step { background-position: 0 -1px; }
.titleblock { border-top-color: var(--line-2) !important; background-position: 0 -1px; }
.stable__head { border-bottom-color: var(--line-2); }
.site-header.is-solid { box-shadow: 0 1px 0 oklch(0.98 0.004 255 / 0.12); }
/* Hero: a white dimension line under the headline, ticked at each end, like the drawing's span callouts. */
.hero__proof { position: relative; padding-top: 18px; }
.hero__proof::before { content: ""; position: absolute; top: 0; left: 0; width: min(100%, 15rem); height: 9px;
  background: linear-gradient(var(--hair), var(--hair)) 0 50% / 100% 1px no-repeat, linear-gradient(var(--hair), var(--hair)) 0 0 / 1px 100% no-repeat, linear-gradient(var(--hair), var(--hair)) 100% 0 / 1px 100% no-repeat; }
/* Buttons: a hairline white edge over the glow. */
.btn, .form .btn--ink { box-shadow: 0 0 0 1px oklch(0.98 0.004 255 / 0.28) inset, 0 10px 36px -12px var(--glow); }
.header-call { box-shadow: 0 0 0 1px oklch(0.98 0.004 255 / 0.28) inset, 0 0 24px -6px var(--glow); }
/* Statement: a white hairline frame round the picture's lit area on wide screens. */
.statement__foot { padding-top: 16px; border-top: 1px solid var(--line-2); background: linear-gradient(var(--hair), var(--hair)) 0 -1px / 3rem 1px no-repeat; max-width: 52rem; }

/* =====================================================================================================
   v2.1: more motion. The light switches on, the drawing office draws itself, then things arrive as you
   reach them. Hidden states only exist under html.rv-on (set by script, never with reduced motion).
   ===================================================================================================== */
@property --l { syntax: "<length>"; inherits: false; initial-value: 18px; }

/* The ring lamp powers on like a tube: two flickers, then full, then a slow breathing glow behind it. */
@keyframes lamp-on { 0% { fill-opacity: 0; } 8% { fill-opacity: 0.55; } 12% { fill-opacity: 0.08; } 22% { fill-opacity: 0.85; } 27% { fill-opacity: 0.25; } 40%, 100% { fill-opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: 0.55; transform: scale(0.96); } 50% { opacity: 0.95; transform: scale(1.04); } }
.hero__stage::before { content: ""; position: absolute; inset: -12%; z-index: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, oklch(0.55 0.2 262 / 0.45), oklch(0.5 0.2 262 / 0.12) 60%, transparent 75%); opacity: 0.75; }
@media (prefers-reduced-motion: no-preference) {
  .hero__ring { animation: lamp-on 1500ms linear 250ms both; }
  .hero__stage::before { animation: breathe 7s ease-in-out 1.8s infinite; }
  /* Construction lines draw down the page on arrival. */
  @keyframes draw-down { from { transform: translateX(-50%) scaleY(0); } to { transform: translateX(-50%) scaleY(1); } }
  .cols::before { transform-origin: 50% 0; animation: draw-down 1600ms var(--ease) 100ms both; }
  /* The stack pushes in as the band crosses the screen. */
  @supports (animation-timeline: view()) {
    @keyframes push-in { from { transform: scale(1.14) translateY(-3%); } to { transform: scale(1) translateY(3%); } }
    .statement__img img { animation: push-in linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
  /* Buttons: a sweep of light across on hover. */
  .btn { position: relative; overflow: hidden; isolation: isolate; }
  .btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, oklch(1 0 0 / 0.28) 50%, transparent 70%); transform: translateX(-120%); }
  @media (hover: hover) { .btn:hover::before { transform: translateX(120%); transition: transform 700ms var(--ease); } }
}

/* Reveal: items rise in; headings rise word by word behind a mask. */
.rv-on .rv { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease) var(--d, 0ms), transform 900ms var(--ease) var(--d, 0ms), background-size 900ms var(--ease) calc(var(--d, 0ms) + 200ms); }
.rv-on .rv.in { opacity: 1; transform: none; }
.rv-h .rw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.rv-on .rv-h .rw > span { display: inline-block; transform: translateY(108%) rotate(5deg); transform-origin: 0 100%; transition: transform 900ms var(--ease) calc(var(--i) * 55ms); }
.rv-on .rv-h.in .rw > span { transform: none; }
/* The white lead-ins on rules draw out from the left. */
.rv-on :is(.stable, .faq details, .note, .span__control, .aside-card, .contact-rows, .statement__foot).rv:not(.in) { background-size: 0 1px; }
/* Tag rules draw out after the tag lands. */
.rv-on .tag.rv::after { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1100ms var(--ease) calc(var(--d, 0ms) + 250ms); }
.rv-on .tag.rv.in::after { transform: none; }
/* Frame brackets grow out of the corners. */
.rv-on .frame-marks.rv::after { --l: 0px; transition: --l 900ms var(--ease) 350ms; }
.rv-on .frame-marks.rv.in::after { --l: 18px; }
/* Service rows: the steel slides in along its own length (the renders sit at about 36 degrees). */
.rv-on .srow.rv .srow__steel img { translate: -16% 12%; opacity: 0; transition: translate 1100ms var(--ease) calc(var(--d, 0ms) + 150ms), opacity 600ms var(--ease) calc(var(--d, 0ms) + 150ms); }
.rv-on .srow.rv.in .srow__steel img { translate: none; opacity: 1; }
.rv-on .srow.rv { transform: translateY(18px); }
/* Note numbers count in with a flicker of the light. */
@keyframes num-on { 0% { opacity: 0; } 30% { opacity: 1; } 40% { opacity: 0.3; } 55%, 100% { opacity: 1; } }
.rv-on .note.rv.in::before { animation: num-on 700ms linear calc(var(--d, 0ms) + 300ms) both; }
.rv-on .srow.rv { transition: opacity 700ms var(--ease) var(--d, 0ms), transform 900ms var(--ease) var(--d, 0ms), padding 520ms var(--ease); }

/* =====================================================================================================
   v2.2: "How a beam goes in" starts on the planning sheet, pure white linework on a faint grid, and the
   Blender render builds up underneath as the stages go by. By stage 5 it is the finished opening, lit
   blue from behind, with the lines stepped back to a whisper. Renders are aligned to the drawing 1:1.
   ===================================================================================================== */
.drawing__frame { background:
  linear-gradient(oklch(1 0 0 / 0.045) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(90deg, oklch(1 0 0 / 0.045) 1px, transparent 1px) 0 0 / 24px 24px,
  radial-gradient(80% 70% at 50% 40%, oklch(0.2 0.03 262), oklch(0.13 0.012 262)); }
.drawing .d-line, .drawing .d-accent, .drawing .d-prop, .drawing .d-flange { stroke: #fff; }
.drawing .d-hatch { stroke: #fff; opacity: 0.38; }
.drawing .d-steel { fill: oklch(1 0 0 / 0.04); stroke: #fff; }
.drawing .d-anno, .drawing .d-anno--accent, .drawing .d-anno--on-steel { fill: #fff; }
.drawing .d-line, .drawing .d-steel, .drawing .d-flange { transition: opacity 500ms var(--ease), stroke-dashoffset 900ms var(--ease), transform 900ms var(--ease), stroke-opacity 900ms var(--ease), fill-opacity 900ms var(--ease); }
/* The render layers: one per state, cross-fading as the stage changes. */
.drawing__render { mix-blend-mode: normal; opacity: 0; transition: opacity 1100ms var(--ease); }
.drawing__stack:has(.drawing[data-stage="2"]) .drawing__render--s2 { opacity: 0.4; }
.drawing__stack:has(.drawing[data-stage="3"]) .drawing__render--s3 { opacity: 0.8; }
.drawing__stack:has(.drawing[data-stage="4"]) .drawing__render--s4 { opacity: 1; }
.drawing__stack:has(.drawing[data-stage="5"]) .drawing__render--s5 { opacity: 1; }
/* The lines step back as the render takes over. */
.drawing[data-stage="3"] :is(.d-line, .d-steel, .d-flange) { stroke-opacity: 0.8; }
.drawing[data-stage="4"] :is(.d-line, .d-steel, .d-flange) { stroke-opacity: 0.5; }
.drawing[data-stage="5"] :is(.d-line, .d-steel, .d-flange) { stroke-opacity: 0.3; }
.drawing[data-stage="4"] .d-steel, .drawing[data-stage="5"] .d-steel { fill-opacity: 0; }
.drawing[data-stage="5"] .d-hatch { opacity: 0.12; }
.drawing .d-anno { paint-order: stroke; stroke: oklch(0.12 0.01 262 / 0.7); stroke-width: 3px; stroke-linejoin: round; }
/* The grid fades out as the render arrives, so the finished stage reads as a picture, not a sheet. */
.drawing__frame { transition: background-color 900ms var(--ease); }
@media (prefers-reduced-motion: reduce) { .drawing__render, .drawing .d-line { transition: none; } }

/* =====================================================================================================
   v2.4: "How wide do you want it?" redrawn in the drawing office's white linework, with the opening lit
   blue from behind (the light widens as you drag). Service page heads get more motion.
   ===================================================================================================== */
.span__frame { position: relative; padding: clamp(14px, 2.4vw, 32px); border: 1px solid var(--line-2); background:
  linear-gradient(oklch(1 0 0 / 0.045) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(90deg, oklch(1 0 0 / 0.045) 1px, transparent 1px) 0 0 / 24px 24px,
  radial-gradient(80% 70% at 50% 60%, oklch(0.19 0.03 262), oklch(0.13 0.012 262)); }
.span__figure figcaption { margin-top: 14px; }
.sp-slab { fill: none; stroke: #fff; stroke-width: 1.4; }
.sp-hatch { stroke: #fff; stroke-opacity: 0.35; stroke-width: 1; }
.sp-line { stroke: #fff; stroke-width: 1.6; }
.sp-brick-line { stroke: #fff; stroke-opacity: 0.2; stroke-width: 1; fill: none; }
.sp-brick-bg { fill: none; }
.sp-wall { stroke: #fff; stroke-width: 1.4; }
.sp-pad { fill: oklch(0.16 0.012 262); stroke: #fff; stroke-width: 1.4; }
.sp-steel { fill: url(#sp-beam); stroke: #fff; stroke-width: 1.4; }
.sp-flange { stroke: #fff; stroke-opacity: 0.5; stroke-width: 1; fill: none; }
.sp-lit { stroke: oklch(0.82 0.12 254); stroke-width: 3; fill: none; filter: drop-shadow(0 0 6px oklch(0.62 0.19 260)) drop-shadow(0 0 16px oklch(0.6 0.2 262 / 0.8)); }
.sp-dim path { stroke: #fff; stroke-opacity: 0.85; stroke-width: 1.2; }
.sp-dim text { fill: #fff; font-family: var(--f-display); font-weight: 750; font-size: 30px; letter-spacing: 0.01em; }
.sp-figure { fill: oklch(0.16 0.012 262 / 0.6); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.sp-glow { mix-blend-mode: screen; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes sp-breathe { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }
  .sp-glow { animation: sp-breathe 5s ease-in-out infinite; }
  /* When the section arrives, the light comes on behind the wall. */
  .rv-on .span__figure.rv:not(.in) .sp-glow, .rv-on .span__figure.rv:not(.in) .sp-lit { opacity: 0; }
  .span__figure.rv.in .sp-lit { animation: lamp-flick 1200ms linear 500ms both; }
  @keyframes lamp-flick { 0% { opacity: 0; } 10% { opacity: 0.7; } 16% { opacity: 0.1; } 30% { opacity: 1; } 36% { opacity: 0.3; } 50%, 100% { opacity: 1; } }
}

/* ---------- Service page heads ---------- */
.page-head { overflow: hidden; }
.page-head > .cols { z-index: 0; }
.page-head__art::before { content: ""; position: absolute; inset: 6% 4% 0 6%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, oklch(0.55 0.2 262 / 0.42), oklch(0.5 0.2 262 / 0.1) 60%, transparent 75%); }
.page-head__spec { position: absolute; left: 14%; bottom: 9%; display: flex; gap: 0.6em; color: var(--ink-2); }
.page-head__spec b { font-weight: 500; color: var(--ink); }
.page-head .lede { position: relative; padding-top: 18px; }
.page-head .lede::before { content: ""; position: absolute; top: 0; left: 0; width: min(100%, 15rem); height: 9px;
  background: linear-gradient(var(--hair), var(--hair)) 0 50% / 100% 1px no-repeat, linear-gradient(var(--hair), var(--hair)) 0 0 / 1px 100% no-repeat, linear-gradient(var(--hair), var(--hair)) 100% 0 / 1px 100% no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes draw-x { from { transform: scaleX(0); } to { transform: none; } }
  @keyframes glow-on { 0% { opacity: 0; } 12% { opacity: 0.6; } 18% { opacity: 0.1; } 34% { opacity: 0.9; } 40% { opacity: 0.35; } 55% { opacity: 1; } 100% { opacity: 1; } }
  .page-head .crumbs { animation: rise-in 700ms var(--ease) 100ms both; }
  .page-head .lede { animation: rise-in 800ms var(--ease) 450ms both; }
  .page-head .lede::before { transform-origin: 0 50%; animation: draw-x 900ms var(--ease) 700ms both; }
  .page-head__actions { animation: rise-in 800ms var(--ease) 600ms both; }
  .page-head__art::before { animation: glow-on 1500ms linear 300ms both, breathe 7s ease-in-out 2s infinite; }
  .page-head__spec { animation: rise-in 700ms var(--ease) 1300ms both; }
  /* As you scroll on, the steel carries on along its own line, out of the frame. */
  @supports (animation-timeline: scroll()) {
    @keyframes steel-drift { from { transform: none; } to { transform: translate(14%, -12%); } }
    .page-head__art .beam--render { animation: beam-render-in 1200ms var(--ease) 150ms both, steel-drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 100vh; }
  }
  /* The aside's lead-in and the body's first rule draw as they arrive (via the reveal); the card's button sweeps once. */
  .aside-card.in .btn::before { animation: sweep-once 1100ms var(--ease) 700ms both; }
  @keyframes sweep-once { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
}

/* ---------- Header (v2.4): the instrument panel ----------
   Numbered links, a framed call button with a lit phone block, and a hairline base with registration
   crosshairs at each end; a light runs along it once on load. The adaptive behaviour is unchanged. */
.site-header__rule { position: absolute; left: 0; right: 0; bottom: 0; height: 15px; transform: translateY(50%); pointer-events: none;
  background: var(--xm-h) var(--gutter) 50% / 15px no-repeat, var(--xm-h) calc(100% - var(--gutter)) 50% / 15px no-repeat, linear-gradient(oklch(1 0 0 / 0.14), oklch(1 0 0 / 0.14)) 0 50% / 100% 1px no-repeat;
  --xm-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15'%3E%3Cpath d='M7.5 0v15M0 7.5h15' stroke='%23fff' stroke-opacity='.7'/%3E%3C/svg%3E"); }
.site-header__rule::after { content: ""; position: absolute; top: 50%; left: 0; width: 18%; height: 1px; transform: translateX(-100%); opacity: 0;
  background: linear-gradient(90deg, transparent, oklch(0.85 0.12 254), transparent); box-shadow: 0 0 12px oklch(0.62 0.19 260); }
.site-header.is-solid { box-shadow: none; }
.nav ul { counter-reset: nav; gap: 2.25rem; }
.nav li { counter-increment: nav; display: flex; align-items: baseline; gap: 0.5em; }
.nav li::before { content: "0" counter(nav); font-size: 0.75rem; color: var(--sky-on-dark); font-variant-numeric: tabular-nums; }
.nav a { font-weight: 500; }
/* The call button: a framed panel, the phone in a lit block at its left. */
.header-call { position: relative; gap: 0; padding: 0; min-height: 2.75rem; background: oklch(0.13 0.012 262 / 0.6); color: var(--ink);
  box-shadow: 0 0 0 1px oklch(0.98 0.004 255 / 0.22) inset; overflow: visible; }
.header-call > svg { box-sizing: content-box; width: 18px; height: 18px; padding: calc((2.75rem - 18px) / 2) 0.85rem; background: var(--oxide); color: #fff;
  box-shadow: 0 0 22px -4px var(--glow); }
.header-call > span { padding: 0 1rem; }
.header-call::after { content: ""; position: absolute; inset: -4px; pointer-events: none; --c: var(--hair); --l: 8px; --w: 1px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l) no-repeat; }
@media (hover: hover) { .header-call:hover { background: oklch(0.2 0.06 262 / 0.8); } .header-call:hover > svg { background: var(--oxide-hover); } }
/* Phones: "Menu +" in brackets, like the drawing's labels. */
.menu-toggle { width: auto; padding: 0 6px 0 12px; gap: 8px; display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.menu-toggle__label { font-size: 0.9375rem; font-weight: 500; }
.menu-toggle svg { width: 20px; height: 20px; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  @keyframes rule-run { 0% { transform: translateX(-100%); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(560%); opacity: 0; } }
  .site-header__rule::after { animation: rule-run 2200ms var(--ease) 600ms both; }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .nav li { animation: nav-in 600ms var(--ease) both; }
  .nav li:nth-child(1) { animation-delay: 150ms; } .nav li:nth-child(2) { animation-delay: 230ms; } .nav li:nth-child(3) { animation-delay: 310ms; } .nav li:nth-child(4) { animation-delay: 390ms; }
  .header-call { animation: nav-in 600ms var(--ease) 450ms both; }
}
/* v2.4.1: the wordmark never wraps; on the narrowest phones the menu label gives way first. */
.brand { flex: none; min-width: 0; }
.brand__words { white-space: nowrap; }
.site-header__inner { gap: 12px; }
@media (max-width: 400px) { .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .menu-toggle { padding: 0 4px; } .header-call > span { padding: 0 0.75rem; } }

/* =====================================================================================================
   v2.5: About and Contact. A facts strip with mechanical counters, a "what happens next" line of light,
   and the span tool now runs to 10 m.
   ===================================================================================================== */
/* Mechanical counter: a strip of digits per figure, rolled into place. Plain text without script. */
.roll { display: inline-flex; align-items: flex-start; }
.roll__d { display: inline-block; height: 1.05em; overflow: hidden; line-height: 1.05; }
.roll__s { display: flex; flex-direction: column; transform: translateY(calc(var(--n) * -1.05em)); }
.roll__s > span { display: block; height: 1.05em; }
.roll__c { display: inline-block; line-height: 1.05; }
.rv-on [data-roll].rv:not(.in) .roll__s { transform: translateY(0); }
.rv-on [data-roll].rv { transform: none; }
.rv-on [data-roll].rv .roll__s { transition: transform calc(1300ms + var(--i) * 90ms) cubic-bezier(0.2, 0.7, 0.1, 1) calc(var(--d, 0ms) + 150ms + var(--i) * 70ms); }

/* Facts strip. */
.facts-sec { padding-block: clamp(56px, 7vw, 6.5rem); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.fact { padding: 18px 0 28px; border-top: 1px solid var(--line-2); background: linear-gradient(var(--hair), var(--hair)) 0 -1px / 3rem 1px no-repeat; }
.fact dt { color: var(--ink-3); font-size: var(--s-mono); }
.fact dd { margin: 10px 0 0; }
.fact__n { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 3.4vw, 5.25rem); line-height: 1.05; color: var(--ink); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.fact a { text-decoration: none; }
.fact a .fact__n { color: var(--sky-on-dark); }
@media (hover: hover) { .fact a:hover .fact__n { text-shadow: 0 0 30px oklch(0.6 0.2 262 / 0.6); } }
@media (min-width: 1024px) { .facts { grid-template-columns: 1fr 1.7fr 1fr 1.2fr; column-gap: 32px; } }
.rv-on .fact.rv:not(.in) { background-size: 0 1px; }

/* What happens next: three steps on a line of light. */
.next { position: relative; display: grid; gap: 40px; margin: 0; padding: 0 0 0 36px; list-style: none; counter-reset: none; }
.next::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; transform-origin: 50% 0;
  background: linear-gradient(180deg, oklch(0.85 0.12 254), var(--glow) 60%, oklch(0.62 0.19 260 / 0.2)); box-shadow: 0 0 14px oklch(0.62 0.19 260 / 0.9); }
.next__step { position: relative; }
.next__step::before { content: ""; position: absolute; left: -36px; top: 4px; width: 13px; height: 13px; border: 1px solid #fff; background: var(--paper); box-shadow: 0 0 0 4px var(--paper); }
.next__n { display: block; font-family: var(--f-display); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--sky); margin-bottom: 14px; }
.next__title { font-family: var(--f-display); font-weight: 750; text-transform: uppercase; font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.75rem); line-height: 0.98; letter-spacing: 0.005em; }
.next__step p { margin-top: 12px; color: var(--ink-2); max-width: 40ch; }
.next-sec .lede .call { font-size: var(--s-1); }
@media (min-width: 1024px) {
  .next { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; padding: 44px 0 0; }
  .next::before { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 1px; transform-origin: 0 50%; background: linear-gradient(90deg, oklch(0.85 0.12 254), var(--glow) 70%, oklch(0.62 0.19 260 / 0.2)); }
  .next__step::before { left: 0; top: -44px; }
}
@media (prefers-reduced-motion: no-preference) {
  .rv-on .next.rv { transform: none; }
  .rv-on .next.rv::before { transform: scaleY(0); transition: transform 1600ms var(--ease) 200ms; }
  .rv-on .next.rv.in::before { transform: none; }
  @media (min-width: 1024px) { .rv-on .next.rv::before { transform: scaleX(0); } .rv-on .next.rv.in::before { transform: none; } }
  /* Each node lights up as the line reaches it. */
  @keyframes node-on { 0% { background: var(--paper); box-shadow: 0 0 0 4px var(--paper); } 30% { background: oklch(0.85 0.12 254); } 45% { background: var(--paper); } 70%, 100% { background: oklch(0.85 0.12 254); box-shadow: 0 0 0 4px var(--paper), 0 0 18px oklch(0.62 0.19 260); } }
  .next.in .next__step::before { animation: node-on 900ms linear both; }
  .next.in .next__step:nth-child(1)::before { animation-delay: 500ms; } .next.in .next__step:nth-child(2)::before { animation-delay: 1000ms; } .next.in .next__step:nth-child(3)::before { animation-delay: 1500ms; }
}
@media (prefers-reduced-motion: reduce) { .next__step::before { background: oklch(0.85 0.12 254); } }
/* v2.5.1: the list reset (ol[class]) outranked .next's padding; and counter digits get equal cells so narrow
   figures (1) do not leave gaps. */
ol.next { padding: 0 0 0 36px; }
@media (min-width: 1024px) { ol.next { padding: 44px 0 0; } }
.roll__d { width: 0.56em; text-align: center; }
.roll__c { min-width: 0.2em; }

/* =====================================================================================================
   v2.6: the footer. The wordmark is drawn as a white outline across the full width, its letters rising in
   turn, then a band of blue light passes through it. A measuring scale draws out above the legal line,
   and the logo ring spins up and powers on.
   ===================================================================================================== */
.site-footer { overflow: hidden; }
.footer-word { display: block; margin: clamp(24px, 4vw, 56px) 0 0; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: 0.82;
  font-size: min(16.4vw, 15.5rem); letter-spacing: 0.005em; white-space: nowrap; overflow: hidden; user-select: none;
  color: transparent; -webkit-text-stroke: 1px oklch(0.98 0.004 255 / 0.55);
  background: linear-gradient(100deg, transparent 0 35%, oklch(0.62 0.19 260 / 0.9) 45%, oklch(0.88 0.1 254) 50%, oklch(0.62 0.19 260 / 0.9) 55%, transparent 65% 100%) -200% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; }
.footer-word > span { display: inline-block; }
/* A measuring scale: a tick every 10 px, a long one every 50, the first metre in white. */
.footer-scale { height: 18px; margin-top: 18px; transform-origin: 0 50%;
  background:
    linear-gradient(90deg, oklch(1 0 0 / 0.55) 1px, transparent 1px) 0 0 / 50px 18px repeat-x,
    linear-gradient(90deg, oklch(1 0 0 / 0.28) 1px, transparent 1px) 0 100% / 10px 8px repeat-x; }
.footer-mark .lm-s { transform-origin: 0 0; }
@media (hover: hover) { .site-footer .footer-grid a:hover { color: var(--sky-on-dark); } }
@media (prefers-reduced-motion: no-preference) {
  .rv-on .footer-word.rv { opacity: 1; transform: none; }
  .rv-on .footer-word.rv > span { transform: translateY(105%); transition: transform 1000ms var(--ease) calc(var(--i) * 55ms); }
  .rv-on .footer-word.rv.in > span { transform: none; }
  /* The light passes once on arrival, then again about every ten seconds. */
  @keyframes light-pass { 0% { background-position: -200% 0; } 24%, 100% { background-position: 300% 0; } }
  .footer-word.in { animation: light-pass 10s cubic-bezier(0.45, 0, 0.25, 1) 900ms infinite both; }
  .rv-on .footer-scale.rv { opacity: 1; transform: scaleX(0); transition: transform 1800ms var(--ease) 300ms; }
  .rv-on .footer-scale.rv.in { transform: none; }
  /* The logo mark spins up into place and its ring flickers on. */
  .rv-on .footer-mark.rv { opacity: 1; transform: rotate(-200deg) scale(0.6); transition: transform 1400ms var(--ease); }
  .rv-on .footer-mark.rv.in { transform: none; }
  .footer-mark.in .lm-s { animation: lamp-on 1300ms linear 600ms both; }
}
/* v2.6.1: the wordmark runs edge to edge of the content (it measured about 4.5 times its font size). */
.footer-word { font-size: min(calc((100vw - 2 * var(--gutter)) / 4.55), calc((var(--max) - 2 * var(--gutter)) / 4.55)); }

/* v2.7: the width is a field you can type any value into (no ceiling); the slider covers 1.2 to 10 m. */
.span__value { display: flex; align-items: baseline; gap: 6px; }
.span__num { font: inherit; color: inherit; text-shadow: inherit; background: transparent; border: 0; border-bottom: 1px dashed oklch(1 0 0 / 0.3); border-radius: 0; padding: 0; margin: 0; width: 3.4ch; min-width: 0; letter-spacing: inherit; -moz-appearance: textfield; appearance: textfield; caret-color: var(--sky); }
.span__num::-webkit-outer-spin-button, .span__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.span__num:hover { border-bottom-color: oklch(1 0 0 / 0.55); }
.span__num:focus { outline: none; border-bottom: 1px solid var(--sky); }
.span__num:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.span__type { margin-top: 6px; color: var(--ink-3); }

/* =====================================================================================================
   v2.8: services archive. The head shows the four pieces of steel in turn, each sliding in along its own
   line with its spec label, holding, then carrying on out. Service rows get a light along their rule.
   ===================================================================================================== */
.ph-cycle, .ph-cycle__item { position: absolute; inset: 0; }
.ph-cycle__item:not(:first-child) { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  /* 4 pieces x 3.5 s. Each: in along its line (0 to 6%), hold, out the far end (22 to 25%), then wait its turn. */
  @keyframes ph-steel {
    0% { opacity: 0; translate: 20% -17.5%; }
    6% { opacity: 1; translate: none; }
    21% { opacity: 1; translate: none; }
    25% { opacity: 0; translate: -14% 12%; }
    100% { opacity: 0; translate: -14% 12%; }
  }
  @keyframes ph-spec { 0%, 4% { opacity: 0; } 8%, 20% { opacity: 1; } 23%, 100% { opacity: 0; } }
  @keyframes ph-item { 0%, 100% { opacity: 1; } }
  .ph-cycle__item { opacity: 1 !important; }
  .ph-cycle .beam--render { animation: ph-steel calc(var(--count) * 3.5s) var(--ease) calc(var(--k) * 3.5s) infinite both; }
  .ph-cycle .page-head__spec { animation: ph-spec calc(var(--count) * 3.5s) linear calc(var(--k) * 3.5s) infinite both; }
}
@media (prefers-reduced-motion: reduce) { .ph-cycle__item:not(:first-child) { display: none; } }

/* A light runs along each service row's rule as it arrives. */
.srow::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 22%; height: 1px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, oklch(0.85 0.12 254), transparent); box-shadow: 0 0 12px oklch(0.62 0.19 260); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes row-run { 0% { transform: translateX(-100%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(460%); opacity: 0; } }
  .srow.rv.in::after { animation: row-run 1800ms var(--ease) calc(var(--d, 0ms) + 400ms) both; }
  /* The service name lights briefly as its row lands. */
  @keyframes name-lit { 0%, 100% { text-shadow: none; } 40% { text-shadow: 0 0 26px oklch(0.6 0.2 262 / 0.75); } }
  .srow.rv.in .srow__name { animation: name-lit 1400ms ease calc(var(--d, 0ms) + 500ms) both; }
}

/* =====================================================================================================
   v2.9: single service pages. A spec sheet whose cross-section traces itself in beside rolling figures;
   body bullets light up one by one; the other services slide in with their steel.
   ===================================================================================================== */
.sheet-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .sheet-grid { grid-template-columns: 7fr 5fr; column-gap: clamp(40px, 5vw, 6rem); } }
.xs { margin: 0; padding: clamp(16px, 3vw, 40px); border: 1px solid var(--line-2); background:
  linear-gradient(oklch(1 0 0 / 0.045) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(90deg, oklch(1 0 0 / 0.045) 1px, transparent 1px) 0 0 / 24px 24px,
  radial-gradient(70% 70% at 45% 50%, oklch(0.2 0.04 262), oklch(0.13 0.012 262)); }
.xs__svg { width: 100%; height: auto; display: block; }
.xs figcaption { margin-top: 12px; color: var(--ink-3); }
.xs-fill { fill: oklch(0.62 0.19 260 / 0.14); }
.xs-line { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.xs-cl { fill: none; stroke: #fff; stroke-opacity: 0.35; stroke-width: 1; stroke-dasharray: 0.05 0.015 0.008 0.015; }
.xs-dim path { fill: none; stroke: #fff; stroke-opacity: 0.8; stroke-width: 1.1; }
.xs-dim text { fill: #fff; font-family: var(--f-display); font-weight: 750; font-size: 22px; letter-spacing: 0.01em; }
.sheet-spec .lede { margin-top: 18px; color: var(--ink-2); }
.spec { margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.spec__row { padding: 14px 0 16px; border-top: 1px solid var(--line-2); background: linear-gradient(var(--hair), var(--hair)) 0 -1px / 2rem 1px no-repeat; }
.spec__row dt { color: var(--ink-3); font-size: var(--s-mono); }
.spec__row dd { margin: 6px 0 0; display: flex; align-items: baseline; gap: 8px; }
.spec__n { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem); line-height: 1.05; color: var(--ink); }
.spec__u { color: var(--ink-3); font-size: var(--s-mono); }
@media (prefers-reduced-motion: no-preference) {
  .rv-on .xs.rv .xs-line { stroke-dasharray: 1; transition: stroke-dashoffset 2200ms cubic-bezier(0.6, 0, 0.2, 1) 300ms; }
  .rv-on .xs.rv:not(.in) .xs-line { stroke-dashoffset: 1; }
  .rv-on .xs.rv .xs-dim path { stroke-dasharray: 1; transition: stroke-dashoffset 1000ms var(--ease) 1900ms; }
  .rv-on .xs.rv:not(.in) .xs-dim path { stroke-dashoffset: 1; }
  .rv-on .xs.rv .xs-dim text { transition: opacity 600ms var(--ease) 2600ms; }
  .rv-on .xs.rv:not(.in) .xs-dim text { opacity: 0; }
  .rv-on .xs.rv .xs-cl { transition: opacity 800ms var(--ease) 100ms; }
  .rv-on .xs.rv:not(.in) .xs-cl { opacity: 0; }
  /* Once traced, the section fills with light. */
  @keyframes xs-lit { 0% { fill: oklch(0.62 0.19 260 / 0); } 30% { fill: oklch(0.7 0.17 256 / 0.45); } 100% { fill: oklch(0.62 0.19 260 / 0.14); } }
  .xs.in .xs-fill { animation: xs-lit 1600ms ease 2300ms both; }
  .rv-on .xs.rv:not(.in) .xs-fill { fill: transparent; }
  .rv-on .spec__row.rv:not(.in) { background-size: 0 1px; }
}

/* Body bullets: drawing-office squares that light up one by one as the list arrives. */
.page-body .prose ul { list-style: none; padding-left: 0; }
.page-body .prose li { position: relative; padding-left: 30px; }
.page-body .prose li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 9px; height: 9px; border: 1px solid #fff; background: oklch(0.82 0.12 254); box-shadow: 0 0 12px oklch(0.62 0.19 260 / 0.8); }
@media (prefers-reduced-motion: no-preference) {
  .rv-on .page-body .prose li.rv:not(.in)::before { background: transparent; box-shadow: none; }
  .rv-on .page-body .prose li.rv::before { transition: background-color 300ms linear calc(var(--d, 0ms) + 450ms), box-shadow 600ms ease calc(var(--d, 0ms) + 450ms); }
  .rv-on .page-body .prose li.rv { transform: translateX(-14px); }
  .rv-on .page-body .prose li.rv.in { transform: none; }
}

/* Other services. */
.others { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 768px) { .others { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Four cards (the Horsham page lists all four services): 2 by 2 on tablets, 4 across on wide screens, never 3 and 1. */
@media (min-width: 768px) { .others--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .others--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .others--n4 .other__name { font-size: clamp(1.4rem, 1.1rem + 0.5vw, 1.8rem); } }
.other a { position: relative; display: grid; gap: 10px; padding: 18px 18px 22px; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); overflow: hidden; isolation: isolate; height: 100%;
  background: radial-gradient(70% 60% at 50% 30%, oklch(0.22 0.05 262), oklch(0.14 0.012 262)); }
.other__steel { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.other__steel img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 46%; transition: transform 900ms var(--ease); }
.other__spec { color: var(--ink-3); }
.other__name { font-family: var(--f-display); font-weight: 750; text-transform: uppercase; font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.1rem); line-height: 0.98; padding-right: 36px; }
.other__go { position: absolute; right: 18px; bottom: 22px; width: 24px; height: 24px; color: var(--sky-on-dark); }
.other__go svg { width: 24px; height: 24px; transition: transform 300ms var(--ease); }
.other a::after { content: ""; position: absolute; inset: -1px; pointer-events: none; border: 1px solid transparent; transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease); }
@media (hover: hover) {
  .other a:hover::after { border-color: oklch(0.78 0.13 254 / 0.6); box-shadow: inset 0 0 40px -10px oklch(0.62 0.19 260 / 0.6); }
  .other a:hover .other__steel img { transform: translate(4%, -3.5%) scale(1.04); }
  .other a:hover .other__go svg { transform: translateX(6px); }
}
@media (prefers-reduced-motion: no-preference) {
  .rv-on .other.rv .other__steel img { translate: -16% 12%; opacity: 0; transition: translate 1100ms var(--ease) calc(var(--d, 0ms) + 200ms), opacity 600ms var(--ease) calc(var(--d, 0ms) + 200ms); }
  .rv-on .other.rv.in .other__steel img { translate: none; opacity: 1; }
}

/* =====================================================================================================
   v2.10: homepage hero, more motion; footer wordmark no longer clipped.
   Elements the scroll scene moves (proof, intro, actions, fig, title block, ring, ticks, spec) only use
   fill-mode "backwards", so the scene's inline styles always win once the entrance is over.
   ===================================================================================================== */
.footer-word { line-height: 1; padding-top: 0.04em; }

.hero__ticks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; pointer-events: none; }
.hero__ticks circle { fill: none; stroke: #fff; }
.hero__ticks circle:first-child { stroke-width: 1.6; stroke-opacity: 0.3; stroke-dasharray: 0.35 2.65; }
.hero__ticks .hero__ticks-major { stroke-width: 3.2; stroke-opacity: 0.75; stroke-dasharray: 0.5 29.5; }
.hero__ticks g { transform-box: view-box; transform-origin: 66.19px 43.13px; }
.hero__spec { position: absolute; display: none; gap: 0.6em; right: 10%; bottom: 13%; z-index: 2; color: var(--ink-2); }
.hero__spec b { font-weight: 500; color: var(--ink); }
@media (min-width: 1024px) { .hero__spec { display: flex; } }
.hero__scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, oklch(0.85 0.12 254 / 0.9) 30%, oklch(0.85 0.12 254 / 0.9) 70%, transparent); box-shadow: 0 0 18px 2px oklch(0.62 0.19 260 / 0.7); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes ticks-turn { to { transform: rotate(360deg); } }
  @keyframes ticks-in { from { opacity: 0; transform: scale(0.92); } }
  .hero__ticks g { animation: ticks-turn 120s linear infinite; }
  .hero__ticks { animation: ticks-in 1400ms var(--ease) 900ms backwards; }
  @keyframes spec-flick { 0% { opacity: 0; } 20% { opacity: 0.8; } 28% { opacity: 0.1; } 45% { opacity: 1; } 52% { opacity: 0.4; } 70%, 100% { opacity: 1; } }
  .hero__spec { animation: spec-flick 900ms linear 1600ms backwards; }
  @keyframes scan-down { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
  .hero__scan { animation: scan-down 2600ms cubic-bezier(0.45, 0, 0.3, 1) 250ms both; }
  @keyframes hero-rise { from { opacity: 0; transform: translateY(20px); } }
  .hero__proof { animation: hero-rise 800ms var(--ease) 650ms backwards; }
  .hero__lede { animation: hero-rise 800ms var(--ease) 800ms backwards; }
  .hero__actions { animation: hero-rise 800ms var(--ease) 950ms backwards; }
  .fig { animation: hero-rise 800ms var(--ease) 1150ms backwards; }
  .titleblock { animation: hero-rise 800ms var(--ease) 1250ms backwards; }
  @keyframes dim-draw { from { transform: scaleX(0); } }
  .hero__proof::before { transform-origin: 0 50%; animation: dim-draw 900ms var(--ease) 900ms backwards; }
  /* The title block's numbers roll as it arrives. */
  .titleblock [data-roll] .roll__s { transition-delay: calc(1300ms + var(--i) * 70ms) !important; }
}

/* ==========================================================================
   v2.11: removable hero bolts, and the hero's exit as a cut of light
   ========================================================================== */
/* The beam and its four front bolts move as one: the entrance slide and the scroll travel sit on the wrapper. */
.hero__beam { position: relative; z-index: 1; }
.hero__beam .beam--render { position: relative; display: block; width: 100%; height: auto; max-width: none; }
.hero__art .hero__beam .beam--render { animation: none; }
.hero__beam { animation: beam-render-in 1200ms var(--ease) 150ms both; }
.scene.is-live .hero__beam, .scene.is-slide .hero__beam { will-change: transform; }
/* v2.11.1: each bolt is its own render over a dark hole. Frame 0 is an img; once the bolt starts to move, the
   strip of frames (set as the background by site.js) takes over. hero__art ignores the pointer, the bolts take it back. */
.bolt { position: absolute; z-index: 2; display: block; pointer-events: auto; cursor: pointer; touch-action: manipulation;
  background: no-repeat 0 0 / calc(var(--n) * 100%) 100%; }
.bolt { pointer-events: none; }
/* Only the seated bolt takes the pointer (its box from the frame 0 render, padded a little for fingers). */
.bolt::before { content: ""; position: absolute; pointer-events: auto; border-radius: 50%;
  left: calc(var(--hx, 0%) - 6%); top: calc(var(--hy, 0%) - 6%); width: calc(var(--hw, 100%) + 12%); height: calc(var(--hh, 100%) + 12%); }
.bolt img { display: block; width: 100%; height: 100%; }
.bolt.is-moving img { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .hero__beam { animation: none; } .bolt { cursor: default; } }

/* The ring and ticks scale out from the lamp's centre (the beam's axis midpoint in the 120 x 100 stage). */
.hero__ring, .hero__ticks { transform-origin: 55.16% 43.13%; }
.scene.is-live .hero__ticks { will-change: transform, opacity; }

/* The flood: graphite with the planning grid, so it hands straight over to the dark band below. */
.scene.is-live .scene__flood {
  background-image:
    linear-gradient(oklch(1 0 0 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
}
/* Its two long edges: hairlines of the blue light that burn as the cut opens, then fade as it fills the screen. */
.scene__edge { display: none; }
/* v2.18: the cut's edges live on a fixed layer above the next section (site.js moves them there). */
.scene__edges { position: fixed; inset: 0; z-index: 7; pointer-events: none; overflow: hidden; display: none; }
.scene__edges.is-live { display: block; }
.scene__edges .scene__edge {
  display: block; position: absolute; top: 0; left: 0; z-index: 5; pointer-events: none; opacity: 0;
  width: 400vmax; height: 2px; margin: -1px 0 0 -200vmax;
  background: linear-gradient(90deg, transparent 0%, oklch(0.7 0.18 258) 30%, oklch(0.97 0.03 250) 50%, oklch(0.7 0.18 258) 70%, transparent 100%);
  box-shadow: 0 0 10px 1px oklch(0.66 0.2 260 / 0.85), 0 0 40px 6px oklch(0.6 0.2 262 / 0.45);
  will-change: transform, opacity;
}

/* v2.11: more ways to act. A call-to-action line closes the long sections, the statement band carries the
   button, and the header gets a price button beside the phone on wide screens. */
.cta-line { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(48px, 6vw, 88px); padding-top: 28px; border-top: 1px solid var(--line-2); }
.cta-line::before { content: ""; position: absolute; top: -1px; left: 0; width: 6rem; height: 1px; background: var(--sky); box-shadow: 0 0 12px 1px var(--glow); transform-origin: left; transition: transform 1000ms var(--ease) 250ms; }
.rv-on .cta-line.rv:not(.in)::before { transform: scaleX(0); }
.cta-line__text { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); line-height: 0.95; color: var(--ink); max-width: 20ch; text-wrap: balance; }
.cta-line__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.cta-line .btn svg, .statement__actions .btn svg { transition: transform var(--t-micro) var(--ease); }
.cta-line .btn:hover svg, .statement__actions .btn:hover svg { transform: translateX(4px); }
.cta-line--stack { flex-direction: column; align-items: flex-start; justify-content: flex-start; margin-top: 32px; padding-top: 24px; }
.cta-line--stack .cta-line__text { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); }
.statement__actions { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(28px, 4vw, 44px); }
.header-quote { display: none; }
@media (min-width: 1024px) {
  .header-quote { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink); font-weight: 650; text-decoration: none; white-space: nowrap; transition: border-color var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease); }
  .header-quote:hover { border-color: var(--sky); box-shadow: 0 0 18px -4px var(--glow); }
}
@media (prefers-reduced-motion: reduce) { .cta-line::before { transition: none; } .rv-on .cta-line.rv:not(.in)::before { transform: none; } }

/* ==========================================================================
   v2.12: phones move like desktop
   ========================================================================== */
/* The hero scene pins on every screen. A hero taller than the screen pins by its bottom edge (top is set by
   site.js), so all of it is read before the beam comes across. */
.scene.is-live.is-tall .hero { height: auto; min-height: 0; }
/* "How a beam goes in" on phones and tablets: the drawing sticks under the top of the screen and the steps
   scroll up beneath it, lighting each stage in turn, as on desktop. */
@media (max-width: 1023.98px) and (prefers-reduced-motion: no-preference) {
  .process__figure { position: sticky; top: calc(var(--header-h) + 4px); z-index: 2; padding-bottom: 10px; background: var(--graphite); box-shadow: 0 22px 26px -4px var(--graphite), 0 -40px 0 var(--graphite); }
  .process__figure .drawing__frame { background: linear-gradient(180deg, var(--graphite-2), var(--graphite)); }
  .steps { padding-bottom: 30vh; }
  .step { opacity: 0.38; }
  .step.is-current { opacity: 1; }
  .no-js .step { opacity: 1; }
}

/* v2.12: the width tool's figure is a Blender render (one frame per quarter metre), with the white dimension line
   and scale figure over it. The render fills the frame edge to edge; the planning grid frame stays round it. */
.span__frame { padding: 0; overflow: hidden; }
.span__stage { position: relative; width: 100%; background: oklch(0.1 0.012 262); }
.span__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.span__over { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.span__over .sp-dim text { font-size: 34px; paint-order: stroke; stroke: oklch(0.1 0.012 262 / 0.55); stroke-width: 6px; }
.span__over .sp-figure { fill: oklch(0.12 0.012 262 / 0.55); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.span__over .sp-dim path { stroke-width: 1.6; }
/* When the section arrives, the light comes on behind the wall. */
@media (prefers-reduced-motion: no-preference) {
  .rv-on .span__figure.rv .span__img { transition: filter 1400ms var(--ease) 300ms; }
  .rv-on .span__figure.rv:not(.in) .span__img { filter: brightness(0.25) saturate(0.4); }
}

/* v2.12: photo spots. A frame on the planning grid that waits for a real photo; once one is set it fills the frame. */
.photos { display: grid; gap: 10px; margin-top: clamp(28px, 4vw, 48px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .photos { gap: 16px; } }
@media (min-width: 1024px) { .photos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .photos--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.spot { margin: 0; }
.spot__frame { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius);
  background:
    linear-gradient(oklch(1 0 0 / 0.04) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, oklch(1 0 0 / 0.04) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(90% 80% at 50% 70%, oklch(0.18 0.03 262), oklch(0.12 0.012 262)); }
.spot__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spot figcaption { margin-top: 10px; color: var(--ink-3); }
.notes__photo .spot { height: 100%; }
/* As each frame arrives, a line of the blue light passes down it once. */
.spot--empty .spot__frame::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--sky); box-shadow: 0 0 14px 2px var(--glow); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes spot-scan { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 0.8; } 100% { top: 100%; opacity: 0; } }
  .rv-on .spot.rv.in .spot__frame::before { animation: spot-scan 1600ms var(--ease) calc(var(--d, 0ms) + 300ms) both; }
}

/* ==========================================================================
   v2.13: smooth scrolling. Every effect stays, built so the graphics card does the work (Aaron: "all feels laggy").
   ========================================================================== */
/* No live blur behind fixed bars and panels (it was redone on every scroll frame); near-solid panels instead. */
.site-header.is-solid, .site-header.is-solid[data-theme="dark"] { background: oklch(0.125 0.01 262 / 0.96); -webkit-backdrop-filter: none; backdrop-filter: none; }
.sticky-bar { background: oklch(0.125 0.01 262 / 0.97); -webkit-backdrop-filter: none; backdrop-filter: none; }
.form { background: oklch(0.13 0.012 262 / 0.97); -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (min-width: 1024px) { .titleblock { background: oklch(0.13 0.01 262 / 0.86); -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* The tick ring turns as a whole layer (the rotate property), not by repainting the drawing inside it. */
.hero__ticks g { animation: none !important; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes ticks-spin { to { rotate: 360deg; } }
  .hero__ticks { animation: ticks-in 1400ms var(--ease) 900ms backwards, ticks-spin 120s linear 900ms infinite; will-change: rotate; }
}
/* The flood: a band moved, turned and stretched by transform; graphite and grid come in by opacity. */
.scene.is-live .scene__flood { background: none; clip-path: none; overflow: hidden; }
.flood__band { position: absolute; left: 0; top: 0; width: 400vmax; height: 400vmax; margin: -200vmax 0 0 -200vmax; background: var(--ox-side-a); visibility: hidden; will-change: transform; }
.flood__dark { position: absolute; inset: 0; background: var(--graphite); opacity: 0; will-change: opacity; }
.flood__grid { position: absolute; inset: 0; opacity: 0; will-change: opacity; background:
  linear-gradient(oklch(1 0 0 / 0.045) 1px, transparent 1px) center / 64px 64px,
  linear-gradient(90deg, oklch(1 0 0 / 0.045) 1px, transparent 1px) center / 64px 64px, var(--graphite); }
/* Big moving pictures get their own layer. */
.statement__img img { will-change: transform; }

/* v2.13.2: the hero's two live blurs are baked into images (blender/bake-glow.py). The live versions were blurred
   again on every frame as the ring scaled and the beam moved, which made the hero stutter on big screens. */
.hero__ring { filter: none; }
.hero__stage .beam--render { filter: none; }
.hero__ring-glow { position: absolute; left: -25%; top: -30%; width: 150%; height: 160%; max-width: none; z-index: 0; pointer-events: none; opacity: 0.92; transform-origin: 53.44% 45.71%; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes lamp-on-o { 0% { opacity: 0; } 8% { opacity: 0.5; } 12% { opacity: 0.07; } 22% { opacity: 0.78; } 27% { opacity: 0.23; } 40%, 100% { opacity: 0.92; } }
  .hero__ring-glow { animation: lamp-on-o 1500ms linear 250ms backwards; }
}
.scene.is-live .hero__ring-glow { will-change: transform, opacity; }

/* v2.13.3: content blocks appear in place instead of fading and rising (Aaron: "still laggy throughout").
   Measured in Aaron's Chrome at 2560 wide: each block that faded in got its own layer and was drawn mid-scroll,
   so a first scroll down the page ran at about 14 ms a frame. With blocks in place it runs at about 10 ms.
   The headings still rise word by word, the section tags and hairlines still draw, the numbers still roll,
   and the footer still builds itself. */
.rv-on .rv:not(.rv-h, .tag, [data-roll], .footer-word, .footer-scale, .footer-mark) { opacity: 1; transform: none; transition: none; }

/* ==========================================================================
   v2.13.4: every animation is a move or a fade the graphics card can run on its own. Same look; nothing in
   here asks the browser to repaint or re-lay out the page on every frame (Aaron: "could be smoother").
   ========================================================================== */
/* Service names: the glow is a soft light behind the name that fades up and away (was an animated text shadow). */
.srow__name { position: relative; isolation: isolate; }
.srow__name::before { content: ""; position: absolute; inset: -40% -14%; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, oklch(0.6 0.2 262 / 0.5), transparent); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes name-glow { 0%, 100% { opacity: 0; } 40% { opacity: 1; } }
  .srow.rv.in .srow__name { animation: none; }
  .srow.rv.in .srow__name::before { animation: name-glow 1400ms ease calc(var(--d, 0ms) + 500ms) both; }
}
/* Scan lines: a full-height layer slid down by transform (was the line's top edge moving, a layout every frame). */
.spot--empty .spot__frame::before { top: 0; height: 100%; box-shadow: none; transform: translateY(-2px);
  background: linear-gradient(var(--sky), var(--sky)) top / 100% 1px no-repeat, linear-gradient(oklch(0.62 0.19 260 / 0.35), transparent) top / 100% 16px no-repeat; }
.hero__scan { height: 100%; box-shadow: none; transform: translateY(-2px);
  background: linear-gradient(90deg, transparent, oklch(0.85 0.12 254 / 0.9) 30%, oklch(0.85 0.12 254 / 0.9) 70%, transparent) top / 100% 1px no-repeat,
    linear-gradient(oklch(0.62 0.19 260 / 0.4), transparent) top / 100% 18px no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes scan-move { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
  .rv-on .spot.rv.in .spot__frame::before { animation: scan-move 1600ms var(--ease) calc(var(--d, 0ms) + 300ms) both; }
  .hero__scan { animation: scan-move 2600ms cubic-bezier(0.45, 0, 0.3, 1) 250ms both; }
}
/* Corner brackets fade on (was their length growing, a repaint of the whole frame every frame). */
.rv-on .frame-marks.rv::after { --l: 18px; opacity: 0; transition: opacity 800ms var(--ease) 300ms; }
.rv-on .frame-marks.rv.in::after { opacity: 1; }
/* The footer wordmark's light passes once on arrival (it repainted the giant word every ten seconds). */
.footer-word.in { animation-iteration-count: 1; }
/* The width tool's number: a soft light behind it (a 40 px text shadow was re-blurred every time the number moved). */
.span__value { text-shadow: none; position: relative; isolation: isolate; }
.span__value::before { content: ""; position: absolute; left: -12%; top: -25%; width: 80%; height: 150%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, oklch(0.6 0.2 262 / 0.32), transparent); }
.span__num { text-shadow: none; }
/* Each section draws within itself, so a repaint inside one never spreads to the rest of the page. */
main > section:not(.page-head), .site-footer { contain: layout paint; }

/* v2.14: smooth scrolling with Lenis (assets/js/vendor/lenis.min.js, MIT). Its own base rules. */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* v2.14.1: no empty screen after the hero (Aaron: "too much of a gap between the hero and this section"). Once the
   cut of light has filled the screen the next section rises over the pinned hero, and its own top padding is smaller. */
.scene.is-live + .scene__hold > .statement { margin-top: calc(-1 * var(--overlap, 0px)); position: relative; z-index: 6; padding-top: clamp(32px, 4vw, 4rem); }
/* A short fade at the top of the picture (it was 22% of the section), so the steel shows as the section rises. */
.scene.is-live + .scene__hold > .statement .statement__img::after { background: linear-gradient(90deg, oklch(0.125 0.01 262 / 0.82) 0%, oklch(0.125 0.01 262 / 0.3) 50%, oklch(0.125 0.01 262 / 0) 100%), linear-gradient(0deg, var(--graphite) 0%, transparent 22%, transparent 94%, var(--graphite) 100%); }

/* v2.15: the section after the hero comes in at once (Aaron: "needs to come in instantly"): it starts rising within
   the first few scrolls, and its sentence is fully lit on arrival instead of lighting word by word. */
.scene.is-live + .scene__hold > .statement .statement__text .wd { animation: none; opacity: 1; }

/* ==========================================================================
   v2.15: "Where the steel goes". A house in white structural linework, its steel lit in blue (blender/structure.py).
   Replaces the width tool. All state changes are opacity, so nothing repaints.
   ========================================================================== */
.structure__grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "fig" "list" "act"; }
.structure__head { grid-area: head; }
.structure__figure { grid-area: fig; margin: 0 calc(-0.5 * var(--gutter)); }
.structure__list { grid-area: list; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.structure__actions { grid-area: act; margin-top: 4px; }
.structure__stage { position: relative; width: 100%; }
.structure__base { display: block; width: 100%; height: 100%; }
.structure__steel { position: absolute; height: auto; max-width: none; pointer-events: none; transition: opacity 320ms var(--ease); }
.structure__figure figcaption { margin: 10px calc(0.5 * var(--gutter)) 0; color: var(--ink-3); }
/* Numbered markers on the steel. */
.structure__mark { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: opacity 320ms var(--ease); }
.structure__mark span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 0.75rem; font-weight: 650; background: oklch(0.13 0.012 262 / 0.9); box-shadow: 0 0 0 1px oklch(1 0 0 / 0.75); transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.structure__mark.is-active span, .structure__mark:focus-visible span { background: var(--sky); color: var(--graphite); box-shadow: 0 0 0 1px var(--sky); }
/* The list: one row per piece of steel. */
.steel-item { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 4px 12px; align-items: baseline; width: 100%; min-height: 44px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line-2); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; position: relative; }
.steel-item::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--sky); transform: scaleX(0); transform-origin: 0 50%; transition: transform 420ms var(--ease); }
.steel-item.is-active::after, .steel-item:focus-visible::after { transform: none; }
.steel-item__n { color: var(--ink-4); transition: color 200ms var(--ease); }
.steel-item.is-active .steel-item__n { color: var(--sky); }
.steel-item__body { display: grid; gap: 4px; }
.steel-item__name { font-family: var(--f-display); font-weight: 750; text-transform: uppercase; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1; color: var(--ink); }
.steel-item__text { color: var(--ink-3); font-size: var(--s--1); max-width: 44ch; }
/* One chosen: it stays lit, the rest dim. */
.structure.has-active .structure__steel:not(.is-active) { opacity: 0.16; }
.structure.has-active .structure__mark:not(.is-active) { opacity: 0.35; }
.structure.has-active .steel-item:not(.is-active) .steel-item__name { color: var(--ink-3); }
/* On arrival the steel lights up one element after another. */
@media (prefers-reduced-motion: no-preference) {
  .rv-on .structure:not(.is-lit) .structure__steel, .rv-on .structure:not(.is-lit) .structure__mark { opacity: 0; }
  .rv-on .structure.is-lit:not(.has-active) .structure__steel { transition: opacity 700ms var(--ease) calc(var(--i) * 220ms + 200ms); }
  .rv-on .structure.is-lit:not(.has-active) .structure__mark { transition: opacity 500ms var(--ease) calc(var(--i) * 220ms + 500ms); }
}
@media (min-width: 640px) { .structure__figure { margin: 0; } .structure__figure figcaption { margin: 10px 0 0; } }
@media (min-width: 1024px) {
  .structure__grid { grid-template-columns: 5fr 8fr; column-gap: clamp(32px, 4vw, 5rem); row-gap: 24px; grid-template-areas: "head fig" "list fig" "act fig"; align-items: start; }
  .structure__figure { align-self: center; grid-row: 1 / 4; }
  .steel-item { padding: 12px 0; }
}

/* v2.16: the cut of light is colour-matched (Aaron: "could do with some work, colour matching"). The band used to be
   a flat navy-purple that matched nothing and met the next section with a hard edge. Its inside is now the same
   graphite as the section that rises through it, and the site's own blue (hue 260, as the ring and the buttons)
   glows in from its two edges, so the light reads as light and the two surfaces are one colour where they meet. */
.flood__band { background:
  linear-gradient(to bottom, oklch(0.56 0.2 260) 0%, oklch(0.4 0.17 261 / 0.85) 4%, oklch(0.26 0.1 262 / 0.5) 14%, transparent 36%, transparent 64%, oklch(0.26 0.1 262 / 0.5) 86%, oklch(0.4 0.17 261 / 0.85) 96%, oklch(0.56 0.2 260) 100%),
  var(--graphite); }

/* v2.16: the house is a realistic render, one full frame per state, cross-faded (opacity only). The edges of the
   picture fade into the page, so the model sits on the section instead of in a box. */
.structure__stage { overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 74% 80% at 50% 52%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 74% 80% at 50% 52%, #000 58%, transparent 100%); }
.structure__base { object-fit: cover; }
.structure__off, .structure .structure__steel { position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.structure .structure__steel, .rv-on .structure.is-lit:not(.has-active) .structure__steel { transition: opacity 380ms var(--ease); }
.structure.has-active .structure__steel:not(.is-active) { opacity: 0; }
.structure .structure__steel.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .rv-on .structure .structure__off { transition: opacity 1600ms var(--ease) 250ms; }
  .rv-on .structure:not(.is-lit) .structure__off { opacity: 1; transition: none; }
}
@media (max-width: 639.98px) { .structure__figure { margin: 0 calc(-1 * var(--gutter)); } .structure__figure figcaption { margin: 4px var(--gutter) 0; } }
/* v2.16.1: the fade reaches the picture's edges, so no box shows against the page. */
.structure__stage { -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 51%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 50% 52% at 50% 51%, #000 70%, transparent 100%); }

/* ==========================================================================
   v2.17: the girders come in under their spotlights (Aaron: "animating these girders coming in"; "the same amount
   of spot lights as rows and have them turn on one at a time"; "doesn't merge into hero ... they need to").
   The stack picture is a 2:1 box anchored at the top of the band (so the lamps are always in view) that covers
   it the way object-fit: cover did. site.js drives it from the scroll: the shed starts pitch dark, the same
   graphite as the end of the hero; each row drops in and, as it lands, its lamp switches on.
   ========================================================================== */
.statement__img { container-type: size; background: var(--graphite); }
.statement__pic { position: absolute; left: 50%; top: 0; width: max(100cqw, 200cqh); aspect-ratio: 2 / 1; translate: -50% 0; transform-origin: 50% 0; }
/* Phones: the band is too tall and narrow to show the lamps and the stack at cover size, so the picture is sized by
   width instead (x 28% to 80% of the render: most of the lamps and the whole stack), sits at the top of the band,
   fades into the page at the bottom, and the words start below it. */
@media (max-width: 639.98px) {
  .statement__pic { width: 192cqw; translate: -54.6% 0; -webkit-mask-image: linear-gradient(#000 72%, transparent 98%); mask-image: linear-gradient(#000 72%, transparent 98%); }
  .statement__img::after { background: linear-gradient(0deg, var(--graphite) 0%, transparent 30%); }
}
.statement__img .statement__stage, .statement__img .statement__final { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.statement__img .statement__stage:not(.statement__final) { opacity: 0; }
.statement__img .statement__row { position: absolute; height: auto; max-width: none; object-fit: fill; opacity: 0; }
.statement__img img { animation: none; will-change: auto; }
/* Driven by site.js (class is-driven): rows and lamps follow the scroll; nothing shows until its row arrives. */
.statement.is-driven .statement__final { opacity: 0; }
.statement.is-driven .statement__row, .statement.is-driven .statement__stage { will-change: transform, opacity; }
/* After the hero, the band's top edge is feathered into the hero's light, and the words sit below the feather. */
.scene.is-live + .scene__hold > .statement { padding-top: clamp(100px, 18vh, 12rem); will-change: transform, clip-path; }

/* ==========================================================================
   v2.18: the side menu (Aaron: "a really cool side menu with steels in it ... coming from the burger menu").
   One menu at every size: the row of links in the header is gone and the burger opens a panel from the right.
   The links are big type, like the page headings. Dropped on the way: links drawn on slabs of steel ("doesn't
   look good"), and a steel render in the panel ("neither, just keep side menu").
   ========================================================================== */
.js .nav { display: none; }
.js .menu-toggle { display: inline-flex; }
@media (min-width: 1024px) { .no-js .menu-toggle { display: none; } }
.side-menu { position: fixed; inset: 0; z-index: 70; color: var(--ink); }
.side-menu[hidden] { display: none; }
.side-menu__scrim { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: oklch(0.08 0.01 262 / 0.78); opacity: 0; transition: opacity 420ms var(--ease); cursor: pointer; }
.side-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 35rem); display: flex; flex-direction: column; padding: 14px clamp(20px, 3vw, 40px) calc(22px + env(safe-area-inset-bottom)); overflow: hidden auto; overscroll-behavior: contain; isolation: isolate;
  background: var(--graphite); box-shadow: -1px 0 0 var(--line-2), -40px 0 80px -20px oklch(0.05 0.01 262 / 0.8);
  transform: translateX(102%); transition: transform 480ms cubic-bezier(0.2, 0.9, 0.25, 1); }
.side-menu__panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--sky) 30%, var(--sky) 70%, transparent); box-shadow: 0 0 16px 1px var(--glow); pointer-events: none; }
.side-menu.is-open .side-menu__scrim { opacity: 1; }
.side-menu.is-open .side-menu__panel { transform: none; }
.side-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; margin-bottom: 6px; }
.side-menu__top .tag { margin: 0; flex: 1; }
.side-menu__close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 0 0 12px; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; }
.side-menu__close svg { width: 20px; height: 20px; }
.side-menu__links, .side-menu__services { list-style: none; margin: 0; padding: 0; }
/* The main links: big condensed capitals on hairlines, numbered like a drawing register. */
.side-menu__links li { overflow: hidden; border-bottom: 1px solid var(--line-2); }
.menu-link { position: relative; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; align-items: baseline; gap: 6px; padding: 12px 0 10px; text-decoration: none; color: var(--ink); }
.menu-link__n { color: var(--sky); font-size: 0.8125rem; }
.menu-link__name { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.7rem, 2rem + 3.2vw, 4.4rem); line-height: 0.92; transition: color 200ms var(--ease), transform 300ms var(--ease); }
.menu-link__go { align-self: center; color: var(--sky); opacity: 0; transform: translateX(-10px); transition: opacity 250ms var(--ease), transform 250ms var(--ease); }
.menu-link__go svg { width: 28px; height: 28px; display: block; }
.menu-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sky); box-shadow: 0 0 14px var(--glow); transform: scaleX(0); transform-origin: 0 50%; transition: transform 420ms var(--ease); }
@media (hover: hover) {
  .menu-link:hover .menu-link__name { color: var(--sky-on-dark); transform: translateX(8px); }
  .menu-link:hover .menu-link__go { opacity: 1; transform: none; }
  .menu-link:hover::after { transform: none; }
}
.menu-link:focus-visible { outline: 2px solid var(--sky); outline-offset: -2px; }
.menu-link:focus-visible::after { transform: none; }
/* The services: a plain two-column list, each with the steel it is drawn with. */
.side-menu__services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 14px; }
.side-menu__services a { display: grid; gap: 2px; padding: 8px 0; min-height: 44px; text-decoration: none; color: var(--ink-2); font-size: var(--s--1); font-weight: 550; line-height: 1.25; transition: color 200ms var(--ease); }
.side-menu__services small { font-family: var(--f-mono); font-size: 0.6875rem; font-weight: 400; color: var(--ink-4); }
@media (hover: hover) { .side-menu__services a:hover { color: var(--sky-on-dark); } }
.side-menu__foot { display: grid; gap: 12px; margin-top: auto; padding-top: 28px; }
/* On opening, each link rises into place, one after another. */
@media (prefers-reduced-motion: no-preference) {
  .side-menu__links .menu-link { transform: translateY(104%); transition: transform 300ms var(--ease); }
  .side-menu.is-open .side-menu__links .menu-link { transform: none; transition: transform 760ms cubic-bezier(0.2, 0.9, 0.25, 1) calc(var(--i) * 80ms + 180ms); }
  .side-menu__services li, .side-menu__foot { opacity: 0; transform: translateY(14px); transition: opacity 250ms var(--ease), transform 250ms var(--ease); }
  .side-menu.is-open :is(.side-menu__services li, .side-menu__foot) { opacity: 1; transform: none; transition: opacity 500ms var(--ease) calc(var(--i, 8) * 60ms + 300ms), transform 600ms var(--ease) calc(var(--i, 8) * 60ms + 300ms); }
}
@media (prefers-reduced-motion: reduce) { .side-menu__panel, .side-menu__scrim { transition: none; } }
/* Phones: the words start below the picture (it is 96vw tall at this size). After the hero rule above, so it wins. */
@media (max-width: 639.98px) { .statement, .scene.is-live + .scene__hold > .statement { padding-top: 86vw; } }

/* v2.17.3: the side menu spaced out (Aaron: "space out side menu"). The three links share the panel's height
   instead of bunching at the top, with more room round the names, the services and the price button. */
.side-menu__panel { padding-top: clamp(20px, 3.5vh, 40px); padding-bottom: calc(clamp(24px, 4vh, 44px) + env(safe-area-inset-bottom)); }
.side-menu__top { margin-bottom: clamp(16px, 4vh, 48px); }
.side-menu__panel > nav { display: flex; flex-direction: column; flex: 1 1 auto; }
.side-menu__links { display: flex; flex-direction: column; flex: 0 1 auto; border-top: 1px solid var(--line-2); }
.menu-link { padding: clamp(14px, 3.2vh, 34px) 0 clamp(12px, 2.8vh, 30px); }
.menu-link__n { align-self: center; }
.side-menu__services { gap: clamp(6px, 1.6vh, 18px) 28px; margin-top: clamp(24px, 6vh, 64px); }
.side-menu__services a { gap: 4px; }
.side-menu__foot { gap: 18px; padding-top: clamp(28px, 5vh, 56px); }

/* ==========================================================================
   v2.17.4: the footer filled out (Aaron: "fill out this a bit more"). A price line across the top, then the
   firm, its services, contact and pages, and the five stages of the method as a numbered strip.
   ========================================================================== */
.footer-cta { display: grid; gap: 14px 40px; align-items: end; padding-bottom: clamp(40px, 6vw, 72px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--dark-line); position: relative; }
.footer-cta::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 6rem; height: 1px; background: var(--sky); box-shadow: 0 0 12px 1px var(--glow); }
.footer-cta { background-image: none; }
.footer-cta .footer-cta__title { font-size: clamp(2.6rem, 1.8rem + 3.4vw, 5rem); line-height: 0.9; color: var(--ink); max-width: none; }
.footer-cta__text { color: var(--on-dark-2); max-width: 38ch; }
.footer-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
@media (min-width: 1024px) {
  .footer-cta { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title actions" "text actions"; }
  .footer-cta__title { grid-area: title; } .footer-cta__text { grid-area: text; } .footer-cta__actions { grid-area: actions; align-self: center; }
}
.footer-brand__line { font-family: var(--f-display); font-weight: 750; text-transform: uppercase; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); line-height: 1; color: var(--ink); max-width: 16ch; margin: 4px 0 14px; }
.footer-services { gap: 12px !important; }
.footer-services a { display: grid; gap: 3px; }
.footer-services small { font-size: 0.75rem; color: var(--on-dark-3); }
.footer-grid__sub { margin-top: 28px; }
.footer-grid .menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
@media (min-width: 640px) and (max-width: 1023.98px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .footer-grid > :nth-child(1) { grid-column: 1 / 5; }
  .footer-grid > :nth-child(2) { grid-column: 6 / 10; }
  .footer-grid > :nth-child(3) { grid-column: 10 / 13; }
}
/* The method as a numbered strip, like a drawing's title block. */
.footer-steps { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--dark-line); }
.footer-steps li { display: grid; gap: 6px; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--dark-line); color: var(--on-dark); font-size: var(--s--1); font-weight: 550; line-height: 1.25; }
.footer-steps span { color: var(--sky); font-size: 0.75rem; }
@media (min-width: 1024px) { .footer-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } .footer-steps li { padding: 18px 20px 18px 0; border-bottom: 0; border-right: 1px solid var(--dark-line); } .footer-steps li + li { padding-left: 20px; } .footer-steps li:last-child { border-right: 0; } }
.footer-top { text-decoration: none; }

/* ==========================================================================
   v2.18.1: fixes from the UI and conversion audit (AUDIT-2026-11-21.md), and the all-sizes pass.
   ========================================================================== */
/* The phone icon in "If it's urgent, call" had no size, so it drew at 300 to 470 px in the success message. */
.form__success svg, .text-link svg, .form svg:not(.btn svg) { width: 18px; height: 18px; flex: none; }
.form__success h3 { text-wrap: balance; }
/* The proof line under inner page headings. */
.page-head__proof { margin-top: 16px; max-width: 52ch; }
.page-head__proof + .lede { margin-top: 18px; }
/* About: the company number ran off a phone's screen. */
@media (max-width: 639.98px) { .fact__n { font-size: clamp(1.9rem, 9.4vw, 2.6rem); } .fact:has(a[href*="company-information"]) { grid-column: 1 / -1; } }
/* The menu button stays a full 44 px target when its label is hidden on narrow phones. */
.menu-toggle { min-width: 44px; justify-content: center; }

/* v2.18.2: all-sizes pass (8 pages at 13 sizes, 320 to 2560 wide).
   Header call: the icon box no longer shrinks to nothing on narrow phones; under 360 px it is an icon-only button
   (the label stays for screen readers, and the hero shows the number in full). */
.header-call > svg { flex: none; }
@media (max-width: 359.98px) {
  .header-call > span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Narrow phones: a smaller beam set further right, so its end sits beside the heading, not under it. */
@media (max-width: 379.98px) { .hero__art .beam { height: 262px; top: 22px; right: -34px; } }
@media (max-width: 339.98px) { .hero__art .beam { height: 232px; top: 30px; right: -82px; } }
/* Short laptop screens: the section caption under the hero beam ran into the facts strip. It is decoration, so it goes. */
@media (min-width: 1024px) and (max-height: 859.98px) { .hero__spec { display: none; } }
/* 1024 to 1280 wide: inner page intros wrap before the steel picture instead of running over it. */
@media (min-width: 1024px) { .page-head :is(.lede, .page-head__proof) { max-width: min(46ch, calc(50vw - var(--gutter) - 32px)); } }
/* Touch screens: the footer's contact and page links were 22 px tall. Each now gets a 44 px row. The Companies House
   number and the van caption link keep their line but take a taller touch area. */
@media (pointer: coarse) {
  .footer-grid ul:not(.footer-services) { gap: 0; }
  .footer-grid ul:not(.footer-services) a { display: inline-flex; align-items: center; min-height: 44px; }
  .titleblock a, .fig a { padding-block: 10px; }
}
@media (pointer: coarse) { footer p a { padding-block: 13px; } }
/* Phones and tablets: the footer's last line (Back to top, the credit) sat under the sticky call bar at the very
   bottom of the page. The footer now ends with room for the bar. */
@media (max-width: 1023.98px) { footer.site-footer { padding-bottom: calc(24px + 64px + env(safe-area-inset-bottom)); } }
/* 640 px and up: the line of service names under the girder statement ran into the left end of the stack.
   It now wraps within the left third, clear of the steel. */
@media (min-width: 640px) { .statement__foot { max-width: min(52rem, calc(35vw - var(--gutter) - max(0px, (100vw - var(--max)) / 2))); } }
/* Short screens (laptops at 768 high, small phones): the side menu ran 5 to 21 px past the screen and the phone
   number sat on the bottom edge. The big links and the gap above the services close up a little. */
@media (max-height: 819.98px) {
  .menu-link { padding: clamp(10px, 2.2vh, 20px) 0 clamp(8px, 1.8vh, 18px); }
  .side-menu__services { margin-top: clamp(14px, 3.5vh, 40px); }
  .side-menu__foot { padding-top: clamp(18px, 3.5vh, 40px); }
}

/* ==========================================================================
   v2.18.4: smoother on phones (Aaron: "animating on phone is a bit laggy").
   On a phone the finger scroll runs ahead of the script. The band after the hero was held at the top of the screen
   by a transform the script rewrote on every scroll, so it shook inside the cut of light. It now sticks by CSS,
   inside a wrapper (added by site.js) that starts where the pinned run starts and is a run longer than the band.
   ========================================================================== */
.scene.is-live + .scene__hold { margin-top: calc(-1 * var(--overlap, 0px)); }
/* The room it sticks in is a spacer after it (a sticky box only moves within its parent's content, not its padding). */
.scene.is-live + .scene__hold::after { content: ""; display: block; height: var(--hold, 0px); }
.scene.is-live + .scene__hold > .statement { position: sticky; top: 0; margin-top: 0; contain: layout paint; }
/* Touch screens scroll natively (no Lenis there), so in-page links glide with the browser's own smooth scroll. */
@media (hover: none) and (pointer: coarse) and (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* The hero's title block sits over plain dark on phones, so its blur showed nothing, but it was worked out again on
   every frame as the tick ring turned behind it. Desktop already has none. */
.titleblock { -webkit-backdrop-filter: none; backdrop-filter: none; }
/* The flood band is a 64 px strip, stretched across the cut by site.js (was 400vmax square and squashed flat). */
.flood__band { height: 64px; margin: -32px 0 0 -200vmax; }

/* ==========================================================================
   v2.18.5: the side menu on phones (Aaron: "check the menu animation on phone too").
   On a touch screen the menu's moving parts keep their own layers while it is open, so a slide finishing never
   sends the phone back to repaint the panel under it. Desktop is left as it was (text drawn on the page layer).
   ========================================================================== */
@media (hover: none) and (pointer: coarse) {
  .side-menu:not([hidden]) .side-menu__panel { will-change: transform; }
  .side-menu:not([hidden]) .side-menu__scrim { will-change: opacity; }
}
@media (hover: none) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .side-menu:not([hidden]) .side-menu__links .menu-link { will-change: transform; }
  .side-menu:not([hidden]) :is(.side-menu__services li, .side-menu__foot) { will-change: transform, opacity; }
}

/* ==========================================================================
   v2.18.6: iPhone (Aaron: "still feels laggy" when scrolling). Measured in WebKit, Safari's engine, at iPhone size.
   Phones: the girder picture fades into the band with a graphite gradient over its foot instead of a mask. Over the
   band's own graphite it is the same picture, but a mask on a box of moving layers made Safari draw the whole stack
   again off-screen on every frame while the girders came in (inside the cut's own mask, during the hero run).
   ========================================================================== */
@media (max-width: 639.98px) {
  .statement__pic { -webkit-mask-image: none; mask-image: none; }
  .statement__img::after { background:
    linear-gradient(transparent calc(96cqw * 0.72), var(--graphite) calc(96cqw * 0.98)),
    linear-gradient(0deg, var(--graphite) 0%, transparent 30%); }
  .scene.is-live + .scene__hold > .statement .statement__img::after { background:
    linear-gradient(transparent calc(96cqw * 0.72), var(--graphite) calc(96cqw * 0.98)),
    linear-gradient(90deg, oklch(0.125 0.01 262 / 0.82) 0%, oklch(0.125 0.01 262 / 0.3) 50%, oklch(0.125 0.01 262 / 0) 100%),
    linear-gradient(0deg, var(--graphite) 0%, transparent 22%, transparent 94%, var(--graphite) 100%); }
}

/* v2.22: under the homepage services, where we are and the links to the town pages (Charlie's page map). */
.svc-areas { display: flex; gap: 10px; align-items: flex-start; margin-top: clamp(24px, 3vw, 36px); color: var(--ink-3); max-width: 72ch; }
.svc-areas svg { width: 20px; height: 20px; flex: none; color: var(--oxide); margin-top: 2px; }
.svc-areas a { color: var(--on-dark, inherit); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.svc-areas a:hover { text-decoration-thickness: 2px; }

/* v2.22: Projects page, one finished job per frame with a link to its service page. */
.job__cap { display: grid; gap: 4px; margin-top: 12px; color: var(--ink-3); }
.job__cap strong { color: inherit; font-weight: 600; }
.job__cap a { display: inline-flex; gap: 6px; align-items: center; text-decoration: underline; text-underline-offset: 0.18em; }
.job__cap a svg { width: 16px; height: 16px; flex: none; }
