/* Brigs Plumbing — design system.
   Source of truth: brigs-plumbing/brand/dist/brand-sheet.html. Do not introduce
   a colour that is not on that sheet; tests/test_contrast.py enforces it.

   ── The one rule that matters ──────────────────────────────────────────────
   --bp-cyan (#5FDEE6) is 1.61:1 on white. It is a DARK-GROUND colour and a
   button FILL under ink text. It is never text on a light ground. For accent
   text on white or mist use --bp-teal-text. Full-strength --bp-teal is 3.55:1
   on white: display sizes and graphics only, never body copy.

   Every `color: var(--bp-cyan)` below sits on an ink/navy ground and carries a
   same-line `bp-allow-cyan: on-dark` marker so the contrast test can tell a
   deliberate dark-ground use from an accidental light-ground one.
   ────────────────────────────────────────────────────────────────────────── */

:root {
  /* Sampled from the client's logo */
  --bp-cyan: #5FDEE6;
  --bp-cyan-light: #7FE9F0;
  --bp-teal: #3492B3;
  --bp-navy: #294353;
  --bp-pipe: #CADCDD;
  --bp-ink: #0B1013;
  /* Derived (teal x navy blends) so accent text can pass AA on light grounds */
  --bp-teal-text: #307691;
  --bp-teal-deep: #2E6A83;
  /* DERIVED. The logo teal's exact hue (196deg) pushed to full saturation and
     dropped in lightness until it clears AA: 4.93:1 on white, 4.53:1 on mist.
     --bp-teal-text sits at saturation 0.50 and reads as a muted grey-blue that
     the client called "pink" -- this is 1.00, so it reads as the brand colour.
     Used for interactive states (hover) where the colour has to say "this is
     the brand and it is clickable". */
  --bp-teal-vivid: #0079A3;
  /* DERIVED. Brand cyan at 15% over white. The HOVER GROUND, and it exists
     because --bp-mist (#F2F6F7) does not work as one: mist is only 5 points
     of blue-minus-red off neutral, and a near-neutral grey sitting beside pure
     white reads WARM through simultaneous contrast -- the client called it
     pink three times while every measurement returned a technically cool
     value. This is 20 points off neutral, which reads unambiguously blue.
     Holds AA for everything placed on it: teal-vivid 4.57, muted 4.80,
     ink 17.73. */
  --bp-cyan-wash: #E7FAFB;
  /* Neutrals */
  --bp-mist: #F2F6F7;
  --bp-white: #FFFFFF;
  --bp-hairline: #E1E9EB;

  --bp-ink-soft: color-mix(in srgb, var(--bp-ink) 92%, var(--bp-navy) 8%);
  --bp-body: var(--bp-navy);
  --bp-muted: color-mix(in srgb, var(--bp-navy) 72%, var(--bp-white) 28%);

  --bp-radius: 14px;
  --bp-radius-sm: 9px;
  --bp-radius-lg: 22px;

  --bp-shadow: 0 1px 2px rgba(11, 16, 19, .05), 0 6px 20px rgba(11, 16, 19, .07);
  --bp-shadow-lift: 0 2px 4px rgba(11, 16, 19, .06), 0 18px 44px rgba(11, 16, 19, .14);
  --bp-shadow-cyan: 0 14px 40px color-mix(in srgb, var(--bp-teal) 26%, transparent);

  --bp-ease: cubic-bezier(.22, .61, .36, 1);
  --bp-ease-out: cubic-bezier(.16, 1, .3, 1);
  --bp-t: .32s var(--bp-ease);

  --bp-shell: 1180px;
  --bp-gutter: clamp(18px, 5vw, 44px);
  --bp-section-y: clamp(56px, 9vw, 116px);

  --bp-display: 'Barlow Condensed', 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bp-sans: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bp-brand: 'Rajdhani', 'Barlow Condensed', var(--bp-sans);
}

/* ── Reset, scoped so nothing leaks into wp-admin or the Elementor editor ── */
[class^="bp-"], [class*=" bp-"] { box-sizing: border-box; }
[class^="bp-"] *, [class*=" bp-"] * { box-sizing: border-box; }

