/* =========================================================================
   Galvacoat Industries — site stylesheet
   One file, no @import. Dark, engineered, spec-first.

   RULE: no declaration in this file may hide content (no opacity:0,
   no visibility:hidden, no off-screen transform on real content).
   Animation from-states are applied by motion.js only after it confirms
   it can also remove them. Without JS the page renders as authored.
   ========================================================================= */

/* Self-hosted fonts (latin subset, woff2). Same-origin, so no extra DNS/TLS
   round-trips; the two above-the-fold faces are preloaded in <head>. */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("/assets/fonts/barlow-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("/assets/fonts/barlow-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("/assets/fonts/barlow-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* surfaces */
  --bg:             #050b1a;
  --surface-1:      #0b1428;
  --surface-2:      #111a30;
  --surface-3:      #18223b;
  --surface-4:      #1f2b48;
  --surface-sunken: #030711;
  --surface-glass:  rgba(5, 11, 26, 0.82);

  /* steel ramp — chrome, rules, labels. never a page background */
  --steel-100: #e2e8f0;
  --steel-300: #b6c2d4;
  --steel-400: #8fa0b8;
  --steel-500: #6b7c96;   /* non-text only */
  --steel-600: #4e5e76;
  --steel-700: #39465c;
  --steel-800: #273244;

  /* brand */
  --primary:        #38bdf8;
  --primary-strong: #0ea5e9;
  --primary-deep:   #0369a1;   /* fills/strokes only — 3.31:1, fails text */
  --primary-soft:   rgba(56, 189, 248, 0.16);
  --primary-wash:   rgba(56, 189, 248, 0.08);
  --accent:         #facc15;
  --accent-strong:  #eab308;
  --accent-soft:    rgba(250, 204, 21, 0.16);
  --accent-wash:    rgba(250, 204, 21, 0.07);

  /* text — every pair verified >= 4.5:1 on --bg */
  --text:       #f1f5f9;   /* 17.93:1 */
  --text-soft:  #cbd5e1;   /* 13.23:1 */
  --text-muted: #94a3b8;   /*  7.66:1 */
  --text-faint: #8b99b0;   /*  6.81:1 */
  --text-ink:   #03101f;   /* on --primary 8.93:1, on --accent 12.49:1 */

  /* state */
  --success:        #22c55e;
  --success-text:   #86efac;
  --success-fill:   rgba(34, 197, 94, 0.14);
  --success-border: rgba(34, 197, 94, 0.45);
  --warning-text:   #fcd34d;
  --warning-fill:   rgba(245, 158, 11, 0.14);
  --warning-border: rgba(245, 158, 11, 0.45);
  --danger:         #ef4444;   /* fill only */
  --danger-text:    #fca5a5;
  --danger-fill:    rgba(239, 68, 68, 0.14);
  --danger-border:  rgba(239, 68, 68, 0.50);

  /* borders */
  --border:         rgba(148, 163, 184, 0.16);
  --border-strong:  rgba(148, 163, 184, 0.28);
  --border-control: #64748b;   /* 3.85:1 — passes WCAG 1.4.11 */
  --border-glow:    rgba(56, 189, 248, 0.55);
  --border-accent:  rgba(250, 204, 21, 0.45);
  --hairline:       rgba(148, 163, 184, 0.10);
  --hairline-major: rgba(148, 163, 184, 0.22);

  /* spacing — 4px base */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;    --sp-7: 2.5rem;  --sp-8: 3rem;
  --sp-9: 4rem;     --sp-10: 5rem;   --sp-11: 6.5rem; --sp-12: 8rem;

  /* layout */
  --container:       1200px;
  --container-wide:  1440px;
  --container-prose: 68ch;
  --gutter:    clamp(1rem, 4vw, 2rem);
  --header-h:  68px;
  --section-y: clamp(3.25rem, 7vw, 6.5rem);

  /* controls */
  --ctl-sm: 36px;
  --ctl-md: 44px;
  --ctl-lg: 52px;

  /* radius — tight. the single biggest engineered-vs-SaaS lever */
  --r-xs: 2px; --r-sm: 4px; --r-md: 6px; --r-lg: 10px; --r-xl: 14px;
  --r-pill: 999px;   /* status dots and the WhatsApp FAB only */

  /* elevation — surface delta + lit top edge, not big drop shadows */
  --edge-top:   inset 0 1px 0 rgba(226, 232, 240, 0.055);
  --edge-inset: inset 0 1px 2px rgba(3, 7, 17, 0.55);
  --shadow-1: 0 1px 2px rgba(2, 6, 23, 0.6);
  --shadow-2: 0 8px 24px -6px rgba(2, 6, 23, 0.72);
  --shadow-3: 0 24px 64px -12px rgba(2, 6, 23, 0.85);
  --elev-1: var(--edge-top);
  --elev-2: var(--edge-top), var(--shadow-1);
  --elev-3: var(--edge-top), var(--shadow-2);
  --elev-4: var(--edge-top), var(--shadow-3);

  /* focus */
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px #38bdf8;

  /* type */
  --ff-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --ff-body:    "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono:    "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --fs-2xs:  0.6875rem;
  --fs-xs:   0.75rem;
  --fs-sm:   0.8125rem;
  --fs-ui:   0.9375rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   clamp(1.3rem,  2.0vw, 1.6rem);
  --fs-2xl:  clamp(1.65rem, 3.0vw, 2.35rem);
  --fs-3xl:  clamp(2.1rem,  4.2vw, 3.25rem);
  --fs-4xl:  clamp(2.5rem,  5.2vw, 4.25rem);

  --lh-tight: 1.02;
  --lh-head:  1.12;
  --lh-snug:  1.3;
  --lh-data:  1.45;
  --lh-body:  1.6;

  --tr-display: -0.02em;
  --tr-tight:   -0.01em;
  --tr-label:   0.08em;
  --tr-eyebrow: 0.18em;

  /* motion */
  --t-fast: 0.14s cubic-bezier(0.3, 0, 0.2, 1);
  --t:      0.22s cubic-bezier(0.22, 0.8, 0.2, 1);
  --t-slow: 0.5s  cubic-bezier(0.22, 0.8, 0.2, 1);
  --lift: -3px;

  /* texture */
  --grid-unit:     32px;
  --grid-major:    128px;
  --grid-line:     rgba(148, 163, 184, 0.055);
  --grid-line-mj:  rgba(148, 163, 184, 0.09);
  --noise-opacity: 0.035;

  --z-sticky: 50; --z-dropdown: 60; --z-drawer: 70; --z-fab: 80;
}

@media (max-width: 768px) { :root { --header-h: 60px; } }
@media (max-width: 640px) { :root { --grid-unit: 24px; --grid-major: 96px; --noise-opacity: 0.025; } }


/* =========================================================================
   Base
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--sp-4));
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-soft);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Film grain — mandatory, prevents banding in large gradients on 8-bit panels */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--text);
  line-height: var(--lh-head);
  letter-spacing: var(--tr-display);
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); font-weight: 600; letter-spacing: var(--tr-tight); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-lg); font-weight: 600; letter-spacing: var(--tr-tight); line-height: var(--lh-snug); }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--sp-4); }

a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--text); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-xs); }

ul, ol { margin: 0; padding: 0; }
strong { color: var(--text); font-weight: 600; }

.num, .mono { font-family: var(--ff-mono); font-variant-numeric: tabular-nums lining-nums; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-2);
  z-index: 100;
  padding: var(--sp-2) var(--sp-4);
  background: var(--primary);
  color: var(--text-ink);
  font-weight: 600;
  border-radius: var(--r-sm);
  transform: translateY(-160%);
  transition: transform var(--t-fast);
}
.skip-link:focus-visible { transform: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin: 0 0 var(--sp-4);
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.lede {
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--text-soft);
  max-width: 62ch;
}


