/* ==========================================================================
   Committed Plumbing — Option A "Same brand, done properly"
   Flat trade livery: blue blocks, black pills, tall condensed headings.
   Mobile-first. Breakpoints: 600 / 1024 (desktop header) / 1200.
   ========================================================================== */

/* ---------- Fonts ----------
   Oswald and Nunito Sans (SIL Open Font License), latin set, served from the
   site and preloaded in base.njk so they're usually ready before the first
   paint. One file per family (variable font); one rule per weight in use, as
   Google Fonts declares them, so any other weight renders exactly as it did
   when the fonts came from Google. The file names carry Google's version:
   they're cached for a year (_headers), so a new file needs a new name. */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url(../assets/fonts/oswald-v57-latin.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: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url(../assets/fonts/oswald-v57-latin.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: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url(../assets/fonts/oswald-v57-latin.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: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/nunito-sans-v19-latin.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: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../assets/fonts/nunito-sans-v19-latin.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; }
/* While a font loads (or if it fails), Arial is shown resized to the same
   widths and line heights, so the text doesn't jump when the real font swaps in.
   Numbers from @capsizecss/metrics (createFontStack). */
@font-face { font-family: "Oswald Fallback"; src: local("Arial"), local("ArialMT"); ascent-override: 146.5125%; descent-override: 35.4921%; line-gap-override: 0%; size-adjust: 81.4265%; }
@font-face { font-family: "Nunito Sans Fallback"; src: local("Arial"), local("ArialMT"); ascent-override: 99.7134%; descent-override: 34.8159%; line-gap-override: 0%; size-adjust: 101.3906%; }

/* ---------- Tokens ---------- */
:root {
  /* Brand (his Wix theme, exact) */
  --blue: #0066E3;        /* white on blue = 5.24:1 (AA normal text) */
  --blue-dark: #004497;   /* 9.24:1 on white */
  --navy: #00224C;        /* 15.75:1 on white */
  --blue-light: #4297FF;  /* on navy only: 5.33:1 */
  --blue-pale: #A1CBFF;   /* on navy: 9.38:1 */
  --black: #000000;
  --white: #FFFFFF;
  --offwhite: #FAF7F5;
  --orange: #F06800;      /* tiny accent: review stars */

  /* Semantic */
  --ink: #0B1726;         /* body text, 17:1 on white */
  --ink-soft: #3D4B5C;    /* secondary text, 8.3:1 on offwhite */
  --line: #D9DEE5;
  --tint: #E9F2FF;        /* pale blue panel */
  --error: #B3261E;       /* 6.1:1 on offwhite */
  --success: #0B6B3A;

  --focus: var(--blue-dark);

  /* Type */
  --font-head: "Oswald", "Oswald Fallback", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Nunito Sans", "Nunito Sans Fallback", "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;

  /* Layout */
  --max: 1240px;
  --gutter: 16px;
  --header-h: 64px;
  --callbar-h: 0px;
  --radius: 6px;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-h: 84px; } }
@media (max-width: 1023.98px) { :root { --callbar-h: 68px; } }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 4px);
  scroll-padding-bottom: calc(var(--callbar-h) + 12px);
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;           /* 17px mobile */
  line-height: 1.6;
  overflow-x: clip;               /* belt and braces: never a horizontal scroll */
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-dark); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: .005em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h3 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); font-weight: 500; }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-blue, .on-dark { --focus: var(--white); }
.on-navy { --focus: var(--blue-pale); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--black); color: var(--white); padding: 12px 18px;
  font-weight: 700; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); --focus: var(--blue-light); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--off { background: var(--offwhite); }
.section--blue { background: var(--blue); color: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--blue a:not(.btn), .section--navy a:not(.btn) { color: var(--white); }

/* Section label: tracked uppercase like his button style */
.label {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-body); font-weight: 700; font-size: .8125rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-dark); margin: 0 0 .9rem;
}
.label::before { content: ""; width: 28px; height: 3px; background: currentColor; }
/* Small phones: tighter tracking so section labels stay on one line */
@media (max-width: 380px) { .label { font-size: .75rem; letter-spacing: .1em; } }
@media (max-width: 340px) { .label { letter-spacing: .06em; } .label::before { width: 20px; } }
.section--blue .label, .section--navy .label { color: var(--white); }
.section--navy .label { color: var(--blue-pale); }

.lead { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); line-height: 1.55; }

/* "To confirm" marker: honest and visible, inherits colour so it always has contrast */
.tbc {
  display: inline-block;
  font: 700 .75rem/1.2 var(--font-body);
  letter-spacing: .06em; text-transform: uppercase;
  border: 1.5px dashed currentColor; border-radius: 4px;
  padding: .18em .45em; margin-inline: .15em;
  vertical-align: .12em; white-space: nowrap;
}

/* ---------- Buttons (his black CALL NOW pill) ---------- */
.btn {
  --btn-bg: var(--black); --btn-fg: var(--white); --btn-bd: var(--black);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.6em;
  border: 2px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 .9375rem/1.1 var(--font-body);
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { --btn-bg: var(--navy); --btn-bd: var(--navy); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--black); --btn-bd: var(--black); }
.btn--outline:hover { --btn-bg: var(--black); --btn-fg: var(--white); --btn-bd: var(--black); }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--black); --btn-bd: var(--white); }
.btn--white:hover { --btn-bg: var(--offwhite); --btn-fg: var(--black); --btn-bd: var(--offwhite); }
.btn--ghost-light { --btn-bg: var(--blue); --btn-fg: var(--white); --btn-bd: var(--white); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--black); --btn-bd: var(--white); }
.btn--orange { --btn-bg: var(--orange); --btn-fg: var(--black); --btn-bd: var(--orange); }
.btn--orange:hover { --btn-bg: #FF7A16; --btn-fg: var(--black); --btn-bd: #FF7A16; }
.btn--block { width: 100%; }
@media (max-width: 380px) { .btn { letter-spacing: .07em; padding-inline: 1.1em; font-size: .875rem; white-space: normal; text-align: center; } }
/* Full-width form buttons: tighter tracking on phones so the label stays on one line */
@media (max-width: 440px) { .btn--block { letter-spacing: .06em; padding-inline: 1em; white-space: nowrap; } }
@media (max-width: 380px) { .btn--block { font-size: .8125rem; letter-spacing: .03em; padding-inline: .8em; } }
.hero-grid > *, .lp-grid > *, .bf-grid > *, .contact-grid > *, .areas-grid > *, .reviews-grid > *, .faq-grid > *, .pm-grid > *, .how-grid > *, .explain-grid > *, .included > * { min-width: 0; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599.98px) { .btn-row > .btn { flex: 1 1 100%; } }

.text-link {
  display: inline-flex; align-items: center; gap: .45em; min-height: 46px; white-space: nowrap;
  font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor;
  padding-block: .35em;
}
.text-link .icon { transition: transform .18s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 4px solid var(--blue);   /* his blue rule under the nav */
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: var(--header-h);
}
.logo { display: block; flex: none; line-height: 0; border-radius: 2px; padding-block: 3px; --logo-a: var(--blue); --logo-b: var(--black); --logo-w: var(--white); }
.logo-svg { display: block; width: 137px; height: auto; overflow: visible; }
@media (min-width: 1024px) { .logo .logo-svg { width: 176px; } }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 999px;
  border: 2px solid var(--black); background: var(--white); color: var(--black);
  cursor: pointer; padding: 0;
}
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav ul { list-style: none; }
.site-nav a {
  display: flex; align-items: center; min-height: 48px;
  color: var(--ink); font-weight: 700; text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--blue-dark); }