[class^="bp-"], [class*=" bp-"] {
  font-family: var(--bp-sans);
  color: var(--bp-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.bp-page img { max-width: 100%; height: auto; display: block; }
.bp-page :is(h1, h2, h3, h4) {
  font-family: var(--bp-display);
  color: var(--bp-ink);
  line-height: 1.06;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  text-wrap: balance;
  font-weight: 700;
}
.bp-page h1 { font-size: clamp(2.4rem, 6.4vw, 4.15rem); }
.bp-page h2 { font-size: clamp(1.95rem, 4.4vw, 2.95rem); }
.bp-page h3 { font-size: clamp(1.28rem, 2.3vw, 1.6rem); line-height: 1.16; }
.bp-page p { margin: 0 0 1.05em; }
.bp-page p:last-child { margin-bottom: 0; }
.bp-page ul, .bp-page ol { margin: 0 0 1.15em; padding-left: 1.15em; }
.bp-page li { margin-bottom: .42em; }

.bp-page a { color: var(--bp-teal-text); text-decoration-color: color-mix(in srgb, var(--bp-teal-text) 34%, transparent); text-underline-offset: .18em; transition: color var(--bp-t), text-decoration-color var(--bp-t); }
.bp-page a:hover { color: var(--bp-teal-vivid); text-decoration-color: var(--bp-cyan); }

/* Focus: one visible ring everywhere, never removed. */
.bp-page :is(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--bp-teal-text);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Layout primitives ───────────────────────────────────────────────────── */
.bp-shell { width: 100%; max-width: var(--bp-shell); margin-inline: auto; padding-inline: var(--bp-gutter); }
.bp-section { padding-block: var(--bp-section-y); position: relative; }
.bp-section--mist { background: var(--bp-mist); }
.bp-section--ink { background: var(--bp-ink); }
.bp-section--ink :is(h1, h2, h3, h4) { color: var(--bp-white); } /* bp-allow-white: on-ink */
.bp-section--ink, .bp-section--ink p, .bp-section--ink li { color: var(--bp-pipe); }
.bp-section--tight { padding-block: clamp(38px, 6vw, 72px); }

.bp-eyebrow {
  font-family: var(--bp-brand);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--bp-teal-text);
  margin: 0 0 .85rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.bp-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--bp-cyan);
  flex: none;
}
.bp-section--ink .bp-eyebrow { color: var(--bp-cyan); } /* bp-allow-cyan: on-dark */

.bp-lede { font-size: clamp(1.06rem, 1.9vw, 1.22rem); color: var(--bp-muted); max-width: 62ch; }
.bp-section--ink .bp-lede { color: var(--bp-pipe); }
.bp-head { max-width: 70ch; margin-bottom: clamp(30px, 4vw, 52px); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.bp-btn {
  --_bg: var(--bp-cyan);
  --_fg: var(--bp-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--_bg);
  color: var(--_fg);
  font-family: var(--bp-sans);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1;
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .22s var(--bp-ease-out), box-shadow var(--bp-t), background-color var(--bp-t), color var(--bp-t);
}
/* The sheen is a pseudo-element sweep rather than a background-position
   animation so it composites on the GPU and never triggers layout. */
.bp-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, .55) 50%, transparent 78%);
  transform: translateX(-115%);
  transition: transform .62s var(--bp-ease-out);
}
/* An inline SVG with a viewBox and no explicit width/height has NO intrinsic
   size: inside a flex button it resolves to the 300x150 CSS default replaced-
   element size and blows the button apart. Seen for real in the mobile call
   bar, where the phone glyph rendered several times the height of its own
   button. Every icon in a button needs this. */
.bp-btn svg { width: 1.15em; height: 1.15em; flex: none; }
.bp-btn--lg svg { width: 1.25em; height: 1.25em; }
.bp-btn:hover { transform: translateY(-2px); box-shadow: var(--bp-shadow-cyan); }
.bp-btn:hover::after { transform: translateX(115%); }
.bp-btn:active { transform: translateY(0); transition-duration: .06s; }

.bp-btn--ghost {
  --_bg: transparent;
  --_fg: var(--bp-ink);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--bp-navy) 26%, transparent);
}
.bp-btn--ghost:hover { --_fg: var(--bp-ink); box-shadow: inset 0 0 0 2px var(--bp-cyan), var(--bp-shadow); }
.bp-section--ink .bp-btn--ghost,
.bp-hero .bp-btn--ghost,
.bp-cta-band .bp-btn--ghost { --_fg: var(--bp-white); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--bp-pipe) 45%, transparent); }
.bp-section--ink .bp-btn--ghost:hover,
.bp-hero .bp-btn--ghost:hover,
.bp-cta-band .bp-btn--ghost:hover {
  /* --_fg MUST be restated here. The generic .bp-btn--ghost:hover above sets
     it to ink, which on these dark grounds is near-black on near-black. */
  --_fg: var(--bp-cyan); /* bp-allow-cyan: on-dark */
  box-shadow: inset 0 0 0 2px var(--bp-cyan);
}

.bp-btn--solid { --_bg: var(--bp-teal-deep); --_fg: var(--bp-white); }
.bp-btn--lg { padding: 1.15rem 2.1rem; font-size: 1.1rem; min-height: 60px; }

/* ── The phone CTA — the single most important control on every page ─────── */
.bp-tel {
  display: inline-flex;
  align-items: center;
  gap: .78rem;
  font-family: var(--bp-brand);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.05rem);
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  color: var(--bp-ink);
  text-decoration: none;
  padding: .5rem .2rem;
  transition: color var(--bp-t);
}
.bp-section--ink .bp-tel, .bp-hero .bp-tel { color: var(--bp-white); } /* bp-allow-white: on-ink */
.bp-tel__ring {
  width: 3rem; height: 3rem;
  flex: none;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--bp-cyan);
  color: var(--bp-ink);
  position: relative;
  transition: transform .3s var(--bp-ease-out);
}
.bp-tel__ring svg { width: 1.35rem; height: 1.35rem; }
/* The ping is a separate ring so the icon itself never scales -- an icon that
   grows on hover reads as a bug at 48px, the halo reads as a signal. */
