/* single_page template CSS — visual parity port of the PM template
 * (branded-bull-template-v1.7.0.html, the approved preview design).
 *
 * Theme color tokens are injected per-site as inline <style> on :root
 * (see renderer.go buildThemeCSS). This file holds the layout, typography,
 * and component styling shared across every single_page site; per-site
 * variation comes from the theme tokens only.
 *
 * Token bridge: the mock's --brand-* / neutral vocabulary is defined here
 * as derivations of the injected --color-* contract, so the visual spec
 * can be ported near-verbatim while theming keeps working unchanged.
 */

/* ============================================================
 * Self-hosted webfonts (emitted to assets/fonts/ by the renderer).
 * Variable woff2 — one file covers the whole weight axis. Served from
 * the site's own origin so the live CSP (font-src 'self') allows them.
 * ============================================================ */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-tight.woff2") format("woff2");
}

/* ============================================================
 * Design tokens — mock :root (v1.7.0 lines 63–86) bridged onto the
 * injected theme contract.
 * ============================================================ */
:root {
  /* Injected per-site via inline <style> (buildThemeCSS). Defaults below
   * are the platform fallbacks only. */
  --color-primary: #284738;
  --color-secondary: #182b21;
  --color-accent: #e79b24;
  --color-neutral: #4a5650;
  --color-error: #d63030;
  /* Every required-field star a form prints — contact fields, careers fields
   * and the consent boxes — on both tiers (slice 9.123.265.206, PM round 11:
   * "make the asterisk red instead of using the primary color"). #d63030 is
   * the contact form's existing red, ~4.9:1 on white (AA); --color-error is
   * aligned to #d63030 so validation text also passes AA (slice 9.123.265.243). */
  --required-mark: #d63030;
  --color-success: #38a169;
  --color-warning: #d69e2e;
  --color-info: #3182ce;
  /* Foreground for accent-filled buttons — contrast-picked per-site by the
   * renderer; white is the fallback. */
  --btn-accent-text: #ffffff;
  /* Token roles that differ per template (slice 9.123.335.90). The defaults
   * are the Starter mock's mapping — the accent paints checkmarks and
   * reviewer avatars, dark-band eyebrows are white — and Growth overrides
   * them from templateThemeCSS (emphasis.go): a white CTA-band button, accent
   * eyebrows. Buttons are one rule on both tiers since 9.123.351.90 (PM
   * round 5, Rob: "all buttons ... primary brand color and then on hover will
   * transition to secondary"): every solid button rests on the primary and
   * hovers to the accent. On a surface that is itself primary-coloured (the
   * CTA band, the FAQ card, a dark reviews band) a primary button would
   * vanish, so there it rests on the accent and hovers white — the --cta-btn-*
   * pair and .btn-primary.on-dark below. --btn-primary-text is the ink for a
   * primary-filled surface, contrast-picked per site by the renderer exactly
   * like --btn-accent-text; white is the fallback. */
  --btn-primary-text: #ffffff;
  /* Text on a surface painted the exact Primary (task-1091; Rob, 2026-11-23:
   * text flips white / black by contrast "on buttons plus the text on
   * brand-colored sections"): a .bg-company band, the contact section, the
   * FAQ contact card. --on-primary is the renderer's contrast pick for the
   * site's Primary (--btn-primary-text: white on a dark colour, black on a
   * light one); the two softer steps are the same ink let through, where the
   * rules used to hard-code white at an alpha. --primary-on-light is the
   * Primary where it is used as TEXT on a white button: the renderer sets it
   * to black when the Primary is too light to read on white. An eyebrow on
   * such a surface follows the ink too; Growth's theme block points it back
   * at the accent while the Primary is dark (templateThemeCSS). */
  --on-primary: var(--btn-primary-text);
  --on-primary-soft: color-mix(in srgb, var(--btn-primary-text) 82%, transparent);
  --on-primary-line: color-mix(in srgb, var(--btn-primary-text) 60%, transparent);
  --primary-on-light: var(--brand-primary);
  --eyebrow-brand-fg: var(--on-primary);
  --eyebrow-brand-rule: var(--on-primary-line);
  /* Starter's buttons rest on the Secondary colour (the accent) again and
   * hover to the Primary (Adam, 2026-10-27, task-389, on Rob's "make all
   * changes"): the pre-9.123.351.90 Starter mapping, with the contrast-picked
   * ink on both states. Growth keeps its mock's primary buttons through
   * templateThemeCSS, which states its own complete pair. Buttons on a
   * primary-coloured surface keep the --cta-btn-* pair and .on-dark below. */
  --btn-primary-bg: var(--brand-accent);
  --btn-primary-fg: var(--btn-accent-text);
  --btn-primary-hover-bg: var(--brand-primary);
  --btn-primary-hover-fg: var(--btn-primary-text);
  /* .btn-secondary (See Our Work, Show More and the like) is the Secondary
   * colour on Starter too since task-1091 (Rob, 2026-11-23: "All the buttons
   * are supposed to be accent color"); it rested on the Primary with white
   * text. Growth's theme block states its own pair (the Primary, as before). */
  --btn-secondary-bg: var(--brand-accent);
  --btn-secondary-fg: var(--btn-accent-text);
  --btn-secondary-hover-bg: var(--brand-primary);
  --btn-secondary-hover-fg: var(--btn-primary-text);
  --cta-btn-bg: var(--brand-accent);
  --cta-btn-fg: var(--btn-accent-text);
  --cta-btn-hover-bg: var(--white);
  --cta-btn-hover-fg: var(--primary-on-light);
  --check-bg: var(--brand-accent);
  --check-fg: var(--btn-accent-text);
  --eyebrow-dark-fg: var(--white);
  --eyebrow-dark-rule: rgba(255, 255, 255, 0.6);
  --avatar-bg: var(--brand-accent);
  --avatar-fg: var(--btn-accent-text);

  /* Mock brand vocabulary, derived from the injected tokens. The dark
   * variants mirror the mock's JS darken(0.35)/darken(0.25). */
  --brand-primary: var(--color-primary);
  --brand-primary-dark: color-mix(in srgb, var(--color-primary) 65%, #000);
  /* --brand-secondary: on Starter the site's stored theme.secondary (the
     platform default #182b21 above when none is set; no studio card edits
     it — the Design System card's "Secondary" is our accent). On Growth the
     theme block sets it to --brand-primary-dark since 9.123.406.90, so the
     utility bar, page headers and dark bands follow the Primary. */
  --brand-secondary: var(--color-secondary);
  /* The hero photo overlay: Starter's green wash (mock:606); Growth's theme
     block overrides it with the Growth mock's neutral one (9.123.406.90). */
  --hero-overlay: linear-gradient(180deg, rgba(15, 26, 20, 0.55) 0%, rgba(15, 26, 20, 0.45) 40%, rgba(15, 26, 20, 0.85) 100%), linear-gradient(110deg, rgba(31, 58, 46, 0.65) 0%, rgba(31, 58, 46, 0.1) 60%);
  --brand-accent: var(--color-accent);
  --brand-accent-dark: color-mix(in srgb, var(--color-accent) 75%, #000);

  /* Neutrals — fixed. The mock's two dark-green text inks (#0f1a14 / #4a5650)
     are black since 9.123.366.90 (PM round 6: dark-green text and icons → black);
     --ink-muted stays the lighter placeholder / hint grey. */
  --ink: #000000;
  --ink-soft: #000000;
  --ink-muted: #7a8580;
  --paper: #fafaf7;
  --paper-warm: #f1efe8;
  --line: #e2e0d8;
  --white: #ffffff;
  --star: #f5b400;

  /* Shape (mock v1.32 cascade, slice 9.43.122.45). --radius-base is the
   * theme's "Border Radius" control (injected override); sm/md/lg CASCADE
   * from it so Sharp (0) is genuinely square everywhere. --radius-btn is
   * injected as 999px by the Pill preset; buttons fall back to base. */
  --radius-base: 8px;
  --radius-sm: calc(var(--radius-base) * 0.75);
  --radius-md: calc(var(--radius-base) * 1.25);
  --radius-lg: calc(var(--radius-base) * 2);

  /* Shadows — mock values. */
  --shadow-sm: 0 1px 2px rgba(15, 26, 20, 0.06), 0 1px 1px rgba(15, 26, 20, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 26, 20, 0.08), 0 2px 6px rgba(15, 26, 20, 0.04);
  --shadow-lg: 0 20px 60px rgba(15, 26, 20, 0.18);

  /* Type — display and body are both fixed to the template identity (DM Sans /
   * Inter Tight, self-hosted above). Not a theme setting since 9.123.304.90. */
  --font-display: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;

  /* Transitions. */
  --t-fast: 120ms ease;
  --t-base: 200ms ease;
  --t-slow: 320ms ease;

  /* ---- LEGACY ALIASES (pre-parity sections; removed in 8.20.71.23) ---- */
  --surface-white: var(--white);
  --surface-paper: var(--paper);
  --surface-grey: var(--paper-warm);
  --surface-ink: #0f1a14;
  --surface-ink-soft: #1c2a22;
  --text-strong: var(--ink);
  --text-body: var(--ink-soft);
  --text-muted: var(--ink-muted);
  --text-inverse: #f5f7f5;
  --text-inverse-muted: #b0bdb5;
  --border: var(--line);
  --border-strong: #c8d2cc;
  --border-inverse: rgba(255, 255, 255, 0.12);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3.5rem;
  --space-9: 4.5rem;
  --space-10: 5.5rem;
  --space-12: 7rem;
  --section-padding-y: var(--space-10);
  --radius-pill: 999px;
}

/* ============================================================
 * Reset + base (mock lines 87–91, 505–507)
 * ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
*::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ============================================================
 * Typography (mock 512–520)
 * ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  /* Starter's 600 (mock:531); the Growth theme block sets --display-weight to
     the growth mock's 700 (mock:1313, 1470) — slice 9.123.265.149. */
  font-weight: var(--display-weight, 600);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; font-family: var(--font-body); letter-spacing: 0; }
/* Inline emphasis in headings and subheadlines (slice 9.123.292.90): an editor
   wraps words in *asterisks* and the renderer emits <em>. Accent color on both
   templates; italic only where the theme block sets --heading-em-style (the
   mock's Starter `.hero h1 em` rule — its Growth rule keeps the em upright). */
h1 em, h2 em, h3 em { font-style: var(--heading-em-style, normal); color: var(--brand-accent); font-weight: var(--heading-em-weight, inherit); } /* The highlighted words carry the heading's own weight on Starter too (task-1014, Rob 2026-11-18: "bold instead of skinny", "same weight as un italicize"; it was 500 against the heading's 600). Growth keeps the heading's 700 (mock:1597) via the theme block — 9.123.265.149 */
.hero-sub em, .page-lead em, .section-head p em, .lead em, .about-body em, .careers-intro em, .bb-careers-sub em, .faq-intro em, .area-intro em, .svc-quote-text p em { font-style: var(--heading-em-style, normal); color: var(--brand-accent); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  /* The studio's Secondary (our --brand-accent) since task-428 (Adam,
     2026-10-28: "the line and OUR SERVICES would be the golden yellow" — more
     colour without going overboard). Dark bands keep their own tokens below. */
  color: var(--brand-accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brand-accent); display: inline-block; }
/* Phones: the hero's city line wraps, and the leading rule made it read busy —
   it goes, so the cities sit flush (task-443, Adam 2026-10-29; Rob: phones
   only, desktop keeps it). A phone on its side is up to ~930px wide and gets
   the tablet layout, where the line still wraps and the rule came back
   (task-495, Adam 2026-11-02): the landscape clause hides it there too —
   orientation keeps a portrait tablet and the desktop as they were. */
@media (max-width: 600px), (max-width: 980px) and (orientation: landscape) { .hero .eyebrow::before { display: none; } }
.eyebrow.on-dark { color: var(--eyebrow-dark-fg); }
.eyebrow.on-dark::before { background: var(--eyebrow-dark-rule); }
/* On a surface painted the exact Primary the eyebrow follows that surface's
   ink (task-1091): white would vanish on a light brand colour. */
.bg-company .eyebrow.on-dark, .section-contact .eyebrow.on-dark { color: var(--eyebrow-brand-fg); }
.bg-company .eyebrow.on-dark::before, .section-contact .eyebrow.on-dark::before { background: var(--eyebrow-brand-rule); }
/* The Home hero's own eyebrow (slice 9.123.425.90, PM round 10: "to white so it
   matches the rest of the hero text, like in Starter"): Growth's theme block
   sets white here while its other dark-band eyebrows stay accent; Starter has
   no token and reads its on-dark white. The child selector skips the hero quick
   form's eyebrow. */
.hero-col-text > .eyebrow.on-dark { color: var(--hero-eyebrow-fg, var(--eyebrow-dark-fg)); }
.hero-col-text > .eyebrow.on-dark::before { background: var(--hero-eyebrow-rule, var(--eyebrow-dark-rule)); }

p { font-size: 1rem; line-height: 1.65; }
.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-top: var(--space-3);
  line-height: 1.6;
}

/* ============================================================
 * Layout primitives (mock 508–510, 686–694)
 * ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}
@media (min-width: 1600px) { .container { max-width: 1360px; padding-inline: 40px; } }
@media (max-width: 720px)  { .container { padding-inline: 20px; } }

/* Section vertical rhythm — mock `section { padding: 110px 0 }` ladder. */
.section {
  padding-block: 110px;
  /* In-page anchors (slice 9.123.265.106, Rob: "one mouse scroll too high"):
     no scroll margin — the section's own top padding is what clears the
     sticky nav (81px tall), so the heading lands ~29px under it. The old
     90px margin stacked on top of the padding and left a 127px blank band. */
  scroll-margin-top: 0;
}
@media (max-width: 980px)  { .section { padding-block: 80px; } }
@media (max-width: 720px)  { .section { padding-block: 64px; } }
@media (min-width: 1600px) { .section { padding-block: 130px; } }

/* Shared section heading block (mock .section-head). */
.section-head { text-align: left; max-width: 680px; margin-bottom: 56px; }
@media (max-width: 720px) { .section-head { margin-bottom: 40px; } }
.section-head h2 { margin-top: 18px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 18px; }
@media (max-width: 720px) { .section-head p { font-size: 1rem; } }

/* Per-section background picker. The mock's "light" surfaces are paper /
 * paper-warm — never stark white. */
.bg-white     { background: var(--paper);         color: var(--ink-soft); }
.bg-grey      { background: var(--paper-warm);    color: var(--ink-soft); }
.bg-company   { background: var(--brand-primary); color: var(--on-primary); }
.bg-secondary { background: var(--brand-secondary); color: var(--white); }
.bg-inverse   { background: var(--surface-ink);   color: var(--white); }

/* On colored backgrounds, headings + leads invert. */
.bg-company h1, .bg-company h2, .bg-company h3, .bg-company h4 { color: var(--on-primary); }
.bg-secondary h1, .bg-secondary h2, .bg-secondary h3, .bg-secondary h4,
.bg-inverse h1, .bg-inverse h2, .bg-inverse h3, .bg-inverse h4 { color: var(--white); }
.bg-secondary .lead, .bg-inverse .lead { color: rgba(255, 255, 255, 0.75); }
.bg-secondary .section-head p, .bg-inverse .section-head p { color: rgba(255, 255, 255, 0.75); }
.bg-company .lead, .bg-company .section-head p { color: var(--on-primary-soft); }

/* ============================================================
 * Buttons (mock 522–531)
 * ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-btn, var(--radius-base));
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.55;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.btn-primary:hover { background: var(--btn-primary-hover-bg); color: var(--btn-primary-hover-fg); }
/* A solid button on a primary-coloured surface (the FAQ contact card; the
 * reviews Show More too until 9.123.368.90 made that band a carousel, whose
 * on-dark arrows copy this pair) rests on the accent — primary on primary
 * is invisible (9.123.351.90) — and hovers to the white ghost, both tiers. */
.btn-primary.on-dark { background: var(--brand-accent); color: var(--btn-accent-text); }
.btn-primary.on-dark:hover { background: transparent; color: var(--on-primary); box-shadow: inset 0 0 0 1.5px var(--on-primary); }
/* The CTA band's button (slice 9.123.335.90) sits on a primary band: Starter
 * paints it accent, hover white with primary text (9.123.351.90); Growth
 * paints it white with primary text and a secondary hover (mock:1741-1742). */
.section-cta .btn-primary { background: var(--cta-btn-bg); color: var(--cta-btn-fg); }
.section-cta .btn-primary:hover { background: var(--cta-btn-hover-bg); color: var(--cta-btn-hover-fg); }
.btn-secondary { background: var(--btn-secondary-bg); color: var(--btn-secondary-fg); }
.btn-secondary:hover { background: var(--btn-secondary-hover-bg); color: var(--btn-secondary-hover-fg); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { background: var(--brand-accent); color: var(--btn-accent-text); border-color: var(--brand-accent); }
.btn-arrow svg { transition: transform 0.2s ease; }
.btn-arrow:hover svg { transform: translateX(3px); }

/* LEGACY quiet-link button used by pre-parity section templates. */
.btn-link { background: transparent; color: var(--brand-primary); padding: var(--space-2) 0; font-weight: 600; }
.btn-link::after { content: " →"; transition: transform var(--t-fast); display: inline-block; }
.btn-link:hover::after { transform: translateX(3px); }
.bg-secondary .btn-link, .bg-inverse .btn-link { color: var(--white); }
.bg-company .btn-link { color: var(--on-primary); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: var(--space-6);
}

/* ============================================================
 * Promo banner (mock 533–539) — optional site-wide announcement
 * above everything. Sourced from theme["promo_banner"];
 * **double-asterisks** → accent strong.
 * ============================================================ */
.promo-banner {
  background: var(--brand-primary-dark);
  color: var(--white);
  /* Side padding keeps the text off the screen edge and clear of the ×
     (Adam, 2026-10-27, task-384): the × sits 20px in and is ~28px wide,
     so 52px each side — symmetric, so the text stays centred. */
  padding: 10px 52px;
  font-size: 0.85rem;
  text-align: center;
  position: relative;
}
.promo-banner strong { color: var(--brand-accent); font-weight: 600; }
.promo-banner a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}
.promo-banner a:hover { text-decoration-color: var(--brand-accent); }
.promo-close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  padding: 4px 8px;
  line-height: 1;
}
.promo-close:hover { color: var(--white); }
@media (max-width: 540px) {
  .promo-banner { padding: 10px 44px; }
  .promo-close { right: 10px; }
}
html:not(.bb-js) .promo-banner { padding-inline: 20px; }
.promo-hidden { display: none; }
/* The × needs site.js to work — keep it hidden for no-JS visitors. */
html:not(.bb-js) .promo-close { display: none; }

/* ============================================================
 * Utility bar (mock 541–551) — service-area line + social icons.
 * Background is a token so the inline theme block can move it per
 * template. Both tiers paint --brand-primary (mock:560) since 9.123.425.90
 * (PM round 10: "the permanent bar to own the primary color"), under the
 * promo's darker shade; Growth painted --brand-secondary before it (mock:1504,
 * Rob 2026-09-23).
 * ============================================================ */
.utility-bar {
  background: var(--utility-bar-bg, var(--brand-primary));
  color: rgba(255, 255, 255, 0.85);
  padding: 9px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.utility-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.utility-area { display: inline-flex; align-items: center; gap: 8px; }
/* The pin is the accent on both tiers (mock:563) since 9.123.425.90 (PM
   round 10: "like we do in Starter"); the token stays for a per-template
   override (Growth set currentColor, mock:8571, until then). */
.utility-area svg { color: var(--utility-area-icon, var(--brand-accent)); flex-shrink: 0; }
.social-icons { display: inline-flex; align-items: center; gap: 6px; }
.social-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-base);
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.15s ease, color 0.15s ease;
}
.social-icon:hover { background: var(--brand-accent); color: var(--btn-accent-text); }
.social-icon svg { width: 15px; height: 15px; }
/* Authorized Dealer pills (9.101.237.81, mock .util-unilock 1429–1440): text
   pills beside the socials; the bar hides them ≤720px and the footer chips
   carry them on phones. */