.site-nav a.btn { color: var(--btn-fg); justify-content: center; font-family: var(--font-body); font-size: .9375rem; letter-spacing: .12em; }
.site-nav a.btn::after { content: none !important; }
.site-nav a.btn--outline:hover { color: var(--white); }
.site-nav .nav-call { display: none; }
p a[href^="tel:"] { white-space: nowrap; }
/* Short in-text links (all under 32 characters) move to the next line whole */
p > a:not([class]) { white-space: nowrap; }

/* Mobile/tablet nav panel */
@media (max-width: 1023.98px) {
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 4px solid var(--blue);
    margin-top: 4px; /* sit below the header rule */
    max-height: calc(100dvh - var(--header-h) - var(--callbar-h) - 8px);
    overflow-y: auto;
    box-shadow: 0 18px 30px -18px rgba(0, 34, 76, .35);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav.is-open { animation: drop .22s var(--ease); }
  .site-nav ul { padding: 8px var(--gutter) 20px; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { font-family: var(--font-head); font-weight: 500; font-size: 1.375rem; letter-spacing: .02em; text-transform: uppercase; min-height: 56px; justify-content: space-between; }
  .site-nav a::after { content: "→"; font-family: var(--font-body); color: var(--blue-dark); }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (min-width: 1024px) {
  .header-actions { display: none; }
  .site-nav { margin-left: auto; }
  .header-inner { gap: 24px; }
  .site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
  .site-nav ul { display: flex; gap: clamp(14px, 1.6vw, 28px); }
  .site-nav a { font-size: .9375rem; position: relative; }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 3px;
    background: var(--blue); transform: scaleX(0); transform-origin: left;
    transition: transform .2s var(--ease);
  }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav .nav-call { display: inline-flex; min-height: 48px; padding-inline: 1.35em; font-size: .875rem; }
}

/* ---------- Mobile sticky call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--black);
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom, 0px));
  display: flex; gap: 8px;
  --focus: var(--white);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; border-radius: 999px; text-decoration: none;
  font: 700 .9375rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}
.callbar .callbar-text { flex: 1 1 auto; background: var(--blue); color: var(--white); }
.callbar .callbar-text:hover { background: var(--blue-dark); }
.callbar .callbar-call { flex: 0 0 auto; padding-inline: 1.1em; background: var(--white); color: var(--black); }
.callbar .callbar-call:hover { background: var(--tint); }
.callbar .callbar-book { flex: 0 0 auto; padding-inline: 1.25em; background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.callbar .callbar-book:hover { background: rgba(255,255,255,.12); }
.callbar .icon { width: 20px; height: 20px; }
@media (max-width: 359.98px) {
  .callbar a { letter-spacing: .02em; font-size: .875rem; }
  .callbar .callbar-book { padding-inline: 1em; }
}
@media (min-width: 1024px) { .callbar { display: none; } }
/* Hide the bar while someone is typing in a form. Phone keyboards push fixed bars around
   and it gets in the way of the next field. It comes back when they tap out. */
html:has(:is(input:not([type=checkbox], [type=radio], [type=submit], [type=button], [type=hidden]), textarea, select):focus) .callbar { display: none; }

/* ---------- Home hero: flat blue block + skyline line drawing ---------- */
.hero { background: var(--blue); color: var(--white); --sky-bg: var(--blue); --sky-mtn: #1A74E6; position: relative; }
.hero-grid { display: grid; gap: 2rem; padding-top: clamp(2rem, 1.25rem + 2.2vw, 3.5rem); padding-bottom: 1rem; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1.1rem;
  background: var(--black); color: var(--white);
  font-weight: 700; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .55em 1em; border-radius: 999px;
}
.hero .eyebrow .dot { width: .6em; height: .6em; border-radius: 50%; background: #3BD16F; box-shadow: 0 0 0 3px rgba(59, 209, 111, .25); }
.hero h1 {
  font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.5rem);
  font-weight: 700; text-transform: uppercase; line-height: .98;
  letter-spacing: .005em; color: var(--white); margin-bottom: .35em; max-width: 15ch;
}
.hero h1 .accent { color: var(--black); display: block; }
.hero .sub {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.25; margin-bottom: .8rem; max-width: 30ch;
}
.hero .sub a { color: var(--white); }
.hero .lead { max-width: 36rem; margin-bottom: 1.6rem; }
.hero .btn-row { margin-bottom: 0; align-items: center; }
/* The fixed Text/Call bar covers these below 1024px, so don't show them twice */
@media (max-width: 1023.98px) { .hero-contact { display: none; } }
.btn-row .rating-chip { margin-top: 4px; }
.hero .btn:not(.btn--ghost-light):hover { --btn-bg: var(--navy); --btn-bd: var(--navy); }
@media (max-width: 420px) { .hide-xs { display: none; } }
@media (max-width: 360px) {
  .hero .eyebrow { letter-spacing: .05em; font-size: .75rem; padding-inline: .85em; }
  .hide-xxs { display: none; }
  .rating-chip { border-radius: 14px; font-size: .875rem; padding-inline: .7rem .85rem; gap: .25rem .45rem; }
  .rating-chip .stars .icon { width: 14px; height: 14px; }
}

.rating-chip {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem;
  background: var(--white); color: var(--ink); border-radius: 999px;
  padding: .45rem 1rem .45rem .8rem; font-size: .9375rem; margin: 0; --focus: var(--blue-dark);
}
.rating-chip strong { font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; }
.rating-chip a { color: var(--blue-dark); font-weight: 700; }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars .icon { width: 18px; height: 18px; }

.hero-card { display: none; }
@media (min-width: 700px) and (max-width: 1023.98px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); gap: 1.75rem; align-items: start; }
  .hero-card .hc-block--svc { display: none; }
  .hero-card .hc-block .hc-big { font-size: 3.5rem; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
}
@media (min-width: 700px) {
  .hero-card {
    display: grid; background: var(--white); color: var(--ink); --focus: var(--blue-dark);
    border-radius: var(--radius); border-top: 8px solid var(--black); overflow: hidden;
  }
  .hc-block { padding: 1.5rem 1.6rem 1.6rem; }
  .hc-block + .hc-block { border-top: 1px solid var(--line); background: var(--tint); }
  .hc-block .hc-big { font: 700 4.5rem/.9 var(--font-head); color: var(--blue); margin: 0 0 .35rem; letter-spacing: .01em; }
  .hc-title { font-size: 1.5rem; font-weight: 600; margin-bottom: .35rem; color: var(--black); }
  .hc-block p { font-size: 1rem; color: var(--ink-soft); margin-bottom: .5rem; }
  .hc-icon { width: 36px; height: 36px; color: var(--blue-dark); margin-bottom: .5rem; stroke-width: 1.75; }
  .hc-title--icon { display: flex; align-items: center; gap: .6rem; }
  .hc-title--icon .hc-icon { flex: none; width: 30px; height: 30px; margin: 0; }
}
/* Hero card sits at the top so the Lions peaks always clear it */
@media (min-width: 900px) { .hero-card { align-self: start; } }
/* Skyline keeps its full artwork height (mountains never cropped) and rises up
   behind the hero content; on narrow screens it crops at the sides instead. */
.hero-grid { position: relative; z-index: 1; }
.skyline {
  display: block; position: relative; z-index: 0; pointer-events: none;
  width: 100%; height: auto; aspect-ratio: 1600 / 260; min-height: 180px; max-height: 420px;
  margin-top: calc(-1 * clamp(56px, 7vw, 150px));
  color: var(--white);
}
.skyline * { vector-effect: non-scaling-stroke; }

/* ---------- Livery stripe (trust row) ---------- */
.livery { background: var(--black); color: var(--white); --focus: var(--white); }
.livery ul {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.livery li {
  display: flex; align-items: center; gap: .65rem;
  padding: 1rem .5rem 1rem 0; font-weight: 700; font-size: .9375rem; line-height: 1.3;
}
.livery li .icon { width: 26px; height: 26px; color: var(--blue-light); stroke-width: 1.75; }
.livery li strong { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; letter-spacing: .02em; text-transform: uppercase; display: block; line-height: 1.1; }
/* One column until two cells fit their headings on one line */
/* Three credentials: stacked on phones, one row from 600px */
@media (max-width: 599.98px) { .livery ul { grid-template-columns: 1fr; } .livery li { padding-block: .7rem; } }
@media (min-width: 600px) {
  .livery ul { grid-template-columns: repeat(3, auto); justify-content: space-between; }
  .livery li { padding: 1.25rem 0; }
  .livery li + li { border-left: 1px solid rgba(255, 255, 255, .22); padding-left: clamp(1rem, 2.5vw, 2.5rem); }
}

/* ---------- Backflow feature band ---------- */
.bf-grid { display: grid; gap: 2.5rem; }
.bf-panel {
  background: var(--blue); color: var(--white); border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 3vw, 3.25rem); position: relative; overflow: hidden;
}
.bf-panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--black); }
.bf-panel .label { color: var(--white); }
.bf-panel h2 { color: var(--white); max-width: 16ch; }
.bf-panel .btn-row { margin-top: 1.75rem; container: bf-actions / inline-size; }
/* Too narrow for both buttons side by side: stack them full width, as on phones */
@container bf-actions (max-width: 29rem) { .btn-row > .btn { flex: 1 1 100%; } }
.bf-panel .btn:not(.btn--ghost-light):hover { --btn-bg: var(--navy); --btn-bd: var(--navy); }
.steps-title { font-size: 1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 1.25rem; }
.bf-cities { margin-top: .5rem; padding-top: 1.25rem; border-top: 4px solid var(--black); font-size: 1rem; }
@media (min-width: 1024px) {
  .bf-grid { grid-template-columns: 6fr 5fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
}

/* Steps: numbered route, vertical on mobile, 2x2 on tablet */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; }
.steps li {
  counter-increment: step;
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 0 1rem;
  padding-bottom: 1.6rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: 1 / span 2;
  width: 56px; height: 56px; display: grid; place-items: center;
  font: 600 1.375rem/1 var(--font-head);
  border: 2px solid currentColor; border-radius: var(--radius);
  background: var(--step-num-bg, transparent);
}
.steps li:not(:last-child)::after { /* connector */
  content: ""; position: absolute; left: 27px; top: 60px; bottom: 4px; width: 2px; background: currentColor; opacity: .45;
}
.steps h3, .steps h4 { display: flex; align-items: center; gap: .5rem; margin: .35rem 0 .3rem; font-size: 1.375rem; font-weight: 500; }
.steps h3 .icon, .steps h4 .icon { width: 22px; height: 22px; color: var(--blue); }
.steps p { font-size: 1rem; }
.steps--light li::before { background: var(--white); color: var(--blue-dark); border-color: var(--white); }

