/* ==========================================================================
   XLR8 Media: site styles
   White page, brand blue #5599f9 for buttons/links/footer band, logo blue
   #249bf9 for the h1 accent, navy #0f1b2d for photo scrims and dark bands.
   Source Sans 3 everywhere (700/800 headings, 400 body, 600 UI).

   Responsive system, applied desktop-first in this order: 1100 · 1000/999 · 901+ · 900 (the nav
   collapse; nested 389 and max-height 620) · 899 · max-height 800 · 720 · 680 ·
   600 · 520 · 480 · 460 · 420 · 360 · prefers-reduced-motion · hover · print.
   5% gutters (1.25rem under 900), measured --nav-h, 100svh home hero with
   floors, 16px form controls under 900, touch-action: manipulation.

   @font-face, the reset, tokens, header shell and hero shell live in
   app/views/partials/critical.css (inlined; CSP hash computed from the file).
   Nothing here ever starts content at opacity 0.
   ========================================================================== */

:root {
  color-scheme: light;

  --blue: #5599f9;
  --blue-rgb: 85 153 249;
  --blue-logo: #249bf9;
  --blue-deep: #1f6ad4;      /* text and outline blue: 5.2:1 on white, 4.8:1 on #f7f7f7 */
  --blue-pale: #eef4fe;
  --navy: #0f1b2d;
  --navy-rgb: 15 27 45;
  --ink: #111;
  --black: #000;
  --text: #444;
  --strong: #333;
  --muted: #6b6b6b;
  --bg: #fff;
  --bg-alt: #f7f7f7;
  --line: #e6e6e6;
  --line-strong: #d7d7d7;
  --success: #1d8a4a;
  --success-bg: #e8f6ee;
  --error: #c62828;
  --error-bg: #fdecea;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgb(var(--navy-rgb) / 8%);
  --shadow-lg: 0 24px 60px rgb(var(--navy-rgb) / 14%);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --section: clamp(4rem, 3rem + 3vw, 6.5rem);
  --measure: 80ch;
}

/* ---------- Base ---------- */
body { font-size: 1.0625rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { color: var(--blue); }
:where(h1, h2, h3, h4) { color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 2rem + 2vw, 3.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.015em; }
h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
strong { color: var(--strong); font-weight: 700; }
small, .small { font-size: .9rem; color: var(--muted); }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--strong); }
.center { text-align: center; }
ul, ol { padding-left: 1.3rem; }
[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgb(var(--blue-rgb) / 25%); }
.skip-link { background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm); text-decoration: none; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 0; }

.container.narrow { max-width: 1100px; }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #d9e1ee; }
.section-navy :where(h2, h3) { color: #fff; }
.section-navy a:not(.btn) { color: #fff; }
.section-head { max-width: 980px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head h2 { margin-bottom: .6rem; }
.section-lead { font-size: 1.15rem; line-height: 1.6; color: var(--text); max-width: 880px; margin: 0; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.section-head-row > div { max-width: 980px; }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .9rem; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); }
.eyebrow::before { content: ""; width: 1.6rem; height: 3px; border-radius: 2px; background: var(--blue); }
.eyebrow-light { color: #fff; }
.eyebrow-light::before { background: var(--blue-logo); }

/* ---------- Prose ---------- */
.prose { max-width: var(--measure); }
.prose.suburb-index { max-width: none; }
.prose-lead p { font-size: 1.2rem; line-height: 1.6; color: var(--strong); }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2rem); margin: 2.25rem 0 .8rem; }
.prose h2:first-child, .prose .visually-hidden + h2 { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 1.75rem 0 .5rem; }
.prose p, .prose li { line-height: 1.7; }
.prose ul, .prose ol { margin: 0 0 1.25rem; }
.prose li + li { margin-top: .35rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: .95rem; line-height: 1.5; }
.prose th, .prose td { padding: .6rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); background: var(--bg-alt); }
.prose figure { margin: 0 0 1.5rem; }
.prose img { border-radius: var(--radius-sm); }
.prose blockquote { margin: 0 0 1.5rem; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--blue); color: var(--strong); font-size: 1.1rem; }
.prose a:not(.btn, .chip, .text-link) { background-image: linear-gradient(rgb(var(--blue-rgb) / 30%), rgb(var(--blue-rgb) / 30%)); background-repeat: no-repeat; background-size: 100% .35em; background-position: 0 100%; text-decoration: none; color: var(--ink); transition: background-size .25s var(--ease); }
.prose a:not(.btn, .chip, .text-link):hover { background-size: 100% 100%; color: var(--navy); }
.article-body { font-size: 1.1rem; }
.article-meta { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.narrow-left { margin-bottom: 2.5rem; }

/* ---------- Buttons, links, chips ---------- */
.btn { transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; box-shadow: 0 6px 18px rgb(var(--blue-rgb) / 25%); white-space: nowrap; }
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgb(var(--blue-rgb) / 32%); }
.btn-lg { min-height: 54px; padding: .85rem 1.9rem; font-size: 1.05rem; }
.btn-outline { background: transparent; color: var(--blue-deep); box-shadow: none; }
.btn-outline:hover { background: var(--blue-pale); color: var(--blue-deep); box-shadow: none; }
.btn-outline-light { background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 65%); color: #fff; box-shadow: none; backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--navy); box-shadow: none; }
.btn-block { display: flex; width: 100%; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--blue-deep); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 0 2px; background-position: 0 100%; padding-bottom: 2px; transition: background-size .3s var(--ease), gap .2s; }
.text-link:hover { background-size: 100% 2px; gap: .55em; color: var(--blue-deep); }
.text-link .icon { width: 1em; height: 1em; }
.chip-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.prose .chip-list li + li { margin-top: 0; }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--strong); font-weight: 600; font-size: .92rem; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue-deep); background: var(--blue-pale); }
.chip .icon { width: .95em; height: .95em; color: var(--blue); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.check-list li, .check-list-inline span { display: flex; align-items: flex-start; gap: .6rem; line-height: 1.5; color: var(--strong); }
.check-list .icon { flex: none; width: 1.35rem; height: 1.35rem; padding: .25rem; border-radius: 50%; background: var(--blue-pale); color: var(--blue-deep); margin-top: .1em; stroke-width: 3; }
.check-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.5rem; }
.check-list-inline { display: grid; gap: .4rem; margin: .75rem 0 1rem; font-size: .95rem; }