.utility-right { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.utility-dealers { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.utility-dealer {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--white); font-weight: 600; white-space: nowrap; text-decoration: none;
}
.utility-dealer::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-accent); flex-shrink: 0; }
.utility-dealer .dealer-ext { opacity: 0.7; flex-shrink: 0; }
a.utility-dealer:hover { color: var(--brand-accent); }
@media (max-width: 720px) { .utility-dealers { display: none; } }
/* Customer Portal (task-550, Lauren 2026-11-04: "Put it in the top red bar
   next to 'Avetta Certified.' Existing customers will find it there, and new
   visitors don't need it competing for attention"): beside the dealer badge,
   styled like it, with the menu's pop-out icon. Phones hide it with the
   badge — the menu's top-left portal row (task-497) carries it there. */
.utility-portal {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--white); font-weight: 600; white-space: nowrap; text-decoration: none;
}
.utility-portal svg { opacity: 0.7; flex-shrink: 0; }
.utility-portal:hover { color: var(--brand-accent); }
@media (max-width: 720px) { .utility-portal { display: none; } }
@media (max-width: 720px) { .utility-inner { padding: 0 20px; } }
/* Phones: the socials move into the menu, so the location line has the bar
   to itself; a bar with no location line has nothing left (task-385). The
   right-hand group goes with its children (dealer pills, Customer Portal,
   socials — each hidden at this width): left in the row empty, it wrapped
   onto a line of its own under a two-line location sentence and the row gap
   sat under the text, 8px above and 19px below (task-569, Adam 2026-11-05:
   "the text in the service area bar on mobile is not vertically aligned"). */
@media (max-width: 720px) {
  .utility-bar .social-icons { display: none; }
  .utility-bar .utility-right { display: none; }
  .utility-bar.utility-no-area { display: none; }
}
@media (max-width: 600px) {
  .utility-bar { font-size: 0.76rem; padding: 8px 0; }
  .utility-inner { justify-content: center; gap: 10px; }
  .social-icon { width: 28px; height: 28px; }
}
@media (max-width: 420px) { .utility-area { font-size: 0.75rem; } }

/* ============================================================
 * Nav (mock 553–573) — sticky, frosted. Mobile: checkbox-driven
 * slide-in panel (mock 575–583) so it stays JS-free/CSP-safe.
 * ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--container);
  margin: 0 auto;
}
/* Slice 9.123.265.140 (mock :527): both header rows follow .container's
   1600 px+ bump, so the logo and the header button end level with the hero
   and every section instead of 48 px short on each side. */
@media (min-width: 1600px) {
  .utility-inner, .nav-inner { max-width: 1360px; padding-left: 40px; padding-right: 40px; }
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-primary);
  margin-right: 48px;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--brand-primary);
  color: var(--white);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
  flex: 0 0 auto;
}
/* Logos read small at 34px (task-443, Adam 2026-10-29): 44px, as tall as the
   header button, and a stacked logo (renderer's LogoStacked: ≤ 1.6× as wide as
   tall) 52px; phones 36 / 44px. The width cap keeps a very wide lockup from
   pushing the links. */
.nav-logo .brand-logo { height: 44px; width: auto; max-width: 240px; object-fit: contain; display: block; }
.nav-logo .brand-logo.brand-logo-stacked { height: 52px; }
@media (max-width: 600px) {
  .nav-logo .brand-logo { height: 36px; max-width: 180px; }
  .nav-logo .brand-logo.brand-logo-stacked { height: 44px; }
}
.nav-links { display: flex; gap: 32px; list-style: none; font-size: 0.92rem; font-weight: 500; }
.nav-links a { color: var(--ink-soft); transition: color 0.15s ease; white-space: nowrap; }
.nav-links a:hover { color: var(--brand-primary); }
/* A nav group with no page (the Service Areas hub, slice 9.156.265.90) is a
   button that opens its dropdown; it reads like the links beside it. */
.nav-drop-trigger { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: var(--ink-soft); cursor: pointer; white-space: nowrap; transition: color 0.15s ease; }
.nav-drop-trigger:hover, .nav-item.has-dropdown:focus-within > .nav-drop-trigger { color: var(--brand-primary); }
.nav-drop-trigger:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 4px; border-radius: 2px; }
.nav-cta { display: flex; gap: 12px; align-items: center; margin-left: 48px; flex-shrink: 0; }
.nav-phone {
  font-weight: 600;
  color: var(--ink-soft); /* the nav links' grey, primary on hover (9.123.338.90, PM round 4) */
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap; /* Growth's eight-link nav squeezed it onto two lines (9.123.424.90) */
  transition: color 0.15s ease;
}
.nav-phone:hover { color: var(--brand-primary); }
.nav-phone svg { flex-shrink: 0; } /* with nowrap text the icon was the one thing left to shrink (9.123.424.90 follow-up) */
/* Growth hides the nav phone at <=1240px like its mock (mock:1548-1549, slice
   9.123.424.90): the theme block sets --nav-phone-narrow-display:none. Starter
   has no token and keeps its 960px rule below, which comes later and wins. */
@media (max-width: 1240px) { .nav-phone { display: var(--nav-phone-narrow-display, inline-flex); } }
.nav-cta .btn { padding: 11px 20px; font-size: 0.88rem; }
.mobile-toggle { display: none; }
@media (max-width: 1080px) { .nav-links { gap: 22px; font-size: 0.88rem; } .nav-cta { margin-left: 24px; } }
@media (max-width: 960px) {
  .nav-links, .nav-phone { display: none; }
  .nav-cta { margin-left: 0; }
  /* task-467 (Adam 2026-10-30): the hamburger and the phone icon in the ink
     colour, not the primary, to balance the header; hover keeps the primary. */
  .mobile-toggle { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); margin-left: 12px; cursor: pointer; }
  .mobile-toggle:hover { color: var(--brand-primary); }
}
@media (max-width: 540px) {
  .nav-cta .btn { padding: 10px 14px; font-size: 0.82rem; }
  .nav-logo { font-size: 1.15rem; margin-right: 0; }
}
/* Once the menu toggle shows, the header never runs off the screen (slice
 * 9.123.324.90). The mock's rules above keep the logo and the button at full
 * width (flex-shrink: 0, and .btn is nowrap), so a long brand name or a long
 * Calls to Action wording pushed the button past the edge and squeezed the
 * toggle to 0 px. Now the toggle keeps its 44 px. The button takes only the
 * room the brand leaves (flex-basis 0) and wraps to fit, but never below its
 * longest word or 7em. Only after that does the brand name give way: it
 * wraps to two lines, then ends in "…". A logo image with no name beside it
 * shrinks (object-fit: contain) instead of pushing. */
.mobile-toggle { flex-shrink: 0; }
@media (max-width: 960px) {
  .nav-inner > .nav-logo { flex-shrink: 1; min-width: 0; }
  .nav-inner > .nav-logo > span:not(.nav-logo-mark) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .nav-inner > .nav-logo > .brand-logo:only-child { min-width: 0; }
  .nav-cta { flex: 1 1 0; justify-content: center; }
  .nav-cta .btn { min-width: 7em; min-height: 44px; line-height: 1.2; white-space: normal; text-align: center; overflow-wrap: break-word; }
}
/* The page's 20px phone gutter (.container ≤720px; mock 529). */
@media (max-width: 720px) {
  .nav-inner { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 540px) {
  .nav-inner > .nav-logo { margin-right: 10px; }
  .nav-cta .btn { min-height: 40px; padding: 6px 12px; font-size: 0.8rem; }
}
@media (max-width: 359px) {
  .nav-inner > .nav-logo { font-size: 1rem; }
  .nav-cta .btn { padding: 6px 10px; }
}
/* The Customer Portal link left the nav row for the top bar (task-550,
   Lauren 2026-11-04), so the portal-on safeguards that made room for it here —
   the ≤1200px squeeze, task-512's ≤1240px menu button for nine or more items,
   the ≤1080px menu button — went with it. */
/* Phone header (Adam, 2026-10-27, task-385): the quote button sits right
 * beside the menu toggle and runs wider, and the phone number becomes a round
 * click-to-call icon left of it, so a call is one tap away in the sticky nav.
 * (It came after the portal-on rules so .nav .nav-cta .nav-phone won by
 * order; those rules went with task-550.) */
@media (max-width: 960px) {
  .nav-cta { justify-content: flex-end; gap: 8px; }
  .nav .nav-cta .nav-phone {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    background: var(--white);
  }
  .nav .nav-cta .nav-phone:hover { color: var(--brand-primary); }
  .nav .nav-cta .nav-phone span { display: none; }
  .nav .nav-cta .nav-phone svg { width: 18px; height: 18px; }
  .nav-cta .btn { padding-inline: 26px; }
  .nav .mobile-toggle { margin-left: 4px; }
  /* The icon's right edge on the page gutter (task-428, Adam: "align with
     the right edge of the canvas"): the 44px tap box keeps its size and
     overhangs the gutter by the 11px around the 22px icon, which also gives
     the button room. */
  .nav .nav-inner > .mobile-toggle { margin-right: -11px; }
}
@media (max-width: 540px) {
  .nav .nav-cta .nav-phone { width: 40px; height: 40px; flex-basis: 40px; }
  .nav-cta .btn { padding-inline: 20px; }
}
/* 375-400px phones: the icon and the wider button only fit a common brand
   name ("GreenScape") once the gaps, the toggle and the gutter tighten. */
@media (max-width: 400px) {
  .nav-inner { padding-left: 16px; padding-right: 16px; }
  .nav-cta { gap: 6px; }
  .nav .nav-cta .nav-phone { width: 38px; height: 38px; flex-basis: 38px; }
  .nav-cta .btn { padding-inline: 12px; }
  .nav .mobile-toggle { width: 38px; margin-left: 2px; }
  .nav .nav-inner > .mobile-toggle { margin-right: -8px; }
  .nav-inner > .nav-logo { margin-right: 8px; gap: 8px; }
  .nav-logo-mark { width: 30px; height: 30px; }
}
@media (max-width: 359px) {
  .nav .nav-cta .nav-phone { width: 34px; height: 34px; flex-basis: 34px; }
  .nav-cta .btn { padding-inline: 8px; }
}
/* The desktop header row never runs off the page (slice 9.123.328.90). While
 * the links show, the row was three fixed blocks — logo, links, CTA — with
 * 48px margins and one collapse breakpoint, so a long brand name, ten links or
 * a long Calls to Action wording pushed the button past the container and off
 * the screen. The container itself caps at 1184px, so no screen was wide
 * enough. Now, in order: the spare room absorbs it; then the brand name gives
 * way — one line ending in "…" since 9.123.429.90 (it used to wrap to two) —
 * down to a floor; then the links wrap to a second row. Navs of nine or more links use the mock's Growth spacing
 * (branded-bull-template.html:1531, :1546). */
@media (min-width: 961px) {
  /* Slice 9.123.429.90 (PM round 11, both templates on Rob's call): "set a
     max width for the business name" and "left-align the navigation links",
     as the Growth mock does (mock:1521, 1525, 1531, 1544). This replaces Rob's
     2026-09-23 midline balancing (--nav-logo-max / --nav-cta-flex).
     - The name is at most 210px wide (the mock's 168px name box scaled to
       our larger logo type), two lines at most, ending in "…" (task-526;
       one line until Lauren's "Redston…").
     - The links keep their natural one-row width and start right after the
       brand; the phone and button sit flush right (margin-left: auto, with a
       24px floor as padding).
     - The brand takes only the room the links and the button leave (basis 0,
       capped at its own content width), so a long name gives way before the
       links wrap — down to the mark plus 4.5em of name.
     - Only past that floor do the links wrap to a second row, so the header
       still never runs off the page (9.123.328.90). */
  .nav-inner > .nav-logo { flex: 1 1 0%; min-width: 34px; max-width: max-content; margin-right: 24px; }
  .nav-inner > .nav-logo:has(> span:not(.nav-logo-mark)) { min-width: calc(44px + 4.5em); }
  .nav-inner > .nav-logo > .nav-logo-mark { flex-shrink: 0; }
  .nav-inner > .nav-logo > .brand-logo { min-width: 34px; }
  /* task-526 (Lauren 2026-11-03, "Redston…"): the name wraps to two lines
     inside the 210px box before it ends in "…", as it already did on phones. */
  .nav-inner > .nav-logo > span:not(.nav-logo-mark) { flex: 0 1 auto; min-width: 4.5em; max-width: 210px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-overflow: ellipsis; line-height: 1.2; }
  .nav .nav-inner > .nav-cta { flex: 0 0 auto; justify-content: flex-end; margin-left: auto; padding-left: 24px; }
  .nav-links { flex: 0 1 auto; flex-wrap: wrap; justify-content: flex-start; row-gap: 4px; }
  .nav-links:has(> li:nth-child(9)) { column-gap: 22px; font-size: 0.88rem; }
  /* A long or ALL CAPS button wording ("BOOK FREE CONSULTATION") pushed the
     links to a second row (Adam, 2026-10-28, task-428). .nav-compact is set by
     the renderer from the wording's length: the links, the phone and the
     button tighten, and below 1240px the phone shows as its icon (the number
     is in its label, and in the phone menu and footer). */
  .nav.nav-compact .nav-links { column-gap: 22px; font-size: 0.88rem; }
  .nav.nav-compact .nav-cta .btn { padding-inline: 18px; font-size: 0.84rem; letter-spacing: 0.01em; }
  .nav.nav-compact .nav-cta .nav-phone { font-size: 0.88rem; }
}
@media (min-width: 961px) and (max-width: 1239px) {
  .nav.nav-compact .nav-cta .nav-phone span { display: none; }
}

/* Collection dropdowns (multi_page) — mock .nav-drop 1352-1357, slice
 * 9.48.129.48: 240px panel offset 6px below the trigger, with an
 * invisible hover bridge (::before) spanning the gap so the pointer
 * can't fall through, and a 2-col grid mode (.cols) past 8 items
 * (service_areas: always). Open/close stays pure CSS
 * (:hover/:focus-within) — the mock's JS open-class is its preview
 * mechanism, not a layout requirement. */
.nav-item.has-dropdown { position: relative; }
/* A dropdown reads as one (task-463, Adam 2026-10-29): a small chevron after
 * Residential / Commercial / Service Areas on desktop, turning while the list
 * is open. */
@media (min-width: 961px) {
  .nav-item.has-dropdown > a::after,
  .nav-item.has-dropdown > .nav-drop-trigger::after { content: ""; display: inline-block; width: 0.42em; height: 0.42em; margin-left: 0.4em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.22em) rotate(45deg); transition: transform var(--t-fast); vertical-align: middle; }
  .nav-item.has-dropdown:hover > a::after, .nav-item.has-dropdown:focus-within > a::after,
  .nav-item.has-dropdown:hover > .nav-drop-trigger::after, .nav-item.has-dropdown:focus-within > .nav-drop-trigger::after { transform: translateY(0.05em) rotate(225deg); }
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 60;
}
.nav-dropdown::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav-dropdown.cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, max-content));
  gap: 2px 6px;
  min-width: 0;
}
.nav-dropdown.cols li a { break-inside: avoid; white-space: nowrap; }
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
/* min() clamp (mock 1356): dropdown items track the base radius but stay
 * chrome-subtle even when the site goes Round. */
.nav-dropdown li a { display: block; padding: 8px 12px; border-radius: min(var(--radius-base), 6px); color: var(--ink-soft); font-size: 0.9rem; }
.nav-dropdown li a:hover { background: var(--paper-warm); color: var(--brand-primary); }
/* Dropdown panels stay on screen (slice 9.123.329.90). A panel is anchored to
 * its trigger's LEFT edge, so a trigger near the right of the row opened one
 * that ran past the screen — and the page cannot scroll sideways (body
 * overflow-x: hidden), so that part was unreachable, not merely ugly. Two
 * guards: a panel is at most 320px wide, with long entries wrapping instead
 * of widening it; and site.js adds .nav-flip to a trigger whose panel would
 * still cross the edge, which anchors the panel to the trigger's right edge
 * instead. Without JS the cap alone applies. The 2-column .cols panels keep
 * their own width — their rows are nowrap, so a cap would push the text
 * outside the card — and only take the viewport guard. */
.nav-dropdown:not(.cols) { width: max-content; max-width: min(320px, calc(100vw - 32px)); }
.nav-dropdown.cols { max-width: calc(100vw - 32px); }
.nav-dropdown li a { white-space: normal; overflow-wrap: break-word; }
.nav-item.has-dropdown.nav-flip > .nav-dropdown { left: auto; right: 0; }

/* Mobile slide-in menu (mock 575–583). Driven by the #nav-toggle checkbox:
 * the backdrop and close control are <label>s for it — zero JS. */
.nav-toggle { display: none; }
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 88vw;
  height: 100vh;
  /* The visible height on phones, and the panel scrolls (Adam, 2026-10-27,
     task-385): a long menu ran past the screen with no way to reach it. */
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  padding: 28px 24px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}
.nav-toggle:checked ~ .mobile-menu { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--paper-warm);
  border-radius: 50%;
  cursor: pointer;
}
/* The Customer Portal link in the phone menu (task-497, Adam 2026-10-29): a
   compact row at the top-left beside the close control — the links' 12px
   inset, the Primary colour, a pop-out icon — instead of a full list row, so
   a portal link no longer pushes the socials below the fold. It sits level
   with the 40px close control (the panel's 28px top padding less 10px) and
   the list keeps starting at the same height, so the row costs no height. */
.mobile-menu-portal { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: -10px 0 0; min-height: 40px; padding: 0 12px; max-width: calc(100% - 52px); font-size: 0.88rem; font-weight: 600; color: var(--brand-primary); }
.mobile-menu-portal svg { flex: 0 0 auto; }
.mobile-menu-portal:hover { color: var(--brand-accent); }
.mobile-menu-portal + .mobile-menu-links { margin-top: 6px; }
/* Tighter since task-428 (Adam, 2026-10-28: "ensure everything fits on the
   slide-out menu without needing to scroll"): the links start just under the
   close button and run 46px tall, so Starter's eight links, both buttons and
   the socials fit a phone screen; a long Growth menu still scrolls. */