.bp-tel__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--bp-cyan);
  opacity: 0;
}
.bp-tel:hover .bp-tel__ring { transform: scale(1.06); }
.bp-tel:hover .bp-tel__ring::before { animation: bp-ping 1.1s var(--bp-ease-out) infinite; }
@keyframes bp-ping {
  0%   { opacity: .85; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.65); }
}
.bp-tel:hover { color: var(--bp-teal-text); }
.bp-section--ink .bp-tel:hover, .bp-hero .bp-tel:hover { color: var(--bp-cyan); } /* bp-allow-cyan: on-dark */

/* ── Skip link ───────────────────────────────────────────────────────────── */
.bp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .85rem 1.4rem;
  background: var(--bp-cyan);
  color: var(--bp-ink);
  font-weight: 600;
  border-radius: 0 0 var(--bp-radius-sm) 0;
  text-decoration: none;
}
.bp-skip:focus { left: 0; }
#bp-main:focus { outline: none; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.bp-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bp-ink) 88%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--bp-pipe) 14%, transparent);
}
.bp-header__bar {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  min-height: 74px;
}
.bp-header__logo { flex: none; display: block; line-height: 0; }
.bp-header__logo img, .bp-header__logo svg { height: 42px; width: auto; }
.bp-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
/* `.bp-header .bp-nav__link`, not `.bp-nav__link`: the latter is (0,1,0) and
   loses to the global `.bp-page a` (0,1,1), which was painting every nav link
   --bp-teal-text on the ink header at 2.30:1. */
.bp-header .bp-nav__link,
.bp-header .bp-nav__toggle {
  position: relative;
  color: var(--bp-pipe);
  font-weight: 500;
  font-size: .99rem;
  text-decoration: none;
  padding: .4rem 0;
  white-space: nowrap;
  transition: color var(--bp-t);
}
.bp-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--bp-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--bp-ease-out);
}
.bp-header .bp-nav__link:hover,
.bp-header .bp-nav__toggle:hover,
.bp-header .bp-nav__group:hover .bp-nav__toggle,
.bp-header .bp-nav__group:focus-within .bp-nav__toggle,
.bp-header .bp-nav__link[aria-current="page"] { color: var(--bp-white); } /* bp-allow-white: on-ink */
.bp-header .bp-nav__link:hover::after,
.bp-header .bp-nav__toggle:hover::after,
.bp-header .bp-nav__group:hover .bp-nav__toggle::after,
.bp-header .bp-nav__group:focus-within .bp-nav__toggle::after,
.bp-header .bp-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.bp-header .bp-btn { padding: .72rem 1.25rem; min-height: 44px; font-size: .97rem; }

/* Services dropdown. A <button> + hidden panel rather than a hover-only
   :hover menu -- a hover menu is unreachable by keyboard and unusable by
   touch, and eight service pages is exactly the count where they matter. */
.bp-nav__group { position: relative; }
.bp-nav__toggle {
  background: none;
  border: 0;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.bp-nav__toggle svg { width: .85rem; height: .85rem; transition: transform .28s var(--bp-ease-out); }
.bp-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.bp-nav__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 250px;
  display: grid;
  padding: .5rem;
  background: var(--bp-white);
  border: 1px solid var(--bp-hairline);
  border-radius: var(--bp-radius);
  box-shadow: var(--bp-shadow-lift);
  z-index: 5;
  /* Visibility is driven by CSS state, not by the `hidden` attribute, so the
     menu can open on HOVER as well as on click. `hidden` sets display:none in
     the UA stylesheet and a hover rule cannot cleanly reverse that, which is
     why the first version was click-only. */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  translate: -50% -6px;
  transition: opacity .2s var(--bp-ease), translate .2s var(--bp-ease-out), visibility .2s;
}
/* The 14px gap between the button and the panel is dead space the pointer has
   to cross; without a bridge the menu closes mid-travel. This pad is invisible
   and only extends the hover target upward. */
.bp-nav__menu::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -16px;
  height: 16px;
}
.bp-nav__group:hover .bp-nav__menu,
.bp-nav__group:focus-within .bp-nav__menu,
.bp-nav__toggle[aria-expanded="true"] + .bp-nav__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  translate: -50% 0;
}
/* Keyboard and touch both still work: :focus-within covers tabbing in, and the
   click handler keeps toggling aria-expanded for pointer-less/touch use. */
.bp-nav__group:hover .bp-nav__toggle svg,
.bp-nav__group:focus-within .bp-nav__toggle svg { transform: rotate(180deg); }
.bp-nav__menu a {
  padding: .62rem .85rem;
  border-radius: var(--bp-radius-sm);
  color: var(--bp-navy);
  font-size: .97rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--bp-t), color var(--bp-t), padding-left var(--bp-t);
}
.bp-nav__menu a:hover { background: var(--bp-cyan-wash); color: var(--bp-teal-vivid); padding-left: 1.15rem; }