/* =========================================================================
   Layout
   ========================================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide   { max-width: var(--container-wide); }
.container--prose  { max-width: var(--container-prose); }
.container--narrow { max-width: 860px; }

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--flush-top { padding-top: 0; }
.section--alt {
  background: var(--surface-1);
  border-block: 1px solid var(--border);
  box-shadow: var(--edge-top);
}

.section-head { max-width: 46rem; margin-bottom: var(--sp-8); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 + p { margin-top: var(--sp-4); }
.section-head p { color: var(--text-muted); font-size: var(--fs-md); }

.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-5);
}
.section-head--split > div { max-width: 46rem; }

.two-col {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
}

.media-body {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}
.media-body--flip > .media-body__media { order: 2; }

.spec-split {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  align-items: start;
}
.spec-split__media {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-5));
}

.stack > * + * { margin-top: var(--sp-5); }
.stack-sm > * + * { margin-top: var(--sp-3); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

@media (max-width: 960px) {
  .spec-split { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
  .spec-split__media { position: static; }
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
  .media-body { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .media-body--flip > .media-body__media { order: 0; }
}
@media (max-width: 420px) {
  .btn-row { flex-direction: column; }
  .btn-row > .btn { width: 100%; }
}


/* =========================================================================
   Heavy-industry texture language
   All texture lives on pseudo-elements with pointer-events:none.
   ========================================================================= */

/* Blueprint grid, radially masked so it fades out instead of tiling */
.u-grid { position: relative; isolation: isolate; }
.u-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right,  var(--grid-line-mj) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-mj) 1px, transparent 1px),
    linear-gradient(to right,  var(--grid-line)    1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line)    1px, transparent 1px);
  background-size:
    var(--grid-major) var(--grid-major),
    var(--grid-major) var(--grid-major),
    var(--grid-unit)  var(--grid-unit),
    var(--grid-unit)  var(--grid-unit);
  background-position: center top;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, rgba(0,0,0,.55) 45%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, rgba(0,0,0,.55) 45%, transparent 78%);
}
.hero.u-grid::before {
  background-position: left top;
  -webkit-mask-image: linear-gradient(105deg, #000 0%, rgba(0,0,0,.4) 55%, transparent 85%);
          mask-image: linear-gradient(105deg, #000 0%, rgba(0,0,0,.4) 55%, transparent 85%);
}

/* Measurement ticks — a ruler edge */
.u-ticks { position: relative; }
.u-ticks::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 8px;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, var(--steel-500) 0 1px, transparent 1px 60px) 0 0 / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, var(--steel-600) 0 1px, transparent 1px 12px) 0 0 / 100% 4px no-repeat;
  opacity: .55;
}

/* A rule that fades at both ends is a drafting convention */
.u-rule {
  height: 1px;
  border: 0;
  margin: var(--sp-8) 0;
  background: linear-gradient(90deg, transparent 0%, var(--border-strong) 12%, var(--border-strong) 88%, transparent 100%);
}

/* Corner crop marks — datasheet framing, key panels only */
.u-brackets { position: relative; }
.u-brackets::before,
.u-brackets::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  pointer-events: none;
  border: 0 solid var(--primary);
  opacity: .7;
}
.u-brackets::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.u-brackets::after  { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.u-brackets--accent::before,
.u-brackets--accent::after { border-color: var(--accent); }

/* Steel plate — lit chamfer on the top edge replaces drop shadows */
.u-plate {
  background:
    linear-gradient(180deg, rgba(226,232,240,.045) 0 1px, transparent 1px),
    linear-gradient(180deg, var(--surface-2), var(--surface-1) 60%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--edge-top), var(--shadow-1);
}


/* =========================================================================
   Buttons
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: var(--ctl-md);
  padding: 0 var(--sp-5);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--ff-body);
  font-size: var(--fs-ui);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast),
              transform var(--t-fast), box-shadow var(--t-fast);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { box-shadow: var(--ring); }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}
.btn svg { flex: none; width: 16px; height: 16px; }

.btn--primary { background: var(--primary); color: var(--text-ink); box-shadow: var(--edge-top); }
.btn--primary:hover { background: var(--primary-strong); color: var(--text-ink); transform: translateY(var(--lift)); box-shadow: var(--edge-top), var(--shadow-1); }

/* amber — reserved for the single conversion action: Send BOQ */
.btn--accent { background: var(--accent); color: var(--text-ink); box-shadow: var(--edge-top); }
.btn--accent:hover { background: var(--accent-strong); color: var(--text-ink); transform: translateY(var(--lift)); box-shadow: var(--edge-top), var(--shadow-1); }

.btn--secondary { background: transparent; border-color: var(--border-control); color: var(--text); }
.btn--secondary:hover { background: var(--primary-wash); border-color: var(--primary); color: var(--text); }

.btn--ghost {
  background: transparent;
  color: var(--primary);
  padding-inline: var(--sp-3);
}
.btn--ghost::after { content: "\2192"; transition: transform var(--t-fast); }
.btn--ghost:hover { background: var(--primary-wash); color: var(--primary); }
.btn--ghost:hover::after { transform: translateX(4px); }

.btn--sm {
  min-height: var(--ctl-sm);
  padding-inline: var(--sp-4);
  font-size: var(--fs-xs);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
}
.btn--lg { min-height: var(--ctl-lg); padding-inline: var(--sp-6); font-size: var(--fs-base); }
.btn--block { width: 100%; }

.btn[data-loading] { pointer-events: none; }


/* =========================================================================
   Header + primary nav
   ========================================================================= */

/* The glass blur lives on ::before, NOT on the header itself. A
   backdrop-filter on an element makes it the containing block for its
   position:fixed descendants — which would pin the mobile drawer to the
   header bar instead of the viewport. */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--t), box-shadow var(--t);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
          backdrop-filter: blur(16px) saturate(130%);
  transition: background var(--t);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header::before { background: var(--bg); }
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--border-strong);
  box-shadow: var(--shadow-2);
}
.site-header[data-scrolled="true"]::before { background: rgba(5, 11, 26, 0.94); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.header-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow) 18%, var(--border-glow) 82%, transparent);
  opacity: .35;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: none;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }
/* the client's wordmark, on-dark version (navy drawn white) */
.brand__logo { display: block; width: auto; height: 28px; }
.brand__sub {
  display: block;
  font-size: var(--fs-2xs);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
}
.site-footer .brand__logo { height: 32px; }
@media (max-width: 380px) { .site-header .brand__logo { height: 24px; } }
.brand__text strong {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: var(--tr-tight);
  line-height: 1.05;
}
.brand__text small {
  display: block;
  font-size: var(--fs-2xs);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--text-muted);
}

.primary-nav { display: flex; align-items: center; gap: var(--sp-5); }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}
.nav-list > li > a,
.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: var(--ctl-md);
  padding: 0 var(--sp-3);
  background: none;
  border: 0;
  border-radius: var(--r-sm);
  font-family: var(--ff-body);
  font-size: var(--fs-ui);
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-list > li > a:hover,
.nav-trigger:hover { color: var(--text); background: rgba(148, 163, 184, .07); }

.nav-list a[aria-current="page"],
.nav-trigger[data-current="true"] { color: var(--primary); }
.nav-list a[aria-current="page"]::after,
.nav-trigger[data-current="true"]::after {
  content: "";
  position: absolute;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: 6px;
  height: 2px;
  background: var(--primary);
}

.nav-caret { width: 12px; height: 12px; transition: transform var(--t-fast); }
.nav-trigger[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: var(--sp-4); }
.header-tel {
  font-family: var(--ff-mono);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}
.header-tel:hover { color: var(--primary); }

/* Products mega-panel: 6 labelled family columns */
.nav-item--menu { position: relative; }
.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-42%);
  z-index: var(--z-dropdown);
  width: min(920px, calc(100vw - var(--gutter) * 2));
  padding: var(--sp-5);
  background: var(--surface-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--elev-4);
}
.mega[hidden] { display: none; }
.mega__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5) var(--sp-6);
}
.mega__family h3 {
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--steel-400);
}
.mega__family ul { list-style: none; display: grid; gap: 2px; }
.mega__family a {
  display: block;
  padding: var(--sp-2) var(--sp-2);
  margin-inline: calc(var(--sp-2) * -1);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
}
.mega__family a:hover { background: var(--primary-wash); color: var(--text); }
.mega__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* The header (z 50) is a stacking context, so the drawer inside it can only
   ever rise to z 50 relative to the page. The scrim must sit BELOW that, or
   it covers the drawer and every tap inside the menu just closes it. */
.nav-scrim {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: calc(var(--z-sticky) - 1);
  background: rgba(3, 7, 17, .6);
}
.nav-scrim[hidden] { display: none; }