.mobile-menu-links { list-style: none; display: flex; flex-direction: column; gap: 0; margin-top: 36px; }
.mobile-menu-links a { display: block; padding: 11px 12px; font-size: 1rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu-links a:hover { color: var(--brand-primary); background: var(--paper); }
/* The Service Areas label above its cities: not a link (slice 9.156.265.90). */
.mobile-menu-links .mobile-menu-label { padding: 14px 12px 6px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
/* task-467 (Adam 2026-10-30: "collapsed initially so users can expand them as
   needed"): a group with a list is a <details> row, closed on load. The label
   keeps linking where it links on desktop (Residential, Commercial); the
   chevron opens the list, and a group with no page (Service Areas) opens on the
   whole row. No JS. */
.mobile-menu-group > details { border-bottom: 1px solid var(--line); }
.mobile-menu-summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; font-size: 1rem; font-weight: 500; color: var(--ink); }
.mobile-menu-summary::-webkit-details-marker { display: none; }
.mobile-menu-summary::marker { content: ""; }
.mobile-menu-links .mobile-menu-summary > a, .mobile-menu-summary > span:not(.mobile-menu-chev) { display: block; flex: 1; min-width: 0; padding: 11px 12px; border-bottom: 0; } /* :not() since task-472 — the bare `> span` also caught the chevron box, stretched it to half the row and swung the icon in an arc when it turned (Adam 2026-10-30) */
.mobile-menu-chev { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; color: var(--ink-muted); transition: transform var(--t-fast); }
.mobile-menu-group > details[open] > .mobile-menu-summary .mobile-menu-chev { transform: rotate(180deg); }
.mobile-menu-sub { list-style: none; margin: 0; padding: 0 0 6px; }
.mobile-menu-links .mobile-menu-sub a { padding: 9px 12px 9px 24px; font-size: 0.95rem; font-weight: 400; border-bottom: 0; }
.mobile-menu-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
/* The utility bar's social icons live in the menu on phones (task-385). */
.mobile-menu-social { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mobile-menu-social .social-icon { width: 40px; height: 40px; border-radius: 50%; color: var(--ink); background: var(--paper-warm); } /* ink since task-467 */
.mobile-menu-social .social-icon:hover { background: var(--brand-accent); color: var(--btn-accent-text); }
.mobile-menu-social .social-icon svg { width: 18px; height: 18px; }
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 26, 20, 0.55);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.nav-toggle:checked ~ .mobile-menu-backdrop { opacity: 1; pointer-events: auto; }
/* The chat bubble (the widget's #bb-widget host, appended to <body> after the
   toggle) sits above every layer, so it covered the menu's social icons; it
   steps aside while the menu is open, as the back-to-top button already does
   (task-443, Adam 2026-10-29). */
.nav-toggle:checked ~ #bb-widget { display: none !important; }
/* ============================================================
 * Hero (mock 585–626) — full-bleed media, layered double-gradient
 * overlay, left-aligned content; two-column when the quick form is on.
 * ============================================================ */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  /* The hero fits the first screen (slice 9.123.265.148): the mock's 720px on
     a tall display, but never taller than the space under the header, so the
     headline block centres in the part of the photo a visitor sees instead of
     in a box whose bottom third is under a laptop's fold. --bb-hero-top is
     everything above the hero on first paint (promo banner, utility bar, nav),
     measured by site.js; 130px is the desktop header without a banner, for
     no-JS. The content is the floor on a short screen — min-height only ever
     removes empty space. The plain 720px line serves browsers without min(). */
  min-height: 720px;
  min-height: min(720px, calc(100vh - var(--bb-hero-top, 130px)));
  min-height: min(720px, calc(100svh - var(--bb-hero-top, 130px)));
  display: flex;
  flex-direction: column;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img,
.hero-bg picture,
.hero-bg .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Looping background video (P1-2) sits over the poster/fallback image. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Branded fill keeps the white headline legible before a photo is uploaded. */
.hero-bg .img-placeholder {
  height: 100%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
}
.hero-bg .img-placeholder-icon { color: rgba(255, 255, 255, 0.22); }
/* Phones (Adam, 2026-10-27, task-386). With the quick form stacked under
   the headline the hero runs ~1,450px tall, and a landscape photo cropped to
   cover all of it blew a narrow strip up past full size: it read as
   stretched. The photo now covers the first screen only and fades into the
   hero's dark base, which carries the form. The Google rating line moves to
   the top of the text, the first thing a visitor sees. */
@media (max-width: 720px) {
  .hero { background: var(--brand-primary-dark); }
  .hero-bg {
    bottom: auto;
    height: 100%;
    max-height: 100vh;
    max-height: 100svh;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  }
  .hero-col-text { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-col-text > * { max-width: 100%; }
  .hero-col-text > .hero-rating { order: -1; margin: 0 0 22px; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 70px 0; /* symmetric (was 80/60) so the block centres exactly — 9.123.265.148 */
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 { color: var(--white); margin: 14px 0 18px; max-width: var(--hero-h1-max, 640px); font-size: var(--hero-h1-size, clamp(2rem, 3.6vw, 3.5rem)); line-height: 1.08; } /* Starter's mock values; the Growth theme block sets the mock's Growth size (mock:1471) and an em-based width so an emphasised tail holds its row at every width — 9.123.265.150 */ /* the mock's .hero h1 (v1.89.2:608) — without its own size the title inherited the global h1 clamp and ran up to 76px (9.123.265.105) */
.hero-sub { font-size: 1.1rem; color: rgba(255, 255, 255, 0.85); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cities { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.hero-cities span { padding: 6px 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; backdrop-filter: blur(6px); }

/* Hero quick form (optional right-side lead capture, mock 596–626). */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero.has-quickform .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
.hero-col-text { min-width: 0; }
/* min-width: 0 (slice 9.123.265.136): as a grid item this column would
   otherwise pin the track to the card's min-content — two 145px inputs in
   .hero-qf-row — which is 348px, wider than a 320px phone. .hero-col-text
   opts out the same way just above. */
.hero-quickform { display: none; min-width: 0; }
.hero.has-quickform .hero-quickform { display: block; }
.hero-qf {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  padding: 26px 24px;
  color: var(--ink);
  max-width: 440px;
  margin-left: auto;
}
.hero-qf-head { margin-bottom: 16px; }
.hero-qf-title { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.12; color: var(--ink); margin: 0 0 6px; }
.hero-qf-sub { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.5; margin: 0; }
.hero-qf-body { display: flex; flex-direction: column; gap: 10px; }
.hero-qf-row { display: flex; gap: 10px; }
.hero-qf-row .hero-qf-field { flex: 1; }
.hero-qf-field input, .hero-qf-field select, .hero-qf-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  box-sizing: border-box;
}
.hero-qf-field textarea { min-height: 72px; resize: vertical; }
.hero-qf-field input::placeholder, .hero-qf-field textarea::placeholder { color: var(--ink-muted); }
.hero-qf-field input:focus, .hero-qf-field select:focus, .hero-qf-field textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 12%, transparent);
}
.hero-qf-submit { width: 100%; justify-content: center; margin-top: 4px; }
.hero-qf-note { font-size: 0.75rem; color: var(--ink-muted); text-align: center; margin: 2px 0 0; }
/* Hero quick form as a CTA (slice 9.120.259.88): with a third-party quote
 * embed active the hero has no inline form, so the card shrinks to its head
 * plus one button. Reuses the quick form's own card treatment rather than a
 * new one — only the body's stacking and padding differ. */
.hero-qf-cta .hero-qf-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-qf-cta .hero-qf-submit { width: auto; }
.hero-qf-cta .hero-qf-note { margin: 0; }
/* Success card — forms.js hides the form and reveals this sibling. */
.hero-qf-success { text-align: center; padding: 22px 10px; }
.hero-qf-success.hidden { display: none; }
.hero-qf-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}
.hero-qf-success h3 { margin: 0 0 6px; color: var(--ink); font-size: 1.15rem; }
.hero-qf-success p { color: var(--ink-muted); font-size: 0.9rem; margin: 0; line-height: 1.5; }
@media (max-width: 880px) {
  .hero.has-quickform .hero-grid { grid-template-columns: 1fr; }
  .hero-qf { margin-left: 0; max-width: 100%; }
}

/* ============================================================
 * Trust strip (mock 628–645) — Google rating pill + highlight badges
 * directly under the hero.
 * ============================================================ */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); padding: 28px 0; position: relative; }
.trust-strip-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.trust-strip-heading {
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.trust-google {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 16px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.trust-google-g {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(from -45deg, #4285f4 0deg 90deg, #34a853 90deg 180deg, #fbbc04 180deg 270deg, #ea4335 270deg 360deg);
  flex-shrink: 0;
}
.trust-google-text { display: flex; flex-direction: column; line-height: 1.15; }
.trust-google-rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.trust-google-stars { display: inline-flex; gap: 1px; align-items: center; }
.trust-google-stars svg { width: 13px; height: 13px; }
.trust-google-stars svg polygon { fill: #fbbc04 !important; }
.trust-google-sub { font-size: 0.75rem; color: var(--ink-muted); margin-top: 2px; }
.trust-divider { width: 1px; height: 36px; background: var(--line); }
.trust-badges { display: contents; }
.trust-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 0.85rem; font-weight: 500; }
.trust-badge svg { width: 18px; height: 18px; color: var(--brand-primary); }
@media (max-width: 900px) { .trust-strip { padding: 22px 0; } .trust-strip-inner { gap: 14px 20px; } .trust-divider { display: none; } }
@media (max-width: 540px) { .trust-strip-inner { flex-direction: column; gap: 16px; } .trust-badge { font-size: 0.82rem; } }
/* Phones: the badges sit two to a row instead of one stacked column
   (Adam, 2026-10-27, task-386). */
/* Since task-428 (Adam, 2026-10-28) each badge is centred in its cell with
   a tighter column gap so fewer labels wrap; one badge sits centred, two side
   by side, three stack in one column, four make the 2x2. Badges are the strip's
   only <span> children (the dividers are <i>), so :*-of-type counts them.
   Since task-636 (Adam, 2026-11-05, chased 11-08: "Experienced Professionals
   in the trust bar is aligning to the left") the columns are as wide as their
   widest badge and the pair is centred, so a label wraps only when two badges
   really cannot share the width — equal columns gave a 178px badge a 176px
   cell on a 402px phone — and a badge is inline flow here, icon then text in
   one line box, so a label that does wrap centres as one unit with the icon on
   its first line instead of filling its cell (a full cell left nothing to
   centre in and the badge sat against the cell's left edge). Task-432's lesson
   stands: centred lines beside a flex icon left the icon "way off to the
   left", which is why the icon rides in the text instead.
   Since task-640 (Adam, 2026-11-08: the centred pair 8px apart looked "a
   little tight"; Rob's pick of three options) the two columns are 20px apart
   and each badge is left-aligned in its column, so the icons stand in a line
   and the pair sits centred as a block; the hanging indent (the icon's 18px +
   its 8px margin) puts a wrapped label's second line under its first word, not
   under the icon. Adam's set stays on one line down to 375px. */
@media (max-width: 540px) {
  .trust-badges { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 16px 20px; width: 100%; max-width: 440px; }
  .trust-badge { display: block; text-align: left; text-wrap: balance; line-height: 1.3; padding-left: 26px; text-indent: -26px; }
  .trust-badge svg { display: inline-block; vertical-align: middle; margin-right: 8px; }
  .trust-badges > .trust-badge:only-of-type { grid-column: 1 / -1; }
  .trust-badges:has(> .trust-badge:nth-of-type(3):last-of-type) { grid-template-columns: auto; }
}


/* ============================================================
 * Why / value prop (mock 696–718) — image + floating badge left,
 * heading + check-list reasons + CTA right.
 * ============================================================ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 980px) { .why-grid { gap: 48px; } }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; gap: 40px; } }
.why-img { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; }
/* Stacked (≤900px): the photo spans the column — a capped HEIGHT, not a
   capped width, so it never sits short of the text under it (task-454, Adam
   2026-10-29: "span the full width of the section") — and the Why-Us button
   centres under the list like the other sections' buttons. */
@media (max-width: 900px) {
  .why-img { aspect-ratio: auto; height: clamp(300px, 50vw, 420px); }
  .why-content { display: flex; flex-direction: column; align-items: stretch; }
  .why-content > .btn { align-self: center; }
}
@media (max-width: 540px) { .why-img { height: auto; aspect-ratio: 4/3; } }
.why-img img, .why-img picture, .why-img .value-prop-accent { width: 100%; height: 100%; object-fit: cover; }
/* A library video in the slot (task-168): fills it over the poster image and
   under the badge (DOM order — the badge follows it); reduced motion hides it
   below, with the hero's video, so the poster shows. */
.why-img .why-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.why-img .img-placeholder { position: absolute; inset: 0; height: 100%; }
.why-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 48px);
}
@media (max-width: 540px) { .why-img-badge { bottom: 16px; left: 16px; padding: 12px 16px; } }
.why-img-badge-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--brand-primary); line-height: 1; }
.why-img-badge-text { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.3; }
.why-img-badge-text strong { color: var(--ink); font-weight: 600; display: block; font-size: 0.9rem; margin-bottom: 2px; }
/* Icon-led badge (slice 9.120.260.89, mock v1.87.0): a 44px accent-tinted
   circle in place of the number, so a brand-new business has a badge on day
   one. Shares the card chrome above; only the leading element differs. */
