/* Heat Exchangers Ltd
   Brand colours and Montserrat from the Heat Exchangers brand pack; blueprint
   house style kept for the exploded heat pump drawing. Ported from the Claude Design artifact
   to plain HTML/CSS so the site loads without a JS framework. */

/* ── Fonts (self-hosted; no third-party requests) ─────────────────────── */
/* Montserrat, the brand typeface (SIL Open Font Licence), one variable file
   covering weights 100 to 900. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/montserrat-var.woff') format('woff'); }

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  --paper: #EFEEEC;      /* Light Grey */
  --ink: #232528;        /* Charcoal */
  --navy: #111214;       /* Black */
  --accent: #A02333;     /* Heat Red */
  --accent-on-dark: #D84A5C; /* lighter Heat Red, only for text on black/charcoal */
  --steel: #5E6268;      /* Steel Grey */
  --blue: #A02333;
  --ink-70: rgba(35, 37, 40, 0.7);
  --ink-55: rgba(35, 37, 40, 0.55);
  --rule: rgba(35, 37, 40, 0.18);
  --rule-soft: rgba(35, 37, 40, 0.14);
  --paper-dim: rgba(239, 238, 236, 0.75);

  /* Blueprint (exploded drawing), midnight theme */
  --xbg: #111214;
  --xline: rgba(239, 238, 236, 0.78);
  --xline2: rgba(239, 238, 236, 0.38);
  --xfill: rgba(239, 238, 236, 0.04);
  --xtext: #FFFFFF;
  --xdim2: rgba(239, 238, 236, 0.62);
  --xhi: #FFFFFF;
  --xamber: #D84A5C;
  --xgrid: rgba(239, 238, 236, 0.06);
  --xlen: 360vh;
  /* Shorter travel on phones, 360vh of thumb-scrolling is a lot on a handset. */
  --xlen-mobile: 300vh;

  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(24px, 4vw, 64px);
  --section-y: clamp(56px, 7vw, 104px);
  /* Height of the sticky nav. The pinned drawing reserves this so its heading
     is not covered when the section pins to the top of the viewport. */
  --nav-h: 61px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
  font: 500 13px var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
}
.skip-link:focus { left: 0; }