@media (max-width: 1100px) {
  .header-tel { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  /* Without JS the nav stays in flow below the header — always reachable. */
  .primary-nav {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-2);
  }
  .header-inner { flex-wrap: wrap; }

  /* With JS, it becomes an off-canvas drawer. */
  .js .primary-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    z-index: var(--z-drawer);
    width: min(360px, 88vw);
    padding: var(--sp-5) var(--gutter) var(--sp-9);
    background: var(--surface-1);
    border-left: 1px solid var(--border-strong);
    box-shadow: var(--shadow-3);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .js .primary-nav:not([data-open="true"]) { display: none; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a,
  .nav-trigger {
    width: 100%;
    min-height: 48px;
    padding: var(--sp-3) var(--sp-2);
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: var(--fs-base);
  }
  .nav-list a[aria-current="page"]::after,
  .nav-trigger[data-current="true"]::after { display: none; }

  .mega {
    position: static;
    transform: none;
    width: auto;
    padding: var(--sp-3) 0 var(--sp-4);
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .mega__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .mega__foot { flex-direction: column; align-items: flex-start; }

  .header-actions { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
  .header-actions .btn { width: 100%; }
  .header-tel { display: block; }
}
@media (min-width: 901px) {
  .nav-scrim { display: none; }
}


/* =========================================================================
   Breadcrumb
   ========================================================================= */

.breadcrumb { padding-block: var(--sp-4); }
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  font-size: var(--fs-xs);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.breadcrumb ol::-webkit-scrollbar { display: none; }
.breadcrumb li + li::before {
  content: "/";
  margin-right: var(--sp-2);
  font-family: var(--ff-mono);
  color: var(--steel-600);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; padding: var(--sp-1) 0; }
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--text-soft); font-weight: 500; }

@media (max-width: 480px) {
  .breadcrumb li:not(:first-child):not(:last-child) { display: none; }
  .breadcrumb li:last-child::before { content: "\2026 /"; }
}


/* =========================================================================
   Hero
   ========================================================================= */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: var(--sp-8);
  align-items: center;
}
.hero h1 { max-width: 15ch; }
.hero h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero__copy {
  margin-top: var(--sp-5);
  max-width: 54ch;
  font-size: var(--fs-md);
  color: var(--text-soft);
}

.hero__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--elev-3);
  background: var(--surface-2);
}
.hero__frame img {
  width: 100%;
  aspect-ratio: 1280 / 905;
  object-fit: cover;
}
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 11, 26, 0) 55%, rgba(5, 11, 26, .78) 100%);
}

.hero__tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--text-soft);
}
.hero__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-fill);
}
.hero__tag--a { top: var(--sp-4); left: var(--sp-4); }
.hero__tag--b { bottom: var(--sp-4); right: var(--sp-4); }

/* Dimension callout — a drawing annotation over the photo */
.hero__dim {
  position: absolute;
  z-index: 2;
  right: var(--sp-5);
  top: 18%;
  bottom: 26%;
  width: 1px;
  background: var(--primary);
  opacity: .7;
}
.hero__dim::before,
.hero__dim::after {
  content: "";
  position: absolute;
  left: -5px;
  width: 11px;
  height: 1px;
  background: var(--primary);
}
.hero__dim::before { top: 0; }
.hero__dim::after { bottom: 0; }
.hero__dim span {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-family: var(--ff-mono);
  font-size: var(--fs-2xs);
  color: var(--primary);
  white-space: nowrap;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-3);
  margin-top: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* Engineering drawing hero. Strokes are fully drawn in CSS; motion.js
   draws them on from the authored state, never the reverse. */
.hero__drawing {
  margin: 0;
  padding: var(--sp-4);
  perspective: 1400px;
}
.dwg { width: 100%; height: auto; overflow: visible; transform-style: preserve-3d; }
.dwg-line  { fill: none; stroke: var(--primary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dwg-thin  { fill: none; stroke: var(--steel-400); stroke-width: .9; stroke-linecap: round; }
.dwg-faint { fill: none; stroke: var(--steel-600); stroke-width: .8; }
.dwg-dash  { stroke-dasharray: 4 3; }
.dwg-dim   { fill: none; stroke: var(--primary); stroke-width: .8; }
.dwg-label {
  fill: var(--text-muted);
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .02em;
}
.dwg-title rect,
.dwg-title path { fill: none; stroke: var(--steel-500); stroke-width: .8; }
.dwg-title text {
  fill: var(--steel-300);
  font-family: var(--ff-mono);
  font-size: 8.5px;
  letter-spacing: .05em;
}

/* Mobile: message and the BOQ action lead; the drawing supports them. */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); }
  .hero h1 { max-width: none; }
  .hero__drawing { max-width: 400px; width: 100%; margin-inline: auto; }
}
@media (max-width: 520px) {
  .hero__drawing { max-width: 320px; padding: var(--sp-3); }
}
@media (max-width: 520px) {
  .hero__tag--b, .hero__dim { display: none; }
}


/* =========================================================================
   Stats / proof band
   ========================================================================= */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.stat {
  position: relative;
  display: grid;
  gap: var(--sp-1);
  align-content: start;
  margin: 0;
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  background: var(--surface-1);
  box-shadow: var(--edge-top);
  transition: background var(--t);
}
.stat:hover { background: var(--surface-2); }
.stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--steel-600) 0 1px, transparent 1px 8px);
  opacity: .55;
}
.stat dt {
  font-family: var(--ff-display);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--steel-400);
}
.stat dd { margin: 0; }
.stat__value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 2.85rem);
  line-height: 1;
  color: var(--text);
  letter-spacing: var(--tr-display);
  font-variant-numeric: tabular-nums;
}
.stat__unit {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}
.stat__sub { font-size: var(--fs-xs); color: var(--text-faint); }
.stat--proof { box-shadow: var(--edge-top), inset 2px 0 0 var(--accent); }
.stat--proof dt { color: var(--accent); }


/* =========================================================================
   Cards, product tiles, chips
   ========================================================================= */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--elev-1);
  overflow: hidden;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.card__body { display: grid; gap: var(--sp-3); align-content: start; flex: 1; padding: var(--sp-5); }
.card__body p { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-data); }
.card:hover { background: var(--surface-2); border-color: var(--border-glow); }
.card--accent { box-shadow: var(--edge-top), inset 2px 0 0 var(--accent); }

/* Product tiles — spec-forward, whole tile is the link */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: var(--sp-5);
}
.ptile {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--elev-1);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.ptile__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.ptile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.ptile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,11,26,.72) 0%, rgba(5,11,26,0) 42%, rgba(5,11,26,.35) 78%, rgba(5,11,26,.9) 100%);
}
.ptile__index {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-4);
  z-index: 1;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--steel-300);
}
.ptile__body {
  display: grid;
  align-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
}
.ptile__title {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: var(--tr-tight);
  color: var(--text);
  text-wrap: balance;
}
.ptile__text { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-data); }
.ptile__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.ptile__div { width: 1px; height: 10px; background: var(--border-strong); }
.ptile:hover { background: var(--surface-2); border-color: var(--border-glow); transform: translateY(var(--lift)); color: inherit; }
.ptile:hover .ptile__media img { transform: scale(1.04); }
.ptile:focus-visible { box-shadow: var(--ring); }

/* Family block on the products index and homepage */
.family { scroll-margin-top: calc(var(--header-h) + var(--sp-5)); }
.family + .family { margin-top: var(--sp-10); }
.family__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-5);
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-6);
  border-bottom: 1px solid var(--border);
}
.family__head h2,
.family__head h3 { font-size: var(--fs-2xl); }
.family__code {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--steel-400);
}
.family__lede { max-width: 60ch; margin-top: var(--sp-2); color: var(--text-muted); }

/* Compact family cards on the homepage */
.family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--sp-5);
}
.fcard {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--elev-1);
  overflow: hidden;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.fcard:hover { background: var(--surface-2); border-color: var(--border-glow); transform: translateY(var(--lift)); }
.fcard__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.fcard:hover .fcard__media img { transform: scale(1.04); }
.fcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,11,26,0) 40%, rgba(5,11,26,.85) 100%);
}
/* Drawing variant: a blueprint panel instead of a photograph */
.fcard__media--dwg {
  display: grid;
  place-items: center;
  padding: var(--sp-4) var(--sp-5) var(--sp-6);
  background: radial-gradient(120% 90% at 50% 20%, var(--surface-2), var(--surface-sunken));
  border-bottom: 1px solid var(--border);
}
.fcard__media--dwg::after { display: none; }
.dwg--card { width: 100%; max-width: 300px; height: auto; transition: transform var(--t-slow); }
.dwg--card .dwg-line { stroke-width: 1.6; }
.dwg--card .dwg-label { font-size: 11px; }
.fcard:hover .dwg--card { transform: translateY(-3px) scale(1.02); }
.fcard:hover .dwg--card .dwg-line { stroke: var(--steel-100); }