.why-img-badge-ic {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--brand-primary) 12%, var(--white));
  color: var(--brand-primary);
}
.why-img-badge-ic svg { width: 24px; height: 24px; display: block; }
@media (max-width: 540px) { .why-img-badge-ic { width: 38px; height: 38px; } .why-img-badge-ic svg { width: 21px; height: 21px; } }
.why-content .section-head { margin-bottom: 36px; }
.why-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
@media (max-width: 540px) { .why-list { gap: 18px; } }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
@media (max-width: 540px) { .why-item { gap: 12px; } }
.why-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--check-bg);
  color: var(--check-fg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-check svg { width: 14px; height: 14px; }
.why-item-text strong { display: block; font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.01em; }
.why-item-text p { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.55; }
@media (max-width: 540px) { .why-item-text p { font-size: 0.9rem; } }

/* ============================================================
 * Services grid (mock 720–740) — hover-lift cards with photo,
 * check-marked feature list, quote link.
 * ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 540px) { .services-grid { grid-template-columns: 1fr; gap: 16px; } }
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.service-img img, .service-img picture { width: 100%; height: 100%; }
.service-img img { object-fit: cover; transition: transform 0.6s ease; }
.service-img .img-placeholder { position: absolute; inset: 0; height: 100%; }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
@media (max-width: 540px) { .service-body { padding: 22px; } }
.service-body .label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
}
.service-body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-body p { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.55; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 16px; flex: 1; }
.service-features li { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-soft); }
.service-features li svg { width: 14px; height: 14px; color: var(--brand-accent-dark); flex-shrink: 0; }
.service-link { margin-top: 18px; color: var(--brand-primary); font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }
.service-link svg { transition: transform 0.2s ease; }
.service-link:hover svg { transform: translateX(3px); }
/* Res/Com division tags (slice 9.67.168.61; mock 1239-1241 .tag base +
 * 1490-1493 card overlay, values verbatim — --brand-primary stands in for
 * the mock's --brand-primary crimson). */
.tag { display: inline-flex; align-items: center; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; }
.tag.res { background: rgba(31, 157, 91, 0.12); color: #157a45; }
.tag.com { background: rgba(166, 52, 44, 0.1); color: var(--brand-primary); }
.svc-tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 6px; z-index: 2; }
.service-card .tag { background: rgba(255, 255, 255, 0.94); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); }
.service-card .tag.res { color: #157a45; }
.service-card .tag.com { color: var(--brand-primary); }
/* Growth's full-photo service card (slice 9.123.426.90, PM round 10; the
 * Growth mock's .svc-card, mock:1693-1708, values verbatim). Only Growth's
 * partial emits .svc-card, so these rules override the shared .service-card
 * look for Growth alone. The link inside is stretched over the card, so the
 * card is its containing block: the copy stays unpositioned and the photo and
 * gradient sit at z-index -1 inside the card's own (isolated) stack. */
.service-card.svc-card {
  position: relative;
  isolation: isolate;
  min-height: 340px;
  justify-content: flex-end;
  border-radius: var(--radius-base);
  background: #2b302d;
}
.service-card.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-card .svc-bg, .svc-card .svc-bg img, .svc-card > .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-card .svc-bg, .svc-card > .img-placeholder, .svc-card .svc-ov { z-index: -1; }
.svc-card .svc-bg img { object-fit: cover; transition: transform 0.6s ease; }
.svc-card:hover .svc-bg img { transform: scale(1.06); }
.svc-card .svc-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 24, 22, 0.94) 0%, rgba(20, 24, 22, 0.62) 40%, rgba(20, 24, 22, 0.14) 78%, rgba(20, 24, 22, 0.04) 100%); }
.svc-card .svc-content { padding: 24px 22px 22px; color: #fff; }
.svc-card .svc-content h3 { font-size: 1.22rem; margin-bottom: 8px; color: #fff; }
.svc-card .svc-content p { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; line-height: 1.5; }
.svc-card .svc-go { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: #fff; font-weight: 700; font-size: 0.85rem; }
.svc-card .svc-go::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.svc-card .svc-go svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.svc-card:hover .svc-go svg { transform: translateX(3px); }
.svc-card .svc-go:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .service-card.svc-card:hover { transform: none; }
  .svc-card:hover .svc-bg img, .svc-card:hover .svc-go svg { transform: none; }
}

/* Service-page hero chips (mock renderServicePage inline style 9011). */
.hero-tags { display: flex; gap: 8px; margin-bottom: 14px; }
.hero-tags .tag { background: rgba(255, 255, 255, 0.12); color: #fff; }
/* Hub filter pills (mock .filter-row #svcFilters; reuses .fpill).
 * JS-gated like .gal-filter: no site.js → no pills, all cards show. */
.svc-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
html:not(.bb-js) .svc-filter { display: none; }
.bb-js .service-card-filtered { display: none; }
.services-cta { text-align: center; margin-top: 56px; }
@media (max-width: 720px) { .services-cta { margin-top: 36px; } }
/* Growth Home's "See More Services" (slice 9.174.265.90): cards past the six
 * ship in the HTML with .service-card-more and are revealed in place by
 * site.js (.is-expanded); without JS every card shows and the button hides,
 * the gallery's Load-More shape. The pair row centres the two buttons and
 * stacks them on phones. A filtered card stays hidden on its own class. */
.bb-js .service-card-more { display: none; }
.bb-js .services-grid.is-expanded .service-card-more { display: flex; }
.bb-js .services-grid.is-expanded .service-card-more.service-card-filtered { display: none; }
html:not(.bb-js) [data-services-more] { display: none; }
.services-cta-pair { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
/* task-467 (Adam 2026-10-30): one button per section — the Calls-to-Action
   button waits until every card shows. While the See More button is still in
   the row the CTA hides; site.js removes the button on click and the CTA
   appears. Only with JS: without it the button is hidden and every card shows. */
.bb-js .services-cta-pair:has([data-services-more]) > a { display: none; }

/* ============================================================
 * Gallery (mock 742–757) — 12-col mosaic, hover captions, Load More.
 * The mock's g1–g8 span classes become an nth-child pattern that
 * repeats every 8 tiles.
 * ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery-item { overflow: hidden; border-radius: var(--radius-md); position: relative; cursor: pointer; margin: 0; }
.gallery-item img, .gallery-item picture { width: 100%; height: 100%; }
.gallery-item img { object-fit: cover; transition: transform 0.6s ease; }
.gallery-item .img-placeholder { position: absolute; inset: 0; height: 100%; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 26, 20, 0.6));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
/* Video tiles (task-169): the poster frame under a play mark; the mark sits
   over the hover gradient (::after) and never takes the click. */
.gallery-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.gallery-play svg {
  width: 56px;
  height: 56px;
  padding: 14px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(13, 26, 20, 0.6);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform var(--t-fast);
}
.gallery-item:hover .gallery-play svg, .gal-preview-item:hover .gallery-play svg { transform: scale(1.08); }
.gallery-video video.gallery-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-grid > .gallery-item:nth-child(8n + 1) { grid-column: span 6; grid-row: span 2; }
.gallery-grid > .gallery-item:nth-child(8n + 2), .gallery-grid > .gallery-item:nth-child(8n + 3),
.gallery-grid > .gallery-item:nth-child(8n + 4), .gallery-grid > .gallery-item:nth-child(8n + 5) { grid-column: span 3; }
.gallery-grid > .gallery-item:nth-child(8n + 6), .gallery-grid > .gallery-item:nth-child(8n + 7),
.gallery-grid > .gallery-item:nth-child(8n) { grid-column: span 4; }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; }
  .gallery-grid > .gallery-item:nth-child(8n + 1) { grid-column: span 2; grid-row: span 2; }
  .gallery-grid > .gallery-item:nth-child(8n + 2), .gallery-grid > .gallery-item:nth-child(8n + 3),
  .gallery-grid > .gallery-item:nth-child(8n + 4), .gallery-grid > .gallery-item:nth-child(8n + 5),
  .gallery-grid > .gallery-item:nth-child(8n + 6), .gallery-grid > .gallery-item:nth-child(8n + 7),
  .gallery-grid > .gallery-item:nth-child(8n) { grid-column: span 1; }
  /* Every tile the same size (Adam, 2026-10-27, task-387): the big first
     tile left a blank slot at the end of the 8-tile batch. Batches are 8, so
     the rows stay full; an odd total ends on one full-width tile. */
  .gallery-grid > .gallery-item:nth-child(8n + 1) { grid-column: span 1; grid-row: span 1; }
  .gallery-grid > .gallery-item:last-child:nth-child(odd) { grid-column: span 2; }
}
/* Load More: tiles 9+ ship hidden and are revealed by site.js; without JS
 * every tile shows and the button (JS-only) hides itself. */
/* Grid layout (slice 9.123.289.90) — the mock's .gl-grid (v1.89.2:855–856):
   uniform square tiles, auto-fill at 240px so a 1180px container holds four
   across → the 8 first tiles read as 2 rows × 4. Overrides the collage's
   nth-child spans at equal specificity by coming after them. */
.gallery-grid.gl-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); grid-auto-rows: auto; }
.gallery-grid.gl-grid > .gallery-item { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
@media (max-width: 720px) {
  .gallery-grid.gl-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .gallery-grid.gl-grid > .gallery-item { grid-column: auto; grid-row: auto; }
}
.bb-js .gallery-item-hidden { display: none; }
html:not(.bb-js) [data-gallery-more] { display: none; }
/* Lightbox (site.js): click a gallery tile to view the photo full-size. */
.bb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 96;
  background: rgba(13, 26, 20, 0.88);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
  animation: pmFade 0.2s ease;
}
.bb-lightbox img { max-width: min(1100px, 100%); max-height: 82vh; width: auto; height: auto; border-radius: var(--radius-md); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
/* A video tile plays in the viewer (task-169): same frame as the big image,
   with the browser's controls; cursor stays default over it. */
.bb-lightbox video { max-width: min(1100px, 100%); max-height: 82vh; width: auto; height: auto; border-radius: var(--radius-md); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); cursor: default; background: #000; }
.bb-lightbox img[hidden], .bb-lightbox video[hidden] { display: none; }
.bb-lightbox-caption { color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; margin-top: 14px; text-align: center; }
.bb-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.bb-lightbox-close:hover { background: #fff; }
.gallery-more { display: flex; justify-content: center; margin-top: 40px; }
.gallery-more .btn { padding: 14px 32px; }
.gallery-more.hidden { display: none; }
@media (max-width: 720px) { .gallery-more { margin-top: 28px; } }

/* ============================================================
 * Legal pages (/privacy-policy/, /terms/) — mock legal-view (1016–1036):
 * brand bar + back link + typographic body on its own page.
 * ============================================================ */
body.legal-page { background: var(--paper); }
.legal-bar {
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  gap: 16px;
  /* Pinned (task-457, Adam 2026-10-29): iPad Safari opens these pages a few
   * pixels down (his laptop does not; WebKit emulation cannot show it), which
   * cut the bar's top off. Stuck to the top it is always whole. */
  position: sticky;
  top: 0;
  z-index: 20;
}
.legal-bar-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.legal-bar-brand .nav-logo-mark { width: 30px; height: 30px; }
.legal-bar-brand .brand-logo { height: 30px; width: auto; }
.legal-back {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: var(--radius-base);
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.legal-back:hover { background: rgba(255, 255, 255, 0.26); }
.legal-container { max-width: 820px; margin: 0 auto; padding: 52px 28px 72px; }
@media (max-width: 600px) { .legal-container { padding: 36px 22px 56px; } .legal-bar { padding: 14px 20px; } }
.legal-container h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal-container .legal-back { background: var(--brand-primary); color: #fff; }
.legal-container .legal-back:hover { background: var(--brand-primary-dark); }
.legal-foot-back { margin-top: 36px; }
.legal-updated { color: var(--ink-muted); font-size: 0.9rem; margin: 0 0 26px; }
.legal-body { color: var(--ink-soft); line-height: 1.7; }
.legal-body p { color: var(--ink-soft); line-height: 1.7; margin: 12px 0; }
.legal-body ul, .legal-body ol { margin: 12px 0 12px 22px; color: var(--ink-soft); line-height: 1.7; list-style: revert; }
.legal-body li { margin: 5px 0; }
.legal-body h3, .legal-body h4 { font-size: 1.25rem; margin-top: 30px; margin-bottom: 2px; }
.legal-body h2 { font-size: 1.5rem; margin-top: 32px; margin-bottom: 4px; } /* the compliance templates use h2 — size them as document headings, not page banners (9.123.285.90) */
.legal-body a { color: var(--brand-primary); text-decoration: underline; text-underline-offset: 2px; }


/* Promo pop-up modal (slice-1). Centered announcement modal, distinct from the
   one-line .promo-banner. Two-column with image; single-column text-only (capped
   ~560px) when no image. Shown/hidden by the first-party /assets/popup.js. */
.promo-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(13, 26, 20, 0.66);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.promo-popup-backdrop.open { display: flex; animation: pmFade 0.25s ease; }
.promo-popup-backdrop.open .promo-popup { animation: pmPop 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.15); }
@keyframes pmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pmPop { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
.promo-popup {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow: hidden;
  background: var(--surface, #fff);
  color: var(--text, #1a1a1a);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.promo-popup-textonly { grid-template-columns: 1fr; max-width: 560px; }
.promo-popup-media { min-height: 260px; background: var(--color-primary, var(--surface-ink)); }
.promo-popup-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-popup-content {
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
}
.promo-popup-eyebrow {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: var(--paper-warm);
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0;
}
.promo-popup-title { font-family: var(--font-display); font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.08; color: var(--ink); margin: 0; }
.promo-popup-text { color: var(--ink-soft); line-height: 1.65; font-size: 1rem; margin: 0; }
.promo-popup-text p { margin: 0 0 var(--space-3); }
.promo-popup-text p:last-child { margin-bottom: 0; }
.promo-popup-cta { align-self: flex-start; margin-top: var(--space-2); }
.promo-popup-fine { font-size: 0.76rem; color: var(--text-muted); margin: 0; }
.promo-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: transform var(--t-fast), background var(--t-fast);
}
.promo-popup-close:hover { transform: rotate(90deg); background: #fff; }
@media (max-width: 640px) {
  .promo-popup { grid-template-columns: 1fr; max-height: 92vh; }
  .promo-popup-media { min-height: 150px; max-height: 190px; }
  .promo-popup-content { padding: 30px 24px; }
}
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
}
/* Icon inside an empty image slot (the img_placeholder section partial).
 * Slots fill in once the owner uploads media; until then the placeholder
 * keeps a freshly-created site's layout legible. */
.img-placeholder-icon {
  width: 22%;
  max-width: 64px;
  min-width: 32px;
  height: auto;
  opacity: 0.5;
}

/* ============================================================
 * Reviews / testimonials (mock 759–788) — dark brand section with
 * stats row, review cards, clamp + read-more. Light-background
 * variants keep the same anatomy on paper surfaces. The cards
 * themselves are white with ink lettering on EVERY band since
 * 2026-09-25 (ad-hoc, Rob: "white background with black
 * lettering") — they used to be frosted translucent on a dark band.
 * ============================================================ */
.reviews { position: relative; overflow: hidden; }
.reviews.bg-company::before, .reviews.bg-secondary::before, .reviews.bg-inverse::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 226, 90, 0.08), transparent 70%);
}
/* Compact rating line (slice 9.120.261.89, mock v1.88.0). Replaced the
   four-tile .reviews-stats bar: one line inside .section-head, between the
   eyebrow and the headline. The .stat* rules the bar used are gone with it —
   nothing else in the template used them (checked by grep). */
.reviews-rating {
  display: flex; /* not inline-flex — .eyebrow is inline-flex and the pill would join its line */
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 10px; /* 14px of air under the eyebrow (mock:890; PM round 4, 9.123.265.153) */
  font-size: 0.95rem;
  color: var(--ink-muted);
  /* The rating line sits in a pill with the review cards' frosted look
   * (9.123.265.153): hugs the stars + text, translucent with a hairline
   * border on the dark band, white on a light band (rule below). */
  width: fit-content;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.reviews-rating.on-dark { color: rgba(255, 255, 255, 0.72); }
.reviews-rating-stars { display: inline-flex; align-items: center; gap: 2px; color: var(--star); }
.reviews-rating-stars svg { width: 1em; height: 1em; fill: currentColor; display: block; }
.reviews-rating-text strong { color: var(--ink); font-weight: 600; }
.reviews-rating.on-dark .reviews-rating-text strong { color: var(--white); }
/* On a band painted the Primary the pill is solid white with dark text
   (task-1091; Rob's pick for Adam's "the stars … don't pop when someone is
   close to the star's colors"): the stars stay the star gold on every brand
   colour. The translucent pill stays on the other dark bands. */
.reviews.bg-company .reviews-rating,
.reviews.bg-company .reviews-rating.on-dark { background: var(--white); border-color: var(--white); color: var(--ink-muted); backdrop-filter: none; -webkit-backdrop-filter: none; }
.reviews.bg-company .reviews-rating.on-dark .reviews-rating-text strong { color: var(--ink); }
/* Slice 9.123.368.90 (PM round 7): the cards ride a scroll-snap carousel —
   three in view, two ≤980px, one ≤700px — the gallery's track rules under
   their own name (.gal-carousel-*, below). The grid + Show More button are
   gone; in a flex track the cards stretch to the tallest, as the grid row did. */
.rev-carousel { position: relative; z-index: 2; }
/* The arrows overhang the track by 8px and must always paint above the cards
   (slice 9.123.265.204, PM round 10: "the orange circle … hidden behind the
   last review card", seen in Safari): the scrolling track sits at z-index 1,
   the arrows at 3 on their own layer. The deprecated -webkit-overflow-scrolling
   (a no-op since iOS 13) is gone. */
.rev-carousel-track {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.rev-carousel-track::-webkit-scrollbar { display: none; }
.rev-carousel-item { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
.rev-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateZ(0);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  /* Light bands: the gallery / services pair (9.123.351.90). */
  color: var(--btn-primary-text);
  background: var(--brand-primary);
  box-shadow: 0 2px 10px rgba(15, 26, 20, 0.18);
}
.rev-carousel-arrow:hover { background: var(--brand-accent); color: var(--btn-accent-text); }
.rev-carousel-arrow:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.rev-carousel-arrow[hidden] { display: none; }
/* The arrows never touch a card (slice 9.123.265.205, Rob: "make sure the
   arrows aren't touching the cards at all" — on a dark band the hover is
   transparent with a white ring, which vanished over a white card). While an
   arrow shows, the carousel keeps a 52px gutter each side (the 40px arrow + a
   12px gap) and the arrows sit in it; a carousel that does not overflow shows
   no arrows and keeps its full width. Without :has() the old overlap stays. */
.rev-carousel:has(> .rev-carousel-arrow:not([hidden])) { padding-inline: 52px; }
.rev-carousel-prev { left: 0; }
.rev-carousel-next { right: 0; }
/* Wide screens (slice 9.123.265.212, PM round 11: "can we have the Reviews
   section span the same width as the rest of the website content?"). From
   1340px the page margin outside the content column is at least 78px
   ((1340 − 1240) / 2 + 28 below 1600px, more above), room for the 40px arrow
   and its 12px gap, so the cards take the full content width and the arrows
   sit outside it — still never over a card. Narrower screens keep the gutter. */
@media (min-width: 1340px) {
  .rev-carousel:has(> .rev-carousel-arrow:not([hidden])) { padding-inline: 0; }
  .rev-carousel-prev { left: -52px; }
  .rev-carousel-next { right: -52px; }
}
/* On a primary or secondary band a primary circle is invisible: the arrows
   take the on-dark button pair instead (.btn-primary.on-dark, 9.123.351.90) —
   accent at rest, the white ghost on hover, no drop shadow. */
.reviews.bg-company .rev-carousel-arrow, .reviews.bg-secondary .rev-carousel-arrow { background: var(--brand-accent); color: var(--btn-accent-text); box-shadow: none; }
.reviews.bg-company .rev-carousel-arrow:hover, .reviews.bg-secondary .rev-carousel-arrow:hover { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--white); }
.reviews.bg-company .rev-carousel-arrow:focus-visible, .reviews.bg-secondary .rev-carousel-arrow:focus-visible { outline-color: var(--white); }
.reviews.bg-company .rev-carousel-arrow:hover { color: var(--on-primary); box-shadow: inset 0 0 0 1.5px var(--on-primary); }
.reviews.bg-company .rev-carousel-arrow:focus-visible { outline-color: var(--on-primary); }
@media (max-width: 980px) { .rev-carousel-item { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 700px) { .rev-carousel-item { flex-basis: 85%; } }
@media (max-width: 600px) { .rev-carousel-arrow { display: none; } .rev-carousel:has(> .rev-carousel-arrow:not([hidden])) { padding-inline: 0; } }
/* Tablets (721–980px, task-454, Adam 2026-10-29): the two cards fill the
   content width — no arrow gutters — and the arrows sit as a centred pair
   under the cards, the services carousel's phone treatment; the one with
   nowhere to go stays put, dimmed. Phones stack the cards instead (below).
   Up to 1339px since task-495 (Adam 2026-11-02, a landscape iPad: "should the
   reviews expand the full width?"): below the 1340px outside-arrow break the
   page margin has no room for the arrows, so the three cards take the full
   content width and the pair sits under them, as on a tablet. */
@media (min-width: 721px) and (max-width: 1339px) {
  .rev-carousel:has(> .rev-carousel-arrow:not([hidden])) { padding-inline: 0; padding-bottom: 56px; }
  .rev-carousel-arrow { top: auto; bottom: 0; transform: translateZ(0); }
  .rev-carousel-prev { left: calc(50% - 46px); }
  .rev-carousel-next { right: calc(50% - 46px); }
  .rev-carousel:has(> .rev-carousel-arrow:not([hidden])) > .rev-carousel-arrow[hidden] { display: inline-flex; opacity: 0.35; pointer-events: none; }
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reviews.bg-white .reviews-rating, .reviews.bg-grey .reviews-rating { background: var(--white); border-color: var(--line); }
@media (max-width: 540px) { .reviews-rating { border-radius: 18px; } } /* a wrapped two-line rating keeps a clean edge */
.review-card .stars { display: flex; gap: 2px; }
.review-card .stars svg { width: 16px; height: 16px; fill: var(--star); }
.review-text { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; flex: 1; margin: 0; }
.review-text-wrap.clamped .review-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-readmore {
  background: transparent;
  border: none;
  color: var(--brand-primary);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0 0;
  text-align: left;
}
.review-readmore:hover { text-decoration: underline; }
.reviewer { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--avatar-bg);
  color: var(--avatar-fg);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
  overflow: hidden;
}
.reviewer-avatar img, .reviewer-avatar picture, .testimonial-avatar { width: 100%; height: 100%; object-fit: cover; }
.reviewer-info { flex: 1; min-width: 0; }
.reviewer-name-row { display: inline-flex; align-items: center; gap: 6px; }
.reviewer-name { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.reviewer-verified {
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #1a73e8;
  color: #ffffff;
  flex-shrink: 0;
}
.reviewer-verified svg { width: 9px; height: 9px; }
.reviewer-meta { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--ink-muted); margin-top: 2px; flex-wrap: wrap; }
.reviewer-meta-google { display: inline-flex; align-items: center; gap: 4px; }
.reviewer-meta-google-g {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: conic-gradient(from -45deg, #4285f4 0deg 90deg, #34a853 90deg 180deg, #fbbc04 180deg 270deg, #ea4335 270deg 360deg);
  display: inline-block;
  flex-shrink: 0;
}
.reviewer-meta-divider { width: 2px; height: 2px; border-radius: 50%; background: var(--ink-muted); }
/* Slice 9.123.319.90 — Google's Places API attribution for synced reviews.
   Vendor rules (developers.google.com/maps/documentation/places/web-service/policies,
   read 2026-09-21): logo 16–19px tall with 10px clear space left/right/top and
   5px below; the text form is weight 400, normal style and spacing, one line,
   12–16px, white / #1F1F1F / #5E5E5E only. Re-read the page before changing. */
a.reviewer-name:hover, a.reviewer-meta-google:hover { text-decoration: underline; }
.reviews-source { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 8px; margin: 24px 0 0; font-size: 0.8rem; color: var(--ink-muted); }
.reviews-source.on-dark { color: rgba(255, 255, 255, 0.72); }
.reviews.bg-company .reviews-source.on-dark { color: var(--on-primary-soft); }
/* The band's Google Maps logo is the white file; on a light Primary the
   renderer's filter turns it #1F1F1F (task-1091), which Google's rules allow. */
.reviews.bg-company .gmp-logo { filter: var(--on-primary-logo-filter, none); }
.reviews-source span { text-align: center; text-wrap: balance; }
/* Phones (Adam, 2026-10-27, task-387): the cards stack instead of swiping,
   three first, Show More Reviews for the rest; desktop keeps the carousel. */
.reviews-more { display: none; }
@media (max-width: 720px) {
  .rev-carousel-track { flex-direction: column; gap: 16px; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
  .rev-carousel-item { flex: 0 0 auto; }
  .bb-js .section-testimonials:not(.reviews-all) .rev-carousel-item:nth-child(n + 4) { display: none; }
  .bb-js .reviews-more { display: flex; justify-content: center; margin-top: 24px; position: relative; z-index: 2; }
  .bb-js .section-testimonials.reviews-all .reviews-more { display: none; }
}
.gmp-logo { display: block; width: 98px; height: 18px; margin: 10px 10px 5px; flex-shrink: 0; }
.gmp-text { font-family: Roboto, var(--font-body); font-style: normal; font-weight: 400; font-size: clamp(12px, 1em, 16px); letter-spacing: normal; text-transform: none; white-space: nowrap; }
.hero-rating .gmp-text { color: #ffffff; }
.trust-google-sub .gmp-text { color: #5e5e5e; }

/* ============================================================
 * Contact (mock 864–910) — dark two-column section: intro + icon
 * rows left, white form card right. The standalone contact_form
 * (no contact_info on the page) renders the same card full-width.
 * ============================================================ */
.section-contact {
  /* The exact Primary, the colour a .bg-company band shows (task-1091; Rob,
   * 2026-11-23: "the background and color of the contact us section seems
   * like different colors"). It was the darker 65 % mix. Its text follows
   * the Primary's ink. */
  background: var(--brand-primary);
  color: var(--on-primary);
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: "";
  position: absolute;
  bottom: -300px;
  left: -100px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 226, 90, 0.08), transparent 70%);
  pointer-events: none;
}
.section-contact h2 { color: var(--on-primary); margin-top: 18px; }
.section-contact .contact-lead { color: var(--on-primary-soft); margin: 18px 0 28px; font-size: 1.05rem; line-height: 1.6; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; position: relative; z-index: 2; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.contact-row { display: flex; align-items: center; gap: 14px; color: var(--on-primary-soft); font-size: 0.95rem; transition: color 0.15s ease; }
.contact-row-hours { align-items: flex-start; }
.contact-row-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  /* The icon tile follows the section's ink (task-1091): an accent glyph
   * on the exact Primary is unreadable when the two colours are close. */
  background: color-mix(in srgb, var(--btn-primary-text) 14%, transparent);
  color: var(--on-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
/* The contact details read regular; only the day labels of the hours are bold
 * (task-463, Adam 2026-10-29; Rob's call). */
.contact-row .contact-row-value { display: block; color: var(--on-primary); font-size: 1rem; font-weight: 400; }
.contact-row a { color: inherit; }
.contact-row a:hover { text-decoration: underline; }
.contact-hours { display: grid; gap: 2px; margin: 0; font-size: 0.9rem; }
.contact-hours > div { display: flex; gap: 8px; }
.contact-hours dt { color: var(--on-primary); min-width: 5.5em; font-weight: 700; }
.contact-hours dd { margin: 0; }

/* White form card. */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; color: var(--ink); box-shadow: var(--shadow-lg); }
@media (max-width: 720px) { .form-card { padding: 32px 24px; } }
@media (max-width: 480px) { .form-card { padding: 24px 18px; } }
.form-card-single { max-width: 720px; margin: 0 auto; }
/* Card heading (mock form-card h3 + intro line). */
.form-card-head h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card-head p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 28px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form > .field, .contact-form > .bb-consent-host, .contact-form > .cf-turnstile, .contact-form > .form-submit, .contact-form > .form-trust { grid-column: 1 / -1; }
.contact-form > .field.field-half { grid-column: auto / span 1; }
@media (max-width: 540px) { .contact-form > .field.field-half { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .field label { font-size: 0.78rem; font-weight: 600; color: var(--ink); }
.field .required { color: var(--required-mark); font-weight: 700; font-style: normal; margin-left: 1px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-base);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
  width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  background-color: var(--white);
}
.contact-form textarea { resize: vertical; min-height: 90px; }
/* Checkbox group — mock's bordered .checkbox-item chips, two-up. */
.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
@media (max-width: 540px) { .checkbox-group { grid-template-columns: 1fr; } }
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-base);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.checkbox-group label:hover { border-color: var(--brand-primary); }
.checkbox-group input[type="checkbox"], .checkbox-group input[type="radio"] { width: 16px; height: 16px; accent-color: var(--brand-primary); cursor: pointer; margin: 0; flex-shrink: 0; padding: 0; }
/* Single yes-box (slice 9.102.237.81): one chip, never a two-column grid. */
.checkbox-group.single-check { grid-template-columns: 1fr; }
/* Per-field help text (slice 9.102.237.81). */
.field .field-help { font-size: 0.78rem; font-weight: 400; color: var(--ink-soft); margin: 0; }
.checkbox-group label:has(input:checked) { border-color: var(--brand-primary); background: color-mix(in srgb, var(--brand-primary) 4%, transparent); }
/* Required group with nothing checked (forms.js groupsOK, slice 9.101.234.81). */
.checkbox-group.bb-group-error label { border-color: var(--color-error); }
.checkbox-group.bb-group-error input[type="checkbox"] { outline: 2px solid var(--color-error); outline-offset: 1px; }
.form-submit {
  width: 100%;
  margin-top: 10px;
  padding: 16px;
  /* The Secondary colour on every site (task-1091; Rob's call, Growth
   * included), like the page's other Request Quote buttons on Starter; it
   * hovers to the Primary. It rested on the Primary and hovered to the accent. */
  background: var(--brand-accent);
  color: var(--btn-accent-text);
  border-radius: var(--radius-base);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.form-submit:hover { background: var(--brand-primary); color: var(--btn-primary-text); }
.form-submit:disabled { opacity: 0.6; cursor: default; }
.form-trust {
  display: flex;
  gap: 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  justify-content: space-between;
  color: var(--ink-muted);
  font-size: 0.78rem;
  flex-wrap: wrap;
}
.form-trust li { display: inline-flex; align-items: center; gap: 0.35rem; }
.form-trust li::before { content: "✓"; color: var(--brand-accent-dark); font-weight: 700; }
.section-contact .success-message, .form-card .success-message { color: var(--ink); }
.success-message.hidden { display: none; }

/* ============================================================
 * Contact info
 * ============================================================ */
.contact-info-list {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
  max-width: 480px;
}
.contact-info-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-3);
  align-items: start;
}
.contact-info-list .label {
  font-weight: 600;
  color: var(--text-strong);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-info-list address { font-style: normal; line-height: 1.6; }
.contact-info-list a { color: var(--color-primary); }

.hours { margin-top: var(--space-6); max-width: 480px; }
.hours h3 { margin-bottom: var(--space-3); }
.hours dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--space-2) var(--space-5);
}
.hours dt { font-weight: 600; color: var(--text-strong); }
.hours dd { color: var(--text-muted); }

/* P1-3: Google Business Profile link, rendered in the contact section
 * (standalone contact_info + the combined contact details column) when a GBP is
 * connected. Inherits the section link color; a small Google "G" glyph precedes
 * the label so it reads as an outbound Google link. */
.gbp-link-wrap { margin-top: var(--space-4); }
.gbp-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.gbp-link::before {
  content: "G";
  display: inline-grid;
  place-items: center;
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.8em;
  line-height: 1;
}
.gbp-link:hover { text-decoration: underline; }
/* On the dark combined-contact panel the link + glyph invert for contrast. */
.section-contact .gbp-link { color: var(--on-primary); }
.section-contact .gbp-link::before { background: var(--on-primary); color: var(--brand-primary); }

/* ============================================================
 * CTA band — the Growth mock's centred band on every page (slice
 * 9.123.428.90, PM round 10: "the attached CTA style for the section
 * immediately above the footer"; mock:1737-1742): solid Primary, a centred
 * heading at most 640px wide, an 85 % white line 8px below it, then 24px to
 * the white button. No photo — a stored one stays in the data, not the page.
 * Only Growth has a cta section (Starter's went with 9.123.291.90).
 * ============================================================ */
.section-cta { padding-block: 72px; }
.section-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}
.section-cta h2 { color: var(--on-primary); font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 640px; margin: 0 auto; }
.section-cta .lead { color: var(--on-primary-soft); margin: 8px auto 0; max-width: 60ch; }

/* ============================================================
 * Service overview — text-only intro block for service collection items.
 * ============================================================ */
.section-service-overview .overview-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.section-service-overview .overview-bullets li {
  position: relative;
  padding-left: var(--space-6);
}
.section-service-overview .overview-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================================
 * Text + image — flexible layout with 4 modes.
 * ============================================================ */
.section-text-image .text-image-row {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
/* Side by side from 901px — the same break as Why Us, About and the map, so a
   tablet stacks every block alike (task-454, Adam 2026-10-29). */
@media (min-width: 901px) {
  .section-text-image .text-image-row { grid-template-columns: 1fr 1fr; }
  .text-image-image_right .text-image-row { grid-template-columns: 1fr 1fr; }
  .text-image-image_right .text-image-media { order: 2; }
  .text-image-image_left  .text-image-media { order: -1; }
  .text-image-two_images_side .text-image-media {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}
.section-text-image .text-image-media figure {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.section-text-image .text-image-media figure img,
.section-text-image .text-image-media .text-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-text-image .text-image-text > * + * { margin-top: var(--space-4); }

/* ============================================================
 * Full gallery — wider, less dense than the preview variant.
 * ============================================================ */
.section-gallery-full .gallery-full-grid {
  display: grid;
  gap: 14px;
  margin-top: 40px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px)  { .section-gallery-full .gallery-full-grid { grid-template-columns: repeat(3, 1fr); } }
/* 4 columns on wide screens (slice 9.123.265.218, PM round 12: "is it possible
   to make the gallery 4-col instead of 3-col?"; the mock's uniform grid is 4
   across in its 1240px container, mock:1868). Masonry follows below. */
@media (min-width: 1100px) { .section-gallery-full .gallery-full-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-full-grid > .gallery-item { aspect-ratio: 4 / 3; }

/* ============================================================
 * gallery_preview two-column "Our Work" variant (mock gp2 1552-1601,
 * slice 9.47.129.47). Text left (0.9fr) / first-4 media 2×2 right
 * (1.1fr); ≤820px stacks to one column, gap 30. The centered (legacy)
 * variant keeps its own .gallery-grid rules untouched.
 * ============================================================ */
.gallery-preview { background: var(--paper); }
.gp2-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.gp2-text { min-width: 0; }
.gp2-text h2 { margin-top: 16px; }
.gp2-text p { color: var(--ink-soft); margin-top: 16px; line-height: 1.7; }
.gp2-cta { margin-top: 26px; }
.gal-preview-grid.gp2-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gal-preview-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-md); margin: 0; }
.gal-preview-item img, .gal-preview-item picture { width: 100%; height: 100%; }
.gal-preview-item img { object-fit: cover; transition: transform 0.6s ease; }
.gal-preview-item:hover img { transform: scale(1.07); }
.gal-preview-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 26, 20, 0.45), transparent 55%); opacity: 0; transition: opacity var(--t-fast); }
.gal-preview-item:hover::after { opacity: 1; }
.gal-preview-item .img-placeholder { position: absolute; inset: 0; height: 100%; }
.gal-preview-cap { position: absolute; left: 12px; bottom: 10px; z-index: 1; color: var(--white); font-size: 0.8rem; font-weight: 600; opacity: 0; transition: opacity var(--t-fast); }
.gal-preview-item:hover .gal-preview-cap { opacity: 1; }
@media (max-width: 820px) { .gp2-grid { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 420px) { .gal-preview-grid.gp2-media { gap: 10px; } }

/* ============================================================
 * Service-page quote band (mock 1568-1587, slice 9.48.129.47). Band
 * color maps the mock's --brand-secondary to our --brand-primary
 * (owner call); pitch text left, white form card right.
 * ============================================================ */
/* The promo bar's shade since task-64 (Adam 2026-10-13: "change the background to
   the darker color variant used in the promotional bar"); the full primary before. */
.svc-quote-band { background: var(--brand-primary-dark); }
.svc-quote-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
/* Grid items opt out of min-width:auto (slice 9.123.265.138): the form's own
   min-content — two 248px inputs in .svc-qf-row — would otherwise pin each
   track to 554px, wider than a phone below 594px, and above 820px it takes
   the width from the pitch text instead of splitting the row evenly. */
.svc-quote-card > * { min-width: 0; }
.svc-quote-text h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 12px; }
.svc-quote-text p { color: rgba(255, 255, 255, 0.8); margin-top: 14px; line-height: 1.6; }
.svc-qf { background: var(--white); border-radius: var(--radius-base); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-lg); }
.svc-qf-row { display: flex; gap: 10px; }
.svc-qf-row input { flex: 1; min-width: 0; }
.svc-qf input, .svc-qf select, .svc-qf textarea { padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--radius-base); font: inherit; font-size: 0.92rem; background: var(--paper); }
.svc-qf input:focus, .svc-qf select:focus, .svc-qf textarea:focus { outline: none; border-color: var(--brand-primary); }
.svc-qf textarea { min-height: 72px; resize: vertical; }
.svc-qf-submit { width: 100%; }
.svc-qf-note { font-size: 0.75rem; text-align: center; color: var(--ink-muted); }
@media (max-width: 820px) { .svc-quote-card { grid-template-columns: 1fr; gap: 26px; } }

/* ============================================================
 * Team grid (mock 1556-1566, slice 9.47.127.47). Role accent maps the
 * mock's --brand-secondary to our --brand-primary (owner call).
 * ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-base); overflow: hidden; }
.team-photo { aspect-ratio: 1; background: var(--paper-warm); overflow: hidden; }
.team-photo img, .team-photo picture { width: 100%; height: 100%; }
.team-photo img { object-fit: cover; }
.team-photo-initial { display: grid; place-items: center; font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--brand-primary); }
.team-body { padding: 20px 22px 24px; }
.team-body h3 { font-size: 1.1rem; }
.team-role { color: var(--brand-primary); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 4px 0 10px; }
.team-body p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ============================================================
 * Careers question engine + 2-col layout (mock 1682-1695 / 1768-1806,
 * slice 9.45.127.47). Jobs accordion left, sticky application card
 * right; the .bb-careers-* half-row field system is the mock's.
 * ============================================================ */
.careers-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.careers-layout-single { grid-template-columns: 1fr; }
/* Starter careers with a photo (slice 9.123.290.90) — the mock's .careers-grid
   (v1.89.2:974–977): photo left, copy right, centred; one column ≤ 900px. */
.careers-layout-photo { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .careers-layout-photo { grid-template-columns: 1fr; gap: 30px; } }
.careers-apply-col { position: sticky; top: 96px; }
/* Careers apply modal (single_page combined careers, 9.51.135.54) — same
   backdrop treatment as the promo pop-up. */
.careers-apply-cta { margin-top: 32px; }
.careers-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(13, 26, 20, 0.66);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.careers-modal-backdrop.open { display: flex; animation: pmFade 0.25s ease; }
.careers-modal-backdrop.open .careers-modal { animation: pmPop 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.15); }
.careers-modal {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 4vh auto;
}
.careers-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--paper-warm);
  color: var(--ink-soft);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.careers-modal-close:hover { color: var(--ink); }