.bp-burger { display: none; }
.bp-mobile-nav[hidden] { display: none; }

@media (max-width: 900px) {
  .bp-nav { display: none; }
  .bp-header__bar { min-height: 64px; }
  .bp-header__logo img, .bp-header__logo svg { height: 36px; }
  /* `.bp-header .bp-btn` above is (0,2,0) and sets font-size:.97rem, so a bare
     `.bp-header__cta` (0,1,0) here LOSES and the label never collapses --
     the header CTA kept rendering "0435 040 590" at 492px and pushed the bar
     wider than the viewport. Match the specificity to win. */
  .bp-header .bp-header__cta { margin-left: auto; font-size: 0; gap: 0; padding: .7rem .95rem; }
  /* rem, not em: the label is hidden with font-size:0 above, and an
     em-sized icon would inherit that and vanish. */
  .bp-header .bp-header__cta svg { width: 1.15rem; height: 1.15rem; }

  .bp-burger {
    display: grid;
    gap: 5px;
    align-content: center;
    width: 44px; height: 44px;
    padding: 0 10px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .bp-burger span {
    display: block;
    height: 2px;
    background: var(--bp-pipe);
    border-radius: 2px;
    transition: transform .3s var(--bp-ease-out), opacity .2s linear;
  }
  .bp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .bp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .bp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .bp-mobile-nav {
    display: block;
    max-height: min(72vh, 560px);
    overflow-y: auto;
    padding-block: 1rem 1.6rem;
    border-top: 1px solid color-mix(in srgb, var(--bp-pipe) 14%, transparent);
    background: var(--bp-ink);
  }
  .bp-mobile-nav a {
    display: block;
    padding: .72rem 0;
    color: var(--bp-pipe);
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--bp-pipe) 10%, transparent);
  }
  .bp-mobile-nav a:hover { color: var(--bp-cyan); } /* bp-allow-cyan: on-dark */
  .bp-mobile-nav .bp-eyebrow { margin-top: 1.1rem; color: var(--bp-cyan); } /* bp-allow-cyan: on-dark */
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.bp-hero {
  position: relative;
  background: var(--bp-ink);
  overflow: hidden;
  padding-block: clamp(54px, 8.5vw, 104px) clamp(56px, 8vw, 96px);
}
/* The flame wash echoes the logo's gradient, anchored top-right so it reads as
   a light source rather than a decorative blob. */
.bp-hero::before {
  content: "";
  position: absolute;
  top: -26%; right: -14%;
  width: min(760px, 92vw);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in srgb, var(--bp-teal) 46%, transparent) 0%,
    color-mix(in srgb, var(--bp-navy) 34%, transparent) 42%,
    transparent 68%);
  pointer-events: none;
}
.bp-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(30px, 5vw, 58px);
  align-items: center;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
}
@media (max-width: 900px) { .bp-hero__grid { grid-template-columns: 1fr; } }

.bp-hero h1 { color: var(--bp-white); margin-bottom: .34em; } /* bp-allow-white: on-ink */
.bp-hero h1 em { font-style: normal; color: var(--bp-cyan); } /* bp-allow-cyan: on-dark */
.bp-hero__lede { font-size: clamp(1.08rem, 2vw, 1.26rem); color: var(--bp-pipe); max-width: 54ch; margin-bottom: 1.7rem; }
.bp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-bottom: 2rem; }

.bp-hero__media {
  position: relative;
  border-radius: var(--bp-radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  aspect-ratio: 4 / 3;
}
.bp-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Trust strip — licence, membership, rating, hours. Facts, not badges. */
.bp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--bp-pipe) 16%, transparent);
}
.bp-trust__item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .95rem;
  color: var(--bp-pipe);
}
.bp-trust__item strong { color: var(--bp-white); font-weight: 600; } /* bp-allow-white: on-ink */
.bp-trust__item svg { width: 1.05rem; height: 1.05rem; color: var(--bp-cyan); flex: none; } /* bp-allow-cyan: on-dark */

/* ── The pipe spine (homepage signature) ─────────────────────────────────────
   A single stroke threading the page, filling with "water" on scroll. It is
   drawn from the same U-bend geometry as the logo mark.

   Implementation notes:
   - The fill is one `stroke-dashoffset` animation driven by `scroll()`, so it
     runs off the compositor with no scroll listener and no layout thrash.
   - Browsers without scroll-driven animation support (and anyone with reduced
     motion) get the pipe fully filled -- the static state is the FINISHED
     state, never the empty one, so the graphic never looks broken.
   - Hidden below 1100px: at tablet width the spine would either overlap the
     content column or need its own gutter, and neither is worth the pixels on
     a page whose job is a phone call. */