.fcard__code {
  position: absolute;
  z-index: 1;
  left: var(--sp-4);
  bottom: var(--sp-3);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--steel-300);
}
.fcard__body { display: grid; align-content: start; gap: var(--sp-3); padding: var(--sp-5); }
.fcard__body h3 { font-size: var(--fs-xl); }
.fcard__body h3 a { color: inherit; text-decoration: none; }
.fcard__body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fcard__body h3 a:focus-visible { box-shadow: none; }
.fcard:has(h3 a:focus-visible) { box-shadow: var(--ring); }
.fcard__lines {
  list-style: none;
  display: grid;
  gap: var(--sp-1);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.fcard__lines li {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
}
.fcard__lines li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  translate: 0 -2px;
  background: var(--primary);
  border-radius: 1px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 26px;
  padding: 0 var(--sp-3);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--text-soft);
  white-space: nowrap;
  text-decoration: none;
}
a.chip:hover { border-color: var(--primary); color: var(--text); background: var(--primary-wash); }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip--standard {
  font-family: var(--ff-mono);
  letter-spacing: 0;
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--border-accent);
}
.code {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-xs);
  padding: 1px var(--sp-2);
  white-space: nowrap;
}

/* Check list — amber square marker */
.list-check { list-style: none; display: grid; gap: var(--sp-3); }
.list-check li {
  position: relative;
  padding-left: var(--sp-6);
  color: var(--text-soft);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--accent);
  border-radius: 1px;
  rotate: 45deg;
}
.list-check--compact { gap: var(--sp-2); font-size: var(--fs-sm); }


/* =========================================================================
   Spec — key/value pairs, full tables, pending-data block
   ========================================================================= */

.spec-pairs {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--hairline-major);
}
.spec-pairs > div {
  display: grid;
  /* the label keeps a floor; a long value wraps instead of crushing it */
  grid-template-columns: minmax(7.5rem, 2fr) minmax(0, 3fr);
  gap: var(--sp-4);
  align-items: baseline;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--hairline);
}
.spec-pairs dt { font-size: var(--fs-sm); color: var(--text-muted); }
.spec-pairs dd {
  margin: 0;
  font-family: var(--ff-mono);
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  color: var(--text);
  text-align: right;
}

.spec { margin: 0; }
.spec__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-3);
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text);
}
.spec__note {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--text-muted);
}

/* Scroll shadows: cover panels travel with content, shadows stay pinned */
.spec__scroll {
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background:
    linear-gradient(to right, var(--surface-1), var(--surface-1)) left  / 24px 100% no-repeat local,
    linear-gradient(to left,  var(--surface-1), var(--surface-1)) right / 24px 100% no-repeat local,
    linear-gradient(to right, rgba(3,7,17,.85), transparent)      left  / 24px 100% no-repeat scroll,
    linear-gradient(to left,  rgba(3,7,17,.85), transparent)      right / 24px 100% no-repeat scroll,
    var(--surface-1);
  scrollbar-color: var(--steel-600) var(--surface-sunken);
  scrollbar-width: thin;
}
.spec__scroll:focus-visible { box-shadow: var(--ring); }
.spec__hint {
  display: none;
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--text-faint);
}
@media (max-width: 760px) { .spec__hint { display: block; } }
.spec.is-overflowing .spec__hint { display: block; }

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-data);
}
.spec-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-3);
  box-shadow: inset 0 -1px 0 var(--hairline-major);
  font-family: var(--ff-display);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--steel-400);
  text-align: left;
  white-space: nowrap;
  vertical-align: bottom;
}
.spec-table thead th .unit {
  display: block;
  margin-top: 2px;
  font-family: var(--ff-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-faint);
}
.spec-table td,
.spec-table tbody th {
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--hairline);
  color: var(--text-soft);
  vertical-align: baseline;
}
.spec-table tbody th {
  font-weight: 600;
  color: var(--text);
  text-align: left;
  white-space: nowrap;
}
.spec-table .num {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums lining-nums;
  text-align: right;
  color: var(--text);
}
.spec-table thead th.num { text-align: right; }
/* "165.1 x 4.50" must never wrap — a wrapped cell doubles the row height
   and breaks horizontal scanning across a 50-row table. */
.spec-table td.num { white-space: nowrap; }
.spec + .spec { margin-top: var(--sp-8); }
.spec-table tbody tr:nth-child(even) > * { background: #121c33; }
/* every 5th row: drawing-sheet banding, re-find your place after a scroll */
.spec-table tbody tr:nth-child(5n + 1) > * { border-top-color: var(--hairline-major); }
.spec-table tbody tr:hover > * { background: var(--surface-3); color: var(--text); }
.spec-table tbody tr:hover .is-sticky { box-shadow: inset 2px 0 0 var(--primary), 1px 0 0 var(--hairline-major); }
.spec-table .is-sticky {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--surface-1);
  box-shadow: 1px 0 0 var(--hairline-major);
}
.spec-table tbody tr:nth-child(even) .is-sticky { background: #121c33; }
.spec-table thead .is-sticky { z-index: 3; background: var(--surface-3); }

/* Honest placeholder for dimension data the client has not supplied yet.
   Shows the exact columns we will publish, so the client sees what to send. */
.spec-pending {
  position: relative;
  padding: var(--sp-6);
  border: 1px dashed var(--border-control);
  border-radius: var(--r-sm);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(148,163,184,.025) 14px 28px),
    var(--surface-sunken);
}
.spec-pending__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.spec-pending__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 24px;
  padding: 0 var(--sp-3);
  border: 1px solid var(--warning-border);
  border-radius: var(--r-sm);
  background: var(--warning-fill);
  font-family: var(--ff-mono);
  font-size: var(--fs-2xs);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--warning-text);
}
.spec-pending h3 { font-size: var(--fs-lg); }
.spec-pending p { font-size: var(--fs-sm); color: var(--text-muted); max-width: 62ch; }
.spec-pending__cols {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  list-style: none;
}
.spec-pending__cols li {
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--text-faint);
}
.spec-pending .btn-row { margin-top: var(--sp-5); }


/* =========================================================================
   Process rail (homepage PIN A)
   Static by default: a readable 5-step grid. motion.js turns it into a
   pinned horizontal rail on capable desktop devices only.
   ========================================================================= */

.process { overflow: hidden; }
.process__progress {
  height: 2px;
  margin-bottom: var(--sp-6);
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.process__progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-deep), var(--primary));
  transform-origin: left;
}
.process__rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-4);
  list-style: none;
}
.step {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--edge-top);
  transition: border-color .25s, background .25s;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-glow);
  border-radius: var(--r-sm);
  font-family: var(--ff-mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--primary);
  transition: background .25s, color .25s;
}
.step h3 { font-size: var(--fs-lg); }
.step p { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-data); }
.step__out {
  margin-top: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--text-faint);
}
.step.is-active { border-color: var(--border-glow); background: var(--surface-2); }
.step.is-active .step__num { background: var(--primary); color: var(--text-ink); }

/* Pinned mode — only ever set by motion.js */
.process.is-pinned .process__rail {
  display: flex;
  width: max-content;
  gap: var(--sp-5);
}
.process.is-pinned .step { width: min(380px, 32vw); }

@media (max-width: 1023px) {
  .process__rail { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: auto 1fr; align-items: start; column-gap: var(--sp-4); }
  .step__num { grid-row: span 3; }
  .process__progress { display: none; }
}


/* =========================================================================
   Galvanizing coating build-up (homepage PIN B)
   Static by default: all four layers drawn at full height.
   ========================================================================= */

.galv {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--sp-8);
  align-items: center;
}
.galv__copy .lede { margin-top: var(--sp-5); }
.galv__diagram {
  position: relative;
  padding: var(--sp-6);
  background: var(--surface-sunken);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
}
.galv__title {
  margin-bottom: var(--sp-5);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--steel-400);
  letter-spacing: .04em;
}
.galv__stack { display: grid; gap: 3px; }
.coat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 11rem);
  gap: var(--sp-4);
  align-items: center;
}
/* The track is the empty mould each layer fills. Before the pin builds the
   coating, the diagram reads as "about to fill" rather than as broken. */