/* No-JS fallback: the modal card renders inline below the callout so the
   per-job #apply anchors still land on a working form (bb-js convention,
   cf. the gallery load-more fallback). */
html:not(.bb-js) .careers-modal-backdrop[hidden] {
  display: block;
  position: static;
  padding: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html:not(.bb-js) .careers-modal { max-width: none; margin: 32px 0 0; }
html:not(.bb-js) .careers-modal-close,
html:not(.bb-js) [data-careers-apply-open] { display: none; }
.careers-col-h { font-size: 1.35rem; margin-top: 26px; }
/* 9.123.265.141: a gap between the Open Positions sub-heading and the first
   job card (scoped to the positions column; the form card's .careers-col-h is
   followed by .bb-careers-sub and keeps its spacing). */
.careers-positions > .careers-col-h { margin-bottom: 14px; }
.careers-positions > .eyebrow + .careers-heading { margin-top: 18px; }
.bb-careers-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-base); padding: 36px; box-shadow: var(--shadow-md); }
.bb-careers-card .careers-col-h { margin-top: 0; }
.bb-careers-sub { color: var(--ink-soft); font-size: 0.9rem; margin-top: 6px; }
.bb-careers-form { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.bb-careers-fields { display: flex; flex-wrap: wrap; gap: 14px; container-type: inline-size; }
.bb-careers-field { flex: 1 1 100%; min-width: 0; }
.bb-careers-field.half { flex: 1 1 calc(50% - 7px); }
/* Phones: one question per line (task-443, Adam 2026-10-29) — side by side, a
   long label pushed its partner down and the date field ran past the edge. */
@media (max-width: 600px) { .bb-careers-field.half { flex-basis: 100%; } }
/* task-512 (Adam 2026-11-03): a multiple-choice or checkboxes question lays
   its chips out two across, so at half width in a narrow form (the side-by-side
   Careers layout on a tablet) each chip was ~90px and "Early (6:30 start)" ran
   to three lines. Below 640px of form width such a question takes the whole
   row whatever its Half width switch says; its help text then runs the full
   width too, and the half-width question beside it pairs with the next one. */
@container (max-width: 640px) { .bb-careers-field.half:has(> .checkbox-group) { flex-basis: 100%; } }
.bb-careers-field > label { display: block; font-size: 0.78rem; font-weight: 700; margin-bottom: 6px; }
.bb-careers-field input, .bb-careers-field select, .bb-careers-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-base);
  font: inherit;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--ink);
}
.bb-careers-field input, .bb-careers-field select { height: 46px; }
/* task-467 (Adam 2026-10-30): iOS gives a date input its own intrinsic width and
   box, so Available Start Date broke out of its half-width field. The same
   box as the other fields. */
.bb-careers-field input[type="date"] { -webkit-appearance: none; appearance: none; display: flex; align-items: center; min-width: 0; width: 100%; line-height: 1.3; }
/* task-512 (Adam 2026-11-03): display:block above had dropped WebKit's own
   centring of the date value, so on an iPad / iPhone "Desired start date" sat
   high in its box. flex + align-items keeps the width fix and centres it. */
/* task-526 (Adam 2026-11-03, still high on an iPad after task-512): the value
   box is given the field's full height and centres its text itself, instead
   of relying on the input's flex centring, which iOS applies to its own
   shadow box only. */
.bb-careers-field input[type="date"]::-webkit-date-and-time-value { display: flex; align-items: center; height: 100%; min-height: 1.3em; text-align: left; }
.bb-careers-field textarea { min-height: 92px; resize: vertical; }
.bb-careers-field input:focus, .bb-careers-field select:focus, .bb-careers-field textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}
.bb-careers-req { color: var(--required-mark); font-weight: 700; }
/* Résumé upload (9.65.168.61): the native file input doesn't take the text
 * paddings well — give it its own comfortable box; the hint echoes the
 * server's type/size limits. */
.bb-careers-field input[type="file"] { height: auto; padding: 10px 13px; cursor: pointer; }
.bb-careers-filehint { margin: 6px 0 0; font-size: 0.75rem; color: var(--ink-soft); }
/* Per-question help text (slice 9.103.237.81). Custom radio / checkboxes /
 * single-check questions reuse the contact form's .checkbox-group chips; the
 * careers input sizing rule above is out-specificity'd by the group rule. */
.bb-careers-help { margin: 6px 0 0; font-size: 0.75rem; color: var(--ink-soft); }
.bb-careers-field .checkbox-group { margin-top: 2px; }
.bb-careers-ack { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; line-height: 1.5; cursor: pointer; }
.bb-careers-ack input { width: 16px; height: 16px; min-height: 0; margin-top: 2px; padding: 0; flex-shrink: 0; cursor: pointer; accent-color: var(--brand-primary); }
.bb-careers-submit { width: 100%; }
/* Jobs accordion (mock .job 1682-1695) — scoped to the combined layout;
 * the standalone careers_jobs section keeps its static cards. */
.job-accordion .job { padding: 0; overflow: hidden; }
.job-accordion .job-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; margin-bottom: 0; cursor: pointer; transition: background var(--t-fast); }
.job-accordion .job-head:hover { background: var(--paper-warm); }
.job-accordion .job.open .job-head, .job-accordion .job.open .job-head:hover { background: transparent; } /* an expanded position's header stops tinting (9.123.265.156, PM round 4); the pointer stays — a click collapses it */
.job-accordion .job-head h3 { font-size: 1.05rem; flex: 1; min-width: 0; } /* 9.123.265.141: the title takes the free space so the pills sit beside the chevron */
.job-accordion .job-chev { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--job-chev-border, var(--brand-primary)); background: var(--job-chev-bg, var(--brand-primary)); color: var(--job-chev-fg, var(--btn-primary-text)); flex-shrink: 0; transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast); } /* 9.123.265.159: primary at rest like the FAQ toggle; Growth rests on cream with an ink chevron through the --job-chev-* tokens (9.123.265.210, PM round 11) */
.job-accordion .job.open .job-chev { transform: rotate(180deg); }
/* 9.123.265.159 (PM round 5, default (d)): the caret turns secondary on hover and while the position is open — the header itself keeps not tinting (9.123.265.156). */
.job-accordion .job-head:hover .job-chev, .job-accordion .job.open .job-chev { background: var(--brand-accent); color: var(--btn-accent-text); border-color: var(--brand-accent); }
.job-accordion .job-body { padding: 0 22px 18px; }
.job-accordion .job-body p { margin-bottom: 14px; }
.bb-js .job-accordion .job:not(.open) .job-body { display: none; }
/* task-467 (Adam 2026-10-30): a position with no location / type pills has no
   meta row (the template drops the div; this guards older builds), so nothing
   sits under the title on phones. Beside the form the per-job Apply is
   redundant; it stays on phones / tablets, where the form is below and the
   button jumps to it. */
.job-meta:empty { display: none; }
@media (min-width: 901px) { .careers-layout:not(.careers-layout-single) .job-apply { display: none; } }
@media (max-width: 900px) {
  .careers-layout { grid-template-columns: 1fr; gap: 30px; }
  .careers-apply-col { position: static; }
}
@media (max-width: 640px) { .bb-careers-card { padding: 26px 20px; } }

/* ============================================================
 * Consent checkboxes (mock 1809-1814, slice 9.44.127.47).
 * Shared by contact / hero quick form / careers. Error color maps the
 * mock's --danger fallback to our --color-error.
 * ============================================================ */
.bb-consent-host { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 2px; }
.bb-consent-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8rem; line-height: 1.5; color: var(--ink-soft); cursor: pointer; }
.bb-consent-item input { width: 16px; height: 16px; min-height: 0; padding: 0; margin: 2px 0 0; flex-shrink: 0; cursor: pointer; accent-color: var(--brand-primary); }
.bb-consent-req { color: var(--required-mark); font-weight: 700; }
.bb-consent-error { color: var(--color-error); }
.bb-consent-error input { outline: 2px solid var(--color-error); outline-offset: 1px; }
/* Server-rejection surface (net-new, forms.js): hidden until a submit is
 * refused; sits above the submit button. */