.bp-spine { display: none; }
@media (min-width: 1280px) {
  .bp-spine {
    display: block;
    position: absolute;
    /* max() clamps the spine into the viewport: below ~1272px the shell is
       narrower than --bp-shell and the raw calc goes negative, sliding the
       whole graphic off the left edge. */
    left: max(8px, calc(50% - var(--bp-shell) / 2 - 46px));
    top: 0;
    width: 92px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
  }
  .bp-spine__track { fill: none; stroke: var(--bp-hairline); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
  .bp-spine:not([data-bp-drawn]) { visibility: hidden; }
  .bp-spine__flow {
    fill: none;
    stroke: url(#bpSpineGrad);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: var(--bp-spine-len, 2400);
    stroke-dashoffset: 0;
  }
  @supports (animation-timeline: scroll()) {
    .bp-spine__flow {
      stroke-dashoffset: var(--bp-spine-len, 2400);
      animation: bp-fill linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 92%;
    }
  }
  @keyframes bp-fill { to { stroke-dashoffset: 0; } }
  /* The joints are real: one per section the spine connects. */
  .bp-spine__joint { fill: var(--bp-white); stroke: var(--bp-hairline); stroke-width: 3; }
}

/* ── Cards ───────────────────────────────────────────────────────────────── */
.bp-grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.bp-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.bp-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr)); }
.bp-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 236px), 1fr)); }

.bp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bp-white);
  border: 1px solid var(--bp-hairline);
  border-radius: var(--bp-radius);
  padding: clamp(22px, 2.6vw, 30px);
  overflow: hidden;
  transition: transform .34s var(--bp-ease-out), box-shadow .34s var(--bp-ease), border-color var(--bp-t);
}
/* The top rule wipes in from the left on hover -- the same left-origin scaleX
   as the nav underline, so the whole page shares one hover gesture. */
.bp-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bp-cyan), var(--bp-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s var(--bp-ease-out);
}
.bp-card:hover, .bp-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--bp-shadow-lift);
  border-color: transparent;
}
.bp-card:hover::before, .bp-card:focus-within::before { transform: scaleX(1); }
.bp-card h3 { margin-bottom: .45rem; }
.bp-card p { color: var(--bp-muted); font-size: .99rem; }
.bp-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--bp-radius-sm);
  display: grid;
  place-items: center;
  background: var(--bp-mist);
  color: var(--bp-teal-text);
  margin-bottom: 1.05rem;
  transition: background-color var(--bp-t), color var(--bp-t), transform .34s var(--bp-ease-out);
}
.bp-card__icon svg { width: 26px; height: 26px; }
.bp-card:hover .bp-card__icon { background: var(--bp-ink); color: var(--bp-cyan); transform: rotate(-4deg) scale(1.04); } /* bp-allow-cyan: on-dark */
.bp-card__more {
  margin-top: auto;
  padding-top: 1.1rem;
  font-weight: 600;
  font-size: .97rem;
  color: var(--bp-teal-text);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
}
.bp-card__more svg { width: 1rem; height: 1rem; transition: transform .3s var(--bp-ease-out); }
.bp-card:hover .bp-card__more svg { transform: translateX(5px); }
/* Whole-card link target without nesting <a> inside <a>. */
.bp-card__link::after { content: ""; position: absolute; inset: 0; }

.bp-section--mist .bp-card { background: var(--bp-white); }
.bp-section--ink .bp-card {
  background: color-mix(in srgb, var(--bp-white) 6%, transparent);
  border-color: color-mix(in srgb, var(--bp-pipe) 16%, transparent);
}
.bp-section--ink .bp-card p { color: var(--bp-pipe); }
.bp-section--ink .bp-card__icon { background: color-mix(in srgb, var(--bp-white) 9%, transparent); color: var(--bp-cyan); } /* bp-allow-cyan: on-dark */

/* ── Process — numbered because it genuinely is a sequence ───────────────── */
.bp-steps { counter-reset: bp-step; display: grid; gap: clamp(20px, 3vw, 34px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.bp-step { counter-increment: bp-step; position: relative; padding-top: 3.6rem; }
.bp-step::before {
  content: counter(bp-step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--bp-brand);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--bp-cyan); /* bp-allow-cyan: on-dark -- .bp-steps only ever sits in .bp-section--ink */
  opacity: .95;
}
.bp-step::after {
  content: "";
  position: absolute;
  top: 1.35rem; left: 3.4rem; right: -1rem;
  height: 1px;
  background: color-mix(in srgb, var(--bp-pipe) 22%, transparent);
}
.bp-step:last-child::after { display: none; }
@media (max-width: 780px) { .bp-step::after { display: none; } }

/* ── Suburb chips ────────────────────────────────────────────────────────── */
.bp-chips { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.bp-chips li { margin: 0; }
.bp-chip {
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--bp-hairline);
  background: var(--bp-white);
  color: var(--bp-navy);
  font-size: .93rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--bp-t), background-color var(--bp-t), color var(--bp-t), transform .24s var(--bp-ease-out);
}
/* A locality we cover but have not built a page for. Same shape as a linked
   chip so the lists read as one set, but visibly not interactive -- a chip
   that looks clickable and is not is worse than no chip. */
.bp-chip--plain {
  background: transparent;
  border-style: dashed;
  color: var(--bp-muted);
  cursor: default;
}
.bp-chip:hover {
  border-color: var(--bp-teal);
  background: color-mix(in srgb, var(--bp-cyan) 15%, var(--bp-white));
  color: var(--bp-ink);
  transform: translateY(-2px);
}