/* ---------- Services ---------- */
.band-head { background: var(--black); color: var(--white); --focus: var(--white); padding-block: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.band-head h2 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin: 0; line-height: 1; }
.band-head .wrap { display: grid; gap: .75rem 3rem; align-items: end; }
.band-head p { margin: 0; color: #E6EAF0; max-width: 40rem; }
@media (min-width: 900px) { .band-head .wrap { grid-template-columns: auto 1fr; } }

.services { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--section-y); }

.svc-feature {
  display: grid; gap: 1.25rem 2.5rem; align-items: center;
  background: var(--blue); color: var(--white); --focus: var(--white);
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  border-radius: var(--radius);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.svc-feature .svc-icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--white); color: var(--blue); border-radius: var(--radius); }
.svc-feature .svc-icon .icon { width: 34px; height: 34px; }
.svc-feature h3 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); margin: 0 0 .35rem; font-weight: 600; }
.svc-feature .tag { display: inline-block; margin-bottom: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--black); color: var(--white); padding: .35em .7em; border-radius: 3px; }
@media (max-width: 380px) { .svc-feature .tag { font-size: .6875rem; letter-spacing: .05em; } }
.svc-feature p { margin: 0; }
@media (min-width: 900px) { .svc-feature { grid-template-columns: auto 1fr auto; } }