.bb-form-error { display: none; color: var(--color-error); font-size: 0.85rem; line-height: 1.5; margin: 4px 0 0; }
.bb-form-error.visible { display: block; }
/* The same line as a progress note while the bot check runs ("Checking your
 * browser", task-571): the form's own text colour, on any background. */
.bb-form-error.bb-form-note { color: inherit; opacity: 0.85; }

/* Category filter pills (mock 1526-1528 .fpill + 1636 .gal-filter, slice
 * 9.43.125.47). .fpill is the mock's shared filter-pill style (services
 * hub / blog reuse it later). Active uses --brand-primary — the mock's
 * --brand-secondary has no equivalent in our theme (token question open).
 * JS-gated: without site.js the pill row hides and the full collage shows. */
.gal-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.section-gallery-full .gal-filter { margin: 40px 0 0; }
.section-gallery-full .gal-filter + .gallery-full-grid { margin-top: 24px; }
.fpill {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.fpill:hover { border-color: var(--ink-muted); color: var(--ink); }
.fpill.is-active { background: var(--brand-primary); color: var(--white); border-color: var(--brand-primary); }
html:not(.bb-js) .gal-filter { display: none; }
.bb-js .gallery-item-filtered { display: none; }

/* ============================================================
 * Process steps — the Growth mock's row of numbered cards (slice
 * 9.123.427.90, PM round 10: "the attached horizontal layout instead of the
 * vertically stacked layout"; mock:1709-1718). process_steps exists on Growth
 * only. Columns follow the step count (ProcessStepsContent.Columns): up to four
 * in one row, five or six three across, seven or more four across; two across
 * at <=900px, one at <=520px. White cards keep dark text on a dark band.
 * ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: var(--space-7);
  list-style: none;
  padding: 0;
}
.process-steps.process-cols-1 { grid-template-columns: 1fr; }
.process-steps.process-cols-2 { grid-template-columns: repeat(2, 1fr); }
.process-steps.process-cols-3 { grid-template-columns: repeat(3, 1fr); }
.process-steps.process-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .process-steps.process-cols-2, .process-steps.process-cols-3, .process-steps.process-cols-4 { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 520px) {
  .process-steps.process-cols-2, .process-steps.process-cols-3, .process-steps.process-cols-4 { grid-template-columns: 1fr; }
}
.process-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-base);
  padding: 26px 22px;
  color: var(--ink);
}
.process-step-number {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--btn-primary-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 16px;
}
.process-steps .process-step h3 { font-size: 1.06rem; margin-bottom: 8px; color: var(--ink); }
.process-steps .process-step p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; }

/* Careers application form — restyled with the long-tail pass (8.20.71.23). */
.careers-form {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
  max-width: 720px;
}
.careers-form fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
}
.careers-form fieldset legend { padding: 0 var(--space-2); font-weight: 600; color: var(--text-strong); }
.careers-form fieldset label { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-1) 0; font-weight: 400; }
.careers-form .careers-signature span { font-size: 0.85rem; color: var(--text-muted); }
/* task-550 (Adam 2026-11-04, Rob: "drop downs get different rounding than
   text fields"): the field box and focus ring that sat here outranked the
   mock's .bb-careers-field rules for selects and text inputs only — 6px
   corners, a darker border and 1rem text on those, 8px / 0.9rem on email,
   phone and date, which then read as sitting high — and focused every field
   in a fixed green. The one form with this class is the question engine's,
   so its fields take the .bb-careers-field box alone. */
.careers-form button[type="submit"] { justify-self: start; margin-top: var(--space-3); }

/* ============================================================
 * Form dropdowns match the text fields beside them (slice 9.123.265.130,
 * PM round 2, 2026-09-21). A <select> keeps the browser's own widget unless
 * appearance is off, and each engine sizes that widget its own way: Safari
 * (WebKit, read from its source, not measured) drops our padding and draws it
 * about half the height of the text fields; Chromium adds 1px of menulist padding top and bottom and forces
 * line-height: normal. With the widget off, every engine uses the field's own
 * padding, line-height and radius, and the chevron is drawn here instead
 * (#4a5650 = --ink-soft; a data: URI cannot read a CSS variable).
 * KEEP THIS BLOCK AFTER EVERY FORM RULE ABOVE: at equal specificity its
 * longhands then beat their `background:` shorthands (the legacy
 * `.careers-form select` padding shorthand went with task-550).
 * ============================================================ */
.hero-qf-field select,
.contact-form select,
.svc-qf select,
.bb-careers-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%234a5650' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 38px;
  cursor: pointer;
}
/* Even with the widget off, Chromium lays a select's text on a shorter line
 * than a text input's when both say line-height: normal (hero 16px vs 18px),
 * so the two forms that rely on `normal` get one explicit value on both.
 * The service band (font: inherit, 1.55) and careers (height: 46px) already
 * pin theirs. */
.hero-qf-field input, .hero-qf-field select,
.contact-form input, .contact-form select {
  line-height: 1.25;
}
/* Windows High Contrast: a fixed-colour chevron can vanish on the forced
 * canvas, so hand the control back to the system widget. */
@media (forced-colors: active) {
  .hero-qf-field select,
  .contact-form select,
  .svc-qf select,
  .bb-careers-field select {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
  }
}

/* ============================================================
 * Service area (mock 790–823) — text + map, then the area pills (9.123.441.90).
 * ============================================================ */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
/* 1fr 1fr since task-495 (Adam 2026-11-02, a landscape iPad: "a 50/50 split
   like the other 2-col sections") — the text column had 1.3fr.
   Centred beside the map since task-1141 (Adam 2026-11-30: the copy sat at
   the top with empty space under it; Rob: "Center it"). One column at 900px
   and below, where the rule has nothing to centre. */
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; gap: 40px; } }
.area-heading { margin-top: 18px; }
.area-intro { color: var(--ink-soft); margin-top: 16px; font-size: 1.05rem; }
/* Every area as a name pill under the intro, beside the map (slice
   9.123.441.90; Rob + the team: "pills of the areas, no blurbs", Adam:
   "left-aligned"; in the text column since 9.123.265.220). Growth's chip look
   (.areas-band-chip) without its link hover — Starter areas never link. White
   on a grey band, like Growth's. */
