/* =====================================================================
   1. TOKENS (design-system.html §1, unchanged)
   ===================================================================== */
:root {
  --navy-50: #EEF3F8; --navy-100: #D9E3EE; --navy-200: #B3C6DB; --navy-300: #85A1C0; --navy-400: #56789E;
  --navy-500: #33567F; --navy-600: #1B3D65; --navy-700: #0E3057; --navy-800: #06264A; --navy-900: #041A33; --navy-950: #020F1F;
  --sky-50: #EEF7FF; --sky-100: #D8ECFE; --sky-200: #B5DBFD; --sky-300: #8DC8FB; --sky-400: #64B4FA;
  --sky-500: #3A9AEC; --sky-600: #1F7DD0; --sky-700: #1764A8; --sky-800: #154F82; --sky-900: #123F66;
  --slate-0: #FFFFFF; --slate-50: #F5F7FA; --slate-100: #EBEFF4; --slate-200: #D8DFE7; --slate-300: #B9C3CF;
  --slate-400: #8B97A6; --slate-500: #66727F; --slate-600: #4B5663; --slate-700: #353E49; --slate-800: #222A33; --slate-900: #141A21;
  --amber-100: #FEF1D6; --amber-400: #F5A524; --amber-700: #8A5300;
  --green-100: #DDF2E6; --green-600: #1E7F4F;
  --red-50: #FDF3F2; --red-100: #FBE3E1; --red-600: #C2362B;

  --grad-dusk:  radial-gradient(90% 70% at 88% 0%, rgb(100 180 250 / .26), transparent 60%),
                linear-gradient(165deg, #0B3460 0%, var(--navy-800) 45%, var(--navy-950) 100%);
  --grad-night: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  --grad-sky:   linear-gradient(135deg, var(--sky-300), var(--sky-400) 45%, var(--sky-500));
  --grad-mist:  linear-gradient(180deg, var(--slate-50), var(--slate-0));
  --grad-ridge: linear-gradient(90deg, transparent, var(--sky-400) 18%, var(--sky-400) 82%, transparent);
  --tile-dark:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='28'%3E%3Cpath d='M0 13.5h48M0 27.5h48M12 0v14M36 0v14M.5 14v14M24 14v14' stroke='%2306264A' stroke-opacity='.07' fill='none'/%3E%3C/svg%3E");
  --tile-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='28'%3E%3Cpath d='M0 13.5h48M0 27.5h48M12 0v14M36 0v14M.5 14v14M24 14v14' stroke='%23FFFFFF' stroke-opacity='.05' fill='none'/%3E%3C/svg%3E");

  --font-display: "Archivo", "Arial Narrow", Arial, system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.5rem, 1.3rem + 5cqi, 4.9rem);
  --fs-h1: clamp(2.2rem, 1.5rem + 3cqi, 3.6rem);
  --fs-h2: clamp(1.8rem, 1.35rem + 2cqi, 2.7rem);
  --fs-h3: clamp(1.25rem, 1.12rem + .55cqi, 1.55rem);
  --fs-h4: 1.125rem;
  --fs-lead: clamp(1.125rem, 1.05rem + .35cqi, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .78rem;
  --lh-tight: .98; --lh-snug: 1.15; --lh-body: 1.6;
  --track-label: .24em;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;
  --section-y: clamp(64px, 3.5rem + 5cqi, 120px);
  --gutter: clamp(16px, 4cqi, 32px);
  --container: 1200px;
  --measure: 62ch;
  --pitch: clamp(28px, 5.5cqi, 76px);
  --header-h: 76px;

  --r-xs: 2px; --r-sm: 4px; --r-md: 6px; --r-lg: 10px; --r-full: 999px;
  --shadow-sm: 0 1px 2px rgb(6 38 74 / .08), 0 1px 1px rgb(6 38 74 / .04);
  --shadow-md: 0 8px 20px -6px rgb(6 38 74 / .16), 0 2px 4px rgb(6 38 74 / .06);
  --shadow-lg: 0 28px 56px -18px rgb(6 38 74 / .36), 0 4px 10px rgb(6 38 74 / .08);

  --dur-instant: 80ms; --dur-exit: 120ms; --dur-base: 260ms; --dur-layout: 360ms; --dur-story: 560ms; --dur-data: 900ms;
  --stagger: 40ms; --reveal-stagger: 60ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-out-quart: cubic-bezier(.25, 1, .5, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --rise: 12px;

  --bg: var(--slate-0); --surface: var(--slate-0); --surface-2: var(--slate-50);
  --text: var(--slate-700); --heading: var(--navy-800); --muted: var(--slate-500);
  --border: var(--slate-200); --border-strong: var(--slate-300);
  --link: var(--sky-700); --eyebrow: var(--sky-700); --ring: var(--sky-600);
  --tile: var(--tile-dark); --mark-roof: var(--navy-800); --mark-accent: var(--sky-400);
  --btn-primary-bg: var(--navy-800); --btn-primary-fg: #FFFFFF; --btn-primary-hover: var(--navy-600);
}
@media (max-width: 600px) { :root { --rise: 8px; --header-h: 68px; } }
@media (prefers-reduced-motion: reduce) {
  :root { --dur-base: 1ms; --dur-layout: 1ms; --dur-story: 1ms; --dur-data: 1ms; --stagger: 0ms; --reveal-stagger: 0ms; --rise: 0px; }
}

/* =====================================================================
   2. TONES
   Everything is scoped under .hb-site so WordPress/Elementor theme CSS
   can't restyle it, and nothing here leaks out onto the theme.
   ===================================================================== */
.hb-site .tone-light { --bg: var(--slate-0); background: var(--bg); color: var(--text); }
.hb-site .tone-mist  { --bg: var(--slate-50); --surface: var(--slate-0); background: var(--bg); color: var(--text); }
.hb-site .tone-navy, .hb-site .tone-dusk {
  --bg: var(--navy-800); --surface: var(--navy-700); --surface-2: var(--navy-900);
  --text: var(--navy-100); --heading: #FFFFFF; --muted: var(--navy-200);
  --border: rgb(255 255 255 / .14); --border-strong: rgb(255 255 255 / .32);
  --link: var(--sky-300); --eyebrow: var(--sky-400); --ring: var(--sky-300);
  --tile: var(--tile-light); --mark-roof: #FFFFFF;
  --btn-primary-bg: #FFFFFF; --btn-primary-fg: var(--navy-800); --btn-primary-hover: var(--navy-50);
  color: var(--text);
}
.hb-site .surface-light {
  --surface: var(--slate-0); --heading: var(--navy-800); --text: var(--slate-700); --muted: var(--slate-500);
  --border: var(--slate-200); --border-strong: var(--slate-300); --link: var(--sky-700); --eyebrow: var(--sky-700); --ring: var(--sky-600);
  --btn-primary-bg: var(--navy-800); --btn-primary-fg: #FFFFFF; --btn-primary-hover: var(--navy-600);
  color: var(--text);
}
.hb-site .tone-navy { background: var(--tile-light), var(--grad-night); }
.hb-site .tone-dusk { background: var(--tile-light), var(--grad-dusk); }
/* =====================================================================
   3. BASE
   ===================================================================== */
.hb-site {
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* Page bodies respond to their own width (container queries); header/footer
   use media queries because they hold position:fixed elements. */
.hb-page { container: site / inline-size; background: var(--bg); overflow-x: clip; }
.hb-site *, .hb-site *::before, .hb-site *::after { box-sizing: border-box; }
.hb-site img, .hb-site svg, .hb-site video { display: block; max-width: 100%; }
.hb-site [hidden] { display: none !important; }
.hb-site :is(h1, h2, h3, h4) {
  margin: 0; padding: 0; font-family: var(--font-display); font-weight: 800; color: var(--heading);
  line-height: var(--lh-snug); letter-spacing: -.015em; text-transform: none; text-wrap: balance;
}
.hb-site p { margin: 0; text-wrap: pretty; }
.hb-site figure { margin: 0; }
.hb-site a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.hb-site :is(button, input, select, textarea) { font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; box-shadow: none; }
.hb-site :focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.hb-site ::selection { background: var(--sky-200); color: var(--navy-900); }
.hb-site [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.hb-site .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hb-site .icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square; }

.hb-site .container { width: min(100% - 2 * var(--gutter), var(--container)); max-width: none; margin-inline: auto; padding-inline: 0; }
.hb-site .section { position: relative; padding-block: var(--section-y); }
.hb-site .stack > * + * { margin-top: var(--stack, var(--sp-4)); }

.hb-site .t-display { font-family: var(--font-display); font-size: var(--fs-display); font-weight: 850; line-height: var(--lh-tight); letter-spacing: -.025em; color: var(--heading); }
.hb-site .t-h2 { font-size: var(--fs-h2); line-height: 1.08; }
.hb-site .t-h3 { font-size: var(--fs-h3); font-weight: 750; }
.hb-site .t-h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: 0; }
.hb-site .t-lead { font-size: var(--fs-lead); line-height: 1.5; max-width: var(--measure); }
.hb-site .t-small { font-size: var(--fs-small); }
.hb-site .t-muted { color: var(--muted); }
.hb-site .t-num { font-variant-numeric: tabular-nums; }

.hb-site .eyebrow {
  display: inline-flex; align-items: center; gap: .9em;
  font-family: var(--font-display); font-stretch: 125%; font-size: var(--fs-label); font-weight: 650;
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--eyebrow); line-height: 1.3;
}
.hb-site .eyebrow--ruled::before, .hb-site .eyebrow--ruled::after { content: ""; width: clamp(20px, 4cqi, 48px); height: 2px; background: var(--sky-400); }
.hb-site .eyebrow--lead::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--sky-400); }