/* ── Shared type ─────────────────────────────────────────────────────────── */
.eyebrow {
  font: 500 12px var(--mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}

.h2 {
  margin: 10px 0 0;
  font: 800 clamp(29.6px, 3.7vw, 53.3px)/0.95 var(--display);
  text-transform: uppercase;
}

.lede {
  font: 400 16.5px/1.7 var(--sans);
  color: rgba(35, 37, 40, 0.78);
  max-width: 56ch;
}

.section {
  padding: var(--section-y) var(--gutter);
  border-bottom: 1px solid var(--rule);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font: 700 13.5px var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 30px;
  border: 1.5px solid var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}
.btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* On the dark navy panels */
.on-dark .btn--primary { border-color: #EFEEEC; box-shadow: 3px 3px 0 rgba(239, 238, 236, 0.9); }
.on-dark .btn--primary:hover { box-shadow: 5px 5px 0 rgba(239, 238, 236, 0.9); }
.on-dark .btn--ghost { color: #EFEEEC; border-color: #EFEEEC; }
.on-dark .btn--ghost:hover { background: #EFEEEC; color: var(--ink); }

.btn-outline {
  font: 600 13px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 12px 22px;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-outline--accent { color: var(--accent); border-color: var(--accent); }
.btn-outline--accent:hover { background: var(--accent); color: #fff; }

/* ── Top strip ───────────────────────────────────────────────────────────── */
.topstrip {
  background: var(--navy);
  color: var(--paper-dim);
  font: 400 10.5px/1.5 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 8px 28px;
  flex-wrap: wrap;
}
.topstrip__right { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.topstrip__accent { color: var(--accent); }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  gap: 8px 20px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); padding: 10px 0; }
.brand img { height: 38px; width: auto; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font: 700 18.9px var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand__sub {
  font: 400 9.5px var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-top: 3px;
}

.nav__links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.nav__link {
  font: 500 12px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-70);
  text-decoration: none;
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
  transition: color .15s;
}
.nav__link:hover { color: var(--blue); }
.nav__link[aria-current='page'] { color: var(--ink); border-bottom-color: var(--accent); }

.nav__phone {
  margin-left: 10px;
  background: var(--accent);
  color: #fff;
  font: 600 12.5px var(--mono);
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(35, 37, 40, 0.9);
  transition: transform .15s;
}
.nav__phone:hover { transform: translateY(-1px); }

/* Phones: brand and the call button share the top row, links sit beneath on
   their own. Left to wrap naturally the bar grew to three rows and ~154px,
   which is a fifth of a handset screen on every page. Keep in step with the
   --nav-h override in the phone media query below. */
@media (max-width: 720px) {
  .nav { padding: 0 16px; gap: 0; }
  .brand { padding: 7px 0; gap: 9px; }
  .brand img { height: 29px; }
  .brand__name { font-size: 17px; }
  .brand__sub { font-size: 8px; letter-spacing: 0.16em; margin-top: 2px; }
  /* The call button is a child of .nav__links in the markup, so lift it out of
     that flow to sit beside the brand instead of stacking below the links. */
  .nav__phone {
    position: absolute;
    top: 8px;
    right: 16px;
    margin-left: 0;
    padding: 8px 12px;
    font-size: 11.5px;
    letter-spacing: 0.06em;
  }
  .nav__links { width: 100%; gap: 0 20px; justify-content: flex-start; }
  .nav__link { padding: 4px 0 8px; font-size: 11px; letter-spacing: 0.1em; }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { border-bottom: 1px solid var(--rule); }

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr));
  align-items: stretch;
}

.hero__copy {
  padding: clamp(44px, 6vw, 92px) 28px clamp(44px, 5vw, 76px) clamp(28px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--rule-soft);
  position: relative;
}

.hero__ref {
  position: absolute;
  top: 16px;
  left: clamp(28px, 4vw, 64px);
  font: 400 10.5px var(--mono);
  letter-spacing: 0.2em;
  color: rgba(35, 37, 40, 0.42);
}

.hero__kicker {
  font: 500 13px var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__kicker::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--blue);
  display: inline-block;
  flex: none;
}

.hero__title {
  margin: 0;
  font: 800 clamp(38.5px, 5.6vw, 97.7px)/0.92 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.hero__outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero__mark { background: var(--accent); padding: 0 12px; display: inline-block; }

.hero__body {
  margin: 30px 0 0;
  max-width: 52ch;
  font: 400 17px/1.65 var(--sans);
  color: rgba(35, 37, 40, 0.78);
}

.hero__actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.hero__figure { position: relative; min-height: min(60vw, 480px); background: var(--navy); }
.hero__figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.figbar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(17, 18, 20, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-top: 1px solid rgba(239, 238, 236, 0.25);
  padding: 11px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 400 11px var(--mono);
  letter-spacing: 0.12em;
  color: rgba(239, 238, 236, 0.85);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.figbar__accent { color: var(--accent); }

.crop {
  position: absolute;
  top: 10px;
  font: 400 16px var(--mono);
  color: rgba(239, 238, 236, 0.9);
}
.crop--l { left: 14px; }
.crop--r { right: 14px; }

/* Trust bar */
.trustbar {
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: rgba(35, 37, 40, 0.03);
}
.trustbar > * {
  padding: 15px 12px;
  text-align: center;
  border-right: 1px solid rgba(35, 37, 40, 0.12);
  font: 500 12px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(35, 37, 40, 0.8);
}
.trustbar > *:last-child { border-right: 0; color: var(--ink); }
.trustbar .muted { color: var(--ink-55); }

/* ── Exploded heat pump (pinned scroll) ──────────────────────────────────── */
.explode {
  height: var(--xlen);
  background: var(--xbg);
  position: relative;
}

.explode__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  /* svh, not vh/dvh: mobile browsers resize the viewport as the URL bar hides,
     which makes a vh-sized sticky element jump mid-scroll. svh is the stable
     "toolbar visible" height, so the pinned stage never resizes under the user. */
  height: 100svh;
  padding-top: var(--nav-h);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.explode__grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }

.explode__head {
  position: absolute;
  top: var(--nav-h); left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 24px clamp(20px, 3.5vw, 56px);
  z-index: 5;
  pointer-events: none;
}
.explode__eyebrow {
  font: 500 12px var(--mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--xamber);
}
.explode__title {
  margin: 8px 0 0;
  font: 800 clamp(20.7px, 2.5vw, 38.5px)/1 var(--display);
  text-transform: uppercase;
  color: var(--xtext);
  letter-spacing: 0.01em;
}
.explode__sub {
  margin: 10px 0 0;
  font: 400 14px/1.55 var(--sans);
  color: var(--xdim2);
  max-width: 42ch;
}
.explode__meta {
  text-align: right;
  font: 400 11.5px var(--mono);
  letter-spacing: 0.12em;
  color: var(--xdim2);
  text-transform: uppercase;
  flex-shrink: 0;
}
.explode__meta div + div { margin-top: 6px; }
.explode__pct-row { color: var(--xtext); }
#explode-pct { color: var(--xamber); }
#explode-stage-name { color: var(--xhi); }

.explode__drawing {
  height: min(calc(96vh - var(--nav-h)), 1350px);
  width: auto;
  max-width: 98vw;
  display: block;
  margin-top: 2vh;
}

.explode__hint {
  position: absolute;
  bottom: 18px;
  left: clamp(20px, 3.5vw, 56px);
  font: 500 11px var(--mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--xtext);
  background: var(--xbg);
  border: 1px solid var(--xline2);
  padding: 9px 14px;
  transition: opacity .4s;
  white-space: nowrap;
}

.explode__progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(128, 128, 128, 0.22); }
.explode__progress span { display: block; height: 100%; background: var(--xamber); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Assemblies: each drifts by its own factor as --p goes 0 → 1 */
.asm { transform: translateY(calc(var(--p, 0) * var(--drift, 0) * 1px)); }
.asm__label { opacity: clamp(0, calc((var(--p, 0) - var(--at, 0)) * 7), 1); }
.fade-early { opacity: clamp(0, calc(1 - var(--p, 0) * 2.6), 1); }
.fade-mid { opacity: clamp(0, calc(1 - var(--p, 0) * 3.4), 1); }
.fan-blades { transform-box: view-box; transform-origin: 405px 745px; transform: rotate(calc(var(--p, 0) * 160deg)); }

.dwg-line { fill: none; stroke: var(--xline); stroke-width: 2; }
.dwg-line-thin { fill: none; stroke: var(--xline); stroke-width: 1.4; }
.dwg-faint { fill: none; stroke: var(--xline2); stroke-width: 1; }
.dwg-fill { fill: var(--xfill); stroke: var(--xline); stroke-width: 2; }
.dwg-knock { fill: var(--xbg); stroke: var(--xline); stroke-width: 2; }
.dwg-hi { fill: none; stroke: var(--xhi); stroke-width: 1.8; }
.dwg-leader { stroke: var(--xamber); stroke-width: 1.2; fill: none; }
.dwg-dot { fill: var(--xamber); }
/* Sized in viewBox units. The drawing is height-constrained on desktop, so a
   1700-unit-tall frame renders around 0.42px per unit on a laptop, 15px here
   was under 7px on screen. The frame is widened to match (see the viewBox on
   #explode-drawing); at these sizes the longest left label reaches -222. */
.dwg-txt { font: 500 30px var(--mono); fill: var(--xtext); letter-spacing: 0.06em; }
.dwg-txt-sm { font: 400 22px var(--mono); fill: var(--xdim2); letter-spacing: 0.05em; }
.dwg-txt-xs { font: 400 22px var(--mono); fill: var(--xdim2); letter-spacing: 0.1em; }
/* The title block is a fixed-width box, so its text stays at drawing scale. */
.dwg-title { font-size: 18px; }
.dwg-title-sm { font-size: 15px; }
.dwg-num { fill: var(--xamber); }

/* Part number badges. Desktop reads the full leader-line labels inside the
   drawing; on phones those are unreadable at the available scale, so the
   badges plus the running caption carry the same information instead. */
.asm__num {
  font: 600 34px var(--mono);
  fill: var(--xamber);
  letter-spacing: 0.04em;
  opacity: clamp(0, calc((var(--p, 0) - var(--at, 0)) * 7), 1);
  display: none;
}

/* Caption driven by scroll position, the mobile stand-in for the in-drawing
   labels. Reserves its own height so naming a part cannot shift the drawing. */
.explode__caption {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  padding: 0 18px;
  text-align: center;
  z-index: 5;
  pointer-events: none;
  display: none;
  min-height: 40px;
}
.explode__caption b {
  display: block;
  font: 600 15px var(--mono);
  letter-spacing: 0.08em;
  color: var(--xtext);
  text-transform: uppercase;
}
.explode__caption b i { color: var(--xamber); font-style: normal; }
.explode__caption span {
  display: block;
  margin-top: 4px;
  font: 400 11.5px var(--mono);
  letter-spacing: 0.05em;
  color: var(--xdim2);
  text-transform: uppercase;
}

/* ── Phones: keep the pinned scroll, restage it for a narrow screen ──────── */
@media (max-width: 720px) {
  /* The nav wraps to two rows here, and the pinned stage has to reserve the
     real height or the section heading sits underneath it. */
  :root { --nav-h: 78px; }

  .explode { height: var(--xlen-mobile, 300vh); }
  .explode__stage { padding-top: calc(var(--nav-h) + 4px); }

  /* JS crops the viewBox to the unit column, so the side label gutters are no
     longer in frame and the drawing can fill the width of the phone. */
  .explode__drawing {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: calc(100svh - var(--nav-h) - 150px);
    margin-top: 76px;
  }

  .explode__head { padding: 10px 18px 0; gap: 8px; display: block; }
  .explode__title { font-size: 26px; margin-top: 4px; }
  .explode__sub { display: none; }
  .explode__meta {
    text-align: left;
    margin-top: 6px;
    font-size: 10.5px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .explode__meta div + div { margin-top: 0; }
  .explode__meta div:first-child { display: none; }

  .asm__label { display: none; }
  .asm__num { display: block; }
  .explode__caption { display: block; }
  /* Annotations that sit outside the cropped frame, or are too small to read
     once the drawing is phone-sized. */
  .fade-early, .fade-mid, .dwg-aside, .dwg-titleblock { display: none; }

  .explode__hint { bottom: 68px; left: 50%; transform: translateX(-50%); font-size: 10px; letter-spacing: 0.18em; }
}

/* Landscape phones and anything genuinely too short to pin: static drawing. */
@media (max-height: 450px) {
  .explode { height: auto; }
  .explode__stage { position: static; height: auto; padding: 24px 0 40px; display: block; }
  .explode__head { position: static; top: auto; padding: 0 clamp(20px, 5vw, 40px) 8px; display: block; }
  .explode__meta { text-align: left; margin-top: 14px; }
  .explode__drawing { height: auto; width: 100%; max-width: 100%; margin: 8px auto 0; max-height: none; }
  .explode__hint, .explode__progress, .explode__grid, .explode__caption { display: none; }
  .asm, .fan-blades { transform: none; }
  .asm__label { display: block; opacity: 1; }
  .asm__num { display: none; }
  .fade-early, .fade-mid { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .explode { height: auto; }
  .explode__stage { position: static; height: auto; padding: 24px 0 40px; display: block; }
  .explode__head { position: static; top: auto; padding: 0 clamp(20px, 5vw, 40px) 8px; display: block; }
  .explode__meta { text-align: left; margin-top: 14px; }
  .explode__drawing { height: auto; width: 100%; max-width: 100%; margin: 8px auto 0; max-height: none; }
  .explode__hint, .explode__progress, .explode__grid, .explode__caption { display: none; }
  .asm, .fan-blades { transform: none; }
  .asm__label { display: block; opacity: 1; }
  .asm__num { display: none; }
  .fade-early, .fade-mid { display: none; }
}

/* ── Bridge CTA under the drawing ────────────────────────────────────────── */
.bridge {
  background: var(--navy);
  border-top: 1px solid rgba(239, 238, 236, 0.14);
  padding: 26px 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
}
.bridge p {
  margin: 0;
  font: 400 14px/1.5 var(--sans);
  color: rgba(239, 238, 236, 0.7);
  max-width: 60ch;
  text-align: center;
}

/* ── Service cards ───────────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  border-top: 1.5px solid var(--ink);
  border-left: 1.5px solid var(--ink);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 52px;
  padding: 24px 22px 26px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  text-decoration: none;
  color: var(--ink);
  transition: background .15s, color .15s;
  position: relative;
}
.card:hover { background: var(--navy); color: var(--paper); }

.card__top {
  display: flex;
  justify-content: space-between;
  font: 500 13px var(--mono);
  letter-spacing: 0.1em;
  color: inherit;
}
.card__ref { color: var(--blue); }
.card:hover .card__ref { color: var(--accent); }

.card__title {
  display: block;
  font: 800 20px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.card__desc {
  display: block;
  margin-top: 10px;
  font: 400 14.5px/1.55 var(--sans);
  opacity: 0.72;
}

.card__flag {
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  background: var(--accent);
  color: #fff;
  font: 600 10px var(--mono);
  letter-spacing: 0.14em;
  padding: 5px 9px;
  border: 1.5px solid var(--ink);
}

/* ── Split section (About / generic image + copy) ────────────────────────── */
.split { border-bottom: 1px solid var(--rule); }
.split__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
  align-items: stretch;
}
.split__figure {
  position: relative;
  min-height: min(70vw, 460px);
  background: var(--navy);
  border-right: 1px solid var(--rule-soft);
}
.split__figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.split__copy {
  padding: clamp(44px, 5vw, 80px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split__title {
  margin: 10px 0 0;
  font: 800 clamp(29.6px, 3.4vw, 48.8px)/0.95 var(--display);
  text-transform: uppercase;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 36px;
  border-top: 1.5px solid var(--ink);
}
.stats > div { padding: 16px 18px 0; border-left: 1px solid var(--rule); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats__n { font: 800 32.6px/1 var(--display); }
.stats__n em { color: var(--accent); font-style: normal; }
.stats__k {
  font: 400 11px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-top: 6px;
}

/* ── Numbered list (Why us / process) ────────────────────────────────────── */
.numlist { border-top: 1.5px solid var(--ink); }
.numlist__row {
  display: grid;
  grid-template-columns: clamp(56px, 8vw, 120px) 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.numlist__n {
  font: 800 25.2px/1 var(--display);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.numlist__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 8px 40px;
  align-items: baseline;
}
.numlist__body h3 { margin: 0; font: 800 19.2px/1.05 var(--display); text-transform: uppercase; }
.numlist__body p { margin: 0; font: 400 15.5px/1.6 var(--sans); color: rgba(35, 37, 40, 0.72); }

/* ── Work gallery ────────────────────────────────────────────────────────── */
.work {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 22px;
  align-items: stretch;
}
.work figure { margin: 0; position: relative; border: 1.5px solid var(--ink); background: var(--navy); display: flex; flex-direction: column; }
.work figure img { width: 100%; display: block; }
.work__stack { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.work__stack img { flex: 1; min-height: 0; object-fit: cover; }
.work__lead img { aspect-ratio: 3 / 2; object-fit: cover; }
.work figcaption {
  background: var(--navy);
  color: rgba(239, 238, 236, 0.85);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 400 11.5px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.work__stack figcaption { padding: 11px 16px; font-size: 11px; }
.work__flag {
  position: absolute;
  top: 0; left: 0;
  background: var(--accent);
  color: #fff;
  font: 600 10.5px var(--mono);
  letter-spacing: 0.14em;
  padding: 6px 10px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

/* ── Big CTA ─────────────────────────────────────────────────────────────── */
.cta {
  background: var(--navy);
  color: #EFEEEC;
  padding: clamp(64px, 8vw, 120px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta__eyebrow {
  font: 500 12px var(--mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(239, 238, 236, 0.6);
}
.cta__title {
  margin: 20px auto 0;
  font: 800 clamp(38.5px, 5.2vw, 88.8px)/0.95 var(--display);
  text-transform: uppercase;
  max-width: 12ch;
  text-wrap: balance;
}
.cta__title em { color: var(--accent); font-style: normal; }
.cta__phone {
  display: inline-block;
  margin-top: 34px;
  font: 800 clamp(22.2px, 3vw, 40px)/1 var(--display);
  letter-spacing: 0.06em;
  color: #EFEEEC;
  text-decoration: none;
  transition: color .15s;
}
.cta__phone:hover { color: var(--accent); }
.cta__actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--rule);
  padding: clamp(44px, 5vw, 72px) var(--gutter) 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 36px 44px;
}
.footer__blurb { margin: 18px 0 0; font: 400 14px/1.65 var(--sans); color: var(--ink-70); max-width: 32ch; }
.footer__h {
  font: 500 11px var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.footer__body { font: 400 14.5px/1.7 var(--sans); color: rgba(35, 37, 40, 0.78); }
.footer__body a { color: rgba(35, 37, 40, 0.78); text-decoration: underline; text-underline-offset: 3px; }
.footer__body a.strong { color: var(--ink); text-decoration: none; font-weight: 600; }
.footer__base {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
  font: 400 10.5px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(35, 37, 40, 0.5);
}
.footer__base a { color: inherit; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── Services page ───────────────────────────────────────────────────────── */
.pagehead {
  padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.pagehead__ref {
  font: 400 10.5px var(--mono);
  letter-spacing: 0.2em;
  color: rgba(35, 37, 40, 0.42);
  margin-bottom: 18px;
}
.pagehead__title {
  margin: 10px 0 0;
  font: 800 clamp(38.5px, 5.5vw, 85.8px)/0.92 var(--display);
  text-transform: uppercase;
  text-wrap: balance;
}
.pagehead__lede { margin: 24px 0 0; font: 400 17px/1.65 var(--sans); color: rgba(35, 37, 40, 0.78); max-width: 60ch; }

.svc {
  display: grid;
  grid-template-columns: clamp(70px, 9vw, 150px) 1fr;
  gap: 20px 24px;
  padding: clamp(30px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--rule);
}
.svc:last-child { border-bottom: 0; }
.svc__ref {
  font: 500 13px var(--mono);
  letter-spacing: 0.12em;
  color: var(--blue);
}
.svc__ref span {
  display: block;
  margin-top: 10px;
  font: 800 31.1px/1 var(--display);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.svc__title { margin: 0; font: 800 clamp(22.2px, 2.5vw, 34px)/1 var(--display); text-transform: uppercase; }
.svc__desc { margin: 14px 0 0; font: 400 16px/1.65 var(--sans); color: rgba(35, 37, 40, 0.78); max-width: 62ch; }
.svc__list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 8px 28px;
}
.svc__list li {
  font: 400 14.5px/1.5 var(--sans);
  color: var(--ink-70);
  padding-left: 20px;
  position: relative;
}
.svc__list li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
}
.svc__flag {
  display: inline-block;
  margin-bottom: 12px;
  background: var(--accent);
  color: #fff;
  font: 600 10px var(--mono);
  letter-spacing: 0.14em;
  padding: 5px 9px;
  border: 1.5px solid var(--ink);
  text-transform: uppercase;
}

.areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  border-top: 1.5px solid var(--ink);
  border-left: 1.5px solid var(--ink);
}
.areas > div {
  padding: 20px 22px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.areas__k {
  font: 500 11px var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.areas__v { margin-top: 10px; font: 400 15px/1.6 var(--sans); color: rgba(35, 37, 40, 0.78); }

/* ── Contact page ────────────────────────────────────────────────────────── */
/* Phone is the conversion path for a trade business, so it gets its own band
   rather than competing with three equal-weight cards. */
.contact-lead {
  background: var(--navy);
  color: #EFEEEC;
  border: 1.5px solid var(--ink);
  padding: clamp(28px, 3.5vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px 48px;
  align-items: center;
}
.contact-lead__k {
  font: 500 11px var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-lead__num {
  display: inline-block;
  margin-top: 14px;
  font: 800 clamp(29.6px, 4vw, 56.2px)/1 var(--display);
  letter-spacing: 0.04em;
  color: #EFEEEC;
  text-decoration: none;
  transition: color .15s;
}
.contact-lead__num:hover { color: var(--accent); }
.contact-lead__note {
  margin: 0;
  font: 400 16px/1.7 var(--sans);
  color: rgba(239, 238, 236, 0.72);
  max-width: 44ch;
}
.contact-lead__hours {
  margin-top: 14px;
  font: 500 12px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(239, 238, 236, 0.9);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  border-top: 1.5px solid var(--ink);
  border-left: 1.5px solid var(--ink);
  margin-top: 22px;
}
.contact-card {
  padding: clamp(26px, 3vw, 40px);
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card__k {
  font: 500 11px var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}
.contact-card__v {
  font: 800 clamp(17.8px, 1.9vw, 25.2px)/1.1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  /* Long unbroken strings (the gmail address) must wrap inside the card
     rather than spill over the border into the next one. */
  overflow-wrap: anywhere;
}
.contact-card__v a { color: var(--ink); text-decoration: none; }
.contact-card__v a:hover { color: var(--blue); }

/* An email address is not display copy, set it as text, at a size that fits. */
.contact-card__v--email {
  font: 600 clamp(15px, 1.35vw, 19px)/1.45 var(--sans);
  text-transform: none;
  letter-spacing: 0;
}
.contact-card__v--email a { text-decoration: underline; text-underline-offset: 4px; }

.contact-card__note { margin: 0; font: 400 15px/1.6 var(--sans); color: var(--ink-70); }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font: 400 15.5px/1.4 var(--sans);
  color: rgba(35, 37, 40, 0.78);
}
.hours th {
  font: 500 11.5px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-55);
  width: 40%;
}
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td.closed { color: var(--ink-55); }

/* ── 404 ─────────────────────────────────────────────────────────────────── */
.notfound {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(60px, 10vw, 140px) var(--gutter);
  gap: 18px;
}
.notfound h1 { margin: 0; font: 800 clamp(53.3px, 10.4vw, 148px)/0.9 var(--display); }

/* Small, low-key plumbing mention under the service cards */
.cards-note {
  margin: 22px 0 0;
  font: 400 15px/1.5 var(--sans);
  color: var(--ink-55);
}
.cards-note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Secondary service (plumbing): quieter than the heat pump entries */
.svc--minor .svc__title { font-size: clamp(22px, 2.4vw, 30px); }
.svc--minor .svc__desc, .svc--minor .svc__list { color: var(--ink-55); }

/* ── Five-link nav on phones: one row that scrolls sideways if it must,
   so the bar keeps the same height the sticky offsets expect. ─────────── */
@media (max-width: 720px) {
  .nav__links { flex-wrap: nowrap; overflow-x: auto; gap: 0 16px; scrollbar-width: none; }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__link { white-space: nowrap; flex: none; }
}

/* ── Homepage servicing promo ─────────────────────────────────────────── */
.promo {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px 40px;
  padding: clamp(36px, 5vw, 64px) clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--rule);
  background: #FFFFFF;
}
.promo .h2 em { font-style: normal; color: var(--accent); }
.promo__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Servicing: brand chips ───────────────────────────────────────────── */
.brandlist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.brandlist li {
  font: 500 13px var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--ink); padding: 10px 14px; background: #fff;
}

/* ── Servicing: price box ─────────────────────────────────────────────── */
.pricebox {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  border: 1px solid var(--ink); background: #fff;
}
.pricebox__main { padding: 28px; background: var(--navy); color: #fff; }
.pricebox__k { font: 500 12px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.pricebox__n { font: 800 clamp(47.4px, 6.7vw, 71px)/1 var(--display); margin-top: 10px; }
.pricebox__v { font: 400 16px/1.5 var(--sans); color: var(--paper-dim); margin-top: 8px; }
.pricebox__list { list-style: none; margin: 0; padding: 12px 28px; }
.pricebox__list li {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--rule-soft);
  font: 400 15px/1.4 var(--sans);
}
.pricebox__list li:last-child { border-bottom: 0; }
.pricebox__list strong { font: 600 15px var(--mono); white-space: nowrap; }

/* ── Prices page tables ───────────────────────────────────────────────── */
.prices { width: 100%; max-width: 900px; border-collapse: collapse; border-top: 2px solid var(--ink); }
.prices th, .prices td { padding: 18px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prices th { text-align: left; font: 500 17px/1.35 var(--sans); padding-right: 20px; }
.prices td { text-align: right; font: 600 16px/1.35 var(--mono); white-space: nowrap; }
.prices__note { display: block; margin-top: 4px; font: 400 14px/1.45 var(--sans); color: var(--ink-55); }
.prices__note a { color: var(--blue); }
@media (max-width: 520px) { .prices td { white-space: normal; width: 34%; } }

/* ── Sticky call / WhatsApp bar on phones ─────────────────────────────── */
.mobbar { display: none; }
@media (max-width: 720px) {
  .mobbar {
    display: grid; grid-template-columns: 1.4fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    border-top: 1px solid var(--ink);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink);
  }
  .mobbar a {
    display: flex; align-items: center; justify-content: center;
    padding: 15px 8px; text-decoration: none;
    font: 600 13px var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  }
  .mobbar__call { background: var(--accent); color: #fff; }
  .mobbar__wa { background: #1f9d55; color: #fff; }
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
}

/* ══════════ Prices & booking page ══════════ */
.phead { background: linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%); }
.pjump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pjump a {
  font: 500 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 9px 14px;
  border: 1px solid var(--ink); background: #fff; border-radius: 999px;
}
.pjump a:hover { background: var(--accent); }

.psec .h2 { margin-bottom: 8px; }
.psec__lede { margin: 0 0 26px; font: 400 16px/1.6 var(--sans); color: var(--ink-70); max-width: 62ch; }
.psec__lede a { color: var(--blue); }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.pcard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--ink); padding: 22px 20px 18px;
  border-top: 5px solid var(--accent);
  box-shadow: 4px 4px 0 rgba(35, 37, 40, 0.9);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.pcard--hot { border-top-color: var(--blue); }
.pcard--info { box-shadow: none; border-top-color: var(--rule); background: transparent; border-style: dashed; }
.pcard.is-added { background: #F8EEEF; transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--accent); }
.pcard__badge {
  position: absolute; top: -13px; right: 14px;
  background: var(--blue); color: #fff; padding: 4px 10px;
  font: 600 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
}
.pcard__title { margin: 0; font: 700 19.8px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.pcard__note { margin: 10px 0 18px; font: 400 14.5px/1.5 var(--sans); color: var(--ink-70); flex: 1; }
.pcard__note strong { color: var(--ink); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pcard__price { font: 800 22.2px/1 var(--display); color: var(--ink); }
.pcard__add {
  font: 600 13px var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--accent); color: #fff; border: 1px solid var(--ink);
  padding: 11px 16px; cursor: pointer; min-width: 92px;
}
.pcard__add[aria-pressed='true'] { background: var(--ink); color: #fff; }
.pcard__add:disabled { background: transparent; color: var(--ink-55); border-color: var(--rule); cursor: not-allowed; font-size: 11px; }

.smallprint { margin: 0; padding: 0; list-style: none; max-width: 70ch; }
.smallprint li { padding: 12px 0; border-bottom: 1px solid var(--rule-soft); font: 400 15.5px/1.55 var(--sans); color: var(--ink-70); }
.smallprint strong { color: var(--ink); }

/* Booking request */
.book { background: var(--navy); color: #fff; }
.book .eyebrow { color: var(--accent); }
.book .h2 { color: #fff; }
.book .psec__lede { color: var(--paper-dim); }
.book__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; align-items: start; }
.book__summary { background: #fff; color: var(--ink); padding: 22px; border-top: 5px solid var(--accent); }
.book__k { font: 500 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-55); }
.book__items { list-style: none; margin: 12px 0 0; padding: 0; }
.book__items li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); font: 400 15px/1.4 var(--sans); }
.book__items strong { font: 600 15px var(--mono); }
.book__items button { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-55); padding: 2px 6px; }
.book__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; font: 500 13px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.book__total strong { font: 800 25.2px/1 var(--display); letter-spacing: 0; }
.book__monthly { margin: 6px 0 0; font: 400 14px var(--sans); color: var(--ink-70); text-align: right; }
.book__form fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.book__form legend { font: 700 18px var(--display); text-transform: uppercase; margin-bottom: 10px; }
.book__form legend span, .book__form label span { font: 400 13px var(--sans); text-transform: none; color: var(--paper-dim); }
.book__date { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 8px; }
.book__form label { display: block; font: 500 14px var(--sans); margin-bottom: 12px; }
.book__form input, .book__form select, .book__form textarea {
  display: block; width: 100%; box-sizing: border-box; margin-top: 6px;
  font: 400 16px var(--sans); padding: 12px; border: 1px solid #fff; background: #fff; color: var(--ink); border-radius: 0;
}
.book__date input, .book__date select { margin-top: 0; }
.book__err { background: #ffe1e1; color: #8a1010; padding: 10px 12px; font: 500 14px var(--sans); }
.book__send { display: flex; flex-wrap: wrap; gap: 12px; }
.book__send .btn--ghost { color: #fff; border-color: #fff; }

/* Sticky basket bar */
.basket {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--ink); color: #fff; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 3px solid var(--accent);
}
.basket[hidden] { display: none; }
.basket__info { display: flex; flex-direction: column; font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-dim); }
.basket__info strong { font: 700 19.8px var(--display); color: #fff; letter-spacing: 0; text-transform: none; }
.basket__go { background: var(--accent); color: #fff; text-decoration: none; padding: 13px 20px; font: 600 13px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid #000; }
body.has-basket { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

.basket.is-away { transform: translateY(110%); }
.basket { transition: transform .2s; }

/* FAQ */
.faq { max-width: 820px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font: 700 18px/1.25 var(--display); text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font: 800 19.2px var(--display); color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 0 0 18px; font: 400 16px/1.6 var(--sans); color: var(--ink-70); max-width: 65ch; }

/* Cleaner look: hide drawing-sheet reference codes */
.card__ref, .svc__ref { display: none; }
.svc { grid-template-columns: 1fr; }

/* Servicing photos */
.svcphotos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  border-bottom: 1px solid var(--rule);
}
.svcphotos figure { margin: 0; position: relative; }
.svcphotos img { display: block; width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.svcphotos figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px;
  background: rgba(17, 18, 20, 0.82); color: #fff;
  font: 500 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
}

/* Recent work: two photos side by side */
.work > figure img { aspect-ratio: 4 / 3; height: auto; flex: none; object-fit: cover; }
.work { align-items: start; }

.footer__legal { margin: 14px 0 0; padding: 0; max-width: 70ch; font: 400 12px/1.5 var(--sans); color: var(--ink-55); }

/* Privacy / legal text */
.legal { max-width: 760px; }
.legal h2 { margin: 34px 0 10px; font: 800 17.8px/1.15 var(--display); text-transform: uppercase; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font: 400 16px/1.65 var(--sans); color: var(--ink-70); }
.legal ul { padding-left: 20px; }

/* Bigger tap targets for the small footer links on phones */
.footer__links a { display: inline-block; padding: 10px 0; }
.footer__links { row-gap: 0; }

/* Basket page and nav basket link */
.nav__basket[hidden] { display: none; }
.nav__count {
  display: inline-block; min-width: 18px; padding: 1px 5px; margin-left: 4px;
  background: var(--accent); color: #fff; border-radius: 999px;
  font: 600 11px/16px var(--mono); text-align: center; letter-spacing: 0;
}
.book__empty { background: #fff; color: var(--ink); padding: 26px; border-top: 5px solid var(--accent); max-width: 520px; }
.book__empty p { margin: 0 0 18px; font: 500 18px var(--sans); }
.book__empty .btn--ghost { color: var(--ink); border-color: var(--ink); }
.book__more { display: inline-block; margin-top: 8px; color: var(--blue); font: 500 14px var(--sans); }
.book__grid[hidden], .book__empty[hidden] { display: none; }
@media (max-width: 720px) { .nav__basket { display: none !important; } }

/* Blueprint focus mode: while the exploded drawing is pinned, the top menu
   and the bottom call/basket bars slide out of the way, then return. */
.nav { transition: transform .25s ease; }
.mobbar { transition: transform .25s ease; }
html.in-explode .nav { transform: translateY(-110%); }
html.in-explode .mobbar,
html.in-explode .basket { transform: translateY(110%); }
html.in-explode .explode { --nav-h: 0px; }
@media (max-width: 720px) {
  html.in-explode .explode__drawing { max-height: calc(100svh - 190px); }
}

/* Qualifications strip */
.quals__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 12px;
}
.quals__list li {
  background: #fff; border: 1px solid var(--ink); border-left: 5px solid var(--accent);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
}
.quals__list strong { font: 700 16.2px/1.15 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.quals__list span { font: 400 13.5px/1.4 var(--sans); color: var(--ink-70); }
@media (max-width: 520px) { .quals__list { grid-template-columns: 1fr 1fr; gap: 8px; } .quals__list li { padding: 12px; } .quals__list strong { font-size: 15px; } .quals__list span { font-size: 12.5px; } }

/* ══════════ Heat Exchangers brand layer ══════════
   Heat Red #A02333 · Charcoal #232528 · Black #111214 · Steel Grey #5E6268 ·
   Light Grey #EFEEEC · White. Small red text is hard to read on dark
   backgrounds, so on black/charcoal the lighter --accent-on-dark tint is used. */
body { color: var(--ink); }
.brand img.brand__logo { height: 40px; width: auto; }
.brand--footer img.brand__logo { height: 52px; }
@media (max-width: 720px) {
  .brand img.brand__logo { height: 30px; }
}
.hero__mark { color: #fff; }
.topstrip__accent { color: var(--accent-on-dark); }
.cta__title em { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.09em; text-underline-offset: 0.12em; }
.book .eyebrow, .pricebox__k { color: var(--accent-on-dark); }
.pcard__badge { background: var(--ink); }
.pcard--hot { border-top-color: var(--ink); }
.pcard.is-added { background: #F8EEEF; box-shadow: 6px 6px 0 var(--accent); }
.nav__link[aria-current='page'] { border-bottom-color: var(--accent); }
.nav__link:hover { color: var(--accent); }
.eyebrow, .explode__eyebrow { color: var(--accent); }
.explode__eyebrow { color: var(--accent-on-dark); }
/* Brand herringbone pattern behind the dark call-to-action panels */
.cta.on-dark {
  background-color: var(--ink);
  background-image: linear-gradient(rgba(35, 37, 40, 0.86), rgba(35, 37, 40, 0.86)), url('../brand/pattern-tile-charcoal.svg');
  background-size: auto, 84px 40px;
}
h1, h2, h3, .h2 { letter-spacing: 0; }
.figbar__accent { color: var(--accent-on-dark); }
.brand img.brand__logo { height: 48px; }
.brand--footer img.brand__logo { height: 60px; }
@media (max-width: 720px) { .brand img.brand__logo { height: 36px; } }

/* Outlined lettering: Montserrat is a variable font whose letters are built from
   overlapping pieces, so a plain stroke shows the joins (the N and E looked broken).
   Paint the stroke first, then fill with the background colour on top, which hides
   the inner joins and leaves a clean outline. */
.hero__outline, .numlist__n, .svc__ref span {
  color: var(--outline-bg, var(--paper));
  paint-order: stroke fill;
}
.hero__outline { -webkit-text-stroke-width: 4px; }
.numlist__n, .svc__ref span { -webkit-text-stroke-width: 3px; }
.on-dark { --outline-bg: var(--navy); }

/* About section: brand panel instead of a photo */
.brandpanel {
  position: absolute; inset: 0;
  background: #232528 url('../brand/pattern-tile-charcoal.svg') repeat;
  background-size: 84px 40px;
  display: grid; place-items: center;
}
.brandpanel img { position: static; width: clamp(110px, 22%, 170px); height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.45)); }

.svcphotos__note { grid-column: 1 / -1; margin: 0; padding: 10px var(--gutter); font: 400 13px/1.5 var(--sans); color: var(--steel); }

/* Hero: servicing offer panel instead of a photo */
.hero__panel {
  background: var(--ink); color: #fff;
  padding: clamp(36px, 5vw, 72px) var(--gutter);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  border-left: 6px solid var(--accent);
}
.hero__panel-eyebrow { font: 600 12px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-on-dark); }
.hero__panel-price { font: 800 clamp(64px, 8vw, 112px)/1 var(--display); margin: 14px 0 10px; letter-spacing: -0.01em; }
.hero__panel-price small { display: block; font: 600 14px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.hero__panel-sub { margin: 0 0 22px; font: 400 16px/1.6 var(--sans); color: rgba(255,255,255,0.82); max-width: 40ch; }
.hero__panel-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.hero__panel-list li { position: relative; padding-left: 28px; font: 500 15px/1.4 var(--sans); }
.hero__panel-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 8px; border-left: 3px solid var(--accent-on-dark); border-bottom: 3px solid var(--accent-on-dark); transform: rotate(-45deg); }
.hero__panel-foot { margin: 22px 0 0; font: 400 14px/1.5 var(--sans); color: rgba(255,255,255,0.7); }
.hero__panel-foot a { color: #fff; text-decoration: underline; text-decoration-color: var(--accent-on-dark); text-underline-offset: 3px; }
@media (max-width: 1040px) { .hero__panel { border-left: 0; border-top: 6px solid var(--accent); } }

/* Keep the three about-section figures side by side on phones */
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) {
  .stats > div { padding: 14px 10px 0; }
  .stats__n { font-size: 26px; }
  .stats__k { font-size: 9.5px; letter-spacing: 0.1em; line-height: 1.4; }
}