.coat-track {
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, rgba(148,163,184,.07) 0 5px, transparent 5px 10px);
  box-shadow: inset 0 0 0 1px var(--border);
}
.coat {
  height: var(--h, 36px);
  border-radius: 2px;
  transform-origin: left center;
}
.coat--eta   { --h: 30px; background: linear-gradient(90deg, #d8e2ee, #aab9cc); }
.coat--zeta  { --h: 44px; background: linear-gradient(90deg, #8ea2bb, #6e839f); }
.coat--delta { --h: 26px; background: linear-gradient(90deg, #5d7290, #4a5d78); }
.coat--gamma { --h: 12px; background: linear-gradient(90deg, #3d4e66, #34435a); }
.coat--steel {
  --h: 64px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 9px),
    linear-gradient(90deg, #1f2937, #111827);
  border: 1px solid var(--border);
}
.coat-label { display: grid; gap: 2px; transition: color var(--t); }
.coat-row.is-formed .coat-label strong { color: var(--primary); }
.coat-label strong { font-family: var(--ff-display); font-size: var(--fs-md); font-weight: 600; letter-spacing: 0; }
.coat-label span { font-family: var(--ff-mono); font-size: var(--fs-2xs); color: var(--text-faint); }
.galv__note {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

@media (max-width: 900px) {
  .galv { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
}
@media (max-width: 480px) {
  .coat-row { grid-template-columns: minmax(0, 1fr); gap: var(--sp-1); }
}


/* =========================================================================
   Milestone timeline
   ========================================================================= */

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--border-strong);
}
.timeline li {
  position: relative;
  padding: var(--sp-6) var(--sp-5) 0 0;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--bg);
  border: 1.5px solid var(--primary);
  rotate: 45deg;
}
.timeline__year {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  letter-spacing: var(--tr-display);
}
.timeline p {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-data);
}
@media (max-width: 900px) {
  .timeline { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid var(--border-strong); }
  .timeline li { padding: 0 0 var(--sp-6) var(--sp-6); }
  .timeline li::before { top: 6px; left: -5px; }
}


/* =========================================================================
   Sector cards, standards strip, galvanize feature
   ========================================================================= */

.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: var(--sp-5);
}
.sector-card {
  display: grid;
  align-content: start;
  gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-5);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--edge-top);
  transition: border-color var(--t), background var(--t);
}
.sector-card:hover { border-color: var(--border-glow); background: var(--surface-2); }
.sector-card { position: relative; }
.sector-card h3 a { color: inherit; text-decoration: none; }

/* Stretched link: whole card clickable, one tab stop, text stays selectable */
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.stretch:focus-visible { box-shadow: none; }
.sector-card:has(.stretch:focus-visible) { box-shadow: var(--ring); }
.sector-card__code {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--steel-400);
}
.sector-card p { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-data); }
.sector-card .list-check { margin-top: var(--sp-2); }

.standards-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-5);
  padding: var(--sp-5) var(--sp-6);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--surface-1);
}
.standards-strip__label {
  font-family: var(--ff-display);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--steel-400);
}

.media-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall img { aspect-ratio: 4 / 5; }
.media-frame--wide img { aspect-ratio: 1280 / 905; }
.media-frame__cap {
  position: absolute;
  left: var(--sp-4);
  bottom: var(--sp-4);
  z-index: 2;
  padding: var(--sp-2) var(--sp-3);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--text-soft);
}

/* Text split for the single word-level heading reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; }
.word { display: inline-block; }


/* =========================================================================
   Product page
   ========================================================================= */

.p-hero { padding-block: var(--sp-6) var(--section-y); }
.p-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--sp-8);
  align-items: center;
}
.p-hero h1 { font-size: var(--fs-3xl); max-width: 20ch; }
.p-hero__lede { margin-top: var(--sp-4); max-width: 56ch; font-size: var(--fs-md); color: var(--text-soft); }
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--sp-6);
  background: var(--border);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.facts > div { padding: var(--sp-3) var(--sp-4); background: var(--surface-1); }
.facts dt {
  font-family: var(--ff-display);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--steel-400);
}
.facts dd {
  margin: 2px 0 0;
  font-family: var(--ff-mono);
  font-size: var(--fs-sm);
  color: var(--text);
}
@media (max-width: 900px) {
  .p-hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
  .p-hero__media { min-height: 0; max-width: 420px; width: 100%; margin-inline: auto; }
}

.p-hero__media { margin: 0; padding: var(--sp-5); display: grid; place-items: center; min-height: 280px; }
.p-hero__media .dwg--card { max-width: 420px; }
.p-hero__media picture, .p-hero__media img { border-radius: var(--r-md); }

.p-sub {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--steel-400);
}

/* Standards list: code chip on the left, what it governs on the right */
.spec-pairs--std > div { grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-4); }
.spec-pairs--std dd { text-align: left; font-family: var(--ff-body); color: var(--text-soft); }

/* Related products: compact, no media */
.product-grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: var(--sp-4); }
.ptile--flat { grid-template-rows: 1fr; }
.ptile--flat .ptile__body { padding: var(--sp-5); align-content: start; }
.ptile--flat .ptile__title { font-size: var(--fs-lg); }
.ptile--flat .ptile__title::after { content: " \2192"; color: var(--primary); }

.p-section { scroll-margin-top: calc(var(--header-h) + 56px); }
.p-section + .p-section { margin-top: var(--sp-10); }
.p-section > h2 { font-size: var(--fs-2xl); margin-bottom: var(--sp-5); }
.p-section > h2 + p { margin-top: calc(var(--sp-3) * -1); margin-bottom: var(--sp-5); color: var(--text-muted); max-width: 64ch; }

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(5, 11, 26, .92);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.subnav ul {
  display: flex;
  gap: var(--sp-1);
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--ctl-md);
  padding: 0 var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.subnav a:hover { color: var(--text); }
.subnav a[aria-current="true"] { color: var(--primary); border-bottom-color: var(--primary); }
/* When the links overflow (phones), fade the edge that has more to scroll
   to, so it reads as a swipeable row. site.js sets data-more. */
.subnav ul[data-more="right"] { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.subnav ul[data-more="left"]  { -webkit-mask-image: linear-gradient(270deg, #000 82%, transparent); mask-image: linear-gradient(270deg, #000 82%, transparent); }
.subnav ul[data-more="both"]  { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }

.quote-needs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: var(--sp-3);
  list-style: none;
  counter-reset: need;
}
.quote-needs li {
  counter-increment: need;
  position: relative;
  padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-8);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--text-soft);
}
.quote-needs li::before {
  content: counter(need, decimal-leading-zero);
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-4);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--accent);
}
.quote-needs strong { display: block; margin-bottom: 2px; }

.faq { display: grid; gap: var(--sp-2); }
.faq details {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  min-height: var(--ctl-lg);
  padding: var(--sp-3) var(--sp-5);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--ff-mono);
  font-size: var(--fs-lg);
  color: var(--primary);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-body); }


/* =========================================================================
   Enquiry form + CTA band
   ========================================================================= */

/* The hazard stripe — used once per page, on the conversion band only */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--surface-1);
  border-block: 1px solid var(--border-strong);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: repeating-linear-gradient(45deg, var(--accent) 0 10px, transparent 10px 20px);
  opacity: .45;
}

.enquiry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: var(--sp-8);
  align-items: start;
}
.enquiry__aside .lede { margin-top: var(--sp-4); }
.contact-list {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  list-style: none;
}
.contact-list a,
.contact-list span.contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: var(--ctl-md);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  text-decoration: none;
  font-size: var(--fs-ui);
}
.contact-list a:hover { border-color: var(--border-glow); color: var(--text); }
.contact-list svg { flex: none; width: 18px; height: 18px; color: var(--primary); }
.contact-list small { display: block; font-size: var(--fs-xs); color: var(--text-faint); }

.form {
  padding: var(--sp-6);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--elev-2);
}
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--sp-4);
}
.form__grid .field--full { grid-column: 1 / -1; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend {
  margin-bottom: var(--sp-3);
  padding: 0;
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text);
}
.form__section + .form__section {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}

/* align-content:start — when a neighbour in the same row has a hint line,
   this field must not stretch and push its input down out of line. */