/* ── Work gallery ────────────────────────────────────────────────────────
   The client's own job photos. Portrait phone shots at 3:4, so the grid is
   built around that ratio rather than forcing them into landscape cards and
   cropping the work out of frame. */
.bp-work { display: grid; gap: clamp(10px, 1.4vw, 16px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.bp-work__item {
  position: relative;
  margin: 0;
  border-radius: var(--bp-radius-sm);
  overflow: hidden;
  background: var(--bp-mist);
  aspect-ratio: 3 / 4;
  box-shadow: var(--bp-shadow);
}
.bp-work__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--bp-ease-out);
}
.bp-work__item:hover img { transform: scale(1.05); }
/* Caption sits over the photo on hover only -- a permanent caption bar on 68
   thumbnails is noise, but the alt text still has to be reachable visually for
   anyone who wants to know what they are looking at. */
.bp-work__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem .7rem .6rem;
  font-size: .8rem;
  line-height: 1.3;
  color: var(--bp-white); /* bp-allow-white: on-ink */
  background: linear-gradient(transparent, rgba(11, 16, 19, .88));
  opacity: 0;
  transition: opacity .28s var(--bp-ease);
}
.bp-work__item:hover figcaption, .bp-work__item:focus-within figcaption { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bp-work__item figcaption { opacity: 1; } }

/* A 3-up strip for suburb and hub pages. */
.bp-work--strip { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* ── Reviews — real quotes, attributed. Never invented. ──────────────────── */
.bp-review {
  position: relative;
  background: var(--bp-white);
  border: 1px solid var(--bp-hairline);
  border-radius: var(--bp-radius);
  padding: clamp(22px, 2.6vw, 30px);
  transition: transform .34s var(--bp-ease-out), box-shadow .34s var(--bp-ease);
}
.bp-review:hover { transform: translateY(-4px); box-shadow: var(--bp-shadow-lift); }
/* teal-text, not full-strength teal: as an icon the stars would only need 3:1
   (they'd scrape in at 3.55:1), but there is no reason to sit on the line when
   the darker token is still unmistakably teal and clears 5.09:1. */
.bp-review__stars { display: flex; gap: .12rem; color: var(--bp-teal-text); margin-bottom: .8rem; }
.bp-review__stars svg { width: 1.05rem; height: 1.05rem; }
.bp-review blockquote { margin: 0 0 1rem; font-size: 1.02rem; color: var(--bp-body); }
.bp-review figcaption { font-weight: 600; color: var(--bp-ink); font-size: .95rem; }
.bp-review figcaption span { display: block; font-weight: 400; color: var(--bp-muted); font-size: .87rem; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.bp-faq { border-top: 1px solid var(--bp-hairline); }
.bp-faq-item {
  position: relative;
  border-bottom: 1px solid var(--bp-hairline);
  transition: background-color var(--bp-t);
}
/* Flat --bp-mist, NOT color-mix(cyan 7%, transparent). Mixing with
   `transparent` is the one declaration on this component whose rendering
   varies: the spec says premultiply (giving a pale cyan wash), but a
   non-premultiplied implementation mixes toward transparent BLACK and returns
   a muddy grey instead. The client reported this hover as an off colour three
   times while measurement kept showing correct teal, so the ambiguous
   declaration goes rather than being defended. Mist is a flat, known value. */
.bp-faq-item:hover { background: var(--bp-cyan-wash); }
/* Left accent bar in brand cyan, wiping in from the top. Same left/top-origin
   scale gesture as the nav underline and the card top-rule, so the whole site
   shares one hover language -- and it puts the actual brand colour on screen,
   which a text-colour change alone was never going to do convincingly. */
.bp-faq-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(var(--bp-cyan), var(--bp-teal));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s var(--bp-ease-out);
}
.bp-faq-item:hover::before, .bp-faq-item:focus-within::before { transform: scaleY(1); }
.bp-faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.25rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--bp-display);
  font-size: clamp(1.12rem, 1.9vw, 1.3rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--bp-ink);
  cursor: pointer;
  /* One declaration, not two: an earlier edit added a second `transition` above
     that this one silently overrode, so the padding shift jumped instead of
     easing. */
  transition: color var(--bp-t), padding-left .3s var(--bp-ease-out);
}
.bp-faq-q:hover { color: var(--bp-teal-vivid); padding-left: 1.5rem; }
.bp-faq-q:hover .bp-faq-q__sign::before,
.bp-faq-q:hover .bp-faq-q__sign::after { background: var(--bp-teal-vivid); }
.bp-faq-q__sign { flex: none; width: 26px; height: 26px; position: relative; margin-top: .12rem; }
.bp-faq-q__sign::before, .bp-faq-q__sign::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: var(--bp-teal-text);
  transition: transform .3s var(--bp-ease-out);
}
.bp-faq-q__sign::after { transform: rotate(90deg); }
.bp-faq-q[aria-expanded="true"] .bp-faq-q__sign::after { transform: rotate(0deg); }
.bp-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s var(--bp-ease); }
.bp-faq-q[aria-expanded="true"] + .bp-faq-a { grid-template-rows: 1fr; }
.bp-faq-a > div { overflow: hidden; }
.bp-faq-a p { color: var(--bp-muted); padding-bottom: 1.3rem; max-width: 72ch; }