.svc-photos { display: grid; gap: clamp(1.25rem, 1rem + 1vw, 2rem); }
@media (min-width: 640px) { .svc-photos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-photos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 1023.98px) {
  /* Two cards, then the third centred underneath at the same size, so every picture matches. */
  .svc-photos > .svc-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - clamp(1.25rem, 1rem + 1vw, 2rem)) / 2); }
}
/* Drawings in place of photos (see DRAWING_SET in eleventy.config.js). Colours reach into the external SVG through custom properties. */
.drawing svg { display: block; width: 100%; height: 100%; }
/* Printed drawing sheet: navy ink on warm paper with a faint grain, water in brand blue. */
.drawing--details {
  --dt-bg: #F6F2EA; --dt-ink: rgba(0, 34, 76, .85); --dt-line: rgba(0, 34, 76, .5); --dt-hatch: rgba(0, 34, 76, .2);
  --dt-water: var(--blue); --dt-label: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(0, 34, 76, .12);
}
.drawing--details, .duo.drawing--details, .svc-card--black .duo.drawing--details, #emergency .duo.drawing--details {
  background: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.16 0 0 0 0 0.1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), var(--dt-bg);
}
.drawing--scenes {
  --sc-bg: var(--blue); --sc-ink: var(--white); --sc-water: #A1CBFF; --sc-faint: rgba(255, 255, 255, .22);
  background-color: var(--sc-bg);
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 24px 24px; background-position: center;
}
.drawing--scenes svg {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.svc-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.duo { margin: 0; position: relative; background: var(--blue); aspect-ratio: 3 / 2; overflow: hidden; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.08); mix-blend-mode: multiply; }
.svc-card--black .duo { background: #2A7FEA; }
#emergency .duo { background: #2A7FEA; }
#emergency .duo img { filter: grayscale(1) contrast(1.05) brightness(1.75); }
.photo-tag {
  position: absolute; right: 10px; top: 10px; background: var(--black); color: var(--white);
  font: 700 .75rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; padding: .5em .7em; border-radius: 3px;
}
.svc-card .svc-body { padding: 1.25rem 1.35rem 1.5rem; border-top: 6px solid var(--blue); display: flex; flex-direction: column; flex: 1; }
.svc-card .text-link { align-self: flex-start; margin-top: auto; }
.svc-card--black .svc-body { border-top-color: var(--black); }
.svc-card h3 { margin-bottom: .45rem; }
.svc-card p { font-size: 1rem; color: var(--ink-soft); }
.svc-card .badge-247 { align-self: flex-start; margin-bottom: .6rem; }

.badge-247 {
  display: inline-flex; align-items: center; gap: .4em;
  background: var(--black); color: var(--white);
  font: 700 .75rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  padding: .5em .75em; border-radius: 999px;
}
.badge-247 .icon { width: 1.1em; height: 1.1em; }

.svc-list { list-style: none; display: grid; gap: 0 clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
@media (min-width: 640px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
.svc-list li { border-top: 4px solid var(--black); padding: 1.25rem 0 1.75rem; display: grid; grid-template-columns: 44px 1fr; gap: 0 1rem; }
.svc-list .icon { width: 36px; height: 36px; color: var(--blue); stroke-width: 1.75; margin-top: 2px; }
.svc-list h3 { margin-bottom: .4rem; }
.svc-list p { font-size: 1rem; color: var(--ink-soft); }
/* Home page: titles only, with light dividers (the Services page has the descriptions) */
.svc-list--titles li { border-top: 1px solid var(--line); padding: 1.1rem 0; align-items: center; }
.svc-list--titles h3 { margin-bottom: 0; }

/* ---------- About ---------- */
.about { display: grid; background: var(--blue); color: var(--white); --focus: var(--white); }
.photo-slot {
  margin: 0; position: relative; display: grid; place-items: center;
  min-height: 260px; padding: 2.5rem var(--gutter) 4.5rem;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(161, 203, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(161, 203, 255, .09) 1px, transparent 1px);
  background-size: 28px 28px;
}
.photo-slot .van { width: min(100%, 440px); height: auto; }
/* CMS: a real photo in the About slot fills it (added for the CMS version; unused when no photo is set) */
.photo-slot--photo { padding: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.photo-slot--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .photo-slot--photo { aspect-ratio: auto; } }
.photo-slot figcaption {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.1rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem;
  color: var(--blue-pale); font-size: .9375rem;
}
.slot-tag {
  font: 700 .75rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  border: 1.5px dashed var(--blue-pale); padding: .45em .65em; border-radius: 4px;
}
.about-body { padding: var(--section-y) var(--gutter); }
.about-body h2 { color: var(--white); }
.about-body .label { color: var(--white); }
.facts { list-style: none; display: grid; gap: .75rem; margin: 1.5rem 0 2rem; }
.facts li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 700; }
.facts .icon { width: 24px; height: 24px; margin-top: .1em; }
@media (min-width: 1024px) {
  .about { grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, calc(var(--max) / 2)) minmax(0, calc(var(--max) / 2)) minmax(var(--gutter), 1fr); }
  .photo-slot { grid-column: 1 / 3; min-height: 560px; }
  .photo-slot figcaption { left: auto; right: clamp(2rem, 4vw, 4rem); max-width: calc(var(--max) / 2 - 4rem); }
  .about-body { grid-column: 3 / 4; padding-left: clamp(2.5rem, 5vw, 5rem); padding-right: 0; }
}

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; gap: 2rem; }
.score { border-top: 6px solid var(--black); padding-top: 1.25rem; }
.score .big { font: 700 clamp(4.5rem, 3rem + 6vw, 7rem)/0.9 var(--font-head); color: var(--black); display: block; }
.score .stars { margin: .5rem 0 .5rem; }
.score .stars .icon { width: 26px; height: 26px; }
.score p:not(.label) { color: var(--ink-soft); }
.score .note { margin-top: 1.25rem; font-size: 1rem; background: var(--tint); color: var(--navy); padding: 1rem 1.1rem; border-left: 4px solid var(--blue); }
.quotes { display: grid; gap: 1.25rem; }
.quote {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem; position: relative;
}
.quote::before {
  content: "\201C"; font: 700 4.5rem/1 var(--font-head); color: var(--blue);
  position: absolute; top: .4rem; left: 1.25rem; height: 2.4rem; overflow: hidden;
}
.quote blockquote { margin: 2rem 0 1rem; font-size: 1.0625rem; }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; font-weight: 700; }
.quote .who-tag { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; background: var(--black); color: var(--white); padding: .35em .65em; border-radius: 3px; }
.quote--lead { background: var(--navy); color: var(--white); border-color: var(--navy); }
.quote--lead::before { color: var(--blue-light); }
.quote--lead blockquote { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); line-height: 1.5; }
.quote--lead .who-tag { background: var(--white); color: var(--black); }
@media (min-width: 768px) { .quotes { grid-template-columns: 1fr 1fr; } .quote--lead { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: 4fr 8fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; } }