.field { display: grid; gap: var(--sp-2); align-content: start; margin-bottom: var(--sp-4); }
.field__label {
  font-family: var(--ff-display);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--steel-400);
}
.field__label .req { color: var(--accent); margin-left: 2px; }
.field__input,
.field__select,
.field__textarea {
  width: 100%;
  min-height: var(--ctl-md);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-1);
  border: 1px solid var(--border-control);
  border-radius: var(--r-sm);
  box-shadow: var(--edge-inset);
  font-family: var(--ff-body);
  font-size: var(--fs-ui);   /* >= 15px: no iOS zoom on focus */
  line-height: 1.4;
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field__textarea { min-height: 7rem; resize: vertical; line-height: var(--lh-body); }
.field__select {
  appearance: none;
  padding-right: var(--sp-8);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
}
.field__input::placeholder,
.field__textarea::placeholder { color: var(--text-faint); }
.field__input:hover,
.field__select:hover,
.field__textarea:hover { border-color: var(--steel-400); }
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--edge-inset), 0 0 0 3px var(--primary-soft);
}
.field[data-state="error"] .field__input,
.field[data-state="error"] .field__textarea { border-color: var(--danger-border); background: var(--danger-fill); }
.field__hint { font-size: var(--fs-xs); color: var(--text-faint); }
.field__error { display: flex; gap: var(--sp-2); font-size: var(--fs-xs); font-weight: 500; color: var(--danger-text); }
.field__error[hidden] { display: none; }

.choice-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.choice {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: var(--ctl-md);
  padding: 0 var(--sp-4);
  border: 1px solid var(--border-control);
  border-radius: var(--r-sm);
  background: var(--surface-1);
  font-size: var(--fs-ui);
  color: var(--text-soft);
  cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--text); }
.choice:has(input:focus-visible) { box-shadow: var(--ring); }
.choice input { accent-color: var(--primary); width: 16px; height: 16px; margin: 0; }

.boq-note {
  margin-bottom: var(--sp-4);
  padding: var(--sp-4);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-sm);
  background: var(--accent-wash);
  font-size: var(--fs-sm);
  color: var(--text-soft);
}
.boq-note[hidden] { display: none; }
.boq-note strong { color: var(--accent); }
.boq-note a { color: var(--accent); }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-2);
}
.form__foot p { font-size: var(--fs-xs); color: var(--text-faint); max-width: 34ch; }

.form-status {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
}
.form-status:empty { display: none; }
.form-status--ok { color: var(--success-text); background: var(--success-fill); border: 1px solid var(--success-border); }
.form-status--err { color: var(--warning-text); background: var(--warning-fill); border: 1px solid var(--warning-border); }
.form-status a { color: inherit; font-weight: 600; }

@media (max-width: 960px) {
  .enquiry { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
}
@media (max-width: 560px) {
  .form { padding: var(--sp-5); }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
}


/* =========================================================================
   Footer
   ========================================================================= */

.site-footer {
  position: relative;
  background: var(--surface-1);
  border-top: 1px solid var(--border-strong);
  box-shadow: var(--edge-top);
}
.footer-ticks {
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--steel-600) 0 1px, transparent 1px 12px);
  opacity: .5;
}
.footer-standards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-4);
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--border);
}
.footer-label {
  font-family: var(--ff-display);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--steel-400);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--sp-7);
  padding: var(--sp-8) 0;
}
.footer-col h2 {
  margin: 0 0 var(--sp-4);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--steel-400);
}
.footer-col ul { list-style: none; display: grid; gap: 2px; }
.footer-col a {
  display: block;
  padding: var(--sp-1) 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: none;
}
.footer-col a:hover { color: var(--primary); }
.footer-col p { font-size: var(--fs-sm); color: var(--text-muted); max-width: 34ch; }
.footer-col address { font-style: normal; font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-body); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--text-faint);
}
.footer-bottom p { margin: 0; }

@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
  .footer-bottom { flex-direction: column; }
}


/* =========================================================================
   Mobile action bar + WhatsApp
   On a phone, a contractor on site wants to dial, not type.
   ========================================================================= */

.action-bar { display: none; }

.wa-fab {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: var(--z-fab);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0 var(--sp-5);
  background: #16a34a;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-2);
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-ui);
  text-decoration: none;
}
.wa-fab:hover { background: #15803d; color: #fff; }
.wa-fab svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .wa-fab { display: none; }
  .action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-fab);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--border-strong);
    border-top: 1px solid var(--border-strong);
  }
  .action-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 56px;
    background: var(--surface-1);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
  }
  .action-bar a svg { width: 20px; height: 20px; color: var(--primary); }
  .action-bar a.is-wa svg { color: #22c55e; }
  .action-bar a.is-boq { background: var(--accent); color: var(--text-ink); }
  .action-bar a.is-boq svg { color: var(--text-ink); }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}


/* =========================================================================
   Prose pages (privacy, quality detail)
   ========================================================================= */

.prose { color: var(--text-soft); }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { font-size: var(--fs-2xl); margin-top: var(--sp-8); }
.prose h3 { margin-top: var(--sp-6); }
.prose ul { padding-left: var(--sp-5); }
.prose li + li { margin-top: var(--sp-2); }


/* =========================================================================
   Reduced motion — the authored layout is already the end state.
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .ptile:hover, .fcard:hover, .btn:hover { transform: none; }
  .ptile:hover .ptile__media img,
  .fcard:hover .fcard__media img { transform: none; }
}

/* Print — engineers print spec sheets */
@media print {
  body { background: #fff; color: #000; }
  body::after, .site-header, .site-footer, .action-bar, .wa-fab,
  .cta-band, .subnav, .nav-scrim { display: none !important; }
  .spec__scroll { overflow: visible; border-color: #999; background: none; }
  .spec-table thead th { position: static; background: #eee; color: #000; }
  .spec-table td, .spec-table tbody th { color: #000; background: none !important; }
  a { color: #000; }
}

/* Touch targets: linked chips and small buttons grow to 44px on phones and
   touch screens; their compact desktop size stays as designed. */
@media (max-width: 600px), (pointer: coarse) {
  a.chip, .btn--sm { min-height: 44px; }
}

/* =========================================================================
   Photo effects (.fx). Stock photos whose hover "does the job" of the
   product: lamps switch on as dusk falls, floodlights fire, CCTV goes live,
   welding throws sparks. The <img> is always fully visible; every layer here
   is decoration on top of it. Activation: hover, keyboard focus inside a
   .fx-trigger, or .is-live (set by site.js: on load for hero photos, and in
   view on touch screens, which have no hover).
   ========================================================================= */

.fx {
  position: relative;
  overflow: hidden;
  container-type: size;
  background: var(--surface-sunken);
  isolation: isolate;
}
.fx--fill { position: absolute; inset: 0; }

/* Cover box: the photo's own aspect ratio, scaled to cover the frame like
   object-fit:cover and aligned by --px/--py like object-position. Effect
   points are percentages of this box, so they stay on the lamp at any frame
   shape. Fallback (no container units): a plain cover image. */
.fx__box { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
@supports (width: 1cqw) {
  .fx__box {
    width: max(100cqw, 100cqh * var(--ar));
    height: max(100cqh, 100cqw / var(--ar));
    left: calc((100cqw - max(100cqw, 100cqh * var(--ar))) * var(--px));
    top: calc((100cqh - max(100cqh, 100cqw / var(--ar))) * var(--py));
  }
}
.fx__box picture { display: contents; }
.fx__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 900ms ease, transform 1200ms cubic-bezier(.2, .7, .2, 1);
}
.fx__layer { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.fx__layer i, .fx__layer span { position: absolute; display: block; }

/* gentle push-in on hover, every effect */
.fx__box { transition: transform 1200ms cubic-bezier(.2, .7, .2, 1); }
.fx:hover .fx__box,
.fx-trigger:hover .fx__box,
.fx-trigger:focus-within .fx__box { transform: scale(1.045); }

/* ---- Lamps, floodlights, globes: dusk falls, then the lights come on ---- */
.fx__pt { left: var(--x); top: var(--y); width: 0; height: 0; }
.fx__pt::before,
.fx__pt::after {
  content: "";
  position: absolute;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 500ms ease;
}
/* halo around the lamp head */
.fx__pt::before {
  left: 0; top: 0;
  width: var(--halo, 26cqw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 220, 1) 0 4%, rgba(255, 214, 140, .75) 9%, rgba(255, 176, 80, .28) 26%, rgba(255, 150, 50, 0) 62%);
}
/* light cone thrown down onto the ground */
.fx__pt::after {
  left: 0; top: 0;
  width: var(--cone-w, 34cqw);
  height: var(--cone-h, 70cqh);
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 220, 160, .38), rgba(255, 220, 160, 0) 85%);
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
  filter: blur(3px);
}
.fx--flood .fx__pt::before {
  --halo: 18cqw;
  background: radial-gradient(circle, #fff 0 5%, rgba(230, 244, 255, .8) 11%, rgba(170, 215, 255, .3) 28%, rgba(150, 200, 255, 0) 62%);
}
.fx--flood .fx__pt::after {
  --cone-w: 26cqw;
  --cone-h: 90cqh;
  background: linear-gradient(180deg, rgba(220, 238, 255, .3), rgba(220, 238, 255, 0) 80%);
}
.fx--globes .fx__pt::before { --halo: 13cqw; }
.fx--globes .fx__pt::after { display: none; }

:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx):is(.fx--lamp, .fx--flood, .fx--globes, .fx--solar) .fx__img {
  filter: brightness(.58) saturate(1.15) contrast(1.05);
}
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__pt::before,
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__pt::after {
  opacity: 1;
  animation: fx-switch-on 1.1s steps(1, end) both;
  animation-delay: calc(350ms + var(--i, 0) * 140ms);
}
/* the flicker of a lamp striking up */
@keyframes fx-switch-on {
  0% { opacity: 0; }
  12% { opacity: .9; }
  18% { opacity: .15; }
  30% { opacity: 1; }
  36% { opacity: .35; }
  48%, 100% { opacity: 1; }
}

/* ---- Solar: a glint crosses the panel, then the lamp comes on ---- */
.fx__flare {
  left: var(--x); top: var(--y);
  width: 30cqw; aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(.4);
  opacity: 0;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle, #fff 0 3%, rgba(255, 250, 220, .7) 8%, rgba(255, 240, 180, 0) 40%),
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, .8) 50%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255, 255, 255, .6) 50%, transparent 52%);
  transition: opacity 400ms ease, transform 600ms ease;
}
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__flare {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(45deg);
}