/* ── Callout / final CTA band ────────────────────────────────────────────── */
.bp-cta-band {
  background: var(--bp-ink);
  border-radius: var(--bp-radius-lg);
  padding: clamp(30px, 5vw, 58px);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}
.bp-cta-band::before {
  content: "";
  position: absolute;
  right: -8%; top: -60%;
  width: 460px; aspect-ratio: 1;
  background: radial-gradient(circle, color-mix(in srgb, var(--bp-teal) 42%, transparent), transparent 66%);
  pointer-events: none;
}
.bp-cta-band > * { position: relative; }
.bp-cta-band h2 { color: var(--bp-white); margin-bottom: .3em; } /* bp-allow-white: on-ink */
.bp-cta-band p { color: var(--bp-pipe); margin: 0; }
@media (max-width: 780px) { .bp-cta-band { grid-template-columns: 1fr; } }

/* ── Prose blocks on service/suburb pages ───────────────────────────────── */
.bp-prose { max-width: 72ch; }
.bp-prose h2 { margin-top: 2.2em; }
.bp-prose h2:first-child { margin-top: 0; }
.bp-prose h3 { margin-top: 1.7em; }
.bp-prose ul { list-style: none; padding-left: 0; }
.bp-prose ul li { position: relative; padding-left: 1.75rem; }
.bp-prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--bp-cyan);
  box-shadow: 0 0 0 1px var(--bp-teal);
}

/* ── Split feature rows ─────────────────────────────────────────────────── */
.bp-split { display: grid; gap: clamp(26px, 4.5vw, 60px); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.bp-split__media { border-radius: var(--bp-radius-lg); overflow: hidden; box-shadow: var(--bp-shadow); }
.bp-split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--bp-ease-out); }
.bp-split__media:hover img { transform: scale(1.035); }
.bp-split--flip .bp-split__media { order: 2; }
@media (max-width: 820px) { .bp-split--flip .bp-split__media { order: 0; } }

/* ── Stat row ────────────────────────────────────────────────────────────── */
.bp-stats { display: grid; gap: clamp(14px, 2.4vw, 26px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr)); }
.bp-stat__n { font-family: var(--bp-brand); font-weight: 700; font-size: clamp(2.1rem, 4.6vw, 3rem); line-height: 1; color: var(--bp-ink); font-variant-numeric: tabular-nums; }
.bp-section--ink .bp-stat__n { color: var(--bp-cyan); } /* bp-allow-cyan: on-dark */
.bp-stat__l { font-size: .93rem; color: var(--bp-muted); margin-top: .3rem; }
.bp-section--ink .bp-stat__l { color: var(--bp-pipe); }

/* ── Breadcrumbs ─────────────────────────────────────────────────────────── */
.bp-crumbs { font-size: .88rem; color: var(--bp-muted); padding-block: 1.1rem 0; }
.bp-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .55rem; margin: 0; padding: 0; }
.bp-crumbs li { margin: 0; display: flex; align-items: center; gap: .55rem; }
.bp-crumbs li + li::before { content: "/"; color: var(--bp-hairline); }

/* ── Form ────────────────────────────────────────────────────────────────── */
.bp-form { display: grid; gap: 1rem; }
.bp-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--bp-ink); }
.bp-field :is(input, textarea, select) {
  width: 100%;
  padding: .85rem 1rem;
  min-height: 50px;
  font: inherit;
  color: var(--bp-ink);
  background: var(--bp-white);
  border: 1px solid var(--bp-hairline);
  border-radius: var(--bp-radius-sm);
  transition: border-color var(--bp-t), box-shadow var(--bp-t);
}
.bp-field :is(input, textarea):focus {
  border-color: var(--bp-teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bp-cyan) 34%, transparent);
  outline: none;
}
.bp-field textarea { min-height: 132px; resize: vertical; }

/* ── 🔴 Neutralise Hello Elementor's magenta button hover ──────────────────
   The parent theme's theme.css ships:

       [type="button"]:focus, [type="button"]:hover,
       [type="submit"]:focus, [type="submit"]:hover,
       button:hover, button:focus { background-color: #CC3366; }

   That is specificity (0,1,1). Every button component here was styled with a
   bare single class — `.bp-nav__toggle` (0,1,0), `.bp-faq-q`, `.bp-burger` —
   and none of them set a hover background, so the THEME won and every button
   on the site turned magenta on hover: the Services toggle, all ~340 FAQ
   questions, the mobile burger and the form submit.

   Confirmed by reading getComputedStyle in a real browser:
   backgroundColor === "rgb(204, 51, 102)".

   🚨 It could not be reproduced in an isolated harness, because the harness
   loaded only THIS stylesheet and not the theme's. Any future check of a
   hover state has to run against the real page with a real pointer, not a
   component in isolation with the state forced by a class.

   `.bp-page` prefix takes these to (0,3,0), which clears (0,1,1) with room to
   spare. Order matters: the .bp-btn rule must stay AFTER the blanket one, as
   both are (0,3,0) and source order breaks the tie. */