/* ---------- Areas ---------- */
.areas-grid { display: grid; gap: 2rem; }
@media (min-width: 1200px) { .city-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.city-list {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
  gap: 0 1.5rem; border-top: 4px solid var(--blue);
}
.city-list li {
  display: flex; align-items: center; gap: .55rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 500; font-size: 1.1875rem; letter-spacing: .02em; text-transform: uppercase;
}
.city-list .icon { width: 18px; height: 18px; color: var(--blue); }
.section--navy .city-list { border-top-color: var(--blue-light); }
.section--navy .city-list li { border-bottom-color: rgba(161, 203, 255, .3); }
.section--navy .city-list .icon { color: var(--blue-light); }

/* ---------- Contact + form ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.phone-big {
  display: inline-block; font: 700 clamp(2.25rem, 1.4rem + 4vw, 3.75rem)/1 var(--font-head);
  color: var(--black); text-decoration: none; letter-spacing: .01em; margin: .25rem 0 1rem;
  border-bottom: 6px solid var(--blue); padding-bottom: .15em;
}
.phone-big:hover { color: var(--blue-dark); }
.contact-ways { list-style: none; display: grid; gap: 10px; margin: 1.5rem 0; }
.contact-ways a {
  display: flex; align-items: center; gap: .85rem; min-height: 56px; padding: .5rem 1rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); font-weight: 700; overflow-wrap: anywhere;
}
.contact-ways a:hover { border-color: var(--blue); color: var(--blue-dark); }
.contact-ways .ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; background: var(--black); color: var(--white); flex: none; }
.contact-ways .ic .icon { width: 20px; height: 20px; }
.contact-ways small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .875rem; }

.form-card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  border-top: 6px solid var(--blue);
  padding: clamp(1.25rem, 1rem + 2vw, 2.25rem);
}
.form-card h3 { font-size: clamp(1.5rem, 1.3rem + .9vw, 2rem); margin-bottom: .35rem; }
.form-card .form-intro { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1.25rem; }
.form-grid { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: .9375rem; margin-bottom: .35rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .85rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 2px solid #8A96A6; border-radius: var(--radius);
  transition: border-color .15s var(--ease);
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.6rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--navy); }
.field .hint { font-size: .875rem; color: var(--ink-soft); margin: .3rem 0 0; }
.field .error { display: none; color: var(--error); font-weight: 700; font-size: .9375rem; margin: .35rem 0 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); background: #FFF6F5; }
.field.is-invalid .error { display: flex; gap: .35rem; align-items: flex-start; }
.field.is-invalid .error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 999px; background: var(--error); color: var(--white); font-size: .8em; margin-top: .1em; }
.field[hidden] { display: none; }
@media (min-width: 600px) { [data-devices-field][hidden] + [data-address-field] { grid-column: 1 / -1; } }
.form-actions { margin-top: 1.4rem; display: grid; gap: .75rem; }
.form-actions .fine { font-size: .875rem; color: var(--ink-soft); margin: 0; }
.form-actions .hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions .cf-turnstile:empty { display: none; }
.send-error { color: var(--error); font-weight: 700; margin: 0; padding: .75rem 1rem; border: 2px solid var(--error); border-radius: 6px; background: #FFF6F5; }
.send-error:focus { outline: none; }
.send-error a { color: inherit; }

.error-summary {
  border: 3px solid var(--error); border-radius: var(--radius); background: #FFF6F5;
  padding: 1rem 1.15rem; margin-bottom: 1.25rem;
}
.error-summary h3, .error-summary h4 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; color: var(--error); margin: 0 0 .4rem; }
.error-summary ul { padding-left: 1.2rem; }
.error-summary a { color: var(--error); font-weight: 700; }
.error-summary:focus-visible { outline-color: var(--error); }

.form-success {
  text-align: left; padding: .5rem 0;
}
.form-success .tick { width: 64px; height: 64px; border-radius: 999px; display: grid; place-items: center; background: var(--blue); color: var(--white); margin-bottom: 1rem; }
.form-success .tick .icon { width: 34px; height: 34px; stroke-width: 2.5; }
.form-success h3 { margin-bottom: .5rem; }
.form-success:focus { outline: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); --focus: var(--blue-pale); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--blue-pale); }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
/* Link columns never go narrower than their longest link (links don't wrap) */
@media (min-width: 1024px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(min-content, 1fr) minmax(min-content, 1fr) minmax(0, 1.2fr); gap: 3rem; } }
.footer-logo { display: inline-block; line-height: 0; margin-bottom: 1rem; --logo-a: var(--blue-light); --logo-b: var(--white); --logo-w: var(--navy); }
.footer-logo .logo-svg { width: 183px; }
.site-footer h2 { font-size: 1.125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-pale); margin-bottom: .75rem; }
.site-footer p, .site-footer li { font-size: 1rem; color: #E1ECFA; }
.site-footer ul { list-style: none; display: grid; gap: .1rem; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-phone { font: 600 1.75rem/1.1 var(--font-head); text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; margin: 0 0 .25rem; }
.site-footer { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px)); }
.footer-bottom {
  border-top: 1px solid rgba(161, 203, 255, .3);
  padding-block: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .875rem; color: var(--blue-pale);
}

/* ---------- Backflow page ---------- */
.crumbs { font-size: .875rem; margin-bottom: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .7; }
.crumbs a { color: inherit; }

.lp-hero { background: var(--blue); color: var(--white); --focus: var(--white); padding-block: clamp(1.75rem, 1rem + 3vw, 4rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.lp-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .lp-grid { grid-template-columns: 6fr 5fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; } }
.lp-hero h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); font-weight: 700; text-transform: uppercase; line-height: 1; margin-bottom: .4em; }
.lp-hero .lead { max-width: 36rem; }
.offer-list { list-style: none; display: grid; gap: .6rem; margin: 1.25rem 0 1.5rem; }
.offer-list li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 700; }
.offer-list .icon { width: 24px; height: 24px; flex: none; background: var(--white); color: var(--blue); border-radius: 999px; padding: 3px; stroke-width: 3; }
.lp-hero .btn-row { margin-bottom: 1.25rem; }
.lp-hero .label { color: var(--white); }
.lp-hero .crumbs a { color: var(--white); }
.lp-hero .rating-chip a { color: var(--blue-dark); }
.lp-hero .form-card a { color: var(--blue-dark); }
.form-head { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); font-weight: 600; text-transform: uppercase; margin-bottom: .35rem; }
.lp-hero .form-card { color: var(--ink); --focus: var(--blue-dark); border-top-color: var(--black); }

.explain-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .explain-grid { grid-template-columns: 6fr 5fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; } }
.explain-grid figure { margin: 0; }
.explain-grid figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.explain-grid figcaption { font-size: .875rem; color: var(--ink-soft); margin-top: .5rem; }