.hb-site .section-head { display: grid; gap: var(--sp-4); max-width: 46rem; margin-bottom: clamp(32px, 5cqi, 56px); }
.hb-site .section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* Roofline: section top edge cut to the logo's roof pitch. Max two per page. */
.hb-site .roofline {
  clip-path: polygon(0 var(--pitch), 50% 0, 100% var(--pitch), 100% 100%, 0 100%);
  margin-top: calc(-1 * var(--pitch));
  padding-top: calc(var(--section-y) + var(--pitch));
}
.hb-site .roofline--first { margin-top: 0; }
.hb-site .roofline__ridge {
  position: absolute; left: 15%; width: 70%;
  top: clamp(14px, 2.2cqi, 26px); height: calc(var(--pitch) * .7);
  overflow: visible; pointer-events: none;
}
.hb-site .roofline__ridge line { stroke: var(--sky-400); stroke-width: 5; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 0; }

.hb-site .logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); }
.hb-site .logo__mark { width: 46px; height: auto; }
.hb-site .logo__type { display: grid; line-height: 1; }
.hb-site .logo__name { white-space: nowrap; font-family: var(--font-display); font-weight: 850; font-size: 1.32rem; letter-spacing: -.01em; text-transform: uppercase; }
.hb-site .logo__sub { margin-top: 3px; font-family: var(--font-display); font-stretch: 125%; font-weight: 600; font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--mark-accent); }

/* =====================================================================
   4. COMPONENTS (design-system.html §4)
   ===================================================================== */