.area-pills { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-pill { display: inline-flex; align-items: center; padding: 10px 18px; background: var(--paper-warm); border: 1px solid var(--line); border-radius: 100px; color: var(--ink-soft); font-weight: 600; font-size: 0.92rem; }
.bg-grey .area-pill { background: var(--white); }
/* The contact line under the pills (9.123.440.90): black text, "Contact us"
   in the primary colour, linked to the contact section. */
.area-note { margin: 20px 0 0; color: var(--ink); font-size: 0.98rem; }
.area-note a { color: var(--brand-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* The map sits beside the heading, text and pills and no longer moves (slice
 * 9.123.441.90, Rob: "This would also stop the map from moving"; sticky under
 * the nav from 9.123.265.155 until then). Since 9.123.265.221 (Rob: "make the
 * map square and resize it as the section content grows") it is a square the
 * width of its column, and grows taller with the text column when that runs
 * longer — min-height resolves against the grid row; the width never changes.
 * Stacked (≤900) it is a plain square, at most 480px wide. */
.area-map { width: 100%; aspect-ratio: 1 / 1; min-height: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--brand-primary); }
/* Stacked (≤900px): the map spans the column at 16:10 (task-454, Adam
   2026-10-29: "expand the map to be full width"); phones keep it square. */
@media (max-width: 900px) { .area-map { max-width: none; min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 540px) { .area-map { aspect-ratio: 1 / 1; } }
/* The live Google map of the first city (9.123.369.90, PM round 7) fills the
 * same panel; the drawn .gmap below stays for the seed / empty list. */
.area-map-live { background: var(--paper-warm); }
.area-map-live iframe { display: block; width: 100%; height: 100%; border: 0; }
.gmap { position: relative; width: 100%; height: 100%; background: #f1f0ec; overflow: hidden; }
.gmap-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gmap-coverage {
  position: absolute;
  top: 18%;
  left: 12%;
  width: 75%;
  height: 65%;
  background: radial-gradient(ellipse at center, rgba(31, 58, 46, 0.18) 0%, rgba(31, 58, 46, 0.1) 50%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
}
.gmap-pin { position: absolute; width: 26px; height: 34px; transform: translate(-50%, -100%); }
.gmap-pin::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'><path d='M12 0C5.4 0 0 5.4 0 12c0 9 12 20 12 20s12-11 12-20c0-6.6-5.4-12-12-12z' fill='black'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'><path d='M12 0C5.4 0 0 5.4 0 12c0 9 12 20 12 20s12-11 12-20c0-6.6-5.4-12-12-12z' fill='black'/></svg>") no-repeat center / contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}
.gmap-pin::after { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 10px; height: 10px; background: var(--white); border-radius: 50%; }
/* Pin positions — the mock's five demo coordinates, applied in order. */
.gmap-pin-0 { top: 46%; left: 42%; }
.gmap-pin-1 { top: 44%; left: 73%; }
.gmap-pin-2 { top: 28%; left: 76%; }
.gmap-pin-3 { top: 72%; left: 75%; }
.gmap-pin-4 { top: 50%; left: 17%; }
.gmap-controls {
  position: absolute;
  right: 12px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.gmap-ctrl { width: 34px; height: 34px; background: var(--white); display: grid; place-items: center; color: #5f6368; }
.gmap-ctrl + .gmap-ctrl { border-top: 1px solid #e8eaed; }
.gmap-ctrl svg { width: 14px; height: 14px; }

/* ============================================================
 * FAQ (mock 825–840) — two-column: intro + phone card left,
 * <details> accordion right with rotating + toggle.
 * ============================================================ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
@media (max-width: 980px) { .faq-grid { gap: 56px; } }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 36px; } }
/* Two columns: the left one (heading, intro, the "Still have a question?"
   card) stays in view under the nav while the questions scroll, and does not
   move when an answer opens (task-1141, Adam 2026-11-30; Rob: "Sticky at the
   top"). Same 96px as the careers application card. Not on a window too short
   to show the whole column: a pinned column taller than the window would hide
   its own card. */
@media (min-width: 901px) and (min-height: 700px) {
  .faq-grid > div:first-child { position: sticky; top: 96px; align-self: start; }
}
/* Phones and tablets: the "Still have a question?" card follows the
   questions instead of coming before them (Adam, 2026-10-27, task-387). */
@media (max-width: 900px) {
  .faq-grid { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .faq-grid > div:first-child { display: contents; }
  .faq-grid > .faq-list { order: 1; align-self: stretch; margin-top: 32px; }
  .faq-grid .faq-contact-card { order: 2; align-self: stretch; margin-top: 36px; }
}
.faq-heading { margin-top: 18px; }
.faq-intro { color: var(--ink-soft); margin-top: 18px; font-size: 1.05rem; line-height: 1.6; text-wrap: pretty; } /* no lone last word where supported (task-467) */
.faq-contact-card { background: var(--brand-primary); color: var(--on-primary); border-radius: var(--radius-lg); padding: 36px; margin-top: 36px; }
@media (max-width: 540px) { .faq-contact-card { padding: 28px; } }
.faq-contact-card h3 { color: var(--on-primary); margin-bottom: 12px; font-size: 1.5rem; }
.faq-contact-card p { color: var(--on-primary-soft); margin-bottom: 24px; }
.faq-contact-btn { display: flex; width: 100%; text-align: center; }
.faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
@media (max-width: 540px) { .faq-item { padding: 18px 0; } }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  letter-spacing: -0.01em;
  list-style: none;
}
@media (max-width: 540px) { .faq-question { font-size: 1.02rem; gap: 12px; } }
.faq-question::-webkit-details-marker { display: none; }
.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  /* 9.123.265.159 (PM round 5): the accordion affordances join the button
     system — a primary circle with the contrast-picked icon at rest, the
     accent when the row is open. */
  background: var(--brand-primary);
  color: var(--btn-primary-text);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-toggle { background: var(--brand-accent); color: var(--btn-accent-text); transform: rotate(45deg); }
.faq-question:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; border-radius: 4px; }
.faq-answer { color: var(--ink-soft); line-height: 1.65; padding-top: 14px; }
@media (prefers-reduced-motion: reduce) { .faq-toggle { transition: none; } }
/* Growth's FAQ (slice 9.123.432.90, PM round 11): the mock's single centred
   column (mock:1721-1730, 8748-8754) — an 820px column, the heading centred
   above it (eyebrow without its rule), a hairline above the list and under
   each row, the question at 1.05rem / 700, a 20px primary chevron that turns
   when the row is open. Starter keeps the two-column grid above. */
.faq-single { max-width: 820px; margin-inline: auto; }
.faq-single-head { text-align: center; margin-bottom: 26px; }
.faq-single-head .eyebrow { justify-content: center; }
.faq-single-head .eyebrow::before { display: none; }
.faq-single-head .faq-intro { max-width: 600px; margin-inline: auto; }
.faq-single .faq-list { border-top: 1px solid var(--line); }
.faq-single .faq-item { padding: 0; }
.faq-single .faq-question { padding: 20px 4px; font-size: 1.05rem; font-weight: 700; transition: color 0.15s ease; }
.faq-single .faq-question:hover { color: var(--brand-primary); }
.faq-chev { display: inline-flex; flex-shrink: 0; color: var(--brand-primary); transition: transform 0.25s ease; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-single .faq-answer { font-size: 0.95rem; padding: 0 4px 22px; }
@media (prefers-reduced-motion: reduce) { .faq-chev { transition: none; } }

/* ============================================================
 * Careers (mock 842–849) — photo left, perks check-list + jobs right.
 * ============================================================ */
.careers { position: relative; overflow: hidden; }
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .careers-grid { grid-template-columns: 1fr; } }
.careers-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; position: relative; }
/* The combined Careers block's photo stands taller beside the copy — 4:5 like
 * About's — above 900px; 4:3 on phones and in the standalone careers_jobs
 * layout (9.123.265.156, PM round 4). Not stretched: the copy column grows
 * when a position opens and a stretched image would jump. */
/* 9.123.265.160 (PM round 5): above 900 px the photo takes the right column so the section alternates with the image-left About block below; the DOM stays photo-first, so phones keep it on top. */
@media (min-width: 901px) { .careers-layout-photo .careers-img { aspect-ratio: 4 / 5; order: 2; } }
.careers-img img, .careers-img picture { width: 100%; height: 100%; }
.careers-img img { object-fit: cover; }
.careers-img .img-placeholder { position: absolute; inset: 0; height: 100%; }
.careers-heading { margin-top: 18px; }
.careers-intro { color: var(--ink-soft); margin-top: 18px; font-size: 1.05rem; line-height: 1.6; }
.careers-perks { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 10px; }
.careers-perks li { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); }
.careers-perks li svg { color: var(--brand-accent-dark); flex-shrink: 0; }
.job-list { display: flex; flex-direction: column; gap: 16px; }
.job { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.job-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.job-head h3 { font-size: 1.15rem; }
.job-meta { display: flex; gap: 8px; font-size: 0.8rem; color: var(--ink-muted); }
.job-meta span { padding: 2px 10px; background: var(--paper-warm); border-radius: 999px; }
/* 9.123.265.141 (mock :998): on phones the pills drop under the title; the
   chevron stays on the title's row. */
@media (max-width: 540px) {
  .job-accordion .job-head { flex-wrap: wrap; }
  .job-accordion .job-meta { flex-basis: 100%; order: 3; }
}
.job p { color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 14px; }
.job-apply { padding: 12px 20px; font-size: 0.88rem; }
.careers-apply { margin-top: 0; }
.careers-apply + .job-list { margin-top: 24px; }
/* No-openings card (mock 1805) — dashed quiet card, not a bare paragraph. */
.careers-empty { padding: 26px; border: 1px dashed var(--line); border-radius: var(--radius-base); background: rgba(0, 0, 0, 0.02); color: var(--ink-soft); line-height: 1.6; }

/* ============================================================
 * About (mock 851–862) — portrait with overlay tag and the story; the
 * credentials, chips and button went with 9.123.431.90.
 * ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-grid .about-img { order: 2; } } /* one column reads text, then the picture (task-472, Adam 2026-10-30) */
.about-grid-noimage { grid-template-columns: 1fr; }
.about-img { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.about-img img, .about-img picture { width: 100%; height: 100%; }
.about-img img { object-fit: cover; }
.about-img-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 26, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
}
.about-heading { margin-top: 18px; }
.about-body { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; margin-top: 20px; white-space: pre-line; }

/* ============================================================
 * Blog — blog_body (post page) + blog_index (collection root cards).
 * ============================================================ */
/* A post's opening (task-67; the mock's .article, mock:1870-1873): breadcrumb,
   date and title in the 760px article column on the page background, no dark
   page header. It sits under the nav at the section ladder's top padding and
   the body's picture follows 28px under the title (mock .article-hero margin). */
.post-header { padding: 110px 0 0; }
@media (max-width: 980px)  { .post-header { padding-top: 80px; } }
@media (max-width: 720px)  { .post-header { padding-top: 64px; } }
@media (min-width: 1600px) { .post-header { padding-top: 130px; } }
.post-header-inner { max-width: 760px; margin-inline: auto; }
.post-header .breadcrumb { margin-bottom: 18px; }
.post-meta { margin: 0 0 16px; font-size: 0.82rem; color: var(--ink-muted); }
.post-header h1 { margin: 0; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.post-header + .section-blog-body { padding-top: 28px; }
.section-blog-body { padding-block: var(--space-7); }
.blog-body { max-width: 760px; margin-inline: auto; }
.blog-body > * + * { margin-top: var(--space-4); }
.blog-body h2, .blog-body h3 { margin-top: var(--space-6); }
.blog-body p { font-size: 1.05rem; line-height: 1.7; }
.blog-body ul, .blog-body ol { padding-left: var(--space-6); }
/* The post's picture under its title (PM round 8, 9.123.397.90; mock .article-hero, mock:1905-1906). */
.blog-post-img {
  max-width: 760px;
  margin: 0 auto 28px;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-base);
  overflow: hidden;
}
.blog-post-img picture,
.blog-post-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The share row at the end of a post (task-68): a top rule at the body's width,
   then pill buttons — Copy link with its label, and the four networks as icons. */
.post-share {
  max-width: 760px;
  margin: var(--space-7) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.post-share-label { font-weight: 600; color: var(--ink); margin-right: 6px; }
.post-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn, var(--radius-base));
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.post-share-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.post-share-btn:hover, .post-share-btn:focus-visible { border-color: var(--brand-primary); color: var(--brand-primary); }
.post-share-btn[data-copied] { border-color: var(--brand-accent); color: var(--brand-accent); }
/* A post's sub-sections (9.123.442.90): heading, optional picture, body under the main body. */
.blog-body__sub { margin-top: var(--space-8); }
.blog-body__sub > h2 { margin-top: 0; }
.blog-body__sub-img { margin: var(--space-4) 0; }
.blog-body li { list-style: revert; margin-bottom: var(--space-2); }
.blog-body blockquote {
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-5);
  font-style: italic;
  color: var(--text-muted);
}
.blog-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-body code {
  background: var(--surface-grey);
  padding: 0.1em 0.35em;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
}
.blog-body pre {
  background: var(--surface-ink);
  color: var(--text-inverse);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  overflow-x: auto;
}
.blog-body pre code { background: transparent; padding: 0; color: inherit; }
.blog-body img { border-radius: var(--radius-md); margin-block: var(--space-4); }
.blog-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: var(--space-6);
}

.blog-grid {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-7);
  grid-template-columns: 1fr;
}
@media (min-width: 700px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.bg-grey .blog-card, .bg-secondary .blog-card, .bg-company .blog-card {
  background: var(--surface-white);
  color: var(--text-body);
}
.blog-card-link {
  display: block;
  padding: var(--space-5);
  color: inherit;
  text-decoration: none;
}
/* Post image across the top of the card (PM round 8, 9.123.397.90; mock .post-img, mock:1898-1900).
   Pulled out to the card's edges over the link's padding. */
.blog-card-img {
  margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-4);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.blog-card-img picture,
.blog-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-card-img img { transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .blog-card-img img { transition: none; }
  .blog-card:hover .blog-card-img img { transform: none; }
}
.blog-card-title { margin-bottom: var(--space-2); }
.blog-card-date {
  display: block;
  margin-bottom: var(--space-3);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.blog-card-excerpt {
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-cta {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}
.blog-empty {
  margin-top: var(--space-6);
  padding: var(--space-6);
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}

/* ============================================================
 * Footer (mock 1096–1115) — dark band, brand + link columns,
 * bottom row with copyright / SEO line / Branded Bull credit.
 * ============================================================ */
.section-footer {
  /* Pure black on both tiers, no blend with the brand colour (task-1091;
   * Rob, 2026-11-23: "keep footer bar black, like pure black"). From v1.89.0
   * it was tinted 22 % from the site's Primary, which read as a washed-out
   * brown on a yellow one. */
  background: #000;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  /* Brand + the four derived columns (9.133.265.90): Navigate · Services ·
   * Service Areas · Contact, the PM's set on both tiers. A flex row on
   * desktop since task-472 (Adam 2026-10-30): Navigate and Service Areas
   * (.footer-col-tight) take only the width their short names need, so
   * Services and Contact share the rest and the hours stop wrapping. A
   * column with nothing in it is not rendered, so the row just closes up. */
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
/* Even spacing (task-1014, Rob 2026-11-18: "footers columns are evenly spaced
   for all content and uniform"): every column is as wide as its own content
   and the free width is shared out as equal gaps between them. Before, two
   columns grew to share the free width, so the gap after a short list looked
   three times the gap after a tight one. */
.footer-grid { justify-content: space-between; }
.footer-grid > div { flex: 0 1 auto; min-width: 0; }
/* Column count is still content-driven — a derived column with nothing in it
 * is not rendered — so the 5-col track collapses gracefully when fewer render. */
.footer-grid > :nth-child(n+6) { grid-column: auto; }
/* The 320px cap belongs to the desktop column, so it is declared BEFORE the
   ≤980px rule and the full-row brand really spans the row there (task-454,
   Adam 2026-10-29 — declared after it, the cap won at every width). */
.footer-brand { max-width: 320px; }
@media (max-width: 980px) {
  /* Tablets: the brand takes a full row, the four columns share the next one
   * on the same tight / wide terms (task-472: four equal 164px columns
   * wrapped the hours at 820px). */
  .footer-grid { flex-wrap: wrap; gap: 36px; }
  .footer-grid > .footer-brand { flex: 1 0 100%; max-width: 100%; }
}
@media (max-width: 600px) { .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .nav-logo { color: var(--white); margin-right: 0; }
.footer-brand p { margin-top: 14px; color: rgba(255, 255, 255, 0.55); line-height: 1.6; font-size: 0.9rem; }
.footer-logo { display: block; max-height: 44px; width: auto; }
/* All white on the dark footer (task-443): any logo reads, whatever its colours. */
.footer-logo-white { filter: brightness(0) invert(1); }
.section-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.section-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.section-footer a { color: rgba(255, 255, 255, 0.65); transition: color 0.15s ease; }
.section-footer a:hover { color: var(--brand-accent); }
/* Footer dealer chips (9.101.237.81, mock .foot-unilock 1878–1883). */
.footer-dealers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-dealer {
  display: inline-flex; align-items: center; padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px;
  color: rgba(255, 255, 255, 0.85); font-size: 0.78rem; font-weight: 600; text-decoration: none;
}
a.footer-dealer:hover { border-color: var(--brand-accent); color: var(--white); }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-base);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-social-icon:hover { background: var(--brand-accent); color: var(--btn-accent-text); }
.footer-social-icon svg { width: 16px; height: 16px; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center; /* one centre line for ©, legal, service areas and the mark (9.123.339.90) */
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom .seo-line { color: rgba(255, 255, 255, 0.4); font-size: 0.78rem; }
/* PM round 4 (9.123.339.90): the mark no longer eats the free space — with
 * space-between the © sits left, the mark right, and the legal links and the
 * service-area line spread evenly between them. Below 980px the four parts
 * stack left-aligned in source order (©, legal, service areas, mark) instead
 * of wrapping into a scattered second row. */
.footer-bottom .footer-credit { margin-left: 0; }
.footer-legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 980px) {
  /* Centred since task-428 (Adam, 2026-10-28). */
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .footer-bottom .footer-credit { align-self: center; }
  .footer-copyline, .footer-legal { justify-content: center; }
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto; /* mock:1268 — the credit sits hard right in .footer-bottom */
  text-decoration: none;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s ease;
}
/* The mark inherits this colour via fill="currentColor". */
.bb-logo-svg { height: 24px; width: auto; display: block; }
.footer-credit:hover { color: rgba(255, 255, 255, 0.9); }
.footer-credit strong { font-weight: 700; color: rgba(255, 255, 255, 0.82); }
.footer-credit:hover strong { color: #fff; }
/* Copyright line; the legal links + consent re-open are their own cluster
 * (.footer-legal) since 9.123.339.90 and share this link styling. */
.footer-copyline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-legal-sep { color: rgba(255, 255, 255, 0.3); }
.footer-copyline a, .footer-legal a, .cookie-settings {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-copyline a:hover, .footer-legal a:hover { color: var(--brand-accent); }
.section-footer .hours-line { color: rgba(255, 255, 255, 0.65); }

/* Standalone credit strip — only for footer-less pages (base.html fallback);
 * with a footer section the credit renders inside .footer-bottom. */
.bb-credit-bar { background: color-mix(in srgb, var(--brand-primary) 22%, #0c0e0d); padding: 14px 0; text-align: center; }
.bb-credit-bar .footer-credit { justify-content: center; margin: 0 auto; }

/* ============================================================
 * Floating action buttons (mock 649–659) — bottom-right stack.
 * Back-to-top reveals on scroll via /assets/site.js (.bb-js gate keeps
 * it always-visible if JS is unavailable). The webchat bubble is the
 * widget's own UI.
 * ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 80;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* Slice 9.123.330.90 (PM round 3) made it a button-coloured circle with the
     site's contrast-picked button text; 9.123.351.90 (PM round 5) follows the
     buttons — primary at rest, accent on hover. */
  background: var(--brand-primary);
  color: var(--btn-primary-text);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 26, 20, 0.18);
  border: 0;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
}
.bb-js .back-to-top { opacity: 0; transform: translateY(12px); pointer-events: none; }
.bb-js .back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--brand-accent); color: var(--btn-accent-text); }
.back-to-top:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.back-to-top svg { width: 18px; height: 18px; }
/* Stack above the webchat bubble. Since 9.123.330.90 the class is set by
   /assets/site.js while the widget's #bb-widget host is on the page (chat
   on for the business, inside its hours), never baked at render time. */
.back-to-top--chat { bottom: 92px; }
@media (max-width: 540px) {
  .back-to-top { bottom: 16px; right: 16px; }
  .back-to-top--chat { bottom: 84px; }
}


/* ============================================================
 * Reduced motion + print
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Respect reduced-motion: hide the looping hero video so the static
   * poster/fallback image (rendered underneath in .hero-media) shows
   * instead (P1-2). */
  .hero .hero-video { display: none !important; }
  .why-img .why-video { display: none !important; }
}

@media print {
  .section { padding-block: var(--space-5); break-inside: avoid; }
  .btn { display: none; }
  .section-footer { background: var(--surface-white); color: var(--text-strong); }
  .back-to-top { display: none; }
}


/* ============================================================
 * Lead forms — anti-spam honeypot + Turnstile widget (M5)
 * ============================================================ */
/* Honeypot: present in the DOM (bots fill it) but never shown to humans. */
.bb-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
/* The slot reserves no space of its own: while the Turnstile key ran
   invisibly it held 65px + margins of blank space above every submit button
   (task-432 round 3, Adam 2026-10-29). The key is in Managed mode since
   2026-11-05 (task-575), so Cloudflare's box now shows here; it lays out at
   its own height and the form's gaps space it. */
.cf-turnstile { margin: 0; min-height: 0; }


/* ============================================================
 * Cookie-consent banner (P0-3, mock 992–1009). Rendered by
 * /assets/consent.js only when the visitor hasn't decided yet — no
 * SCRIPT tracker fires until Accept. Floating white card pinned to the
 * bottom (fixed overlay → no CLS). Accent stays the theme's
 * consent_banner_color (default Branded Bull green — slice 6.18.24.6).
 * ============================================================ */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 97;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 16px 18px;
  background: var(--white);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.20);
  animation: cbUp 0.3s ease;
}
@keyframes cbUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie-consent-text { flex: 1 1 320px; margin: 0; font-size: 0.86rem; line-height: 1.55; color: var(--ink-soft); }
.cookie-consent-link {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: underline;
}
.cookie-consent-link:hover { color: var(--brand-primary-dark); }
.cookie-consent-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-consent-btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-primary);
  cursor: pointer;
  transition: filter 0.15s ease;
}
.cookie-consent-btn:hover { filter: brightness(1.06); }
.cookie-consent-accept {
  background: var(--consent-accent, #46de46);
  border-color: var(--consent-accent, #46de46);
  color: var(--consent-accent-text, #13322b);
}
.cookie-consent-decline { background: transparent; color: var(--brand-primary); }
.cookie-consent-btn:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
@media (max-width: 560px) {
  .cookie-consent { flex-direction: column; align-items: stretch; }
  /* task-467 (Adam 2026-10-30, "quite a bit of unnecessary empty space"): in the
     column the 320px row basis above became the text's HEIGHT. */
  .cookie-consent-text { flex-basis: auto; }
  .cookie-consent-actions { width: 100%; }
  .cookie-consent-btn { flex: 1; }
}

/* ============================================================
 * Contact form/calendar tabs (mock 924–935) + the scheduler two-click
 * consent gate (P0-3b) restyled as the mock's centered card. Tabs are
 * JS-driven (site.js); no-JS visitors get both panels stacked.
 * ============================================================ */
.contact-tabs { display: flex; gap: 6px; background: var(--paper-warm); padding: 5px; border-radius: var(--radius-base); margin-bottom: 18px; }
.contact-tab {
  flex: 1;
  padding: 12px 14px;
  border-radius: calc(var(--radius-base) - 1px);
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.contact-tab:hover { color: var(--ink); }
.contact-tab.active { background: var(--white); color: var(--brand-primary-dark); box-shadow: var(--shadow-sm); }
.contact-panel { min-width: 0; }
.contact-panel-hidden { display: none !important; }
html:not(.bb-js) .contact-tabs { display: none; }
.scheduler-consent { text-align: center; padding: 26px 12px 6px; }
.scheduler-consent-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--paper-warm);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
}
.scheduler-consent-icon svg { width: 24px; height: 24px; }
.scheduler-consent-text { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; max-width: 360px; margin: 0 auto 20px; }
.scheduler-consent-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.scheduler-consent-load { width: 100%; justify-content: center; }
.scheduler-consent-link { font-size: 0.82rem; color: var(--ink-muted); }
.scheduler-consent-link:hover { color: var(--brand-primary); text-decoration: underline; }
/* Jobber's form placed by consent.js (task-428): Jobber's own embed look —
   full width up to 760px, no border, white, rounded — and the height the
   form posts. The card's padding goes so the form runs edge to edge. */
.scheduler-consent:has(> .jobber-frame) { padding: 0; }
.scheduler-consent .jobber-frame { display: block; max-width: 760px; margin: 0 auto; background: #fff; border-radius: 8px; }
/* Homeworks' form placed by consent.js (task-835): the vendor's own embed
   look — up to 800px wide, centred, white, no border — at the height the
   form posts. */
.scheduler-consent:has(> .homeworks-frame) { padding: 0; }
.scheduler-consent .homeworks-frame { display: block; max-width: 800px; margin: 0 auto; background: #fff; border-radius: 8px; }
.scheduler-consent-link:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.scheduler-embed iframe { border-radius: var(--radius-base); }


/* Footer "Cookie settings" re-open control (P0-3b). Styled as a quiet inline
 * link button so it reads like the adjacent legal links, but is a real <button>
 * (keyboard-operable, no inline JS) wired by consent.js. */
.cookie-settings-wrap { margin: var(--space-3) 0 0; }
.cookie-settings {
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--text-inverse);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  opacity: 0.85;
  transition: opacity var(--t-fast);
}
.cookie-settings:hover { opacity: 1; }
/* Growth (slice 9.123.265.203, PM round 10: "the same color as the rest of the
   footer text"): the button wears the legal links' look (.footer-legal a, above)
   — their size, 60 % white, underline and accent hover. */
.cookie-settings.cookie-settings-legal { font-size: inherit; color: rgba(255, 255, 255, 0.6); opacity: 1; }
.cookie-settings.cookie-settings-legal:hover { color: var(--brand-accent); }
/* Starter's button sits in the same legal cluster and read brighter than
   Privacy Policy / Terms beside it (task-495, Adam 2026-11-02: "make them all
   the same color") — inside .footer-legal the button takes that look on both
   templates. The quiet standalone style above remains for a button elsewhere. */
.footer-legal .cookie-settings { font-size: inherit; color: rgba(255, 255, 255, 0.6); opacity: 1; transition: color 0.15s ease; }
.footer-legal .cookie-settings:hover { color: var(--brand-accent); }
.cookie-settings:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Synthesized utility pages — /thank-you/ and /404.html (slice 9.72.169.61).
   Both render through the normal page chrome, so this only styles the message
   block itself. min-height keeps a short page from leaving the credit strip
   floating halfway up a tall viewport. */
.bb-util { padding: 96px 0 112px; }
.bb-util-inner {
  min-height: 38vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.bb-util-code {
  font-family: var(--font-display, inherit);
  font-size: clamp(3.5rem, 12vw, 6rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-accent);
  margin: 0 0 8px;
}
.bb-util-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-accent);
}
.bb-util-title { margin: 0 0 12px; }
.bb-util-body {
  max-width: 46ch;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.bb-util-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 560px) {
  .bb-util { padding: 64px 0 76px; }
  .bb-util-actions { width: 100%; flex-direction: column; }
  .bb-util-actions .btn { width: 100%; }
}

/* Conditional follow-up fields (slice 9.72.171.61). The `hidden` attribute
   alone is NOT enough here: the UA's `[hidden] { display: none }` is a
   low-specificity rule, and `.field { display: flex }` above overrides it — so
   without this rule every reveal would render permanently visible. */
.bb-reveal[hidden] { display: none; }
.bb-reveal { animation: bb-reveal-in 140ms ease-out; }
@keyframes bb-reveal-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-reveal { animation: none; }
}

/* --- Slim sub-page header (slice 9.73.171.61, mock v1.64) --------------------
   Every multi_page page except home. Breadcrumb + title; the intro and CTAs
   sit below in the page-lead band. Since 9.123.398.90 (PM round 8) it is the
   mock's solid page hero (mock:1573-1576): the site's dark secondary colour,
   a 380 px glow of the primary in the top-right corner, white title and
   crumbs, no photo at any width. Since 9.123.265.209 (PM round 11: "a darker
   variation of the primary color for each interior page header") the fill
   was the primary mixed 50 % with black; since task-64 (Adam
   2026-10-13: "match the page header background color to the darker color
   used in the top promotional bar … simplify that to two") it is the promo
   bar's own token, --brand-primary-dark (the 65 % mix), so a Growth site
   carries two dark shades: the primary (utility bar) and this one (promo bar,
   page headers, the service quote band, the dark bands). */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 54px 0 50px;
  background: var(--brand-primary-dark);
  color: var(--white);
}
.page-header::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-primary) 28%, transparent), transparent 70%);
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 2; }
/* The mock's page-hero title (mock:1555, .phero h1) since task-65 (Adam
   2026-10-13: the page header text "feels slightly oversized … reduce the
   font size a bit"): 34 → 54 px at a 760 px measure, one step under Growth's
   Home hero title (clamp(2.3rem, 4.6vw, 3.8rem)), where it used to inherit
   the global h1's 40 → 76 px. */
.page-header h1 { margin: 0; color: var(--white); font-size: clamp(2.1rem, 4.2vw, 3.4rem); max-width: 760px; }
/* A city page's buttons sit in the header under the title (slice
   9.123.265.219, PM round 12; mock:10368 — margin-top 26px). */
.page-header-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 2; }
.page-header-actions .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.page-header .hero-tags { margin-bottom: 10px; }

.breadcrumb { margin: 0 0 10px; font-size: 0.82rem; }
/* Inline flow since task-467 (Adam 2026-10-30): the crumbs were flex items, so
   a long post title dropped whole onto its own line; now the title continues
   the "Home › Blog ›" line and wraps mid-text only when it has to. */
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  line-height: 1.6;
}
.breadcrumb li { display: inline; color: var(--ink-muted); }
.breadcrumb li + li::before { content: "›"; color: var(--ink-muted); margin: 0 6px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-primary); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }
.page-header .breadcrumb li,
.page-header .breadcrumb li + li::before { color: rgba(255, 255, 255, 0.72); }
.page-header .breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.page-header .breadcrumb a:hover { color: var(--white); }
.page-header .breadcrumb [aria-current="page"] { color: var(--white); }

/* The lead sits as far under the header as a section's content would — the
   .section ladder above (110 / 80 ≤980 / 64 ≤720 / 130 ≥1600), so every Growth
   sub-page opens with the same space under its header, lead or no lead
   (slice 9.123.265.217, PM round 12: "Each page should share the same amount
   of space below the page header"; the mock's page lead sits in a plain
   <section>, mock:731). Keep these four values equal to .section's. */