/* Flow diagram built in HTML so labels stay readable at 320px */
.flow { list-style: none; display: grid; gap: 0; margin-top: 2rem; }
.flow > li { display: flex; align-items: center; gap: .9rem; background: var(--white); border: 2px solid var(--black); border-radius: var(--radius); padding: .9rem 1rem; }
.flow > li.flow-device { background: var(--blue); border-color: var(--blue); color: var(--white); }
.flow > li .icon { width: 32px; height: 32px; flex: none; }
.flow strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.1875rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.flow span { font-size: .9375rem; }
.flow .flow-arrow {
  border: 0; background: none; padding: .35rem 0 .35rem 1.15rem; justify-content: flex-start; gap: .6rem;
  font-size: .875rem; font-weight: 700; color: var(--ink-soft);
}
.flow .flow-arrow .icon { width: 22px; height: 22px; color: var(--blue); transform: rotate(90deg); }
.flow .flow-arrow.blocked .icon { color: var(--error); transform: none; }
@media (min-width: 768px) {
  .flow { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
  .flow > li { flex-direction: column; text-align: center; justify-content: center; }
  .flow .flow-arrow { flex-direction: column; padding: 0 .5rem; justify-content: center; text-align: center; max-width: 7.5rem; }
  .flow .flow-arrow .icon { transform: none; }
}
.flow-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9375rem; margin-top: 1rem; color: var(--ink-soft); }
.flow-legend span { display: inline-flex; gap: .4rem; align-items: center; }
.flow-legend .icon { width: 20px; height: 20px; }

.who-grid { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
@media (min-width: 600px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }
.who-grid li { background: var(--white); padding: 1.5rem 1.35rem; display: grid; grid-template-columns: 48px 1fr; gap: 0 1rem; align-items: start; }
.who-grid .ic { width: 48px; height: 48px; display: grid; place-items: center; background: var(--tint); color: var(--blue-dark); border-radius: var(--radius); }
.who-grid .ic .icon { width: 26px; height: 26px; stroke-width: 1.75; }
.who-grid h3 { font-size: 1.3125rem; margin: .2rem 0 .3rem; }
.who-grid p { font-size: 1rem; color: var(--ink-soft); }
.annual-callout { margin-top: 1.75rem; display: flex; gap: .85rem; align-items: flex-start; background: var(--black); color: var(--white); padding: 1.1rem 1.25rem; border-radius: var(--radius); font-weight: 700; }
.annual-callout .icon { width: 26px; height: 26px; color: var(--blue-light); }

.how-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) {
  .how-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); }
}
.steps--dark li::before { background: var(--blue); border-color: var(--blue); color: var(--white); }
.steps--dark li::after { background: var(--blue) !important; }