/* Buttons */
.hb-site .btn {
  --btn-bg: var(--btn-primary-bg); --btn-fg: var(--btn-primary-fg); --btn-bd: transparent; --btn-bg-hover: var(--btn-primary-hover);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; margin: 0; padding: 0 1.35em; border: 2px solid var(--btn-bd); border-radius: var(--r-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 1rem; line-height: 1;
  letter-spacing: .005em; text-decoration: none; text-transform: none; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-instant) var(--ease-out),
              color var(--dur-instant) var(--ease-out), transform var(--dur-instant) var(--ease-out);
}
.hb-site .btn .icon { width: 1.15em; height: 1.15em; }
.hb-site .btn__arrow { transition: transform var(--dur-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .hb-site .btn:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
  .hb-site .btn:hover .btn__arrow { transform: translateX(3px); }
}
.hb-site .btn:active { transform: scale(.97); }
.hb-site .btn--accent    { --btn-bg: var(--sky-400); --btn-fg: var(--navy-900); --btn-bg-hover: var(--sky-300); }
.hb-site .btn--secondary { --btn-bg: transparent; --btn-fg: var(--heading); --btn-bd: var(--heading); --btn-bg-hover: color-mix(in srgb, var(--heading) 8%, transparent); }
.hb-site .btn--emergency { --btn-bg: var(--amber-400); --btn-fg: var(--navy-900); --btn-bg-hover: #F7B74D; }
.hb-site .btn--ghost     { --btn-bg: transparent; --btn-fg: var(--link); --btn-bg-hover: color-mix(in srgb, var(--link) 10%, transparent); padding-inline: .7em; }
.hb-site .btn--sm { min-height: 40px; padding: 0 1em; font-size: .9rem; }
.hb-site .btn--lg { min-height: 56px; padding: 0 1.6em; font-size: 1.0625rem; }
.hb-site .btn--block { width: 100%; }
.hb-site .btn--icon { width: 48px; padding: 0; }
.hb-site .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* Async states: the signature moment (roof draws while sending, tick drops under it on success) */
.hb-site .btn__label { display: inline-flex; align-items: center; gap: .55em; transition: opacity var(--dur-exit) var(--ease-in), transform var(--dur-exit) var(--ease-in); }
.hb-site .btn__status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .6em; opacity: 0; pointer-events: none; transition: opacity var(--dur-instant) var(--ease-out); }
.hb-site .btn__msg { opacity: 0; transform: translateY(4px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.hb-site .roofcheck { width: 30px; height: 24px; overflow: visible; }
.hb-site .roofcheck path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: square; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hb-site .btn[data-state] .btn__label { opacity: 0; transform: translateY(-4px); }
.hb-site .btn[data-state] .btn__status { opacity: 1; }
.hb-site .btn[data-state="pending"] { cursor: progress; }
.hb-site .btn[data-state="pending"] .roofcheck__roof { animation: hb-roof-draw 1.1s var(--ease-in-out) infinite; }
.hb-site .btn[data-state="success"] { --btn-bg: var(--green-600); --btn-fg: #FFFFFF; --btn-bg-hover: var(--green-600); --btn-bd: transparent; }
.hb-site .btn[data-state="success"] .roofcheck__roof { stroke-dashoffset: 0; transition: stroke-dashoffset var(--dur-base) var(--ease-out); }
.hb-site .btn[data-state="success"] .roofcheck__tick { stroke-dashoffset: 0; transition: stroke-dashoffset var(--dur-base) var(--ease-out) 80ms; }
.hb-site .btn[data-state="success"] .btn__msg, .hb-site .btn[data-state="error"] .btn__msg { opacity: 1; transform: none; }
.hb-site .btn[data-state="error"] { --btn-bg: var(--red-600); --btn-fg: #FFFFFF; --btn-bg-hover: var(--red-600); --btn-bd: transparent; }
.hb-site .btn[data-state="error"] .roofcheck { display: none; }
@keyframes hb-roof-draw { 0% { stroke-dashoffset: 1; } 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
@media (prefers-reduced-motion: reduce) { .hb-site .btn[data-state="pending"] .roofcheck__roof { animation: none; stroke-dashoffset: 0; opacity: .6; } }

/* Links */
.hb-site .link-arrow { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; font-family: var(--font-display); font-stretch: 110%; font-weight: 700; color: var(--link); text-decoration: none; }
.hb-site .link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform var(--dur-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .hb-site .link-arrow:hover { text-decoration: underline; } .hb-site .link-arrow:hover .icon { transform: translateX(3px); } }

/* Badges */
.hb-site .badge { display: inline-flex; align-items: center; gap: .45em; min-height: 26px; padding: 0 .7em; border-radius: var(--r-xs); background: var(--navy-50); color: var(--navy-800); font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: .78rem; letter-spacing: .02em; }
.hb-site .badge .icon { width: 1.1em; height: 1.1em; }
.hb-site .badge--sky { background: var(--sky-100); color: var(--sky-800); }
/* Forms */
.hb-site .form { display: grid; gap: var(--sp-5); margin: 0; }
.hb-site .form__row { display: grid; gap: var(--sp-5); }
@container site (min-width: 600px) { .hb-site .form__row--2 { grid-template-columns: 1fr 1fr; } }
.hb-site .field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; border-radius: var(--r-sm); }
.hb-site .field__label { font-weight: 650; font-size: var(--fs-small); color: var(--heading); padding: 0; margin: 0; }
.hb-site .field__label small { font-weight: 400; color: var(--muted); }
.hb-site .field__hint { font-size: .875rem; color: var(--muted); }
.hb-site .field__hint--ok { color: var(--green-600); font-weight: 600; }
.hb-site .field__error { display: flex; align-items: flex-start; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--red-600); }
.hb-site .field__error .icon { width: 1.15em; height: 1.15em; margin-top: .1em; }
.hb-site .input {
  width: 100%; min-height: 48px; margin: 0; padding: 11px 14px;
  border: 1.5px solid var(--border-strong); border-radius: var(--r-sm); background: var(--slate-0); color: var(--navy-900);
  font-size: 1rem; line-height: 1.4;
  transition: border-color var(--dur-instant) var(--ease-out), box-shadow var(--dur-instant) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
.hb-site .input::placeholder { color: var(--slate-400); opacity: 1; }
.hb-site .input[autocomplete="postal-code"] { text-transform: uppercase; }
.hb-site .input[autocomplete="postal-code"]::placeholder { text-transform: none; }
@media (hover: hover) and (pointer: fine) { .hb-site .input:hover { border-color: var(--slate-400); } }
.hb-site .input:focus-visible, .hb-site .input:focus { outline: none; border-color: var(--sky-600); box-shadow: 0 0 0 3px rgb(31 125 208 / .28); }
.hb-site textarea.input { min-height: 112px; resize: vertical; line-height: 1.5; }
.hb-site .field[data-invalid] .input { border-color: var(--red-600); background-color: var(--red-50); }
.hb-site .field.is-nudged { box-shadow: 0 0 0 6px rgb(194 54 43 / .12); transition: box-shadow var(--dur-base) var(--ease-out); }
.hb-site .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hb-site .chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.hb-site .chip { position: relative; display: inline-flex; cursor: pointer; margin: 0; }
.hb-site .chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hb-site .chip__face {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: 0 1em;
  border: 1.5px solid var(--border-strong); border-radius: var(--r-sm); background: var(--slate-0); color: var(--navy-800);
  font-weight: 600; font-size: .95rem;
  transition: background-color var(--dur-instant) var(--ease-out), border-color var(--dur-instant) var(--ease-out), color var(--dur-instant) var(--ease-out), transform var(--dur-instant) var(--ease-out);
}
.hb-site .chip__face .icon { width: 1.15em; height: 1.15em; }
@media (hover: hover) and (pointer: fine) { .hb-site .chip:hover .chip__face { border-color: var(--navy-400); } }
.hb-site .chip input:active + .chip__face { transform: scale(.97); }
.hb-site .chip input:checked + .chip__face { background: var(--navy-800); border-color: var(--navy-800); color: #FFFFFF; }
.hb-site .chip input:focus-visible + .chip__face { outline: 3px solid var(--ring); outline-offset: 2px; }
.hb-site .field[data-invalid] .chip__face { border-color: var(--red-600); }

.hb-site .check { position: relative; display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: var(--fs-small); margin: 0; }
.hb-site .check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.hb-site .check__box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid var(--border-strong); border-radius: var(--r-xs); background: var(--slate-0); transition: background-color var(--dur-instant) var(--ease-out), border-color var(--dur-instant) var(--ease-out); }
.hb-site .check__box svg { width: 14px; height: 14px; fill: none; stroke: #FFFFFF; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset var(--dur-base) var(--ease-out); }
.hb-site .check input:checked + .check__box { background: var(--navy-800); border-color: var(--navy-800); }
.hb-site .check input:checked + .check__box svg { stroke-dashoffset: 0; }
.hb-site .check input:focus-visible + .check__box { outline: 3px solid var(--ring); outline-offset: 2px; }

.hb-site .form-status { min-height: 1.5em; font-size: var(--fs-small); font-weight: 600; }
.hb-site .form-status:empty { min-height: 0; }
.hb-site .form-status[data-tone="ok"] { color: var(--green-600); }
.hb-site .form-status[data-tone="error"] { color: var(--red-600); }
.hb-site .form-note { font-size: .82rem; color: var(--muted); }

/* Cards */
.hb-site .card { position: relative; display: grid; gap: var(--sp-3); align-content: start; padding: clamp(20px, 3cqi, 28px); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.hb-site .card--raised { border-color: transparent; box-shadow: var(--shadow-lg); }

/* Review */
.hb-site .review { display: grid; gap: var(--sp-4); align-content: start; margin: 0; }
.hb-site .stars { display: flex; gap: 2px; color: var(--amber-400); }
.hb-site .stars svg { width: 18px; height: 18px; fill: currentColor; }
.hb-site .review blockquote { margin: 0; padding: 0; border: 0; font-size: 1.05rem; font-style: normal; color: var(--heading); }
.hb-site .review figcaption { display: grid; gap: 2px; font-size: var(--fs-small); }
.hb-site .review figcaption strong { color: var(--heading); }

/* Media slots: tiled placeholder until a photo is added */
.hb-site .media { position: relative; aspect-ratio: var(--ar, 4 / 3); overflow: hidden; border-radius: var(--r-md); background: var(--tile-dark), var(--slate-100); display: grid; place-items: center; margin: 0; }
.hb-site .media__ph { display: grid; justify-items: center; gap: 6px; padding: 12px; text-align: center; color: var(--slate-400); font-size: .8rem; }
.hb-site .media__ph .icon { width: 32px; height: 32px; }
.hb-site .media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-site .tone-navy .media, .hb-site .tone-dusk .media { background: var(--tile-light), rgb(255 255 255 / .06); }

/* Before / after */
.hb-site .ba { --pos: 50%; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--slate-200); touch-action: pan-y; }
.hb-site .ba__layer { position: absolute; inset: 0; }
.hb-site .ba__layer svg, .hb-site .ba__layer img { width: 100%; height: 100%; object-fit: cover; }
.hb-site .ba__after { clip-path: inset(0 0 0 var(--pos)); }
.hb-site .ba__tag { position: absolute; top: 12px; z-index: 2; padding: 4px 8px; border-radius: var(--r-xs); background: rgb(4 26 51 / .78); color: #FFFFFF; font-family: var(--font-display); font-stretch: 125%; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hb-site .ba__tag--before { left: 12px; }
.hb-site .ba__tag--after { right: 12px; }
.hb-site .ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #FFFFFF; z-index: 2; pointer-events: none; box-shadow: 0 0 0 1px rgb(6 38 74 / .2); }
.hb-site .ba__knob { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: var(--r-full); background: #FFFFFF; color: var(--navy-800); box-shadow: var(--shadow-md); }
.hb-site .ba__knob .icon { width: 22px; height: 22px; }
.hb-site .ba input[type="range"] { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: none; }
.hb-site .ba:has(input:focus-visible) .ba__knob { outline: 3px solid var(--ring); outline-offset: 2px; }

/* FAQ (native <details>, answers always in the DOM) */
.hb-site .faq { border-top: 1px solid var(--border); }
.hb-site .faq__item { border-bottom: 1px solid var(--border); }
.hb-site .faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 64px; padding: var(--sp-4) 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.3; color: var(--heading); }
.hb-site .faq__q::-webkit-details-marker { display: none; }
.hb-site .faq__icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--navy-50); color: var(--navy-800); transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-instant) var(--ease-out); }
.hb-site .faq__icon .icon { width: 18px; height: 18px; }
.hb-site .faq__item[open] .faq__icon { transform: rotate(180deg); background: var(--sky-100); }
.hb-site .faq__a { padding: 0 0 var(--sp-5); max-width: var(--measure); color: var(--text); }
@media (hover: hover) and (pointer: fine) { .hb-site .faq__q:hover .faq__icon { background: var(--sky-100); } }

/* Steps */
.hb-site .steps { display: grid; gap: var(--sp-6) var(--sp-5); counter-reset: step; list-style: none; margin: 0; padding: 0; }
@container site (min-width: 600px) { .hb-site .steps { grid-template-columns: repeat(2, 1fr); } }
@container site (min-width: 960px) { .hb-site .steps { grid-template-columns: repeat(4, 1fr); } }
.hb-site .step { position: relative; display: grid; gap: var(--sp-3); align-content: start; padding-top: var(--sp-5); border-top: 2px solid var(--border); }
.hb-site .step::before { counter-increment: step; content: counter(step); position: absolute; top: -15px; left: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-xs); background: var(--navy-800); color: #FFFFFF; font-family: var(--font-display); font-weight: 800; font-size: .9rem; }
.hb-site .tone-navy .step::before { background: #FFFFFF; color: var(--navy-800); }
.hb-site .step:last-child::before { background: var(--sky-400); color: var(--navy-900); }
.hb-site .step h3 { font-size: var(--fs-h4); }

/* Trust strip */
.hb-site .trust { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@container site (min-width: 600px) { .hb-site .trust { grid-template-columns: repeat(2, 1fr); } }
@container site (min-width: 1000px) { .hb-site .trust { grid-template-columns: repeat(4, 1fr); } }
.hb-site .trust__item { display: flex; align-items: center; gap: var(--sp-3); font-weight: 650; color: var(--heading); font-size: var(--fs-small); line-height: 1.35; }
.hb-site .trust__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--sky-100); color: var(--navy-800); }

/* Quote highlight when a "Get a free quote" link lands on a form */
.hb-site .is-highlighted { animation: hb-highlight 1.2s var(--ease-out); }
@keyframes hb-highlight { 0%, 30% { box-shadow: 0 0 0 4px var(--sky-400), var(--shadow-lg); } 100% { box-shadow: 0 0 0 0 transparent, var(--shadow-lg); } }

/* Scroll reveal: card groups only, below the fold only, once.
   Hidden state exists only when JS is running and we're not in the Elementor editor. */
.hb-site [data-reveal] { transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); transition-delay: calc(min(var(--i, 0), 5) * var(--reveal-stagger)); }
html.hb-js:not(.hb-editor) .hb-site [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(var(--rise)); }
@media print { html.hb-js .hb-site [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* =====================================================================
   5. SECTIONS SHARED BY EVERY PAGE TYPE (hero, services, areas, quote…)
   ===================================================================== */
/* Hero */
.hb-site .hero { --section-y: clamp(40px, 2rem + 4cqi, 88px); position: relative; overflow: hidden; color: var(--text); }
.hb-site .hero__grid { display: grid; gap: clamp(32px, 5cqi, 64px); align-items: center; }
@container site (min-width: 960px) { .hb-site .hero__grid { grid-template-columns: 1.15fr .85fr; } }
.hb-site .hero__copy { display: grid; gap: var(--sp-5); justify-items: start; }
.hb-site .hero__title { font-size: var(--fs-display); font-weight: 850; line-height: var(--lh-tight); letter-spacing: -.028em; color: #FFFFFF; }
.hb-site .hero__title em { font-style: normal; color: var(--sky-400); }
.hb-site .hero__lead { font-size: var(--fs-lead); color: var(--navy-100); max-width: 36rem; }
.hb-site .hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.hb-site .hero__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin: 0; padding: 0; list-style: none; color: var(--navy-200); font-size: var(--fs-small); }
.hb-site .hero__meta li { display: inline-flex; align-items: center; gap: 6px; }
.hb-site .hero__meta .icon { color: var(--sky-400); width: 18px; height: 18px; }
@container site (max-width: 479px) { .hb-site .hero__ctas .btn { width: 100%; } }

/* Hero load: the sky ridge draws from the apex and the quote card rises.
   The headline, lead and buttons are never animated: they're the LCP and the first thing people act on. */
html.hb-js:not(.hb-editor) .hb-site .hero .roofline__ridge line { animation: hb-ridge-draw var(--dur-story) var(--ease-out) both; }
html.hb-js:not(.hb-editor) .hb-site .hero [data-enter] { animation: hb-rise var(--dur-base) var(--ease-out) 180ms both; }
@keyframes hb-ridge-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hb-rise { from { opacity: 0; transform: translateY(var(--rise)); } }
@media (prefers-reduced-motion: reduce) { html.hb-js .hb-site .hero .roofline__ridge line, html.hb-js .hb-site .hero [data-enter] { animation: none; } }

/* Quick quote (two steps in place, the main conversion point) */
.hb-site .qq { gap: var(--sp-5); padding: clamp(22px, 3cqi, 32px); }
.hb-site .qq__head { display: grid; gap: 6px; }
.hb-site .qq__head h2 { font-size: 1.5rem; }
.hb-site .qq__progress { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-2); }
.hb-site .qq__track { position: relative; flex: 1; height: 4px; border-radius: 2px; background: var(--slate-100); overflow: hidden; }
.hb-site .qq__bar { position: absolute; inset: 0; background: var(--grad-sky); transform: scaleX(.5); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.hb-site .qq__label { flex: none; font-size: .8rem; font-weight: 650; color: var(--muted); font-variant-numeric: tabular-nums; }
.hb-site .qq__step { display: grid; gap: var(--sp-5); }
.hb-site .qq__actions { display: grid; gap: var(--sp-2); }
.hb-site .qq__back { justify-self: start; min-height: 44px; }
.hb-site .qq .form-status:empty { display: none; }
.hb-site .qq:has([data-state="success"]) .qq__back { visibility: hidden; }
@container site (max-width: 479px) { .hb-site .eyebrow .hide-sm { display: none; } }
html:not(.hb-js) .hb-site .qq__progress, html:not(.hb-js) .hb-site [data-next], html:not(.hb-js) .hb-site [data-back] { display: none; }
html.hb-js:not(.hb-editor) .hb-site [data-steps] [data-step]:not([data-active]) { display: none; }

/* Quote section */
.hb-site .quote-wrap { display: grid; gap: clamp(32px, 5cqi, 64px); }
@container site (min-width: 960px) { .hb-site .quote-wrap { grid-template-columns: .85fr 1.15fr; align-items: start; } }
.hb-site .quote-aside { display: grid; gap: var(--sp-5); align-content: start; }
.hb-site .quote-aside__list { display: grid; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
.hb-site .quote-aside__list li { display: flex; gap: 10px; color: var(--navy-100); }
.hb-site .quote-aside__list .icon { color: var(--sky-400); margin-top: 3px; }
.hb-site .quote-aside__contact { display: grid; gap: var(--sp-3); padding-top: var(--sp-5); border-top: 1px solid var(--border); }

/* =====================================================================
   6. CONTENT SECTIONS (first built for the homepage, shared by all pages)
   ===================================================================== */
/* ---- Services: photo cards, the whole card is one link ---------------- */
.hb-site .svc-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--sp-4) var(--sp-6); margin-bottom: clamp(32px, 5cqi, 48px); }
.hb-site .svc-top .section-head { margin: 0; }
.hb-site .svc-grid { display: grid; gap: var(--sp-4); }
@container site (min-width: 600px) { .hb-site .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@container site (min-width: 1000px) { .hb-site .svc-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); } }
.hb-site .svc {
  position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); color: var(--text); text-decoration: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.hb-site .svc .media { border-radius: 0; --ar: 16 / 10; }
.hb-site .svc .media > * { transition: transform 400ms var(--ease-out); }
.hb-site .svc__body { position: relative; display: grid; gap: var(--sp-3); align-content: start; padding: 0 clamp(20px, 3cqi, 26px) clamp(20px, 3cqi, 26px); }
.hb-site .svc__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: var(--r-sm); background: var(--navy-800); color: #FFFFFF; box-shadow: var(--shadow-md); }
.hb-site .svc__icon .icon { width: 26px; height: 26px; }
.hb-site .svc h3 { font-size: var(--fs-h3); }
.hb-site .svc .link-arrow { margin-top: var(--sp-1); }
/* The sky ridge line slides along the top edge on hover (design system service card) */
.hb-site .svc::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 3px; background: var(--sky-400); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .hb-site .svc:hover { border-color: var(--navy-100); box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .hb-site .svc:hover::before { transform: none; }
  .hb-site .svc:hover .media > * { transform: scale(1.04); }
  .hb-site .svc:hover .link-arrow .icon { transform: translateX(3px); }
}
.hb-site .svc:focus-visible::before { transform: none; }

.hb-site .svc-more { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin-top: var(--sp-6); }
.hb-site .svc-more__label { margin-right: var(--sp-2); font-weight: 650; color: var(--heading); font-size: var(--fs-small); }
.hb-site .svc-more a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-xs); background: var(--slate-0); color: var(--navy-800); font-size: .9rem; font-weight: 600; text-decoration: none; transition: border-color var(--dur-instant) var(--ease-out), background-color var(--dur-instant) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .hb-site .svc-more a:hover { border-color: var(--navy-300); background: var(--navy-50); } }

/* Phones: compact rows (photo left) so six services don't become a 3,000px scroll */
@container site (max-width: 599px) {
  .hb-site .svc { grid-template-columns: 96px 1fr; grid-template-rows: none; align-items: stretch; }
  .hb-site .svc .media { --ar: auto; height: 100%; min-height: 100%; }
  .hb-site .svc .media__ph .icon { width: 22px; height: 22px; }
  .hb-site .svc__icon { display: none; }
  .hb-site .svc__body { gap: 6px; padding: 14px 16px 16px; }
  .hb-site .svc h3 { font-size: 1.1rem; }
  .hb-site .svc p { font-size: .9rem; line-height: 1.5; }
  .hb-site .svc .link-arrow { display: none; }
}

/* Emergency strip: the one place amber leads */
.hb-site .sos { display: grid; gap: var(--sp-5); align-items: center; margin-top: clamp(32px, 5cqi, 48px); padding: clamp(22px, 3.5cqi, 32px); border-radius: var(--r-md); }
@container site (min-width: 820px) { .hb-site .sos { grid-template-columns: auto 1fr auto; gap: var(--sp-6); } }
.hb-site .sos__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-sm); background: var(--amber-400); color: var(--navy-900); }
.hb-site .sos__icon .icon { width: 28px; height: 28px; }
.hb-site .sos h2 { font-size: var(--fs-h3); }
.hb-site .sos p { margin-top: 4px; }