.page-lead-band { padding: 110px 0 0; }
@media (max-width: 980px)  { .page-lead-band { padding-top: 80px; } }
@media (max-width: 720px)  { .page-lead-band { padding-top: 64px; } }
@media (min-width: 1600px) { .page-lead-band { padding-top: 130px; } }
.page-lead-inner { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.page-lead {
  margin: 0;
  max-width: 68ch;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
/* The list a page's lead introduces (slice 9.123.433.90, PM round 11): on the
   Gallery page, the Blog root and the FAQ page the section under the lead has
   no head of its own, so it sits 32px under the lead — the mock's single
   section of lead then list (mock:1578, 8705-8709, 8788-8810). Without a lead
   band above it keeps the section's own padding. On the FAQ page the lead
   narrows to the questions' 820px column. */
.page-lead-band + .section.follows-lead { padding-top: 32px; }
@media (max-width: 720px) { .page-lead-band + .section.follows-lead { padding-top: 24px; } }
.section-gallery-full.follows-lead .gallery-full-grid,
.section-gallery-full.follows-lead .gal-filter,
.section-blog-index.follows-lead .blog-grid { margin-top: 0; }
.page-faq .page-lead { align-self: center; width: 100%; max-width: 820px; }

/* --- Contact PAGE composition (slice 9.73.171.61, mock v1.64/60.2) ----------
   Heading, then the form full width, then the contact methods as a row. Only
   on multi_page sub-pages; home and single_page keep the two-column pair. */
.section-contact.contact-stacked .contact-head { margin-bottom: 28px; position: relative; z-index: 2; }
.section-contact.contact-stacked .contact-head h2 { margin: 6px 0 8px; }
.section-contact.contact-stacked .form-card { position: relative; z-index: 2; }
.section-contact.contact-stacked .contact-methods { margin-top: 36px; position: relative; z-index: 2; }
.section-contact.contact-stacked .contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px 16px; /* 32px column gap until task-472: three 220px cells on a tablet wrapped the hours (Adam 2026-10-30) */
}
/* The day label needs 4.5em here, not the dark panel's 5.5em: at 820px a cell
   is 244px and "Mon–Sat 7:00 AM–7:00 PM" was one pixel over (task-472). */
.section-contact.contact-stacked .contact-hours dt { min-width: 4.5em; }
@media (max-width: 720px) {
  .section-contact.contact-stacked .contact-info { grid-template-columns: 1fr; gap: 18px; }
}
/* Since 9.123.430.90 (PM round 11: "the light gray/cream background instead
   of carrying the primary blue throughout the section") the stacked contact is
   the mock's light band (mock:1461, 1940, 1944): paper, or paper-warm when the
   band above is paper (the renderer picks bg-white / bg-grey), dark text, the
   icons in primary on a warm tile, a bordered white form card, no glow. Home
   and Starter keep the dark side-by-side band. */
.section-contact.contact-stacked { background: var(--paper); color: var(--ink-soft); }
.section-contact.contact-stacked.bg-grey { background: var(--paper-warm); }
.section-contact.contact-stacked::before { display: none; }
.section-contact.contact-stacked h2 { color: var(--ink); }
.section-contact.contact-stacked .contact-lead { color: var(--ink-soft); }
.section-contact.contact-stacked .contact-row { color: var(--ink-soft); }
.section-contact.contact-stacked .contact-row .contact-row-value,
.section-contact.contact-stacked .contact-hours dt { color: var(--ink); }
.section-contact.contact-stacked .contact-row-icon { background: var(--paper-warm); color: var(--brand-primary); }
.section-contact.contact-stacked.bg-grey .contact-row-icon { background: var(--white); }
.section-contact.contact-stacked .form-card { border: 1px solid var(--line); box-shadow: var(--shadow-md); }
/* The mock's 640px contact column (slice 9.123.434.90, PM round 12: "reduce the
   overall width of the contact form, move Send us a message into the form
   itself, and center align the text"; mock:1581-1582, 1041). The methods row
   under it keeps the container width. */
.section-contact.contact-stacked .contact-single { max-width: 640px; margin-inline: auto; }
.section-contact.contact-stacked .contact-single .contact-lead { margin: 0; text-align: center; }
.section-contact.contact-stacked .form-card-title { font-size: 1.5rem; margin: 0 0 16px; color: var(--ink); }
.section-contact.contact-stacked .form-card-head p { margin-top: -10px; }

/* --- Service-page depth (slice 9.74.171.61, mock v1.54 / v1.35.1) ----------- */
.overview-subhead { margin: 28px 0 8px; font-size: 1.15rem; }
.section-service-overview .lead + .overview-subhead { margin-top: 24px; }
/* The eyebrow sits in the head row's text column since task-69, so the heading
   follows it at the .section-head distance (18px) instead of floating apart;
   the lead under the heading keeps its own top margin. */
.section-service-overview .eyebrow + h2 { margin-top: 18px; }
.section-service-overview h2 + .lead { margin-top: 16px; }

/* One gap scale for the head row and the detail rows (task-69): 48px between
   rows and between the columns of a row, 36px on phones. Since task-167 each
   row is its own band (.svc-detail-band > .container > .svc-detail-row): a
   band with no colour is transparent and adds nothing, and a coloured one
   (.svc-band-colored, picked for a row without a picture) runs edge to edge
   with its own vertical padding and inverted text on the two dark colours. */
.svc-details { margin-top: 48px; display: flex; flex-direction: column; gap: 48px; }
.svc-band-colored { padding-block: 56px; }
.svc-band-colored.bg-secondary .svc-detail-text p { color: rgba(255, 255, 255, 0.82); }
.svc-band-colored.bg-secondary .overview-bullets li::before { color: var(--white); }
.svc-band-colored.bg-company .svc-detail-text p { color: var(--on-primary-soft); }
.svc-band-colored.bg-company .overview-bullets li::before { color: var(--on-primary); }
/* A Main row (task-167) carries the head block's heading size. */
.svc-row-main .svc-detail-text h2 { margin: 0 0 12px; }
.svc-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
/* Text-only rows shouldn't leave half the grid empty. */
.svc-detail-row:not(:has(.svc-detail-media)) { grid-template-columns: 1fr; }
.svc-detail-reverse .svc-detail-text { order: 2; }
.svc-detail-reverse .svc-detail-media { order: 1; }
.svc-detail-text h3 { margin: 0 0 10px; }
.svc-detail-text p { margin: 0 0 12px; color: var(--ink-soft); line-height: 1.7; }
.svc-detail-text p:last-child { margin-bottom: 0; }
.svc-detail-media img,
.svc-detail-media picture,
.svc-detail-media .svc-detail-img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
@media (max-width: 900px) {
  .svc-details { margin-top: 36px; gap: 36px; }
  .svc-band-colored { padding-block: 40px; }
  .svc-detail-row { grid-template-columns: 1fr; gap: 24px; }
  /* On one column the visual order is always text-then-image. */
  .svc-detail-reverse .svc-detail-text,
  .svc-detail-reverse .svc-detail-media { order: 0; }
}

/* --- Related Services cross-links (slice 9.74.172.61, auto-generated) ------ */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.related-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--white, #fff);
  border: 1px solid rgba(15, 26, 20, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(15, 26, 20, 0.1); }
.related-card:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
/* On a white block the card's faint edge disappears into --paper (9.123.265.123). */
.section-related-services.bg-white .related-card { border-color: var(--line); }
.related-card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.related-card-media img,
.related-card-media picture,
.related-card-media .related-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-card-text { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.related-card-text h3 { margin: 0; font-size: 1.05rem; }
.related-card-text p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary);
}
@media (prefers-reduced-motion: reduce) {
  .related-card { transition: none; }
  .related-card:hover { transform: none; }
}

/* --- Gallery layouts (slice 9.76.173.61, mock v1.56–58.1) ------------------ */

/* Masonry: CSS columns, so the category filter keeps working unchanged — a
   filtered tile is display:none and the columns simply reflow. The cycling
   aspect ratios are what give it the staggered look; without them CSS columns
   would just be a grid with ragged bottoms. */
.section-gallery-full .gallery-full-grid.gallery-masonry {
  display: block;
  column-count: 2;
  column-gap: 16px;
}
@media (min-width: 700px) {
  .section-gallery-full .gallery-full-grid.gallery-masonry { column-count: 3; }
}
@media (min-width: 1100px) {
  .section-gallery-full .gallery-full-grid.gallery-masonry { column-count: 4; }
}
.gallery-masonry > .gallery-item {
  break-inside: avoid;
  margin: 0 0 16px;
  aspect-ratio: auto;
}
.gallery-masonry > .gallery-item img { width: 100%; height: auto; display: block; }
.gallery-masonry > .gallery-item:nth-child(3n + 1) img { aspect-ratio: 3 / 4; object-fit: cover; }
.gallery-masonry > .gallery-item:nth-child(3n + 2) img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-masonry > .gallery-item:nth-child(3n) img { aspect-ratio: 1 / 1; object-fit: cover; }

/* Carousel: a scroll-snap strip. It works with no JavaScript at all — the
   arrows are an enhancement layered on top and stay hidden until site.js
   reveals them. */
/* Services carousel (slice 9.118.254.83, mock v1.86.0). Same scroll-snap
   pattern as the gallery below, plus the edge fades the mock has and the
   gallery does not. Arrows and fades are [hidden] until site.js reveals them,
   so no-JS gets a plain swipeable strip. */
.svc-carousel { position: relative; }
.svc-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.svc-carousel-track::-webkit-scrollbar { display: none; }
.svc-carousel-track .service-card {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
}
.svc-car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  /* 9.123.351.90 (PM round 5): the arrows follow the buttons — primary at
     rest, accent on hover, contrast-picked icon colour. */
  color: var(--btn-primary-text);
  background: var(--brand-primary);
  box-shadow: 0 2px 10px rgba(15, 26, 20, 0.18);
}
.svc-car-arrow svg { width: 20px; height: 20px; }
.svc-car-arrow:hover { background: var(--brand-accent); color: var(--btn-accent-text); }
.svc-car-arrow:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.svc-car-arrow[hidden] { display: none; }
.svc-car-arrow.prev { left: -8px; }
.svc-car-arrow.next { right: -8px; }
.svc-car-fade {
  position: absolute;
  top: 0;
  bottom: 4px;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}
.svc-car-fade[hidden] { display: none; }
.svc-car-fade.left { left: 0; background: linear-gradient(to right, var(--paper), transparent); }
.svc-car-fade.right { right: 0; background: linear-gradient(to left, var(--paper), transparent); }
/* The fade has to match whatever the section sits on, or it reads as a smear. */
.bg-white .svc-car-fade.left { background: linear-gradient(to right, var(--white), transparent); }
.bg-white .svc-car-fade.right { background: linear-gradient(to left, var(--white), transparent); }
.bg-grey .svc-car-fade.left { background: linear-gradient(to right, var(--paper-warm), transparent); }
.bg-grey .svc-car-fade.right { background: linear-gradient(to left, var(--paper-warm), transparent); }
@media (max-width: 900px) {
  .svc-carousel-track .service-card { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 600px) {
  .svc-carousel-track .service-card { flex-basis: 82%; }
  .svc-car-fade { width: 32px; }
}
/* Phones (task-432, Adam 2026-10-28) and tablets (task-454, Adam 2026-10-29):
   the cards in view are whole cards — one per screen on phones, two from
   900px down — so no edge fade over them, and the arrows sit as a centred
   pair under the strip instead of over the card edges. While the strip
   overflows both stay in place — the one with nowhere to go dimmed — so the
   pair never jumps sideways. */
@media (max-width: 900px) {
  .svc-car-fade { display: none; }
  .svc-carousel:has(> .svc-car-arrow:not([hidden])) { padding-bottom: 56px; }
  .svc-car-arrow { top: auto; bottom: 0; transform: none; }
  .svc-car-arrow.prev { left: calc(50% - 46px); }
  .svc-car-arrow.next { right: calc(50% - 46px); }
  .svc-carousel:has(> .svc-car-arrow:not([hidden])) > .svc-car-arrow[hidden] { display: inline-flex; opacity: 0.35; pointer-events: none; }
}

.gal-carousel { position: relative; }
.gal-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.gal-carousel-track::-webkit-scrollbar { display: none; }
.gal-carousel-item {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gal-carousel-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-carousel-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--paper-warm);
  border: 1px dashed rgba(15, 26, 20, 0.18);
}
.gal-carousel-more:hover { background: var(--paper); }
.gal-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  /* Same pair as .svc-car-arrow (9.123.351.90). */
  color: var(--btn-primary-text);
  background: var(--brand-primary);
  box-shadow: 0 2px 10px rgba(15, 26, 20, 0.18);
}
.gal-carousel-arrow:hover { background: var(--brand-accent); color: var(--btn-accent-text); }
.gal-carousel-arrow:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.gal-carousel-arrow[hidden] { display: none; }
.gal-carousel-prev { left: -8px; }
.gal-carousel-next { right: -8px; }
@media (max-width: 900px) {
  .gal-carousel-item { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 600px) {
  .gal-carousel-item { flex-basis: 80%; }
  .gal-carousel-arrow { display: none; }
}

/* --- Lightbox upgrade (slice 9.76.174.61, mock v1.70) ---------------------- */
/* The viewer is built once and reused, so it needs an explicit hidden state —
   .bb-lightbox sets display:flex, which beats the UA [hidden] rule. */
.bb-lightbox[hidden] { display: none; }
.bb-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  transition: background 120ms ease;
}
.bb-lightbox-nav:hover { background: rgba(255, 255, 255, 0.26); }
.bb-lightbox-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bb-lightbox-nav[hidden] { display: none; }
.bb-lightbox-prev { left: 16px; }
.bb-lightbox-next { right: 16px; }
.bb-lightbox-count {
  margin-top: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}
.bb-lightbox-count[hidden],
.bb-lightbox-caption[hidden] { display: none; }
@media (max-width: 560px) {
  .bb-lightbox-nav { width: 40px; height: 40px; font-size: 1.6rem; }
  .bb-lightbox-prev { left: 6px; }
  .bb-lightbox-next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-lightbox-nav { transition: none; }
}

/* --- Blog Load More (slice 9.76.175.61; its capped nav dropdown left with
   task-63 — Blog is a plain header link) ---------------------------------- */
/* JS-gated like the gallery's reveal: without JS every card stays visible,
   which is strictly better than the old behavior where older posts were
   unreachable from the index entirely. */
.bb-js .blog-card-hidden { display: none; }
.blog-more { margin-top: 28px; display: flex; justify-content: center; }

/* --- Embed-aware quote band (slice 9.76.176.61) ---------------------------- */
.svc-quote-cta .svc-quote-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  justify-content: center;
}
@media (max-width: 820px) {
  .svc-quote-cta .svc-quote-action { align-items: stretch; }
  .svc-quote-cta .svc-quote-action .btn { justify-content: center; }
}

/* --- "We also serve" city cross-links (slice 9.76.177.61, mock v1.55) ------ */
/* Deliberately title-only centered chips rather than the services cards: a city
   page's value is the internal link, and per-city body copy would be filler. */
.related-grid-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.related-grid-centered .related-card {
  flex: 0 1 auto;
  min-width: 160px;
  align-items: center;
  text-align: center;
}
.related-grid-centered .related-card-text { padding: 14px 20px; align-items: center; gap: 4px; }
.related-grid-centered .related-card-text h3 { font-size: 0.98rem; }

/* --- About page composition (slice 9.76.179.61, mock v1.38/68/69.1) -------- */
/* Z-pattern: the reverse variant flips the image to the other side so two
   About-style blocks on one page don't stack identically. */
.about-grid-reverse .about-img { order: 2; }
@media (max-width: 900px) {
  /* One column always reads text-then-image, whichever side it was on (task-472). */
  .about-grid-reverse .about-img { order: 2; }
}

/* --- Service Areas band (slice 9.155.265.90, PM round 11) -----------------
   Growth Home and About, after Reviews: the mock's About band (mock:1483,
   1809-1811, 8739-8747) — a centred head, the live city pages as pill chips
   that fill with the primary on hover, and a dark "View all service areas".
   The band's paper / paper-warm comes from the computed rhythm; on paper-warm
   the chips turn white so they still read as chips. */
.areas-band-head { text-align: center; max-width: 700px; margin: 0 auto 26px; }
.areas-band-head .eyebrow { justify-content: center; }
.areas-band-head .eyebrow::before { display: none; }
.areas-band-head h2 { margin-top: 16px; }
.areas-band-intro { color: var(--ink-soft); max-width: 600px; margin: 14px auto 0; line-height: 1.7; }
.areas-band-chips { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.areas-band-chip { display: inline-flex; align-items: center; padding: 10px 18px; background: var(--paper-warm); border: 1px solid var(--line); border-radius: 100px; color: var(--ink-soft); font-weight: 600; font-size: 0.92rem; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.bg-grey .areas-band-chip { background: var(--white); }
.areas-band-chip:hover { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--btn-primary-text); transform: translateY(-1px); }
.areas-band-chip:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.areas-band-cta { text-align: center; margin-top: 28px; }
.btn-dark { background: var(--brand-secondary); color: var(--white); }
.btn-dark:hover { background: var(--brand-primary); color: var(--btn-primary-text); }
@media (prefers-reduced-motion: reduce) { .areas-band-chip { transition: none; } .areas-band-chip:hover { transform: none; } }

/* Hero Google-rating line (slice 9.101.235.81) — the trust-strip pill's
   dark-on-hero variant: translucent chip under the CTAs. */
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px; /* the mock's spacing (mock:1600), PM round 8 — 9.123.265.179, both tiers on Rob's word */
  padding: 8px 14px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.9rem;
  text-decoration: none;
  backdrop-filter: blur(4px);
}
.hero-rating:hover { background: rgba(255, 255, 255, 0.2); }
.hero-rating-g {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: conic-gradient(from -45deg, #4285f4 0deg 90deg, #34a853 90deg 180deg, #fbbc04 180deg 270deg, #ea4335 270deg 360deg);
  flex-shrink: 0;
}
.hero-rating-stars { display: inline-flex; gap: 1px; align-items: center; }
.hero-rating-stars svg { width: 14px; height: 14px; }
.hero-rating-stars svg polygon { fill: #fbbc04 !important; }
.hero-rating-text strong { font-weight: 700; }

/* --- Cosmetic parity sweep (slice 9.76.182.61) ----------------------------- */
/* The text-only CTA band's centring rules (9.76.182.61, 9.76.189.61) folded
   into the one band above with 9.123.428.90 — every band is centred now. */

/* Careers apply button: more room on small screens, where it sat tight against
   the job body above it. */
@media (max-width: 560px) {
  .job-apply { margin-top: 14px; width: 100%; justify-content: center; }
}

/* --- Starter review round, 2026-11-18 (task-1014) --------------------------- */

/* The CTA buttons land on the form card (pageContactURL): clear the sticky bar. */
#contact-form { scroll-margin-top: 100px; }

/* Starter FAQ heading: two lines, the highlighted half on its own line
   ("FAQ title make it two lines force"). The size steps down so each half of
   the default heading fits the left column at every width. */
.faq-grid .faq-heading { font-size: clamp(1.7rem, 2.75vw, 2.4rem); }
.faq-grid .faq-heading em { display: block; }

/* Hero buttons on a phone: one line when both fit, and when they do not each
   takes the full width, so the two are the same width either way. */
@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
}

/* Starter's About block: the picture first on a phone, like Why Us and Careers. */
@media (max-width: 900px) {
  #about.section-text-image .text-image-media { order: -1; }
}

/* Contact on a phone: the form first, the phone / email / hours rows under it.
   The intro's children become the column's own items so the form card can sit
   between the lead line and the rows. */
@media (max-width: 900px) {
  .contact-grid { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .contact-grid > .contact-intro { display: contents; }
  .contact-grid > .form-card { order: 1; align-self: stretch; margin-top: 28px; }
  .contact-grid .contact-lead + .contact-info, .contact-grid .contact-info { order: 2; align-self: stretch; margin-top: 36px; }
  .contact-grid .contact-lead { margin-bottom: 0; }
}

/* Starter careers without a photo: the pitch left, the open positions right,
   the list-level Apply Now centred under both. */
.careers-split > .careers-open > .careers-col-h { margin-bottom: 14px; }
.careers-split > .careers-pitch > .eyebrow + .careers-heading { margin-top: 18px; }
.careers-split > .careers-apply-cta { text-align: center; }
@media (min-width: 901px) {
  .careers-split { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; align-items: start; }
  .careers-split > .careers-open > .careers-col-h { margin-top: 0; }
  .careers-split > .careers-apply-cta { grid-column: 1 / -1; }
}
/* The list-level Apply Now centres on a phone like the other sections' buttons. */
@media (max-width: 900px) {
  .careers-apply-cta { text-align: center; }
}

/* Why Us reasons at the 250-character limit (task-1014, Rob 2026-11-18: "Up the
   limit to 250, make sure to always keep 3 lines, never 4 or more"): the text
   column takes the wider share on a desktop, so a full-length reason fits in
   three lines from 1200px up. Below that, and stacked on a tablet or a phone,
   the column is narrower and a full-length reason takes more lines: nothing
   is cut. */
@media (min-width: 1200px) {
  .why-grid { grid-template-columns: 0.84fr 1.16fr; }
}

/* Top bar on a phone (task-1019, Adam 2026-11-18: "avoid wrapping to two
   lines"): the short sentence, "Proudly serving A & surrounding areas",
   replaces the list of towns and is held to one line. A name too long for a
   narrow phone ends in "…" instead of wrapping. */
.utility-area-short { display: none; }
@media (max-width: 720px) {
  .utility-area-full { display: none; }
  .utility-area-short { display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .utility-area:has(.utility-area-short) { display: flex; min-width: 0; max-width: 100%; }
}