.bp-page :is(button, [type="button"], [type="submit"]):is(:hover, :focus) {
  background-color: transparent;
}
.bp-page .bp-btn:is(:hover, :focus) { background-color: var(--_bg); }
.bp-page .bp-faq-q:is(:hover, :focus) { background-color: transparent; }
/* 2026-10-26: Hello Elementor sets `button{white-space:nowrap}`, which stopped long FAQ questions wrapping and pushed the +/- sign
   off the right edge on phones (page scrolled sideways). Let the question wrap. */
.bp-page .bp-faq-q { white-space: normal; overflow-wrap: anywhere; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.bp-footer { background: var(--bp-ink); color: var(--bp-pipe); padding-block: clamp(44px, 6vw, 72px) 0; }
/* Re-assert the light colour on every descendant, including the bp-prefixed
   layout wrappers that the global reset otherwise paints navy. */
.bp-footer :is(.bp-shell, .bp-footer__grid, div, p, li, span, strong, address) { color: var(--bp-pipe); }
.bp-footer strong { color: var(--bp-white); } /* bp-allow-white: on-ink */
.bp-footer h2, .bp-footer h3 { color: var(--bp-white); font-size: 1.02rem; letter-spacing: .01em; margin-bottom: .9rem; } /* bp-allow-white: on-ink */
.bp-footer__grid { display: grid; gap: clamp(26px, 4vw, 46px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.bp-footer ul { list-style: none; padding: 0; margin: 0; }
.bp-footer li { margin-bottom: .5rem; }
.bp-footer a { color: var(--bp-pipe); text-decoration: none; transition: color var(--bp-t); }
.bp-footer a:hover { color: var(--bp-cyan); } /* bp-allow-cyan: on-dark */
.bp-footer__logo img, .bp-footer__logo svg { height: 132px; width: auto; margin-bottom: 1.15rem; }
.bp-footer .bp-tel { font-size: clamp(1.15rem, 1.5vw, 1.35rem); gap: .6rem; padding: .35rem 0; }
.bp-footer .bp-tel__ring { width: 2.4rem; height: 2.4rem; }
.bp-footer .bp-tel__ring svg { width: 1.05rem; height: 1.05rem; }

.bp-footer__legal {
  margin-top: clamp(30px, 4vw, 48px);
  padding-block: 1.4rem;
  border-top: 1px solid color-mix(in srgb, var(--bp-pipe) 15%, transparent);
  font-size: .87rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  color: color-mix(in srgb, var(--bp-pipe) 72%, var(--bp-ink));
}

/* ── Mobile call bar — the page's job, always one thumb away ─────────────── */
.bp-callbar { display: none; }
@media (max-width: 900px) {
  .bp-callbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 70;
    background: color-mix(in srgb, var(--bp-ink) 96%, transparent);
    backdrop-filter: blur(12px);
    border-top: 1px solid color-mix(in srgb, var(--bp-pipe) 16%, transparent);
    padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
    gap: .55rem;
  }
  .bp-callbar .bp-btn { width: 100%; min-height: 50px; }
  /* Reserve the bar's height so it never covers the last line of the footer. */
  .bp-page { padding-bottom: 76px; }
}

/* ── Reveal on scroll ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .bp-reveal {
      animation: bp-rise .7s var(--bp-ease-out) both;
      animation-timeline: view(block);
      animation-range: entry 6% cover 26%;
    }
    @keyframes bp-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  }
}

/* ── Reduced motion: kill movement, keep every end state visible ─────────── */
@media (prefers-reduced-motion: reduce) {
  [class^="bp-"] *, [class*=" bp-"] * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .bp-spine__flow { stroke-dashoffset: 0 !important; }
  .bp-btn::after { display: none; }
}

/* ── Print: the page becomes a quote sheet. Keep the NAP, drop the chrome. ─ */
@media print {
  .bp-header, .bp-callbar, .bp-spine, .bp-cta-band::before, .bp-hero::before { display: none !important; }
  .bp-hero, .bp-section--ink, .bp-footer { background: #fff !important; color: #000 !important; }
  .bp-hero :is(h1, h2, h3), .bp-section--ink :is(h1, h2, h3), .bp-footer :is(h2, h3) { color: #000 !important; }
  .bp-card, .bp-review { break-inside: avoid; box-shadow: none; }
}

/* 2026-11-03 page check: the Elementor kit link colour (dim blue) beat .bp-btn on anchors, so ghost buttons read as
   dim blue on near-black. Doubled class wins over it; the sticky call bar is dark, so its ghost button is white. */
.bp-btn.bp-btn { color: var(--_fg); }
.bp-callbar .bp-btn--ghost { --_fg: var(--bp-white); }