/* Why us: photo + reasons */
.hb-site .why { display: grid; gap: clamp(32px, 5cqi, 72px); align-items: center; }
@container site (min-width: 900px) { .hb-site .why { grid-template-columns: .9fr 1.1fr; } }
.hb-site .why__media { --ar: 4 / 5; position: relative; }
@container site (max-width: 899px) { .hb-site .why__media { --ar: 3 / 2; } }
.hb-site .why__tag { position: absolute; left: 16px; bottom: 16px; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--slate-0); box-shadow: var(--shadow-md); color: var(--heading); font-weight: 650; font-size: var(--fs-small); line-height: 1.3; }
.hb-site .why__tag .icon { color: var(--sky-600); }
.hb-site .why__list { display: grid; gap: var(--sp-5); margin: var(--sp-6) 0; padding: 0; list-style: none; }
@container site (min-width: 600px) { .hb-site .why__list { grid-template-columns: 1fr 1fr; } }
.hb-site .why__list li { display: grid; grid-template-columns: auto 1fr; gap: 4px var(--sp-3); align-items: start; }
.hb-site .why__list .trust__icon { grid-row: span 2; }
.hb-site .why__list strong { color: var(--heading); font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; }
.hb-site .why__list span { font-size: var(--fs-small); }
.hb-site .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); }