/* ---- Sheen: light sweeps across panels / steel ---- */
.fx__sheen {
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .42) 50%, transparent 62%);
  background-size: 260% 100%;
  background-position: 130% 0;
  mix-blend-mode: soft-light;
}
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__sheen {
  animation: fx-sheen 2.4s ease-in-out infinite;
}
@keyframes fx-sheen {
  0% { background-position: 130% 0; }
  60%, 100% { background-position: -30% 0; }
}

/* ---- Glint: a pulse runs along a barrier rail / conductor ---- */
.fx__run {
  left: var(--x1); top: var(--y1);
  width: 5cqw; aspect-ratio: 1;
  margin: -2.5cqw 0 0 -2.5cqw;
  border-radius: 50%;
  opacity: 0;
  mix-blend-mode: screen;
  background: radial-gradient(circle, #fff 0 12%, rgba(140, 225, 255, .8) 30%, rgba(80, 200, 255, 0) 70%);
  box-shadow: 0 0 3cqw 1cqw rgba(110, 215, 255, .45);
}
.fx__run--warm {
  background: radial-gradient(circle, #fff 0 12%, rgba(255, 220, 150, .85) 30%, rgba(255, 190, 90, 0) 70%);
  box-shadow: 0 0 3cqw 1cqw rgba(255, 200, 120, .45);
}
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__run {
  animation: fx-run 1.8s cubic-bezier(.45, 0, .55, 1) infinite;
}
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__run--late { animation-delay: .9s; }
@keyframes fx-run {
  0% { left: var(--x1); top: var(--y1); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: var(--x2); top: var(--y2); opacity: 0; }
}
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx).fx--glint .fx__img {
  filter: brightness(.8) saturate(1.1);
}

/* ---- CCTV: the camera goes live ---- */
.fx__lens {
  left: var(--x); top: var(--y);
  width: 1.6cqw; min-width: 5px; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 1.5cqw .4cqw rgba(255, 50, 50, .75);
  opacity: 0;
}
.fx__scan {
  left: 0; right: 0; top: 0;
  height: 18cqh;
  background: linear-gradient(180deg, rgba(120, 255, 190, 0), rgba(120, 255, 190, .2) 85%, rgba(160, 255, 210, .7) 100%);
  opacity: 0;
}
.fx__hud {
  inset: 6cqh 4cqw;
  opacity: 0;
  font-family: var(--ff-mono);
  font-size: clamp(9px, 2.6cqw, 13px);
  letter-spacing: .08em;
  color: #e9fff4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
  background:
    linear-gradient(#e9fff4, #e9fff4) left top / 6cqw 2px no-repeat,
    linear-gradient(#e9fff4, #e9fff4) left top / 2px 6cqw no-repeat,
    linear-gradient(#e9fff4, #e9fff4) right top / 6cqw 2px no-repeat,
    linear-gradient(#e9fff4, #e9fff4) right top / 2px 6cqw no-repeat,
    linear-gradient(#e9fff4, #e9fff4) left bottom / 6cqw 2px no-repeat,
    linear-gradient(#e9fff4, #e9fff4) left bottom / 2px 6cqw no-repeat,
    linear-gradient(#e9fff4, #e9fff4) right bottom / 6cqw 2px no-repeat,
    linear-gradient(#e9fff4, #e9fff4) right bottom / 2px 6cqw no-repeat;
  transition: opacity 300ms ease;
}
.fx__hud b { position: absolute; left: 3cqw; top: 3cqh; font-weight: 600; }
.fx__hud b::before {
  content: "";
  display: inline-block;
  width: .7em; height: .7em;
  margin-right: .45em;
  border-radius: 50%;
  background: #ff3b3b;
  vertical-align: -.05em;
}
.fx__hud span { right: 3cqw; top: 3cqh; }
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__hud { opacity: 1; }
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__hud b::before,
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__lens {
  opacity: 1;
  animation: fx-blink 1.1s steps(1, end) infinite;
}
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__scan {
  opacity: 1;
  animation: fx-scan 2.6s linear infinite;
}
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx).fx--hud .fx__img {
  filter: saturate(.55) contrast(1.15) brightness(.9);
}
@keyframes fx-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .15; } }
@keyframes fx-scan { from { transform: translateY(-18cqh); } to { transform: translateY(100cqh); } }

/* ---- Telecom: signal rings radiate from the antennas ---- */
.fx__ring {
  left: var(--x); top: var(--y);
  width: 60cqw; aspect-ratio: 1;
  margin: -30cqw 0 0 -30cqw;
  border-radius: 50%;
  border: 2px solid rgba(140, 230, 255, .85);
  box-shadow: 0 0 1.2cqw rgba(110, 215, 255, .6), inset 0 0 1.2cqw rgba(110, 215, 255, .35);
  opacity: 0;
  transform: scale(.05);
}
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__ring {
  animation: fx-ring 2.4s cubic-bezier(.2, .6, .35, 1) infinite;
  animation-delay: calc(var(--i) * .8s);
}
@keyframes fx-ring {
  0% { transform: scale(.05); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

/* ---- Welding arc / galvanizing heat ---- */
.fx__src { left: var(--x); top: var(--y); width: 0; height: 0; }
.fx__core {
  left: 0; top: 0;
  width: 22cqw; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0;
  background: radial-gradient(circle, #fff 0 5%, rgba(170, 220, 255, .85) 12%, rgba(90, 160, 255, .3) 30%, rgba(80, 140, 255, 0) 62%);
}
.fx--heat .fx__core {
  width: 46cqw;
  background: radial-gradient(circle, rgba(255, 240, 200, .9) 0 6%, rgba(255, 170, 60, .6) 18%, rgba(255, 110, 20, .22) 38%, rgba(255, 90, 0, 0) 64%);
}
.fx__spark, .fx__ember {
  left: 0; top: 0;
  width: .9cqw; min-width: 3px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffd27a;
  box-shadow: 0 0 1cqw .3cqw rgba(255, 170, 60, .8);
  opacity: 0;
}
.fx__ember { background: #ffb347; }
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__core {
  opacity: 1;
  animation: fx-arc .18s steps(2, end) infinite;
}
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx).fx--heat .fx__core {
  animation: fx-heat 1.6s ease-in-out infinite;
}
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__spark {
  animation: fx-spark .75s cubic-bezier(.2, .7, .4, 1) infinite;
  animation-delay: calc(var(--i) * -53ms);
}
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__ember {
  animation: fx-ember 2.2s ease-out infinite;
  animation-delay: calc(var(--i) * -.22s);
}
@keyframes fx-arc { 0% { opacity: 1; } 50% { opacity: .55; } }
@keyframes fx-heat {
  0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(.95); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}
@keyframes fx-spark {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), calc(var(--dy) + 8cqw)) scale(.3); opacity: 0; }
}
@keyframes fx-ember {
  0% { transform: translate(0, 0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(var(--dx), -38cqh); opacity: 0; }
}
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx):is(.fx--sparks, .fx--heat) .fx__img {
  filter: brightness(.8) contrast(1.12) saturate(1.15);
}

/* Reduced motion: the "on" state, held still: lights on, no flicker,
   nothing travelling or blinking. */
@media (prefers-reduced-motion: reduce) {
  .fx *, .fx *::before, .fx *::after { animation: none !important; }
  .fx__img { transition: none; }
  .fx:hover .fx__img, .fx-trigger:hover .fx__img, .fx-trigger:focus-within .fx__img { transform: none; }
  .fx__run, .fx__scan, .fx__ring, .fx__spark, .fx__ember, .fx__trails { display: none !important; }
}

/* ---- Where the photos sit ---- */

/* Homepage hero: full-bleed photo behind the headline. motion.js scales it
   slowly as the page scrolls (decoration only, never the text). */
.hero--photo {
  display: grid;
  align-items: center;
  min-height: min(88svh, 820px);
  padding-block: clamp(4rem, 10vh, 7rem) clamp(4rem, 9vh, 6rem);
}
/* the grid stays unpositioned so the photo fills the whole section */
.hero--photo .hero__grid { grid-template-columns: minmax(0, 1fr); }
.hero--photo .hero__text { position: relative; z-index: 1; max-width: 640px; }
.hero__photo { position: absolute; inset: 0; margin: 0; z-index: 0; }
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 11, 26, .94) 0%, rgba(5, 11, 26, .78) 34%, rgba(5, 11, 26, .2) 66%, rgba(5, 11, 26, .05) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 11, 26, 0) 22%);
}
.hero--photo .fx__pt::before { --halo: 16cqw; }
.hero--photo .fx__pt::after { --cone-w: 16cqw; --cone-h: 60cqh; }
@media (max-width: 900px) {
  .hero--photo { min-height: 0; align-items: end; padding-top: clamp(12rem, 52vw, 20rem); }
  /* phones: the photo sits above the headline, framed on the lamps */
  .hero__photo { bottom: 38%; }
  .hero--photo .fx { --px: .8 !important; }
  .hero__photo::after {
    background: linear-gradient(180deg, rgba(5, 11, 26, .1) 0%, rgba(5, 11, 26, .15) 45%, rgba(5, 11, 26, .75) 80%, var(--bg) 100%);
  }
  .hero--photo .fx__pt::before { --halo: 34cqw; }
  .hero--photo .fx__pt::after { --cone-w: 30cqw; }
}

/* Product / page hero photo */
.p-hero__media--photo {
  position: relative;
  padding: 0;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--elev-3);
}
.p-hero__media--photo .fx { position: absolute; inset: 0; }
@media (max-width: 900px) {
  .p-hero__media--photo { max-width: none; aspect-ratio: 16 / 10; }
}

/* Family card photo */
.fcard__media .fx { z-index: 0; }
.fcard__media::after { z-index: 1; pointer-events: none; }
.fcard__media .fcard__code { z-index: 2; }

/* Wide strip at the top of a product sub-section */
.fx-band {
  position: relative;
  aspect-ratio: 21 / 8;
  margin-bottom: var(--sp-6);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
@media (max-width: 600px) { .fx-band { aspect-ratio: 16 / 9; } }

/* Live highway scene (hero-scene.js) painted over the hero photo. The
   photo underneath is the fallback when the script or canvas is missing. */
.hx {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}
/* while the scene boots, the fallback photo stays hidden (no photo-then-scene swap) */
.hx-boot .hero--photo .hero__photo .fx { visibility: hidden; }
.hero__photo.is-scene::after {
  background:
    linear-gradient(90deg, rgba(5, 11, 26, .9) 0%, rgba(5, 11, 26, .62) 30%, rgba(5, 11, 26, 0) 55%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 11, 26, 0) 16%);
}
.hx-tags { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.hx-tag {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .04em;
}
/* the label sits up and to the right of the anchor, on a leader line */
.hx-tag::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 26px;
  background: linear-gradient(0deg, rgba(56, 189, 248, 0), var(--primary));
}
.hx-tag::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .25);
}
.hx-tag {
  padding-bottom: 26px;
}
.hx-tag > * { display: none; }
.hx-tag {
  /* label box drawn with a background on an inline wrapper-free element */
  background:
    linear-gradient(var(--surface-glass, rgba(10, 18, 36, .72)), var(--surface-glass, rgba(10, 18, 36, .72))) left top / 100% calc(100% - 26px) no-repeat;
  border-top: 1px solid rgba(56, 189, 248, .55);
  padding-inline: 8px;
  padding-top: 5px;
  line-height: 1.5;
  margin-top: -2px;
  translate: -1px -100%;
}
.hx-tag:hover { color: var(--primary); }
.hx-hud {
  position: absolute;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(20px, 4vh, 40px);
  z-index: 3;
  display: flex;
  gap: 18px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--steel-300);
}
.hx-hud b { color: var(--accent); font-weight: 500; }
@media (max-width: 900px) { .hx-hud { display: none; } }
@media (max-width: 900px) {
  .hero__photo.is-scene::after {
    background: linear-gradient(180deg, rgba(5, 11, 26, 0) 0%, rgba(5, 11, 26, .2) 32%, rgba(5, 11, 26, .86) 58%, var(--bg) 82%);
  }
}