.included { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .included { grid-template-columns: 7fr 5fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.incl-list { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .incl-list { grid-template-columns: 1fr 1fr; } }
.incl-list li { background: var(--white); padding: 1.35rem; }
.incl-list .icon { flex: none; width: 26px; height: 26px; color: var(--blue); stroke-width: 1.75; }
.incl-list h3 { font-size: 1.3125rem; margin-bottom: .3rem; display: flex; align-items: center; gap: .55rem; }
.incl-list p { font-size: 1rem; color: var(--ink-soft); }
.price-card { background: var(--black); color: var(--white); --focus: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.price-card .label { color: var(--blue-pale); }
.price-card .price { font: 700 clamp(2.5rem, 2rem + 2.5vw, 3.5rem)/1 var(--font-head); margin: .25rem 0 .75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.price-card .label .tbc { margin-left: .4rem; color: var(--white); }
.price-card p { color: #E6EAF0; font-size: 1rem; }
.price-card .btn-row { margin-top: 1.25rem; container: price-actions / inline-size; }
@container price-actions (max-width: 26rem) { .btn-row > .btn { flex: 1 1 100%; } }
.filing { margin-top: 2rem; background: var(--tint); border-left: 6px solid var(--blue); padding: 1.25rem 1.35rem; border-radius: 0 var(--radius) var(--radius) 0; }
.filing--solo { margin-top: 0; }
/* No list in this section: heading and note stack on the left, beside the price card */
@media (min-width: 1024px) {
  .incl-solo { display: grid; grid-template-columns: 7fr 5fr; column-gap: clamp(3rem, 6vw, 6rem); align-items: center; }
  .incl-solo .sec-head { grid-column: 1; grid-row: 1; align-self: end; margin-bottom: 1.5rem; }
  .incl-solo .included { display: contents; }
  .incl-solo .included > div { grid-column: 1; grid-row: 2; align-self: start; }
  .incl-solo .price-card { grid-column: 2; grid-row: 1 / span 2; }
}
.filing h3 { font-size: 1.375rem; color: var(--navy); }

.pm-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .pm-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.pm-points { list-style: none; display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.pm-points li { display: grid; grid-template-columns: 44px 1fr; gap: 0 1rem; }
.pm-points .icon { width: 32px; height: 32px; color: var(--blue-light); stroke-width: 1.75; }
.pm-points h3 { font-size: 1.3125rem; margin: 0 0 .25rem; color: var(--white); }
.pm-points p { color: #DCE8F7; font-size: 1rem; }
.pm-quotes { display: grid; gap: 1.25rem; }
.pm-quotes .quote { background: rgba(255, 255, 255, .06); border-color: rgba(161, 203, 255, .35); color: var(--white); }
.pm-quotes .quote::before { color: var(--blue-light); }
.pm-quotes .who-tag { background: var(--blue); }

/* FAQ accordion */
.faq-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 4fr 8fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.faq { border-top: 4px solid var(--black); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px; padding: .9rem 0;
  font-family: var(--font-head); font-weight: 500; font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  flex: none; width: 36px; height: 36px; border-radius: 999px; border: 2px solid var(--black);
  display: grid; place-items: center; transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.faq summary .pm .icon { width: 18px; height: 18px; }
.faq summary:hover .pm { background: var(--black); color: var(--white); }
.faq details[open] summary .pm { transform: rotate(180deg); background: var(--blue); border-color: var(--blue); color: var(--white); }
.faq .answer { padding: 0 0 1.25rem; max-width: 46rem; color: var(--ink-soft); }

.more-services { list-style: none; display: grid; gap: 10px; margin-top: 1.5rem; }
/* As many columns as fit with each card wide enough for a one-line label (1, 2 or 3) */
@media (min-width: 600px) { .more-services { grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr)); } }
.more-services li { display: flex; }
.more-services a {
  flex: 1;
  display: flex; align-items: center; gap: .625rem; min-height: 60px; padding: .75rem .875rem;
  border: 2px solid var(--black); border-radius: var(--radius); text-decoration: none; color: var(--black); font-weight: 700;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.more-services a .icon { width: 24px; height: 24px; color: var(--blue); }
@media (max-width: 380px) { .more-services a { gap: .5rem; padding-inline: .75rem; font-size: .9375rem; } }
.more-services a .arrow { margin-left: auto; color: currentColor; transition: transform .18s var(--ease); }
.more-services a:hover { background: var(--black); color: var(--white); }
.more-services a:hover .icon { color: var(--white); }
.more-services a:hover .arrow { transform: translateX(3px); }

.cta-band { background: var(--black); color: var(--white); --focus: var(--white); padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
.cta-band .wrap { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { margin: 0; font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); text-transform: uppercase; }
.cta-band p { color: #E6EAF0; margin: .4rem 0 0; }
@media (min-width: 1024px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }

/* ---------- Section heading helper ---------- */
.sec-head { max-width: 46rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.sec-head p:not(.label) { color: var(--ink-soft); }
.section--blue .sec-head p:not(.label), .section--navy .sec-head p:not(.label) { color: inherit; }

/* ---------- Reveal (subtle, opt-in via JS, off for reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* slide only: content is never hidden, even if the observer never fires (print, full-page capture) */
  .js [data-reveal] { transform: translateY(16px); transition: transform .6s var(--ease); }
  .js [data-reveal].is-visible { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Ultra-wide: keep bands full-bleed, content measured ---------- */
@media (min-width: 1920px) {
  :root { --max: 1280px; }
}

/* ---------- Backflow assembly diagram ---------- */
.assembly { margin: 0; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--black); border-radius: var(--radius); padding: clamp(1rem, .75rem + 1.5vw, 1.75rem); }
.assembly-svg { width: 100%; height: auto; }
.asm-flow { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font: 600 1rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin: .5rem 0 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.asm-flow .icon { color: var(--blue); flex: 1; max-width: 120px; }
.asm-legend { list-style: none; display: grid; gap: .45rem; font-size: .9375rem; }
@media (min-width: 600px) { .asm-legend { grid-template-columns: 1fr 1fr; gap: .5rem 1.25rem; } }
.asm-legend li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.35; }
.asm-legend b { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 999px; display: grid; place-items: center; background: var(--black); color: var(--white); font: 700 .875rem/1 var(--font-head); }
.asm-legend li:nth-child(3) b, .asm-legend li:nth-child(4) b, .asm-legend li:nth-child(5) b { background: var(--blue); }
.asm-note { font-size: .875rem; color: var(--ink-soft); margin-top: .9rem; }

.pm-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: .25rem 0 0; color: #DCE8F7; }
.pm-rating strong { color: var(--white); font-family: var(--font-head); font-size: 1.25rem; }

.form-success h3 { font-size: clamp(1.5rem, 1.3rem + .9vw, 2rem); }
.more-services + * { margin-top: 0; }

/* Backflow card sits last in the services list */
.svc-feature.svc-feature--last { margin: clamp(.5rem, .25rem + 1vw, 1rem) 0 0; }

/* ---------- Van animation (About photo slot) ----------
   Wheels spin; the body rides on two out-of-phase loops (different lengths) so
   the bounce never repeats like a metronome; exhaust puffs drift back and fade. */
.van .van-wheel { transform-box: fill-box; transform-origin: center; animation: van-spin 1s linear infinite; }
.van .van-bob   { animation: van-bob 2.3s ease-in-out infinite; }
.van .van-rock  { transform-box: fill-box; transform-origin: 50% 100%; animation: van-rock 3.7s ease-in-out infinite; }
.van .van-road  { animation: van-road .37s linear infinite; }
.van .van-exhaust circle { transform-box: fill-box; transform-origin: center; opacity: 0; animation: van-puff 2.6s ease-out infinite; }
.van .van-exhaust circle:nth-child(2) { animation-duration: 3.1s; animation-delay: .9s; }
.van .van-exhaust circle:nth-child(3) { animation-duration: 2.2s; animation-delay: 1.7s; }

@keyframes van-spin { to { transform: rotate(360deg); } }
@keyframes van-bob {
  0%   { transform: translateY(0); }
  11%  { transform: translateY(-1.8px); }
  19%  { transform: translateY(.2px); }
  34%  { transform: translateY(-.7px); }
  45%  { transform: translateY(0); }
  58%  { transform: translateY(-2.4px); }
  66%  { transform: translateY(.3px); }
  81%  { transform: translateY(-1px); }
  100% { transform: translateY(0); }
}
@keyframes van-rock {
  0%, 100% { transform: rotate(0deg); }
  27% { transform: rotate(-.45deg); }
  52% { transform: rotate(.2deg); }
  76% { transform: rotate(-.2deg); }
}
@keyframes van-road { to { stroke-dashoffset: 70; } }
@keyframes van-puff {
  0%   { opacity: 0;   transform: translate(0, 0) scale(.35); }
  12%  { opacity: .75; }
  100% { opacity: 0;   transform: translate(-38px, -16px) scale(1.7); }
}
@media (prefers-reduced-motion: reduce) {
  .van .van-wheel, .van .van-bob, .van .van-rock, .van .van-road, .van .van-exhaust circle { animation: none; }
  .van .van-exhaust { display: none; }
}

/* Mobile menu backdrop: dims the page under the open menu (call bar stays on top) */
.nav-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 34, 76, .55); opacity: 0; transition: opacity .2s var(--ease); }
.nav-scrim.is-on { opacity: 1; }
.menu-open, .menu-open body { overflow: hidden; }
@media (min-width: 1024px) { .nav-scrim { display: none; } }


/* ==========================================================================
   Multi-page additions
   ========================================================================== */

/* ---------- Cross-document view transitions ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.callbar { view-transition-name: callbar; }
main { view-transition-name: page-main; }
::view-transition-old(page-main) { animation: vt-out 180ms cubic-bezier(.2, .7, .2, 1) both; }
::view-transition-new(page-main) { animation: vt-in 220ms cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- Inner-page hero (services / about / contact) ---------- */
.page-hero { background: var(--blue); color: var(--white); --focus: var(--white); position: relative; padding-block: clamp(1.75rem, 1rem + 3vw, 3.75rem) clamp(2.25rem, 1.5rem + 3vw, 4rem); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--black); }
.page-hero .crumbs a { color: var(--white); }
.page-hero .label { color: var(--white); }
.page-hero h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); font-weight: 700; text-transform: uppercase; line-height: 1; margin-bottom: .35em; max-width: 18ch; }
.page-hero .lead { max-width: 40rem; }
.page-hero .btn-row { margin-top: 1.5rem; }
.page-hero .btn:not(.btn--ghost-light):hover { --btn-bg: var(--navy); --btn-bd: var(--navy); }
.page-hero--navy { background: var(--navy); }
.page-hero--navy .label { color: var(--blue-pale); }

/* ---------- Services page: sticky jump chips ---------- */
:root { --chips-h: 60px; }
html.has-chips { scroll-padding-top: calc(var(--header-h) + 4px + var(--chips-h)); }
.chipbar {
  position: sticky; top: calc(var(--header-h) + 4px); z-index: 30;
  background: var(--white); border-bottom: 1px solid var(--line);
  height: var(--chips-h); display: flex; align-items: center;
}
.chipbar .wrap { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.chipbar .wrap::-webkit-scrollbar { display: none; }
.chipbar ul { list-style: none; display: flex; gap: 8px; width: max-content; padding-right: 32px; }
.chipbar a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  border: 2px solid var(--black); border-radius: 999px; color: var(--black); text-decoration: none;
  font-weight: 700; font-size: .875rem; line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  padding-top: 1px; /* all capitals sit high in the font's line box; this centres them */
}
.chipbar a:hover { background: var(--black); color: var(--white); }
.chipbar a.chip-bf { border-color: var(--blue); color: var(--blue-dark); }
.chipbar a.chip-bf:hover { background: var(--blue); color: var(--white); }
@media (min-width: 1024px) { .chipbar .wrap { -webkit-mask-image: none; mask-image: none; } }

/* ---------- Services page: detailed service rows ---------- */
.svc-detail { display: grid; gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); border-bottom: 1px solid var(--line); }
.svc-detail:last-of-type { border-bottom: 0; }
/* Space under the backflow card so it doesn't sit on the closing band (same as a service row's padding) */
.svc-detail-bf { padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 900px) {
  .svc-detail { grid-template-columns: 5fr 6fr; }
  .svc-detail:nth-of-type(even) { grid-template-columns: 6fr 5fr; } /* keep the picture column the same width on both sides */
  .svc-detail:nth-of-type(even) .svc-media { order: 2; }
}
.svc-media { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.svc-media.duo { aspect-ratio: 3 / 2; }
.svc-media--icon {
  aspect-ratio: 3 / 2; display: grid; place-items: center; background: var(--navy); color: var(--blue-light);
  background-image: linear-gradient(rgba(161, 203, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(161, 203, 255, .08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.svc-media--icon .icon { width: clamp(84px, 14vw, 140px); height: auto; aspect-ratio: 1; stroke-width: 1.25; }
.svc-media--icon::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--blue); }
.svc-copy h2 { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); }
.svc-copy > p { color: var(--ink-soft); }
.checklist { list-style: none; display: grid; gap: .55rem; margin: 1.25rem 0 1.5rem; }
@media (min-width: 600px) { .checklist { grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; } }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 700; font-size: 1rem; line-height: 1.4; }
.checklist .icon { width: 22px; height: 22px; color: var(--blue); flex: none; stroke-width: 2.5; }
.tip { background: var(--tint); border-left: 4px solid var(--blue); padding: .9rem 1.1rem; font-size: 1rem; color: var(--navy); margin: 0 0 1.5rem; }

/* ---------- Home: card titles link to the services page ---------- */
.card-link { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.card-link::after { content: "\2192"; margin-left: .4em; color: var(--blue); font-family: var(--font-body); font-weight: 700; transition: transform .18s var(--ease); }
.card-link:hover { color: var(--blue-dark); }
.card-link:hover::after { transform: translateX(3px); }
.svc-feature .card-link::after { color: var(--white); }
.svc-feature .card-link:hover { color: var(--white); text-decoration: underline; }
.svc-more { margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: flex; justify-content: center; }

/* ---------- About page: values ---------- */
.values-wrap .svc-list { margin-top: 0; }

/* ---------- Backflow page: navy hero (the assembly diagram lives in the next section only) ---------- */
.lp-hero { background: var(--navy); }
.lp-hero .label { color: var(--blue-pale); }
.lp-grid { grid-template-areas: "copy" "form"; }
.lp-copy { grid-area: copy; }
.lp-grid > .form-card { grid-area: form; }
@media (min-width: 1024px) {
  .lp-grid { grid-template-areas: "copy form"; }
}

/* Inner-page hero: one oversized outline icon fills the right side on wide screens */
.page-hero { overflow: hidden; }
.page-hero > .wrap { position: relative; z-index: 1; }
/* Page headers: a crop of the home page skyline, bottom right, fading in from the left */
.page-hero { --sky-bg: var(--blue); --sky-mtn: #1A74E6; }
.page-hero-sky { display: none; }
@media (min-width: 900px) {
  .page-hero-sky {
    display: block; position: absolute; right: 0; bottom: 10px; z-index: 0; pointer-events: none;
    width: clamp(560px, 64vw, 1400px); height: auto; aspect-ratio: 900 / 260;
    color: var(--white); opacity: .55;
    -webkit-mask-image: linear-gradient(to right, transparent 18%, #000 48%);
            mask-image: linear-gradient(to right, transparent 18%, #000 48%);
  }
  .page-hero-sky * { vector-effect: non-scaling-stroke; }
}


/* ---------- Text first (Scott's feedback, Nov 2026) ---------- */
.hc-links { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: 0; }
.svc-card .hc-links { margin-top: auto; }
.contact-ways .ic--blue { background: var(--blue); }

/* QR to text from a phone: only on computers (shown by main.js) */
.contact-qr { display: flex; align-items: center; gap: 1rem; margin: .25rem 0 1.25rem; padding: .75rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-qr[hidden] { display: none; }
.contact-qr p { margin: 0; font-size: .9375rem; color: var(--ink-soft); }
.contact-qr strong { display: block; color: var(--ink); }
.qr-box { flex: none; width: 112px; aspect-ratio: 1; }
.qr-box svg { display: block; width: 100%; height: 100%; }

.qr-dialog { border: 0; border-top: 6px solid var(--blue); border-radius: var(--radius); padding: 1.75rem; width: min(22rem, calc(100vw - 2 * var(--gutter)));
  color: var(--ink); background: var(--white); box-shadow: 0 24px 60px -20px rgba(0, 34, 76, .5); text-align: center; }
.qr-dialog::backdrop { background: rgba(0, 34, 76, .55); }
.qr-dialog h2 { font-size: 1.75rem; text-transform: uppercase; margin: 0 0 .25rem; }
.qr-dialog .qr-box { width: 200px; margin: 1rem auto; }
.qr-dialog p { font-size: .9375rem; color: var(--ink-soft); margin: 0 0 1rem; }
.qr-dialog .qr-num { font: 700 1.5rem/1 var(--font-head); color: var(--ink); letter-spacing: .02em; }
.qr-dialog .btn-row { justify-content: center; }
.qr-close { position: absolute; top: .5rem; right: .5rem; width: 44px; height: 44px; border: 0; background: none; border-radius: 999px; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.qr-close:hover { background: var(--tint); }
.qr-close .icon { width: 22px; height: 22px; }

/* Areas: core plumbing cities, then the wider backflow area */
.area-groups { display: grid; gap: 2rem; }
.area-title { font: 700 .8125rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .75rem; color: var(--blue-light); }
.section:not(.section--navy) .area-title { color: var(--blue-dark); }
.area-groups .city-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