/* ---------- Header and navigation ---------- */
.site-header { box-shadow: 0 1px 0 var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(var(--navy-rgb) / 8%); }
.site-nav a:not(.btn) { position: relative; padding: .35rem 0; }
.site-nav ul a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav ul a:not(.btn):hover::after, .site-nav ul a:not(.btn):focus-visible::after { transform: scaleX(1); }
.site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav ul a[aria-current="page"] { color: var(--blue-deep); }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; }
.header-phone .icon { color: var(--blue); }
.header-tools { display: none; align-items: center; gap: .5rem; }
.nav-toggle { align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline-flex; }
.nav-phone { align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .85rem; border-radius: 999px; background: var(--blue-pale); color: var(--blue-deep); font-weight: 700; font-size: .92rem; text-decoration: none; }
.nav-phone .icon { width: 1.05em; height: 1.05em; }

/* ---------- Home hero (photo crossfade) ---------- */
.hero-slides { position: absolute; inset: 0; z-index: -1; }
.hero-slide { transition: opacity 1.6s var(--ease); }
.hero-slide.is-leaving { z-index: 1; }
.hero-slides::after, .page-hero-media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-slides::after { background: linear-gradient(180deg, rgb(var(--navy-rgb) / 55%) 0%, rgb(var(--navy-rgb) / 50%) 35%, rgb(var(--navy-rgb) / 72%) 55%, rgb(var(--navy-rgb) / 72%) 100%); }
.page-hero-media::after { background: linear-gradient(180deg, rgb(var(--navy-rgb) / 60%) 0%, rgb(var(--navy-rgb) / 55%) 35%, rgb(var(--navy-rgb) / 95%) 100%); }
.page-hero-plain { background: radial-gradient(120% 120% at 100% 0%, #1b2f4d 0%, var(--navy) 55%); }
.hero-inner { position: relative; z-index: 3; width: 100%; padding-block: clamp(2rem, 1.5rem + 3vh, 4rem) calc(clamp(3rem, 2rem + 5vh, 5.5rem) + var(--cta-bar-h)); }
.hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.4rem); margin-bottom: 1rem; text-shadow: 0 2px 6px rgb(var(--navy-rgb) / 55%), 0 8px 32px rgb(var(--navy-rgb) / 60%); }
.h1-accent { display: block; color: var(--blue-logo); }
.hero-lead { font-size: clamp(1.05rem, .9rem + .5vw, 1.35rem); line-height: 1.5; color: #f2f5fa; max-width: 48rem; margin-bottom: 1.6rem; text-shadow: 0 1px 4px rgb(var(--navy-rgb) / 60%), 0 4px 18px rgb(var(--navy-rgb) / 50%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.5rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .95rem; font-weight: 600; color: #fff; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points .icon { width: 1.2rem; height: 1.2rem; padding: .2rem; border-radius: 50%; background: var(--blue-logo); color: #fff; stroke-width: 3; }
.hero-caption { position: absolute; right: var(--gutter); bottom: calc(1rem + var(--cta-bar-h)); z-index: 4; margin: 0; max-width: 40%; font-size: .78rem; color: rgb(255 255 255 / 75%); text-align: right; transition: opacity .5s; pointer-events: none; }
.hero-caption.is-changing { opacity: 0; }
.hero-pause { position: absolute; left: var(--gutter); bottom: calc(.9rem + var(--cta-bar-h)); z-index: 5; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 45%); background: rgb(var(--navy-rgb) / 45%); color: #fff; cursor: pointer; backdrop-filter: blur(6px); }
.js .hero-pause:not([hidden]) { display: inline-flex; }
.hero-pause:hover { background: var(--blue); border-color: var(--blue); }
.hero-pause-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero-pause[aria-pressed="true"] .hero-pause-icon { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }

/* ---------- Interior page hero ---------- */
.page-hero-inner { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; min-height: inherit; padding-block: 1.25rem clamp(2.5rem, 2rem + 3vh, 4rem); }
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); margin-bottom: .9rem; text-shadow: 0 2px 6px rgb(var(--navy-rgb) / 55%), 0 8px 32px rgb(var(--navy-rgb) / 60%); }
.page-hero .hero-lead { margin-bottom: 1.4rem; }
.page-hero .hero-actions { margin-bottom: 0; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem .4rem; font-size: .88rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { text-decoration: none; font-weight: 600; }
.breadcrumbs-light { color: rgb(255 255 255 / 80%); }
.breadcrumbs-light a { color: #fff; }
.breadcrumbs-light a:hover { color: var(--blue-logo); }
.breadcrumbs-plain { padding-block: 1.25rem 0; }
.breadcrumbs-plain a { color: var(--muted); }

/* ---------- Proof bar ---------- */
.proof-bar { background: #fff; border-bottom: 1px solid var(--line); }
.proof-list { list-style: none; padding-block: 1.1rem; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.5rem; font-weight: 700; color: var(--strong); font-size: 1rem; }
.proof-list li { display: inline-flex; align-items: center; gap: .6rem; }
.proof-bar .proof-list { flex-wrap: nowrap; }
.proof-bar .proof-list li:last-child { flex: none; }
.proof-list li + li::before { content: ""; flex: none; width: 1px; height: 1.4rem; background: var(--line-strong); margin-right: 1.9rem; }
.proof-icon { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blue-pale); color: var(--blue-deep); flex: none; }
.proof-icon img { width: 1.6rem; height: auto; }
.proof-icon .icon-star { fill: #f5b301; stroke: #f5b301; }
.proof-list-stack { justify-content: flex-start; gap: .8rem; padding-block: 0; margin-bottom: 1.5rem; font-weight: 400; font-size: .95rem; color: var(--text); }
.proof-list-stack li { align-items: flex-start; }
.proof-list-stack .proof-icon { width: 1.7rem; height: 1.7rem; margin-top: .05rem; }
.proof-list-stack li + li::before { display: none; }

/* ---------- Split (photo + copy) ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 4rem; align-items: center; }
.split-media picture, .split-media img { border-radius: var(--radius); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-lg); }
.split-media-left .split-media { order: -1; }
.split-copy > :last-child { margin-bottom: 0; }
.split-copy p { line-height: 1.7; }
.split-copy .text-link { margin-top: .25rem; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--bg-alt); border-block: 1px solid var(--line); padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.stats-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.stats-grid li { display: grid; align-content: start; gap: .2rem; padding-left: 1.25rem; border-left: 3px solid var(--blue); }
.stats-grid strong { font-size: clamp(2.4rem, 2rem + 1.6vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.stats-grid strong small { font-size: .55em; color: var(--blue-deep); margin-left: .05em; }
.stats-grid span { font-weight: 600; color: var(--strong); line-height: 1.4; }
.stats-grid em { font-style: normal; font-size: .85rem; color: var(--muted); }

/* ---------- Service cards ---------- */
.service-cards, .post-cards, .city-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.service-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card, .post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.service-card:hover, .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card-link, .post-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.service-card-media, .post-card-media { display: block; overflow: hidden; background: var(--navy); }
.service-card-media img, .post-card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card-media img, .post-card:hover .post-card-media img { transform: scale(1.04); }
.service-card-body, .post-card-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem 1.6rem 1.7rem; flex: 1; }
.service-card-title, .post-card-title { font-size: 1.35rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.service-card-text, .post-card-text { color: var(--text); line-height: 1.6; }
.service-card-body .text-link, .post-card-body .text-link { margin-top: auto; padding-top: .5rem; }
.service-card-link:hover .text-link { background-size: 100% 2px; gap: .55em; }
.post-card-meta { font-size: .85rem; font-weight: 600; color: var(--blue-deep); letter-spacing: .02em; }
.city-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
.city-card { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy); color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.city-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: .75; transition: transform .6s var(--ease), opacity .3s; }
.city-card:hover img { transform: scale(1.05); opacity: .9; }
.city-card span { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; font-weight: 700; font-size: 1.1rem; text-shadow: 0 1px 12px rgb(0 0 0 / 50%); }

/* ---------- How it works ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.6rem; box-shadow: var(--shadow); }
.steps h3, .steps h2 { font-size: 1.2rem; margin: .9rem 0 .4rem; }
.steps p { margin: 0; color: var(--text); line-height: 1.6; }
.step-num { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--blue-deep); color: #fff; font-weight: 800; font-size: 1.1rem; box-shadow: 0 6px 16px rgb(var(--blue-rgb) / 30%); }
.steps-stack { grid-template-columns: 1fr; gap: 1.25rem; }
.steps-stack li { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; padding: 0; border: 0; box-shadow: none; background: none; }
.steps-stack .step-num { grid-row: span 2; width: 2.2rem; height: 2.2rem; font-size: .95rem; }
.steps-stack h2 { margin: .25rem 0 .1rem; }

/* ---------- Feature band (exclusivity) ---------- */
.feature-band { background: var(--navy); color: #d9e1ee; padding-block: var(--section); }
.feature-band h2 { color: #fff; }
.feature-band .eyebrow { color: var(--blue-logo); }
.feature-band .check-list li { color: #fff; }
.feature-band .check-list .icon { background: rgb(var(--blue-rgb) / 25%); color: #fff; }
.feature-band .split-media img { box-shadow: 0 30px 70px rgb(0 0 0 / 40%); }
.city-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: 2rem; border-top: 1px solid rgb(255 255 255 / 15%); }
.city-strip-label { display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-weight: 700; color: #fff; }
.city-strip-label .icon { color: var(--blue-logo); }
.city-strip .chip-list { margin: 0; }
.city-strip .chip { background: rgb(255 255 255 / 6%); border-color: rgb(255 255 255 / 25%); color: #fff; }
.city-strip .chip:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- Logo wall ---------- */
.logo-wall { --lw-cols: 6; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--lw-cols), minmax(0, 1fr)); gap: 1rem; }
.logo-wall li { display: grid; place-items: center; min-height: 6.5rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.logo-wall img { width: min(100%, 100px); aspect-ratio: 100 / 70; object-fit: cover; object-position: center; filter: grayscale(1); opacity: .72; transition: filter .7s var(--ease), opacity .7s var(--ease); }
/* Logos take their brand colour in turn (site.js lights a few at random while the wall is on screen) and on hover */
.logo-wall li.is-lit img { filter: none; opacity: 1; }
.logo-wall li.is-lit { border-color: rgb(var(--blue-rgb) / 45%); box-shadow: 0 6px 20px rgb(var(--navy-rgb) / 8%); }
.logo-wall li { transition: border-color .7s var(--ease), box-shadow .7s var(--ease); }
.logo-wall-name { font-weight: 700; color: var(--strong); text-align: center; font-size: .95rem; }

/* ---------- Google Partner band ---------- */
.partner-band { background: var(--bg-alt); border-block: 1px solid var(--line); padding-block: var(--section); }
.partner-band-inner { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 3rem 5rem; align-items: center; }
.partner-badge { display: block; width: fit-content; margin-inline: auto; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.partner-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.partner-badge img { width: 168px; height: auto; }
.partner-band-copy > :last-child { margin-bottom: 0; }
.partner-band-copy p { line-height: 1.7; }
.partner-band-copy .btn { margin-top: .5rem; }
.partner-hero-badge .partner-badge { max-width: 100%; margin-inline: auto; }
.partner-hero-badge .partner-badge img { width: 251px; max-width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; box-shadow: none; }
.aside-partner, .footer-partner { display: flex; align-items: center; gap: .9rem; margin-top: 1.25rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--strong); font-weight: 700; line-height: 1.25; text-decoration: none; }
.aside-partner small, .footer-partner small { font-weight: 400; color: var(--muted); }
.aside-partner img { width: 52px; height: auto; }

/* ---------- Reviews rail ---------- */
.rail-controls { display: flex; gap: .5rem; }
.rail-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.rail-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.rail-btn[data-rail-prev] .icon { transform: scaleX(-1); }
.no-js .rail-controls { display: none; }
.rail { --rail-card: clamp(280px, 27.5vw, 440px); --rail-pad: max(var(--gutter), calc(50% - 800px)); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rail-pad); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-track { list-style: none; margin: 0; padding: .5rem var(--rail-pad) 1.5rem; display: flex; gap: 1.25rem; }
.rail-track > li { flex: 0 0 var(--rail-card); scroll-snap-align: start; }
.review-item { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.review-head { display: flex; align-items: center; gap: .8rem; }
.review-avatar { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--blue-deep); color: #fff; font-weight: 700; flex: none; }
.review-who { display: grid; line-height: 1.3; }
.review-author { font-weight: 700; color: var(--ink); text-decoration: none; }
.review-author:hover { color: var(--blue-deep); }
.review-when { font-size: .85rem; color: var(--muted); }
.review-g { margin-left: auto; }
.icon-google { fill: #4285f4; stroke: none; width: 1.4em; height: 1.4em; }
.review-text { margin: 0; color: var(--text); line-height: 1.6; }
.review-text p { margin: 0; }
.review-more { margin-top: auto; font-size: .92rem; }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; margin: .4rem 0 0; color: var(--strong); }
.reviews-summary strong { font-size: 1.3rem; color: var(--ink); }
.reviews-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.reviews-foot p { margin: 0; }
.review-stars { display: inline-flex; gap: 2px; }
.review-stars .review-star { width: 1.05em; height: 1.05em; fill: var(--line-strong); stroke: var(--line-strong); stroke-width: 1.2; }
.review-stars .review-star.is-on { fill: #f5b301; stroke: #f5b301; }
.reviews-summary .review-star { width: 1.3em; height: 1.3em; }
.review-star-half { display: inline-grid; }
.review-star-half > .icon { grid-area: 1 / 1; }
.review-star-half > .is-on { clip-path: inset(0 50% 0 0); }
.rating-line { text-align: center; display: grid; justify-items: center; }
.rating-line .reviews-summary { justify-content: center; margin-bottom: 1.25rem; }

/* ---------- Testimonials ---------- */
.testimonials { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.testimonial blockquote { position: relative; height: 100%; margin: 0; padding: 2rem 1.75rem 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem; }
.testimonial .icon-quote { width: 2rem; height: 2rem; color: var(--blue); fill: var(--blue); stroke: none; }
.testimonial p { margin: 0; font-size: 1.1rem; line-height: 1.6; color: var(--strong); }
.testimonial footer { margin-top: auto; display: grid; line-height: 1.35; font-size: .95rem; color: var(--muted); }
.testimonial footer strong { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #d9e1ee; padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.cta-band-media { position: absolute; inset: 0; z-index: -1; }
.cta-band-media picture { height: 100%; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta-band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--navy-rgb) / 95%) 0%, rgb(var(--navy-rgb) / 70%) 60%, rgb(var(--navy-rgb) / 45%) 100%); }
.cta-band-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem 4rem; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); }
.cta-band p:last-child { margin: 0; font-size: 1.15rem; line-height: 1.6; max-width: 46rem; }
.cta-band-actions { display: flex; flex-direction: column; align-items: stretch; gap: .8rem; max-width: 22rem; justify-self: end; width: 100%; }

/* ---------- Values, facts, founder ---------- */
.values-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.values-grid li { padding: 1.75rem; border-radius: var(--radius); background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 12%); }
.values-grid .icon { width: 2rem; height: 2rem; color: var(--blue-logo); margin-bottom: 1rem; }
.values-grid h3 { color: #fff; }
.values-grid p { margin: 0; line-height: 1.6; }
.values-grid-light li { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.values-grid-light .icon { color: var(--blue); }
.values-grid-light h3 { color: var(--ink); }
.values-grid-light p { margin-bottom: 1rem; color: var(--text); }
.facts-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.facts-list dt { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts-list dd { margin: .15rem 0 0; font-weight: 600; color: var(--strong); }
.founder-card { display: grid; gap: .1rem; padding: 1.25rem 1.4rem; margin: 1rem 0; border-left: 3px solid var(--blue); background: var(--bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.founder-card span { font-size: .9rem; color: var(--muted); }
.founder-card p { margin: .5rem 0 0; }
.disambiguation { padding: .9rem 1rem; background: var(--bg-alt); border-radius: var(--radius-sm); }

/* ---------- Content + aside ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 3rem 5rem; align-items: start; }
.content-aside { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.aside-card { padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.aside-card + .aside-card { margin-top: 1.5rem; }
.aside-title { font-size: 1.4rem; margin-bottom: .5rem; }
.aside-cta { background: var(--blue-pale); border-color: #d5e4fd; }
.aside-cta p { color: var(--text); }
.aside-cta .btn + .btn { margin-top: .6rem; }
.aside-call { margin: 1.25rem 0 .5rem; font-weight: 600; color: var(--strong); }
.aside-call a { display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: .75rem; margin-bottom: 2rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); scroll-margin-top: calc(var(--nav-h) + .5rem); transition: border-color .2s, box-shadow .2s; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq-chevron { flex: none; display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--blue-pale); color: var(--blue-deep); transition: transform .25s var(--ease), background .2s, color .2s; }
.faq[open] .faq-chevron { transform: rotate(180deg); background: var(--blue); color: #fff; }
.faq-q { margin: 0; font-size: 1.1rem; font-weight: 700; letter-spacing: 0; color: var(--ink); line-height: 1.4; }
.faq summary:hover .faq-q { color: var(--blue-deep); }
.faq[open] { border-color: #cfe0fd; box-shadow: var(--shadow); }
.faq-a { padding: 0 1.25rem 1.2rem; color: var(--text); line-height: 1.65; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-group-title { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.faq-group-first { margin-top: 0; }

/* ---------- Forms ---------- */
.leads-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 3rem 4rem; align-items: stretch; }
.leads-aside { display: flex; flex-direction: column; }
.leads-aside .aside-steps { flex: 1 1 auto; display: flex; flex-direction: column; }
.leads-aside .aside-steps .steps-stack { flex: 1 1 auto; align-content: space-evenly; gap: 1rem; }
.leads-aside .aside-steps p { font-size: .95rem; line-height: 1.5; }
.leads-aside .aside-card { padding: 1.5rem; }
.leads-aside .aside-talk { padding: 1.25rem 1.5rem; }
.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.form-intro { font-size: 1.1rem; color: var(--strong); line-height: 1.6; }
.form-title { font-size: 1.6rem; margin-bottom: .35rem; }
.form-lead { margin-bottom: 1.5rem; color: var(--text); }
.field { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.field label { font-weight: 700; color: var(--strong); font-size: .95rem; }
.req { color: var(--error); }
.field input, .field select, .field textarea { width: 100%; padding: .85rem 1rem; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; appearance: none; transition: border-color .2s, box-shadow .2s; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(var(--blue-rgb) / 20%); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field, .alert { scroll-margin-top: calc(var(--nav-h) + 1rem); }
.field-error { color: var(--error); font-size: .9rem; font-weight: 700; margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--muted); margin: .25rem 0 1.25rem; }
.contact-form .btn { width: 100%; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; }
.alert-error { background: var(--error-bg); color: #7a1a14; border: 1px solid #f1b8b3; }
.alert-error a { color: #7a1a14; font-weight: 700; }
.alert-success { background: var(--success-bg); color: #14532d; border: 1px solid #b7e2c7; }
.assurances { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .9rem; }
.assurances li { display: flex; gap: .8rem; align-items: flex-start; }
.assurances .icon { flex: none; width: 2rem; height: 2rem; padding: .4rem; border-radius: 50%; background: var(--success-bg); color: var(--success); }
.assurances div { display: grid; line-height: 1.45; }
.assurances strong { color: var(--ink); }
.assurances span { color: var(--text); font-size: .95rem; }

/* ---------- Contact details and map ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon { flex: none; width: 2rem; height: 2rem; padding: .45rem; border-radius: 50%; background: var(--blue-pale); color: var(--blue-deep); }
.contact-list div { display: grid; line-height: 1.45; }
.contact-list span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; color: var(--strong); }
.contact-list a:hover { color: var(--blue-deep); }
.contact-links { margin: 0; }
.map-embed { position: relative; margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--navy); isolation: isolate; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-embed picture { position: absolute; inset: 0; }
.map-embed img { width: 100%; height: 100%; object-fit: cover; }
.map-embed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--navy-rgb) / 15%), rgb(var(--navy-rgb) / 75%)); }
.map-embed-cta { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .6rem; padding: 1.25rem; }
.map-embed.is-loaded::after, .map-embed.is-loaded picture { display: none; }

/* ---------- Thanks, error, review pages ---------- */
.thanks-icon, .review-mark { display: inline-grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--success-bg); color: var(--success); margin-bottom: 1.25rem; }
.thanks-icon .icon { width: 2rem; height: 2rem; stroke-width: 3; }
.error-code { font-size: 5rem; font-weight: 800; line-height: 1; color: var(--blue-deep); letter-spacing: -.04em; margin-bottom: .5rem; }
.error-sub { font-size: 1.2rem; margin: 2rem 0 .75rem; }
.review-page { background: var(--bg-alt); }
.review-card { padding: clamp(2rem, 1.5rem + 2vw, 3.5rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.review-card .review-mark { background: var(--blue-pale); color: var(--navy); }
.review-mark svg { width: auto; height: 2.4rem; }
.review-rating { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-bottom: 1.25rem; font-weight: 600; color: var(--strong); }
.review-rating strong { font-size: 1.4rem; color: var(--ink); }
.leave-review { text-align: center; display: grid; justify-items: center; max-width: 960px; }
.leave-review .review-mark { background: rgb(255 255 255 / 10%); color: #f5b301; }
.leave-review .icon-star { fill: currentColor; stroke: currentColor; width: 1.8rem; height: 1.8rem; }
.leave-review p { font-size: 1.15rem; line-height: 1.6; margin-bottom: 1.5rem; }
.leave-review h2 { margin-bottom: .75rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; border-top: 1px solid rgb(255 255 255 / 8%); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.footer-about p { color: rgb(255 255 255 / 90%); line-height: 1.6; max-width: 32ch; }
.brand-footer { margin-bottom: 1.25rem; }
.brand-footer svg { width: auto; height: 56px; }
.footer-partner { background: rgb(255 255 255 / 6%); border-color: rgb(255 255 255 / 16%); color: #fff; max-width: 16rem; }
.footer-partner small { color: rgb(255 255 255 / 80%); }
.footer-partner img { width: 42px; height: auto; background: #fff; border-radius: 6px; }
.footer-title { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: .4rem 0 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-col a { color: rgb(255 255 255 / 88%); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; color: #fff; }
.footer-contact address { font-style: normal; display: grid; gap: .8rem; }
.footer-contact address p { display: flex; gap: .7rem; align-items: flex-start; margin: 0; line-height: 1.45; }
.footer-contact .icon { flex: none; margin-top: .25rem; color: var(--blue); }
.social-links { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.social-links a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .55rem 1.1rem .55rem .9rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / 16%); background: rgb(255 255 255 / 6%); color: #fff; text-decoration: none; font-size: .95rem; font-weight: 600; transition: background .2s, border-color .2s; }
.social-links a:hover { background: rgb(var(--blue-rgb) / 28%); border-color: rgb(var(--blue-rgb) / 60%); }
.social-links .icon { width: 1.15em; height: 1.15em; color: var(--blue); }
.footer-bottom { background: #0a1322; color: rgb(255 255 255 / 62%); font-size: .88rem; border-top: 1px solid rgb(255 255 255 / 8%); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; padding-block: 1.25rem calc(1.25rem + var(--cta-bar-h)); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgb(255 255 255 / 85%); text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
a.ngn-credit { display: inline-flex; align-items: center; gap: 0.45em; color: inherit; text-decoration: none; background-image: none; }
.ngn-credit svg { display: block; width: auto; height: 1.05em; transform: translateY(0.12em); }

/* ---------- Sticky phone bar (phones only; see 720 below) ---------- */
.mobile-cta { position: fixed; inset: auto 0 0 0; z-index: 40; grid-template-columns: 1fr 1.4fr; gap: .6rem; padding: .5rem var(--gutter) calc(.5rem + env(safe-area-inset-bottom, 0px)); background: rgb(255 255 255 / 94%); border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mobile-cta .btn { min-height: 46px; padding-inline: .75rem; font-size: .92rem; box-shadow: none; }

/* ==========================================================================
   Breakpoints (desktop-first; later blocks win)
   ========================================================================== */

/* 1100: two-column layouts stack; stats go to 3 columns; tighter nav (901 to 1100) */
@media (max-width: 1100px) {
  .proof-bar .proof-list { flex-wrap: wrap; }
  .proof-list li + li::before { display: none; }
  .split, .content-grid, .leads-grid, .partner-band-inner, .cta-band-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-media-left .split-media, .split-media { order: -1; }
  .content-aside { position: static; }
  .cta-band-actions { justify-self: start; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-badge { margin-inline: 0; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .site-nav { gap: 1.25rem; }
  .site-nav ul { gap: 1.1rem; }
  .site-nav a:not(.btn) { font-size: .9rem; }
  .header-phone span { display: none; }
  .nav-actions { gap: .6rem; }
}

/* 1000 / 999: the scrim shape. Wide screens read copy over the left half; narrower ones fade from the bottom */
@media (min-width: 1000px) {
  .hero-slides::after { background: linear-gradient(90deg, rgb(var(--navy-rgb) / 94%) 0%, rgb(var(--navy-rgb) / 86%) 38%, rgb(var(--navy-rgb) / 45%) 70%, rgb(var(--navy-rgb) / 20%) 100%), linear-gradient(180deg, rgb(var(--navy-rgb) / 30%) 0%, rgb(var(--navy-rgb) / 10%) 45%, rgb(var(--navy-rgb) / 80%) 100%); }
  .page-hero-media::after { background: linear-gradient(90deg, rgb(var(--navy-rgb) / 96%) 0%, rgb(var(--navy-rgb) / 90%) 40%, rgb(var(--navy-rgb) / 55%) 72%, rgb(var(--navy-rgb) / 30%) 100%), linear-gradient(180deg, rgb(var(--navy-rgb) / 35%) 0%, rgb(var(--navy-rgb) / 15%) 45%, rgb(var(--navy-rgb) / 85%) 100%); }
}
@media (max-width: 999px) {
  .hero-slides::after { background: linear-gradient(180deg, rgb(var(--navy-rgb) / 55%) 0%, rgb(var(--navy-rgb) / 62%) 30%, rgb(var(--navy-rgb) / 72%) 45%, rgb(var(--navy-rgb) / 72%) 100%); }
  .page-hero-media::after { background: linear-gradient(180deg, rgb(var(--navy-rgb) / 60%) 0%, rgb(var(--navy-rgb) / 66%) 30%, rgb(var(--navy-rgb) / 97%) 100%); }
  .hero-slide img, .page-hero-media img { object-position: 50% 40%; }
}

/* 901+: desktop-only niceties */
@media (min-width: 901px) {
  .nav-actions .btn-sm { white-space: nowrap; }
}

/* 900: the collapse. Hamburger + full-screen menu, phone pill, phone type scale, 1.25rem gutters */
@media (max-width: 900px) {
  .header-tools { display: flex; }
  .nav-phone { display: inline-flex; }
  .js .site-nav { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 8px 24px rgb(var(--navy-rgb) / 15%); overflow-y: auto; overscroll-behavior: contain; }
  .js .nav-open .site-nav { display: flex; }
  html.nav-open, html.nav-open body { overflow: hidden; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav ul li { border-bottom: 1px solid var(--line); }
  .js .site-nav ul a:not(.btn) { display: block; padding: .95rem 0; font-size: 1.05rem; }
  .js .site-nav ul a:not(.btn)::after { display: none; }
  .js .nav-actions { flex-direction: column; align-items: stretch; gap: .75rem; padding-top: 1.25rem; }
  .js .nav-actions .btn { min-height: 48px; }
  .js .header-phone { justify-content: center; min-height: 48px; border: 2px solid var(--line); border-radius: 999px; text-decoration: none; }

  .hero-inner { padding-bottom: calc(clamp(2rem, 1.5rem + 4svh, 3.5rem) + var(--cta-bar-h)); }
  .hero h1 { font-size: clamp(1.65rem, 7.4vw, 2.15rem); line-height: 1.12; letter-spacing: -.01em; margin-bottom: .7rem; }
  .hero-lead, .page-hero .hero-lead { font-size: clamp(.88rem, 3.75vw, .98rem); line-height: 1.5; max-width: 30rem; margin-bottom: 1.1rem; }
  .hero-actions { gap: .6rem; max-width: 26rem; margin-bottom: 1rem; }
  .hero-actions .btn { min-height: 44px; padding: .62rem 1.1rem; font-size: .88rem; }
  .hero-points { gap: .35rem 1rem; font-size: .85rem; }
  .hero-caption { display: none; }
  .hero-pause { bottom: calc(.6rem + var(--cta-bar-h)); width: 32px; height: 32px; }
  .page-hero h1 { font-size: 2.2rem; }
  .page-hero-inner { gap: 1.75rem; }
  .page-hero .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 20rem; }
  .section-head h2, h2 { font-size: 2rem; }
  .section-lead, .prose-lead p, .lead { font-size: 1.05rem; }
  .service-cards, .post-cards, .testimonials, .service-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .values-grid, .stats-grid, .check-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { gap: 1.5rem; }
  .logo-wall { --lw-cols: 5; gap: .75rem; }
  .cta-band { padding-block: 3.25rem; }
  .cta-band h2 { font-size: 1.85rem; }
  .cta-band-actions { max-width: 18rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .steps li { padding: 1.5rem 1.35rem; }
  .form-card { box-shadow: var(--shadow); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .rail { --rail-card: clamp(260px, 60vw, 360px); }

  /* nested: narrow phones keep both hero buttons on one row */
  @media (max-width: 389px) {
    .hero-actions { gap: .5rem; }
    .hero-actions .btn { padding: .6rem .9rem; font-size: .82rem; }
  }
  /* nested: short phones (browser bars showing) */
  @media (max-height: 620px) {
    .hero h1 { font-size: clamp(1.5rem, 6.6vw, 1.85rem); }
    .hero-lead { font-size: .85rem; line-height: 1.45; }
    .hero-actions .btn { min-height: 40px; padding-top: .5rem; padding-bottom: .5rem; }
    .hero-points { display: none; }
    .hero { min-height: 26rem; }
  }
}

/* 899: page heroes read as a band, not a stage */
@media (max-width: 899px) {
  .page-hero { min-height: clamp(20rem, 48svh, 28rem); }
  .page-hero-inner { padding-bottom: 2rem; }
  .split-media img { aspect-ratio: 3 / 2; }
}

/* max-height 800 (any width): shorter hero rhythm */
@media (max-height: 800px) {
  .hero-inner { padding-top: 1.25rem; }
  .hero h1 { margin-bottom: .75rem; }
}

/* 720: phones. Sticky call bar on, section rhythm tighter, buttons smaller */
@media (max-width: 720px) {
  .mobile-cta { display: grid; }
  .is-contact .mobile-cta, .is-leads .mobile-cta, .is-review .mobile-cta { display: none; }
  .btn { padding: .8rem 1.6rem; font-size: .95rem; }
  .btn-lg { min-height: 50px; padding: .8rem 1.5rem; font-size: 1rem; }
  :root { --section: 3.25rem; }
  .section-head { margin-bottom: 2.25rem; }
  .section-lead { line-height: 1.65; }
  .stats-band { padding-block: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .service-cards, .post-cards, .testimonials, .service-cards-2 { grid-template-columns: 1fr; }
  .faq summary { padding: 1.1rem 1.15rem; }
  .faq-a { padding: 0 1.15rem 1.2rem; }
  .article-body { font-size: 1rem; }
  .cta-band-actions { max-width: none; }
  .cta-band-actions .btn { width: 100%; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .proof-list { gap: .6rem 1.5rem; }
  .city-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .check-list-grid { grid-template-columns: 1fr; }
}

/* 680: logo wall to 4 columns */
@media (max-width: 680px) {
  .logo-wall { --lw-cols: 4; }
  .logo-wall li { min-height: 5.5rem; padding: .75rem; }
}

/* 600: reviews rail shows one card at a time, arrows off */
@media (max-width: 600px) {
  .rail, .rail--4 { --rail-card: 82vw; }
  .rail-track { padding-bottom: 2rem; }
  .rail-controls { display: none; }
  .hero-points { display: none; }
  .section-head-row .btn { width: 100%; }
}

/* 520: logo wall to 3 columns, chips tighter */
@media (max-width: 520px) {
  .logo-wall { --lw-cols: 3; gap: .55rem; }
  .logo-wall li { padding: .9rem .4rem .8rem; }
  .chip { padding: .4rem .8rem; font-size: .88rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* 480: small phones. Hero title, page-hero h1, section h2 and grids */
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(1.7rem, 7.6vw, 2.1rem); }
  .page-hero h1 { font-size: 1.75rem; }
  .section-head h2, h2 { font-size: 1.65rem; }
  .values-grid, .facts-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid strong { font-size: 2.2rem; }
  .service-card-body, .post-card-body { padding: 1.25rem 1.25rem 1.4rem; }
  .form-card { padding: 1.25rem; }
  .aside-card { padding: 1.4rem; }
}

/* 460: proof bar centred, no separators */
@media (max-width: 460px) {
  .proof-list { flex-direction: column; align-items: flex-start; text-align: left; gap: .6rem; font-size: .95rem; }
}

/* 420: the phone pill shows the icon only */
@media (max-width: 420px) {
  .nav-phone { padding: .45rem .6rem; margin-right: .2rem; }
  .nav-phone-num { display: none; }
  .nav-phone .icon { width: 1.15em; height: 1.15em; }
}

/* 360: the 320px floor */
@media (max-width: 360px) {
  .brand-mark svg { height: 40px; }
  .hero-actions .btn, .mobile-cta .btn { font-size: .8rem; }
  .eyebrow { font-size: .74rem; letter-spacing: .1em; }
  .stats-grid { gap: 1rem; }
}

/* ---------- Motion ---------- */
/* 480: long button labels wrap instead of pushing the page wider than the viewport */
@media (max-width: 480px) {
  .btn:not(.btn-sm) { white-space: normal; max-width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active img { animation: hero-drift 16s ease-in-out both; }
  @keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.06); } }
  .hero-paused .hero-slide img { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-caption, .faq-chevron, .btn, .text-link, .service-card, .post-card, .partner-badge, .service-card-media img, .post-card-media img, .city-card img { transition: none; }
  .service-card:hover, .post-card:hover, .partner-badge:hover, .btn:hover { transform: none; }
  .service-card:hover .service-card-media img, .post-card:hover .post-card-media img, .city-card:hover img { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Get more leads: assurance and proof grids, shared icon badges ---------- */
.badge-icon { display: inline-grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.badge-icon .icon { width: 1.25rem; height: 1.25rem; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-star { background: rgb(255 255 255 / 10%); color: #f6b73c; }
.aside-talk { margin-top: 1.5rem; }
.aside-talk .eyebrow { display: flex; margin-bottom: .6rem; }
.aside-talk p { margin: .5rem 0 0; font-size: .95rem; }
.aside-talk-phone { display: flex; width: fit-content; align-items: center; gap: .5rem; font-size: 1.6rem; font-weight: 800; line-height: 1.2; color: var(--ink); text-decoration: none; }
.aside-talk-phone .icon { width: 1.2rem; height: 1.2rem; color: var(--blue-deep); }
.assure-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.assure-card { display: flex; flex-direction: column; gap: .9rem; padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.assure-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.assure-card p { margin: 0; color: var(--text); line-height: 1.6; }
.proof-grid { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.proof-card { display: flex; flex-direction: column; gap: .9rem; padding: 1.75rem; border: 1px solid rgb(255 255 255 / 12%); border-radius: var(--radius); background: rgb(255 255 255 / 5%); }
.proof-card p { margin: 0; color: rgb(255 255 255 / 88%); line-height: 1.65; }
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0; }
.chip-row-label { font-weight: 600; margin-right: .25rem; }
.chip-row-light { color: rgb(255 255 255 / 80%); }
.chip-light { color: #fff; border-color: rgb(255 255 255 / 25%); background: rgb(255 255 255 / 6%); }
.chip-light:hover { background: rgb(var(--blue-rgb) / 35%); border-color: var(--blue); }
@media (max-width: 1100px) {
  .assure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .assure-grid { grid-template-columns: 1fr; gap: 1rem; }
  .assure-card, .proof-card { padding: 1.35rem; }
}

/* ---------- Pointer devices: logos take their colour on hover ---------- */
@media (hover: hover) {
  .logo-wall li:hover img { filter: none; opacity: 1; }
}
/* Reduced motion: no flashing, show every logo in colour */
@media (prefers-reduced-motion: reduce) {
  .logo-wall img { filter: none; opacity: 1; transition: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .mobile-cta, .hero-pause, .hero-caption, .content-aside, .skip-link { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .hero, .page-hero { min-height: 0; height: auto; background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; text-shadow: none; }
  .hero-slides, .page-hero-media { display: none; }
  .content-grid { grid-template-columns: 1fr; }
  a { color: #000; }
}