/* Phones held sideways: too short for scene-above-text, so use the desktop
   arrangement (scene behind, headline over its dark left side). */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .hero--photo { min-height: 0; align-items: center; padding-block: var(--sp-7) var(--sp-8); }
  .hero__photo { bottom: 0; }
  .hero--photo .fx { --px: .78 !important; }
  .hero__photo::after,
  .hero__photo.is-scene::after {
    background:
      linear-gradient(90deg, rgba(5, 11, 26, .92) 0%, rgba(5, 11, 26, .75) 45%, rgba(5, 11, 26, .1) 75%),
      linear-gradient(0deg, var(--bg) 0%, rgba(5, 11, 26, 0) 18%);
  }
  .hero--photo .hero__text { max-width: 62%; }
}

/* Enquiry-form honeypot: off-screen, not display:none (some bots skip hidden inputs) */
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* Catalogue download in the footer brand column */
.footer-cat { margin-top: var(--sp-4); }
/* Header catalogue button: icon only where the desktop header is tight */
@media (min-width: 901px) and (max-width: 1180px) {
  .header-cat { padding-inline: 10px; }
  .header-cat span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---- Direction-wise light (fx--trail): light travels along the objects in
   the photo (lanes, panel rows, rails, wires, tube rims), not across the whole
   image. Paths come from build/stock.json "trails"; pathLength=100 makes every
   dash value a percentage of its own path. ---- */
.fx__trails { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; mix-blend-mode: screen;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, .55)); }
/* daylight photos: solid light with a glow, so it reads on bright steel and sky */
.fx__trails--day { mix-blend-mode: normal; filter: drop-shadow(0 0 3px rgba(255, 255, 255, .95)) drop-shadow(0 0 10px rgba(255, 236, 170, .7)); }
.fx__trail {
  fill: none;
  stroke: var(--c);
  stroke-width: var(--w);
  stroke-linecap: round;
  stroke-dasharray: 22 200;
  stroke-dashoffset: 22;
  opacity: 0;
}
.fx__trail--halo { stroke-width: calc(var(--w) * 3); }
.fx__trail--band { stroke-dasharray: 30 200; stroke-dashoffset: 30; }
.fx__trail--ring { stroke-dasharray: 18 82; stroke-dashoffset: 0; }
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__trail { animation: fx-trail var(--dur) linear var(--delay) infinite; }
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__trail--halo { animation-name: fx-trail-halo; }
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__trail--band { animation-name: fx-trail-band; }
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__trail--ring { animation-name: fx-orbit; }
:is(.fx:hover, .fx.is-live, .fx-trigger:hover .fx, .fx-trigger:focus-within .fx) .fx__trail--ring.fx__trail--halo { animation-name: fx-orbit-halo; }
@keyframes fx-trail { 0% { stroke-dashoffset: 22; opacity: 0; } 6%, 88% { opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes fx-trail-halo { 0% { stroke-dashoffset: 22; opacity: 0; } 6%, 88% { opacity: .45; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes fx-trail-band { 0% { stroke-dashoffset: 30; opacity: 0; } 15%, 85% { opacity: .4; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes fx-orbit { 0% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 1; } }
@keyframes fx-orbit-halo { 0% { stroke-dashoffset: 0; opacity: .45; } 100% { stroke-dashoffset: -100; opacity: .45; } }