/* Process CTA */
.hb-site .process-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); margin-top: clamp(40px, 5cqi, 56px); padding-top: var(--sp-6); border-top: 1px solid var(--border); }
.hb-site .process-cta p { color: var(--heading); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-right: auto; }

/* Work */
.hb-site .work { display: grid; gap: var(--sp-6); align-items: center; }
@container site (min-width: 900px) { .hb-site .work { grid-template-columns: 1.4fr .6fr; } }
.hb-site .work__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }

/* Reviews */
.hb-site .reviews { display: grid; gap: var(--sp-4); }
@container site (min-width: 820px) { .hb-site .reviews { grid-template-columns: repeat(3, 1fr); } }
.hb-site .reviews-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3) var(--sp-6); margin-top: var(--sp-6); }

/* Areas */
.hb-site .areas { display: grid; gap: clamp(32px, 5cqi, 64px); }
@container site (min-width: 900px) { .hb-site .areas { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.hb-site .checker { display: grid; gap: var(--sp-3); margin-top: var(--sp-2); }
.hb-site .checker__row { display: flex; gap: var(--sp-2); }
.hb-site .checker__row .input { flex: 1; min-width: 0; }
.hb-site .checker__result { display: flex; align-items: flex-start; gap: 10px; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--slate-0); border: 1px solid var(--border); font-size: var(--fs-small); color: var(--heading); }
.hb-site .checker__result .icon { color: var(--sky-600); margin-top: 2px; }
.hb-site .checker__result[data-tone="ok"] { background: var(--green-100); border-color: transparent; }
.hb-site .checker__result[data-tone="ok"] .icon { color: var(--green-600); }
.hb-site .checker__result[data-tone="warn"] { background: var(--amber-100); border-color: transparent; }
.hb-site .checker__result[data-tone="warn"] .icon { color: var(--amber-700); }
.hb-site .region + .region { margin-top: var(--sp-6); }
.hb-site .region h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-h4); margin-bottom: var(--sp-3); }
.hb-site .towns { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hb-site .town { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: var(--r-xs); background: var(--slate-0); border: 1px solid var(--border); color: var(--navy-800); font-weight: 600; font-size: .9rem; text-decoration: none; transition: border-color var(--dur-instant) var(--ease-out), background-color var(--dur-instant) var(--ease-out); }
.hb-site .town::before { content: ""; width: 6px; height: 6px; background: var(--navy-300); transform: rotate(45deg); }
.hb-site .town--london::before { background: var(--sky-400); }
@media (hover: hover) and (pointer: fine) { .hb-site .town:hover { border-color: var(--navy-300); background: var(--navy-50); } }

/* FAQ */
.hb-site .faq-wrap { display: grid; gap: clamp(24px, 4cqi, 64px); }
@container site (min-width: 960px) { .hb-site .faq-wrap { grid-template-columns: .7fr 1.3fr; align-items: start; } }
.hb-site .faq-wrap .section-head { margin-bottom: 0; }

/* =====================================================================
   7. INNER-PAGE COMPONENTS (service, area, blog, legal, utility pages)
   ===================================================================== */
/* Page hero: the same dusk roofline as the homepage, sized for an H1 that names service + place.
   Use: <section class="hero hero--page section tone-dusk roofline roofline--first" data-hero> */
.hb-site .hero--page { --section-y: clamp(36px, 1.5rem + 4cqi, 80px); }
.hb-site .hero--page .hero__title { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.02em; }
.hb-site .hero--page .hero__grid { align-items: start; }
@container site (min-width: 960px) { .hb-site .hero--page .hero__grid--copy-only { grid-template-columns: minmax(0, 46rem); } }

/* Breadcrumbs (match the BreadcrumbList schema) */
.hb-site .crumbs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .85rem; color: var(--muted); }
.hb-site .crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.hb-site .crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.hb-site .crumbs a { color: inherit; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.hb-site .crumbs a:hover { color: var(--heading); text-decoration: underline; }
.hb-site .crumbs [aria-current] { color: var(--heading); font-weight: 600; }

/* Content + sticky quote aside. On phones the aside drops below the content. */
.hb-site .with-aside { display: grid; gap: clamp(40px, 6cqi, 72px); }
@container site (min-width: 1000px) { .hb-site .with-aside { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }
.hb-site .with-aside__aside { display: grid; gap: var(--sp-5); }
@container site (min-width: 1000px) { .hb-site .with-aside__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.hb-site .aside-card { gap: var(--sp-4); }
.hb-site .aside-card h2 { font-size: 1.35rem; }

/* Long-form text: service detail, area copy, blog posts, legal pages */
.hb-site .prose { max-width: 70ch; color: var(--text); }
.hb-site .prose > * + * { margin-top: 1em; }
.hb-site .prose :is(h2, h3) + * { margin-top: .6em; }
.hb-site .prose h2 { margin-top: 1.9em; font-size: var(--fs-h2); line-height: 1.1; }
.hb-site .prose h3 { margin-top: 1.5em; font-size: var(--fs-h3); font-weight: 750; }
.hb-site .prose > :first-child { margin-top: 0; }
.hb-site .prose :is(ul, ol) { padding-left: 1.25em; display: grid; gap: .45em; }
.hb-site .prose li::marker { color: var(--sky-600); }
.hb-site .prose strong { color: var(--heading); }
.hb-site .prose blockquote { margin-inline: 0; padding: var(--sp-4) var(--sp-5); border-left: 3px solid var(--sky-400); background: var(--surface-2); color: var(--heading); }
.hb-site .prose .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--r-md); }
.hb-site .prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.hb-site .prose :is(th, td) { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.hb-site .prose th { background: var(--surface-2); color: var(--heading); font-weight: 700; }
.hb-site .prose tr:last-child td { border-bottom: 0; }
.hb-site .prose .callout { display: flex; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); background: var(--sky-50); color: var(--heading); }
.hb-site .prose .callout .icon { color: var(--sky-600); margin-top: 3px; }

/* Check list (ticks), reusable anywhere */
.hb-site .check-list { display: grid; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
.hb-site .check-list li { display: flex; gap: 10px; align-items: flex-start; }
.hb-site .check-list .icon { flex: none; margin-top: 3px; color: var(--sky-600); }
.hb-site .tone-navy .check-list .icon, .hb-site .tone-dusk .check-list .icon { color: var(--sky-400); }

/* Feature grid: icon + title + text, 1 → 2 → 3 columns */
.hb-site .features { display: grid; gap: var(--sp-5) var(--sp-6); margin: 0; padding: 0; list-style: none; }
@container site (min-width: 600px) { .hb-site .features { grid-template-columns: repeat(2, 1fr); } }
@container site (min-width: 1000px) { .hb-site .features--3 { grid-template-columns: repeat(3, 1fr); } }
.hb-site .features li { display: grid; grid-template-columns: auto 1fr; gap: 4px var(--sp-3); align-items: start; }
.hb-site .features .trust__icon { grid-row: span 2; }
.hb-site .features strong { color: var(--heading); font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; }
.hb-site .features span { font-size: var(--fs-small); }

/* Link grid: related services / nearby areas / other posts */
.hb-site .link-grid { display: grid; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
@container site (min-width: 600px) { .hb-site .link-grid { grid-template-columns: repeat(2, 1fr); } }
@container site (min-width: 1000px) { .hb-site .link-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.hb-site .link-card { display: flex; align-items: center; gap: var(--sp-3); min-height: 64px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); color: var(--heading); font-family: var(--font-display); font-weight: 700; text-decoration: none; transition: border-color var(--dur-instant) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.hb-site .link-card .icon { color: var(--sky-600); }
.hb-site .link-card .icon:last-child { margin-left: auto; transition: transform var(--dur-base) var(--ease-out); }
.hb-site .link-card small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .hb-site .link-card:hover { border-color: var(--navy-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .hb-site .link-card:hover .icon:last-child { transform: translateX(3px); }
}

/* CTA band: closes most inner pages above the quote section or footer */
.hb-site .cta-band { display: grid; gap: var(--sp-5); align-items: center; padding: clamp(24px, 4cqi, 40px); border-radius: var(--r-md); }
@container site (min-width: 820px) { .hb-site .cta-band { grid-template-columns: 1fr auto; } }
.hb-site .cta-band h2 { font-size: var(--fs-h3); }
.hb-site .cta-band p { margin-top: 6px; }
.hb-site .cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
@container site (max-width: 479px) { .hb-site .cta-band__actions .btn { width: 100%; } }

/* Section with only centred text (404, thank-you) */
.hb-site .center-block { display: grid; gap: var(--sp-5); justify-items: center; max-width: 40rem; margin-inline: auto; text-align: center; }

/* Blog cards + meta */
.hb-site .post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--navy-200); font-size: var(--fs-small); }
.hb-site .post-grid { display: grid; gap: var(--sp-4); }
@container site (min-width: 700px) { .hb-site .post-grid { grid-template-columns: repeat(2, 1fr); } }
@container site (min-width: 1000px) { .hb-site .post-grid { grid-template-columns: repeat(3, 1fr); } }
.hb-site .post-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); color: var(--text); text-decoration: none; transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.hb-site .post-card .media { border-radius: 0; --ar: 16 / 9; }
.hb-site .post-card__body { display: grid; gap: var(--sp-2); padding: 18px 20px 22px; }
.hb-site .post-card h3 { font-size: 1.2rem; }
@media (hover: hover) and (pointer: fine) { .hb-site .post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); } }

/* Contact details block */
.hb-site .contact-list { display: grid; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
.hb-site .contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 2px var(--sp-3); align-items: center; }
.hb-site .contact-list .trust__icon { grid-row: span 2; }
.hb-site .contact-list strong { color: var(--heading); font-family: var(--font-display); }
.hb-site .contact-list a { font-weight: 600; }
