/* ==========================================================================
   Northern Rivers Detailing: site styles
   Mobile-first, no framework. Tokens → base → layout → components → pages.
   Palette from the emblem: night navy, glacier ice; sunset amber for calls to action.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Georgia resized to Fraunces' metrics so the web-font swap causes no layout shift */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  size-adjust: 106.01%;
  ascent-override: 92.26%;
  descent-override: 24.06%;
  line-gap-override: 0%;
}

:root {
  /* Brand: night navy + glacier ice (the emblem), sunset amber (the Northern Rivers coast) */
  --navy-900: #07111d;
  --navy-800: #0d2034;
  --navy-700: #1b4a73;
  --navy-600: #2a6a9e;
  --navy-100: #e3edf6;
  --aqua-500: #6cc4f0;
  --aqua-400: #a3dcf8;
  --aqua-200: #dff2fc;
  --aqua-700: #135f8c;
  --sun-500: #f3a447;
  --sun-400: #f7bd6e;
  --sun-700: #8f4c0c;
  --chrome: linear-gradient(180deg, #ffffff 0%, #d9f1fd 45%, #8fd0f3 70%, #eaf8ff 100%);

  /* Neutrals */
  --ink: #0e1a26;
  --ink-soft: #4a5866;
  --line: #dde3e8;
  --bg: #f7f6f2;
  --bg-alt: #eaf1f6;
  --surface: #ffffff;

  --error: #b3261e;
  --error-bg: #fdecea;
  --success: #2a6b45;

  /* Type */
  --font-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-sm: 0.9rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-h3: clamp(1.2rem, 1.12rem + 0.35vw, 1.4rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.4vw, 2.6rem);
  --fs-h1: clamp(2.2rem, 1.6rem + 2.8vw, 3.9rem);

  /* Space & shape */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --radius: 16px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgb(7 17 29 / 6%), 0 8px 24px rgb(7 17 29 / 8%);
  --shadow-lg: 0 2px 4px rgb(7 17 29 / 6%), 0 18px 44px rgb(7 17 29 / 15%);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  color: var(--navy-900);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
a { color: var(--navy-700); text-decoration-color: rgb(26 92 138 / 45%); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 0.2s, text-decoration-color 0.2s; }
a:hover { color: var(--navy-900); text-decoration-color: var(--navy-600); }
:focus-visible { outline: 3px solid var(--navy-600); outline-offset: 3px; border-radius: 4px; }
address { font-style: normal; }
ul, ol { padding-left: 1.2em; }
main:focus { outline: none; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy-800); color: #fff; padding: 0.7rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding-block: var(--section); }
.section-tight { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy-900); color: #e6edf3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem); }
.section-head p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.section-dark .section-head p { color: #b9c7d4; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.section-head-row h2 { margin-bottom: 0; }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split-media { display: grid; gap: 1rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 1fr; }
  .split-reverse .split-media { order: -1; }
}

.content-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); }
@media (min-width: 960px) {
  .content-grid { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); align-items: start; }
  .content-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--aqua-700); margin: 0 0 0.9rem;
}
.eyebrow-light { color: var(--aqua-400); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); }
.small { font-size: var(--fs-sm); color: var(--ink-soft); }
.rounded { border-radius: var(--radius); overflow: hidden; }
.rounded img, img.rounded { border-radius: var(--radius); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-bd: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.75rem 1.35rem;
  font: 600 1rem/1.2 var(--font-body);
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: none; }
.btn .icon { transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn-primary:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: currentColor; }
.btn-outline:hover { --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-bd: var(--navy-800); }
.btn-light { --btn-bg: var(--sun-500); --btn-fg: var(--navy-900); --btn-bd: var(--sun-500); }
.btn-light:hover { --btn-bg: var(--sun-400); --btn-bd: var(--sun-400); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 70%); }
.btn-outline-light:hover { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }
.btn-sm { min-height: 42px; padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.btn-lg { min-height: 54px; padding: 0.9rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(246 248 250 / 92%);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--navy-900); }
.brand-mark img { width: 64px; height: 64px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; color: var(--aqua-700); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--navy-900); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle-close { display: none; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--navy-700); }
.site-nav .btn, .site-nav .btn:hover { color: var(--btn-fg); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: inline-flex; align-items: center; gap: 0.4em; }

/* JS-enhanced mobile menu (without JS the nav simply wraps below the brand) */
@media (max-width: 1079px) {
  .no-js .header-inner { flex-wrap: wrap; padding-block: 0.75rem; }
  .no-js .site-nav { width: 100%; }
  .no-js .nav-actions { margin-top: 0.75rem; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 0.5rem var(--gutter) 1.5rem;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
  }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav ul a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .js .nav-actions { flex-direction: column; align-items: stretch; margin-top: 1.25rem; }
  .js .header-phone { justify-content: center; min-height: 48px; border: 2px solid var(--navy-800); border-radius: 999px; }
  .js .nav-actions .btn { min-height: 50px; }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
  .nav-open .nav-toggle-open { display: none; }
  .nav-open .nav-toggle-close { display: inline; }
}
@media (min-width: 1080px) {
  .site-nav { display: flex; align-items: center; gap: 2rem; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-top: 1.1rem; font-size: var(--fs-sm); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; color: #a9b4c0; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy-800); text-decoration: underline; }
.is-home .breadcrumbs { display: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(88vh, 760px); display: grid; align-items: end; overflow: hidden; }
.hero-media, .project-hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media picture, .project-hero-media picture { height: 100%; }
.hero-media img, .project-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after, .project-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(7 17 29 / 35%) 0%, rgb(7 17 29 / 15%) 35%, rgb(7 17 29 / 88%) 100%),
    linear-gradient(90deg, rgb(7 17 29 / 55%) 0%, rgb(7 17 29 / 0%) 70%);
}
@media (max-width: 759px) {
  .hero-media::after { background: linear-gradient(180deg, rgb(7 17 29 / 55%) 0%, rgb(7 17 29 / 45%) 40%, rgb(7 17 29 / 92%) 100%); }
}
.hero-content { padding-block: clamp(6rem, 4rem + 10vw, 11rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hero h1 { color: #fff; max-width: 16ch; margin-bottom: 0.4em; }
.hero-lead { font-size: var(--fs-lead); max-width: 58ch; color: #eef3f7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 0; }
.hero-actions-center { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; font-weight: 600; font-size: 0.97rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 0.5em; }
.hero-points .icon { color: var(--aqua-400); stroke-width: 2.5; }

/* ---------- Page headers ---------- */
.page-header { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem) clamp(0.5rem, 0.3rem + 1vw, 1rem); }
.page-header h1 { max-width: 20ch; }
.page-header .lead { max-width: 62ch; }

.service-hero { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) 0; }
.service-hero-grid { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); align-items: center; }
.service-hero .eyebrow .icon { width: 1.35em; height: 1.35em; }
@media (min-width: 900px) { .service-hero-grid { grid-template-columns: 1fr 1fr; } }
.service-hero-media picture, .service-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.project-hero { position: relative; isolation: isolate; color: #fff; min-height: min(70vh, 620px); display: grid; align-items: end; overflow: hidden; }
.project-hero-content { padding-block: 8rem 3rem; }
.project-hero h1 { color: #fff; max-width: 22ch; }
.h1-sub { display: block; font-size: 0.55em; font-weight: 500; color: var(--aqua-400); margin-top: 0.3em; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: clamp(1rem, 0.6rem + 1.5vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 1100px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.card-media-tall { aspect-ratio: 4 / 3; }
.card-media picture { height: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.4rem 1.4rem; }
.card-body p { color: var(--ink-soft); font-size: 0.98rem; }
.card-title { font-size: 1.3rem; margin-bottom: 0.4em; }
.card-icon {
  position: absolute; top: -26px; left: 1.4rem;
  display: grid; place-items: center; width: 52px; height: 52px;
  background: var(--navy-800); color: var(--aqua-400); border-radius: 14px; box-shadow: var(--shadow);
}
.card-icon .icon { width: 26px; height: 26px; }
.service-card .card-body { padding-top: 2.1rem; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; color: var(--navy-700); font-size: 0.95rem; }
.project-card .eyebrow { margin-bottom: 0.5rem; }
.section-dark .card { background: #0f2740; box-shadow: none; }
.section-dark .card-title { color: #fff; }
.section-dark .card-body p { color: #b9c7d4; }
.section-dark .card-more { color: var(--aqua-400); }
.section-dark .project-card .eyebrow { color: var(--aqua-400); }

/* ---------- Features & steps ---------- */
.feature-grid, .steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.feature, .steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.feature h3, .steps h3 { font-size: 1.2rem; }
.feature p, .steps p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy-100); color: var(--navy-800); margin-bottom: 1rem; }
.feature-icon .icon { width: 24px; height: 24px; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-800); color: var(--aqua-400); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.9rem; }

/* ---------- Chips & lists ---------- */
.chip-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-list li { padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; }
.plain-list { list-style: none; padding: 0; }
.plain-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.link-grid { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); text-align: left; }
.link-grid a, .link-list a { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 0.9rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--navy-900); }
.link-grid a:hover, .link-list a:hover { border-color: var(--navy-600); }
.link-grid .icon, .link-list .icon { color: var(--navy-600); }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }

/* ---------- Prose & aside ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.45rem, 1.25rem + 0.9vw, 2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; }
.aside-title { font-size: 1.25rem; margin-bottom: 1rem; }
.aside-cta { background: var(--navy-900); color: #e6edf3; border-color: var(--navy-900); }
.aside-cta .aside-title { color: #fff; }
.aside-cta .btn + .btn { margin-top: 0.6rem; }
.aside-cta .btn-outline { --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 60%); }
.aside-cta .btn-outline:hover { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }
.aside-cta .btn-primary { --btn-bg: var(--sun-500); --btn-fg: var(--navy-900); --btn-bd: var(--sun-500); }
.aside-cta .btn-primary:hover { --btn-bg: var(--sun-400); --btn-bd: var(--sun-400); }
.option-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.option-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.option-list .icon { color: var(--navy-600); margin-top: 0.25em; stroke-width: 2.4; }
.option-list strong { display: block; color: var(--navy-900); }
.option-list span { display: block; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }
.option-list-compact { gap: 0.55rem; }

/* ---------- Gallery + lightbox ---------- */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.gallery-item a { display: block; position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.gallery-item picture { height: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), filter 0.3s; }
.gallery-item a:hover img { transform: scale(1.05); filter: brightness(1.05); }

.lightbox { border: 0; padding: 0; margin: auto; max-width: min(96vw, 1400px); max-height: 94vh; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgb(5 12 20 / 92%); }
.lightbox figure { margin: 0; display: grid; gap: 0.75rem; justify-items: center; }
.lightbox-frame { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #0f2740; box-shadow: 0 20px 60px rgb(0 0 0 / 50%); }
.lightbox-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter 0.35s ease, transform 0.35s ease; }
.lightbox.is-loading .lightbox-frame img { filter: blur(10px) brightness(0.75); transform: scale(1.03); }
.lightbox-spinner {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; border: 4px solid rgb(255 255 255 / 30%); border-top-color: var(--aqua-400);
  background: rgb(7 17 29 / 55%); box-shadow: 0 0 0 6px rgb(7 17 29 / 35%);
  opacity: 0; transition: opacity 0.2s ease; animation: sd-spin 0.8s linear infinite; pointer-events: none;
}
.lightbox.is-loading .lightbox-spinner { opacity: 1; }
@keyframes sd-spin { to { transform: rotate(360deg); } }
.lightbox figcaption { color: #e6edf3; text-align: center; font-size: 0.95rem; max-width: 70ch; min-height: 1.5em; }
.lightbox-btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 14%); color: #fff; cursor: pointer; }
.lightbox-btn:hover { background: rgb(255 255 255 / 26%); }
.lightbox-btn .icon { width: 24px; height: 24px; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); margin-bottom: 2rem; }
.testimonial-stack { display: grid; gap: 1.75rem; }
.testimonial { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem 1.75rem; box-shadow: var(--shadow); }
.testimonial-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--aqua-200); color: var(--aqua-700); margin-bottom: 1rem; }
.testimonial blockquote { margin: 0 0 1.25rem; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.55; color: var(--navy-900); }
.testimonial blockquote p { margin-bottom: 0.8em; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.95rem; }
.testimonial figcaption span { color: var(--ink-soft); }
.testimonial figcaption a { margin-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.35em; font-weight: 600; text-decoration: none; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.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 summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--navy-700); border-bottom: 2px solid var(--navy-700); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s var(--ease); }
.faq[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-q { margin: 0; font-family: var(--font-body); font-size: 1.05rem; font-weight: 650; letter-spacing: 0; color: var(--navy-900); line-height: 1.4; }
.faq-a { padding: 0 1.25rem 1.1rem; color: var(--ink-soft); }
.faq-a p:last-child { margin-bottom: 0; }
.faq-group-title { font-size: 1.4rem; margin: 2.25rem 0 1rem; }
.faq-group-title a { text-decoration: none; color: inherit; }

/* ---------- Regions ---------- */
.region-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.region { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.region h2 { font-size: 1.45rem; }
.region p { color: var(--ink-soft); }
.region .chip-list { margin-bottom: 0; }
.region .chip-list li { background: var(--bg); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); align-items: start; } }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); box-shadow: var(--shadow); }
.form-title { font-size: 1.5rem; }
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.97rem; }
.req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.7rem 0.9rem;
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1.5px solid #c5cfd9; border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy-800) 50%), linear-gradient(135deg, var(--navy-800) 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 input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); background-color: #fff; box-shadow: 0 0 0 4px rgb(26 92 138 / 18%); }
.field [aria-invalid="true"] { border-color: var(--error); background-color: #fffafa; }
.field-error { color: var(--error); font-size: 0.9rem; font-weight: 600; margin: 0.35rem 0 0; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; }
.alert-error { background: var(--error-bg); color: #6b1510; border: 1px solid #f2c4c0; }
.alert-error a { color: #6b1510; font-weight: 700; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-list .icon { color: var(--navy-700); width: 22px; height: 22px; margin-top: 0.2rem; }
.contact-list span { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aqua-700); }
.contact-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-alt); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
button[data-submit][aria-busy="true"] { opacity: 0.7; pointer-events: none; }

.thanks { text-align: center; }
.thanks-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--navy-100); color: var(--success); margin-bottom: 1.5rem; }
.thanks-icon .icon { width: 38px; height: 38px; stroke-width: 2.5; }
.error-code { font-family: var(--font-display); font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 700; color: var(--aqua-500); line-height: 1; margin-bottom: 0.25em; }
.error-sub { font-size: 1.3rem; margin-top: 3rem; }

.about-figure { margin: 0; }
.about-figure figcaption { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 0.5rem; }

/* ---------- CTA band & footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: #e6edf3; padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { margin: 0; color: #d2dde8; }
.cta-band-inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 1.3fr auto; } }

.site-footer { background: var(--navy-900); color: #b9c7d4; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); font-size: 0.97rem; }
.site-footer a { color: #e6edf3; text-decoration: none; }
.site-footer a:hover { color: var(--aqua-400); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 0.8fr 1.1fr; } }
.brand-footer { color: #fff; margin-bottom: 1rem; }
.brand-footer .brand-sub { color: var(--aqua-400); }
.footer-title { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua-400); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer-contact p { margin-bottom: 0.8rem; }
.footer-contact a { display: inline-flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact .icon { margin-top: 0.25rem; color: var(--aqua-400); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid rgb(255 255 255 / 12%); font-size: 0.88rem; }
.footer-bottom p { margin: 0; }

/* Sticky mobile call/quote bar */
.mobile-cta { display: none; }
@media (max-width: 759px) {
  .mobile-cta {
    position: fixed; inset: auto 0 0 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: rgb(246 248 250 / 96%); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mobile-cta .btn { min-height: 48px; padding-inline: 0.75rem; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .is-contact .mobile-cta { display: none; }
  body.is-contact { padding-bottom: 0; }
}

@media print {
  .site-header, .mobile-cta, .cta-band, .map-embed, .nav-toggle { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* Compact horizontal service cards on phones — keeps long lists scannable */
@media (max-width: 599px) {
  .service-card .card-link { flex-direction: row; align-items: stretch; }
  .service-card .card-media { flex: 0 0 34%; aspect-ratio: auto; min-height: 128px; }
  .service-card .card-body { padding: 0.95rem 1rem; }
  .service-card .card-icon { display: none; }
  .service-card .card-title { font-size: 1.12rem; margin-bottom: 0.25em; }
  .service-card .card-body p { font-size: 0.9rem; line-height: 1.45; margin-bottom: 0.4em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .service-card .card-more { font-size: 0.88rem; }
  .card-grid { gap: 0.85rem; }
}


/* ==========================================================================
   Links & navigation underlines
   ========================================================================== */
/* Nav: aqua underline grows from the left on hover; solid on the active page */
@media (min-width: 1080px) {
  .site-nav ul a { position: relative; display: inline-block; padding-block: 0.4rem; }
  .site-nav ul a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px;
    background: var(--aqua-500); transform: scaleX(0); transform-origin: left center;
    transition: transform 0.28s var(--ease);
  }
  .site-nav ul a:hover::after, .site-nav ul a:focus-visible::after { transform: scaleX(1); }
  .site-nav ul a[aria-current="page"] { color: var(--navy-800); }
  .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); background: var(--navy-700); }
  .header-phone { position: relative; font-weight: 700; color: var(--navy-800) !important; }
  .header-phone .icon { color: var(--aqua-700); }
}
/* Mobile menu: aqua bar marks the active item */
@media (max-width: 1079px) {
  .js .site-nav ul a[aria-current="page"] { color: var(--navy-800); box-shadow: inset 4px 0 0 var(--aqua-500); padding-left: 0.9rem; }
  .js .site-nav ul a:hover { padding-left: 0.9rem; box-shadow: inset 4px 0 0 var(--aqua-400); }
  .js .site-nav ul a { transition: padding 0.2s var(--ease), box-shadow 0.2s; }
}

/* "Learn more →" style links: animated underline */
.text-link, .card-more, .testimonial figcaption a {
  background-image: linear-gradient(var(--aqua-500), var(--aqua-500));
  background-size: 0% 2px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 2px; transition: background-size 0.3s var(--ease), color 0.2s;
}
.text-link:hover, .card-link:hover .card-more, .testimonial figcaption a:hover { background-size: 100% 2px; text-decoration: none; }
.text-link .icon, .card-more .icon { transition: transform 0.25s var(--ease); }
.text-link:hover .icon, .card-link:hover .card-more .icon { transform: translateX(4px); }

/* In-content links: aqua highlight underline */
.prose a:not(.btn), .faq-a a, .form-note a, .section-dark-note a {
  text-decoration: none; font-weight: 600;
  background-image: linear-gradient(transparent 62%, rgb(108 196 240 / 42%) 62%);
  background-size: 100% 100%; transition: background-size 0.25s, color 0.2s;
}
.prose a:not(.btn):hover, .faq-a a:hover, .form-note a:hover { background-image: linear-gradient(transparent 0, rgb(108 196 240 / 42%) 0); }
.site-footer a { background-image: linear-gradient(var(--aqua-400), var(--aqua-400)); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 0.3s var(--ease), color 0.2s; }
.site-footer a:hover { text-decoration: none; background-size: 100% 1px; }
.breadcrumbs a { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 0.25s; }
.breadcrumbs a:hover { text-decoration: none; background-size: 100% 1px; }

/* ==========================================================================
   Page hero (photo banner on interior pages)
   ========================================================================== */
.page-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; display: grid; align-items: end; min-height: clamp(320px, 42vw, 480px); }
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media picture { height: 100%; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(7 17 29 / 40%) 0%, rgb(7 17 29 / 30%) 40%, rgb(7 17 29 / 90%) 100%),
    linear-gradient(90deg, rgb(7 17 29 / 70%) 0%, rgb(7 17 29 / 0%) 75%);
}
.page-hero-content { padding-block: 1.25rem clamp(2rem, 1.5rem + 2.5vw, 3.5rem); }
.page-hero h1 { color: #fff; max-width: 20ch; margin-bottom: 0.35em; }
.page-hero-lead { font-size: var(--fs-lead); line-height: 1.55; color: #e6edf3; max-width: 60ch; margin: 0; }
.page-hero .hero-actions { margin-top: 1.5rem; }
.page-hero .eyebrow { margin-top: clamp(2.5rem, 2rem + 4vw, 6rem); }
.breadcrumbs-light { padding-top: 0; }
.breadcrumbs-light ol, .breadcrumbs-light a { color: rgb(255 255 255 / 82%); }
.breadcrumbs-light a:hover { color: #fff; }
.breadcrumbs-light li + li::before { color: rgb(255 255 255 / 45%); }
.page-hero .breadcrumbs, .project-hero .breadcrumbs { position: absolute; top: 1.1rem; }
.project-hero-content { position: static; }
.section-intro { max-width: 70ch; margin-bottom: 2rem; }

/* Service page hero: soft marine band */
.service-hero { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-alt) 100%); padding-bottom: clamp(1.75rem, 1.2rem + 2vw, 3rem); border-bottom: 1px solid var(--line); }
.service-hero + .section { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* ==========================================================================
   Stats band, photo strip, collage
   ========================================================================== */
.stats-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; padding-block: clamp(2.25rem, 1.8rem + 2vw, 3.5rem); position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgb(108 196 240 / 18%), transparent 60%); }
.stats { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); position: relative; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { display: flex; flex-direction: column; gap: 0.25rem; padding-left: 1rem; border-left: 3px solid var(--aqua-500); }
.stats strong { font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); font-weight: 600; line-height: 1.05; color: #fff; }
.stats span { color: #c3d0dc; font-size: 0.95rem; }

.photo-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; background: var(--navy-900); }
@media (min-width: 900px) { .photo-strip { grid-template-columns: repeat(5, 1fr); } }
.photo-strip-item { aspect-ratio: 4 / 3; overflow: hidden; }
.photo-strip-item:nth-child(5) { display: none; }
@media (min-width: 900px) { .photo-strip-item:nth-child(5) { display: block; } }
.photo-strip-item picture { height: 100%; }
.photo-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.photo-strip-item:hover img { transform: scale(1.06); }

.about-collage { grid-template-columns: 1fr 1fr; }
.about-collage .about-figure { grid-column: 1 / -1; }
.about-collage > picture img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.details-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--aqua-500); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }

/* ==========================================================================
   Regions (service areas)
   ========================================================================== */
.region { padding: 0; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.region-media { aspect-ratio: 16 / 9; overflow: hidden; }
.region-media picture { height: 100%; }
.region-media img { width: 100%; height: 100%; object-fit: cover; }
.region-body { padding: 1.5rem 1.6rem 1.75rem; border-top: 4px solid var(--aqua-500); }
.region .chip-list li { display: inline-flex; align-items: center; gap: 0.3em; }
.region .chip-list .icon { width: 0.9em; height: 0.9em; color: var(--navy-600); }
.link-grid-dark a { background: #0f2740; border-color: rgb(255 255 255 / 10%); color: #fff; }
.link-grid-dark a:hover { border-color: var(--aqua-500); color: #fff; }
.link-grid-dark .icon { color: var(--aqua-400); }
.section-dark-note { color: #c3d0dc; margin: 0; }
.section-dark-note a { color: #fff; }

/* ==========================================================================
   Testimonials feature, FAQ aside
   ========================================================================== */
.testimonial-features { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
.testimonial-feature { display: grid; gap: 0; align-items: center; }
@media (min-width: 900px) {
  .testimonial-feature { grid-template-columns: 1fr 1.15fr; }
  .testimonial-feature:nth-child(even) .testimonial-feature-media { order: 2; }
  .testimonial-feature .testimonial { margin-left: -3rem; }
  .testimonial-feature:nth-child(even) .testimonial { margin-left: 0; margin-right: -3rem; position: relative; z-index: 1; }
}
.testimonial-feature-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.testimonial-feature-media picture { height: 100%; }
.testimonial-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-feature .testimonial { border-top: 4px solid var(--aqua-500); box-shadow: var(--shadow-lg); }
@media (max-width: 899px) { .testimonial-feature .testimonial { margin: -2.5rem 1rem 0; position: relative; } }

.aside-photo { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.25rem; aspect-ratio: 4 / 3; }
.aside-photo picture { height: 100%; }
.aside-photo img { width: 100%; height: 100%; object-fit: cover; }
.content-aside .testimonial { box-shadow: none; }
.faq-group-first { margin-top: 0; }
.faq-group-title { display: flex; align-items: center; gap: 0.6rem; }
.faq-group-title::before { content: ""; width: 6px; height: 1.1em; border-radius: 3px; background: var(--aqua-500); }
.faq summary:hover .faq-q { color: var(--navy-700); }
.faq[open] { border-color: var(--aqua-500); box-shadow: 0 0 0 1px var(--aqua-500); }

/* Contact aside accent */
.contact-aside .aside-card { border-top: 4px solid var(--aqua-500); box-shadow: var(--shadow); }

/* ==========================================================================
   Google rating badge & review prompts
   ========================================================================== */
.google-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  padding: 0.55rem 0.95rem; border-radius: 999px; text-decoration: none;
  font-size: 0.92rem; font-weight: 600; background-image: none !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s;
}
.google-badge:hover { transform: translateY(-1px); text-decoration: none; }
.google-badge-light { background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow); }
.google-badge-light:hover { color: var(--ink); border-color: var(--aqua-500); }
.google-badge-dark { background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 25%); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.google-badge-dark:hover { color: #fff; border-color: var(--aqua-400); }
.google-badge-g { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #4285f4; font: 700 0.85rem/1 Arial, sans-serif; }
.google-badge-light .google-badge-g { box-shadow: 0 0 0 1px var(--line); }
.google-badge-score { font-weight: 800; }
.google-badge-stars { display: inline-flex; gap: 1px; }
.google-badge .star { width: 0.95em; height: 0.95em; fill: #fbbc04; stroke: #fbbc04; }
.google-badge-text { opacity: 0.85; font-weight: 500; }
.hero .google-badge { margin-top: 1.5rem; }
.site-footer .google-badge { margin-top: 0.5rem; }
.section-head .google-badge { margin-top: 0.25rem; }
.review-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.thanks-review { margin-top: 2rem; color: var(--ink-soft); }
.contact-links { margin: 0 0 1rem; }
.contact-aside .google-badge { margin-bottom: 1rem; }

.footer-hours { display: flex; gap: 0.6rem; align-items: flex-start; color: #e6edf3; }
.footer-hours .icon { margin-top: 0.25rem; color: var(--aqua-400); }

/* ==========================================================================
   Home hero: slow crossfade + Ken Burns drift (no slider)
   ========================================================================== */
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease-in-out; will-change: opacity; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide.is-leaving { opacity: 0; z-index: 0; }
.hero-slide picture { height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--kb-origin, 50% 50%); }
.hero-media::after { z-index: 2; }
.hero-slide:nth-child(1) { --kb-origin: 30% 60%; }
.hero-slide:nth-child(2) { --kb-origin: 70% 40%; }
.hero-slide:nth-child(3) { --kb-origin: 60% 30%; }
.hero-slide:nth-child(4) { --kb-origin: 40% 70%; }
.hero-slide:nth-child(5) { --kb-origin: 50% 40%; }
.hero-slide:nth-child(6) { --kb-origin: 35% 55%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active img, .hero-slide.is-leaving img { animation: sd-kenburns 9s ease-out both; }
  .hero-paused .hero-slide img { animation-play-state: paused !important; }
}
@keyframes sd-kenburns { from { transform: scale(1.12); } to { transform: scale(1.0); } }

.hero-meta { position: absolute; left: 0; right: 0; bottom: 1.1rem; z-index: 3; display: flex; justify-content: flex-end; pointer-events: none; }
.hero-caption {
  margin: 0; padding-right: 3.25rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  color: rgb(255 255 255 / 85%); text-shadow: 0 1px 8px rgb(0 0 0 / 45%); transition: opacity 0.6s ease;
}
.hero-caption.is-changing { opacity: 0; }
.hero-pause {
  position: absolute; right: clamp(1rem, 0.6rem + 2vw, 2rem); bottom: 0.75rem; z-index: 4;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 45%);
  background: rgb(7 17 29 / 35%); color: #fff; cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: background 0.2s, border-color 0.2s;
}
.hero-pause[hidden] { display: none; }
.hero-pause:hover { background: rgb(7 17 29 / 60%); border-color: #fff; }
.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; }
@media (max-width: 759px) { .hero-meta { bottom: 0.9rem; } .hero-caption { font-size: 0.75rem; } }

/* ==========================================================================
   Feature band (big photo + navy panel)
   ========================================================================== */
.feature-band { display: grid; background: var(--navy-900); color: #e6edf3; }
@media (min-width: 900px) { .feature-band { grid-template-columns: 1.4fr 1fr; min-height: 560px; } }
.feature-band-media { position: relative; min-height: 320px; overflow: hidden; }
.feature-band-media picture { position: absolute; inset: 0; }
.feature-band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; transition: transform 1.2s var(--ease); }
.feature-band:hover .feature-band-media img { transform: scale(1.03); }
.feature-band-body { padding: clamp(2.25rem, 1.5rem + 3vw, 4.5rem) clamp(1.25rem, 1rem + 3vw, 4rem); display: flex; flex-direction: column; justify-content: center; position: relative; }
.feature-band-body::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 4px; background: var(--aqua-500); border-radius: 0 4px 4px 0; }
@media (max-width: 899px) { .feature-band-body::before { top: 0; bottom: auto; left: 1.25rem; right: auto; width: 64px; height: 4px; border-radius: 0 0 4px 4px; } }
.feature-band h2 { color: #fff; }
.feature-band p { color: #c3d0dc; }
.feature-band-list { list-style: none; padding: 0; margin: 0.25rem 0 1.75rem; display: grid; gap: 0.55rem; font-weight: 600; color: #fff; }
.feature-band-list li { display: flex; gap: 0.6rem; align-items: center; }
.feature-band-list .icon { color: var(--aqua-400); stroke-width: 2.5; }
.feature-band .btn { align-self: flex-start; }

/* ==========================================================================
   "Proudly serving" band (home, directly under the hero)
   ========================================================================== */
.serving-band { background: linear-gradient(120deg, var(--aqua-200), #c7e8f9); border-bottom: 1px solid #a9d3ea; position: relative; overflow: hidden; }
.serving-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 140% at 0% 50%, rgb(255 255 255 / 45%), transparent 70%); pointer-events: none; }
.serving-band-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; padding-block: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); text-align: center; }
.serving-statement {
  margin: 0; max-width: 32ch; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.35rem); line-height: 1.2; color: var(--navy-900); text-wrap: balance;
}
.serving-areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.4rem; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.04em; color: var(--aqua-700); }
.serving-areas li { display: inline-flex; align-items: center; gap: 0.35em; }
.serving-areas .icon { color: var(--navy-700); }

/* ==========================================================================
   Northern Rivers Detailing: dark header so the night-sky emblem reads as on the
   original logo; ice accents
   ========================================================================== */
.site-header { background: rgb(7 17 29 / 96%); border-bottom: 1px solid rgb(255 255 255 / 8%); }
.brand { color: #fff; gap: 0.75rem; }
.brand-mark { display: block; line-height: 0; }
/* The original logo, made transparent (bin/build-logo.sh): sits directly on the dark header/footer */
.brand-mark img { width: 64px; height: 64px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); letter-spacing: -0.01em; color: #fff; }
.brand-sub { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--aqua-400); }
.brand-footer .brand-mark img { width: 160px; height: 160px; }
.site-nav a { color: #e6edf3; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.nav-toggle { background: transparent; border-color: rgb(255 255 255 / 25%); color: #fff; }
.site-header .btn-primary { --btn-bg: var(--sun-500); --btn-fg: var(--navy-900); --btn-bd: var(--sun-500); }
.site-header .btn-primary:hover { --btn-bg: var(--sun-400); --btn-bd: var(--sun-400); }
@media (min-width: 1080px) {
  .site-nav ul a[aria-current="page"] { color: #fff; }
  .site-nav ul a::after { background: var(--aqua-500); }
  .site-nav ul a[aria-current="page"]::after { background: var(--sun-500); }
  .header-phone { color: #fff !important; }
  .header-phone .icon { color: var(--aqua-400); }
  .site-nav ul { gap: 0.25rem 1.05rem; }
  .site-nav { gap: 1.4rem; }
}
@media (max-width: 1079px) {
  .js .site-nav { background: var(--navy-900); border-bottom-color: rgb(255 255 255 / 10%); }
  .js .site-nav ul a { border-bottom-color: rgb(255 255 255 / 10%); }
  .js .site-nav ul a[aria-current="page"] { color: #fff; }
  .js .header-phone { border-color: rgb(255 255 255 / 60%); color: #fff; }
}
@media (max-width: 420px) { .brand-mark img { width: 56px; height: 56px; } }
@media (max-width: 340px) { .brand-sub { display: none; } }
.brand-footer { margin-bottom: 1.25rem; }
.footer-alias { font-size: 0.9rem; color: #9fb0c0; }

.hero h1, .page-hero h1 { text-shadow: 0 2px 24px rgb(0 0 0 / 30%); }
.hero h1 .chrome-text {
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 10px rgb(0 0 0 / 55%)); font-style: italic;
}
.stats strong { font-weight: 600; }
.serving-statement { font-weight: 600; }

/* Brand strip: Greenclean heritage + products */
.brand-badges { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.brand-badges li { padding: 0.35rem 0.8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 0.88rem; font-weight: 600; color: var(--navy-800); }
.section-dark .brand-badges li, .feature-band .brand-badges li { background: rgb(255 255 255 / 6%); border-color: rgb(255 255 255 / 18%); color: #fff; }

/* Mobile-service "where we come to you" row */
.where-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.where-list li { display: flex; gap: 0.75rem; align-items: center; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; color: var(--navy-900); }
.where-list .icon { width: 28px; height: 28px; color: var(--aqua-700); }
.actions-row { margin-top: 1.5rem; }

/* ==========================================================================
   Service page photo slider (replaces the separate gallery section)
   ========================================================================== */
.svc-slider { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.svc-slides { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.svc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease-in-out; }
.svc-slide.is-active { opacity: 1; z-index: 1; }
.svc-slide[hidden] { display: none; }
.svc-slide a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.svc-slide picture { height: 100%; }
.svc-slide img, .service-hero-media .svc-slide img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; box-shadow: none; }
/* Portrait shots (product photos) are shown whole on a navy backdrop instead of cropped */
.svc-slide.is-portrait img, .service-hero-media .svc-slide.is-portrait img { object-fit: contain; }
.svc-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem;
  padding: 2.5rem 0.9rem 0.8rem;
  background: linear-gradient(180deg, rgb(7 17 29 / 0%), rgb(7 17 29 / 70%));
  pointer-events: none;
}
.svc-controls[hidden] { display: none; }
.svc-controls > * { pointer-events: auto; }
.svc-btn {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border-radius: 50%; border: 1px solid rgb(255 255 255 / 45%);
  background: rgb(7 17 29 / 45%); color: #fff; cursor: pointer;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s;
}
.svc-btn:hover { background: rgb(7 17 29 / 75%); border-color: #fff; }
.svc-btn .icon { width: 20px; height: 20px; }
.svc-prev .icon { transform: scaleX(-1); }
.svc-pause-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.svc-pause[aria-pressed="true"] .svc-pause-icon { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.svc-count { order: -1; margin-right: auto; color: #fff; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-shadow: 0 1px 6px rgb(0 0 0 / 50%); }

/* Service areas: coverage map beside the suburb badges (photo stays fully visible) */
.region-coverage { display: grid; grid-template-columns: minmax(0, 1fr) clamp(110px, 28%, 160px); gap: 1rem; align-items: start; }
.region-coverage .chip-list { align-content: start; }
.region-map { margin: 0; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #cfe3ef; box-shadow: var(--shadow); }
.region-map img { width: 100%; height: 100%; object-fit: cover; }
.map-note { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; margin: 1.25rem 0 0; font-size: var(--fs-sm); color: var(--ink-soft); }
.map-key { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }


/* "Website by NGN" footer credit (assets/ngn-credit.html). Full footer text
   colour, no opacity: dimming it failed contrast on dim footers. */
a.ngn-credit { display: inline-flex; align-items: center; gap: 0.45em; color: inherit; text-decoration: none; }
.ngn-credit svg { display: block; width: auto; height: 1.05em; transform: translateY(0.12em); }

/* ==========================================================================
   Northern Rivers Detailing: new components
   ========================================================================== */
/* Quick facts (service pages): short, quotable answers */
.facts { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin: 1.75rem 0 0; padding: 0; }
.fact { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--aqua-500); border-radius: var(--radius-sm); padding: 0.8rem 1rem; }
.fact dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aqua-700); margin-bottom: 0.2rem; }
.fact dd { margin: 0; font-weight: 600; color: var(--navy-900); line-height: 1.4; font-size: 0.97rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 0.5rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.check-list .icon { color: var(--navy-600); margin-top: 0.3em; stroke-width: 2.4; }

/* Numbered process */
.steps { counter-reset: step; }
.section-dark .steps li { background: #0f2740; border-color: rgb(255 255 255 / 10%); }
.section-dark .steps p { color: #b9c7d4; }
.section-dark .step-num { background: var(--sun-500); color: var(--navy-900); }

/* Long-form guide (caravan, ceramic coating) */
.guide { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); box-shadow: var(--shadow); }
.guide-head { max-width: 70ch; margin-bottom: 1.5rem; }
.guide-head h2 { margin-bottom: 0.5em; }
.guide-toc { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.guide-toc a { display: inline-block; padding: 0.35rem 0.8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 0.88rem; font-weight: 600; text-decoration: none; color: var(--navy-800); }
.guide-toc a:hover { border-color: var(--navy-600); }
.guide-body { columns: 1; max-width: 75ch; }
.guide-body h3 { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem); margin-top: 1.8em; scroll-margin-top: calc(var(--header-h) + 1rem); }
.guide-body h3:first-child { margin-top: 0; }
.guide-note { margin-top: 2rem; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); background: var(--aqua-200); color: var(--navy-800); font-size: 0.92rem; }

/* Reviews */
.review-card { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review-card::before { content: "\201C"; position: absolute; top: -0.15em; left: 1.1rem; font-family: var(--font-display); font-size: 5.5rem; line-height: 1; color: var(--aqua-500); opacity: 0.55; }
.review-stars { display: inline-flex; gap: 2px; margin-bottom: 0.75rem; }
.review-stars .icon { width: 1.05em; height: 1.05em; fill: var(--sun-500); stroke: var(--sun-500); }
.review-card blockquote { margin: 0 0 1.25rem; font-size: 1.05rem; line-height: 1.6; color: var(--navy-900); }
.review-card blockquote p:last-child { margin-bottom: 0; }
.review-card figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 0.1rem; font-size: 0.93rem; }
.review-card figcaption strong { color: var(--navy-900); font-size: 1rem; }
.review-card figcaption span { color: var(--ink-soft); }
.review-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.review-feature { margin: 0; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius); background: var(--navy-900); color: #e6edf3; position: relative; overflow: hidden; }
.review-feature::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgb(108 196 240 / 20%), transparent); }
.review-feature blockquote { margin: 0 0 1rem; font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.35; color: #fff; position: relative; z-index: 1; }
.review-feature figcaption { color: var(--aqua-400); font-weight: 600; position: relative; z-index: 1; }
.review-feature figcaption span { color: #b9c7d4; font-weight: 400; }
.source-note { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 1.5rem; }

/* Self-hosted customer videos */
.video-grid { display: grid; gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); align-items: start; }
@media (min-width: 900px) { .video-grid { grid-template-columns: 1.7fr 1fr; } }
.video-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-card video { display: block; width: 100%; height: auto; background: var(--navy-900); }
.video-card.is-portrait video { max-height: 80vh; margin-inline: auto; width: auto; max-width: 100%; }
.video-card.is-portrait { background: var(--navy-900); }
.video-card figcaption { padding: 1.1rem 1.25rem 1.25rem; background: var(--surface); }
.video-card h3 { font-size: 1.2rem; margin-bottom: 0.35em; }
.video-card p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 0.6rem; }
.transcript { border-top: 1px solid var(--line); padding-top: 0.6rem; font-size: 0.93rem; }
.transcript summary { cursor: pointer; font-weight: 700; color: var(--navy-700); }
.transcript dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 0.75rem; margin: 0.75rem 0 0; }
.transcript dt { font-weight: 700; color: var(--navy-900); }
.transcript dd { margin: 0; color: var(--ink-soft); }
.section-dark .video-card { border-color: rgb(255 255 255 / 10%); }

/* Photo grid (lightbox) */
.photo-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .photo-grid { grid-template-columns: repeat(4, 1fr); gap: 0.85rem; } }
.photo-grid li:first-child { grid-column: span 2; }
.photo-grid a { display: block; height: 100%; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); cursor: zoom-in; }
.photo-grid li:first-child a { aspect-ratio: 8 / 3; }
@media (min-width: 760px) {
  /* A 2x2 feature tile only when the rest fill the 4-column grid exactly (1 + 4n photos) */
  .photo-grid li:first-child:nth-last-child(4n+1) { grid-row: span 2; }
  .photo-grid li:first-child:nth-last-child(4n+1) a { aspect-ratio: auto; }
  .photo-grid li:first-child:not(:nth-last-child(4n+1)) a { aspect-ratio: 8 / 3; }
}
.photo-grid picture { height: 100%; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.photo-grid a:hover img { transform: scale(1.05); }
.photo-grid .is-whole img { object-fit: contain; background: var(--navy-900); }

/* Heritage: Green Clean → Shiny Detailing → Northern Rivers Detailing */
.heritage { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: h; }
.heritage li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; text-align: center; position: relative; }
.heritage .heritage-logo { width: 120px; height: 120px; margin: 0 auto 0.9rem; border-radius: 50%; overflow: hidden; background: var(--navy-900); display: grid; place-items: center; }
.heritage .heritage-logo picture, .heritage .heritage-logo img { width: 100%; height: 100%; object-fit: cover; }
.heritage h3 { font-size: 1.15rem; margin-bottom: 0.25em; }
.heritage p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.heritage .when { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua-700); margin-bottom: 0.35rem; }

/* Drop-off / pick-up callout */
.callout { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: linear-gradient(120deg, #fff4e6, #fde7cc); border: 1px solid #f3cf9f; color: #4a2a06; }
.callout .icon { width: 28px; height: 28px; color: var(--sun-700); flex: none; margin-top: 0.15rem; }
.callout strong { display: block; color: #3a2004; font-size: 1.05rem; }
.callout p { margin: 0.2rem 0 0; }

/* Local pages */
.town-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.town-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.town-card picture { position: absolute; inset: 0; z-index: -2; }
.town-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.town-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(7 17 29 / 0%) 35%, rgb(7 17 29 / 85%)); }
.town-card:hover { color: #fff; }
.town-card:hover img { transform: scale(1.05); }
.town-card span { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; }
.town-card strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.town-card small { display: block; color: var(--aqua-400); font-weight: 600; letter-spacing: 0.04em; }

/* Sunset band (footer intro / about) */
.sunset-strip { height: clamp(80px, 12vw, 160px); overflow: hidden; background: var(--navy-900); }
.sunset-strip picture, .sunset-strip img { width: 100%; height: 100%; object-fit: cover; }

/* Structured water / product disclaimer */
.disclaimer { font-size: var(--fs-sm); color: var(--ink-soft); border-left: 3px solid var(--line); padding-left: 1rem; }
.review-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.95rem; border-radius: 999px; text-decoration: none; font-size: 0.92rem; font-weight: 600; background-image: none !important; }
.review-badge .icon { fill: var(--sun-500); stroke: var(--sun-500); }
.review-badge-dark { background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 25%); color: #fff; }
.review-badge-dark:hover { color: #fff; border-color: var(--sun-400); }
.review-badge-light { background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow); }
.review-badge-light:hover { color: var(--ink); border-color: var(--sun-500); }
.hero .review-badge { margin-top: 1.5rem; }
.site-footer .review-badge { margin-top: 0.5rem; }
.footer-title-gap { margin-top: 1.75rem; }
@media (min-width: 1100px) { .card-grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .video-grid-portrait { grid-template-columns: minmax(0, 420px) 1fr; } }
.review-stack, .review-feature-wrap { display: grid; gap: 1rem; align-content: start; }
.callout { margin-top: 1.5rem; }
.review-badge-stars { display: inline-flex; gap: 1px; }
.video-grid-single { grid-template-columns: minmax(0, 860px) !important; }

/* ==========================================================================
   NIGHT TIDE: Northern Rivers Detailing's own design language
   Dark-first (the logo's night sky), the Flower of Life as a motif, warm
   "paper" sections for reading. Everything below overrides the shared base.
   ========================================================================== */
:root {
  --night: #060d16;
  --night-2: #0a1724;
  --night-3: #10243a;
  --paper: #f4f1ea;
  --mist: #c6d4e1;
  --mist-2: #9fb2c4;
  --ice-grad: linear-gradient(100deg, #ffffff 0%, #bfe6fb 40%, #6cc4f0 70%, #e9f7ff 100%);
  --header-h: 88px;
  /* Seed of Life (the flower's 7-circle core), used as a CSS mask so it takes currentColor */
  --seed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='black' stroke-width='1.3'%3E%3Ccircle cx='15.00' cy='15.00' r='5'/%3E%3Ccircle cx='15.00' cy='10.00' r='5'/%3E%3Ccircle cx='19.33' cy='12.50' r='5'/%3E%3Ccircle cx='19.33' cy='17.50' r='5'/%3E%3Ccircle cx='15.00' cy='20.00' r='5'/%3E%3Ccircle cx='10.67' cy='17.50' r='5'/%3E%3Ccircle cx='10.67' cy='12.50' r='5'/%3E%3Ccircle cx='15' cy='15' r='11.5'/%3E%3C/svg%3E");
}
body { background: var(--paper); }
.night { background: var(--night); color: var(--mist); position: relative; }
.night h1, .night h2, .night h3 { color: #fff; }
.night .section-head p:last-child { color: var(--mist-2); }
.night .lead { color: var(--mist); }
.night .btn-outline { --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 60%); }
.night .btn-outline:hover { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }
.paper { background: var(--paper); }
.night + .night { border-top: 1px solid rgb(163 220 248 / 8%); }
h1 em, h2 em, .story-quote em { font-style: italic; font-weight: 500; }
.night h1 em, .night h2 em {
  background: var(--ice-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  /* Italic glyphs overhang their box and background-clip: text clips to the box, so pad it
     (and cancel the padding with margin so spacing is unchanged); clone across line breaks */
  padding: 0.04em 0.16em 0.06em 0.08em; margin: -0.04em -0.16em -0.06em -0.08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.paper h2 em, .story-quote em { color: var(--navy-600); }
.kicker {
  display: inline-flex; align-items: center; gap: 0.6em; margin: 0 0 1rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--aqua-400);
}
.kicker::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--seed) center / contain no-repeat; mask: var(--seed) center / contain no-repeat; }
.kicker .icon { display: none; }
.kicker-dark { color: var(--aqua-700); }
.text-link-light { color: var(--aqua-400); }
.text-link-light:hover { color: #fff; }
.night .text-link { background-image: linear-gradient(var(--sun-500), var(--sun-500)); }
.section-head h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); line-height: 1.04; }

/* Buttons */
.btn-sun { --btn-bg: var(--sun-500); --btn-fg: var(--night); --btn-bd: var(--sun-500); }
.btn-sun:hover { --btn-bg: var(--sun-400); --btn-bd: var(--sun-400); }
.btn-ghost { --btn-bg: rgb(255 255 255 / 4%); --btn-fg: #fff; --btn-bd: rgb(163 220 248 / 40%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { --btn-bg: #fff; --btn-fg: var(--night); --btn-bd: #fff; }
@media (pointer: coarse) { .only-pointer { display: none; } }
@media (pointer: fine) { .only-touch { display: none; } }

/* ---------- Header: floating glass pill ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; background: transparent; border: 0; pointer-events: none; padding-top: 12px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-bar { max-width: 1260px; margin-inline: auto; padding-inline: clamp(0.6rem, 0.3rem + 1.5vw, 1.5rem); }
.header-pill {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px; padding: 0.35rem 0.45rem 0.35rem 0.7rem; border-radius: 999px;
  background: rgb(6 13 22 / 50%); border: 1px solid rgb(163 220 248 / 14%);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled .header-pill { background: rgb(6 13 22 / 90%); border-color: rgb(163 220 248 / 20%); box-shadow: 0 12px 40px rgb(0 0 0 / 35%); }
.brand-mark img { width: 52px; height: 52px; }
.brand-name { font-size: 1.12rem; }
.brand-sub { font-size: 0.66rem; letter-spacing: 0.3em; }
.site-nav ul a { color: #dfe8f0; font-size: 0.94rem; }
.header-quick { display: none; align-items: center; gap: 0.4rem; }
.header-quick .btn { min-height: 44px; padding-inline: 1rem; }
.nav-toggle { border-radius: 50%; width: 46px; height: 46px; border-color: rgb(163 220 248 / 30%); }
@media (min-width: 1080px) {
  .site-nav { gap: 1.25rem; }
  .site-nav ul { gap: 0.2rem 1rem; }
  .header-phone { font-size: 0.94rem; }
}
@media (max-width: 1079px) {
  .header-quick { display: flex; }
  .js .site-nav {
    inset: 88px clamp(0.6rem, 0.3rem + 1.5vw, 1.5rem) auto; border-radius: 24px; padding: 0.75rem 1.25rem 1.25rem;
    background: rgb(6 13 22 / 96%); border: 1px solid rgb(163 220 248 / 18%); box-shadow: 0 24px 60px rgb(0 0 0 / 50%);
    max-height: calc(100dvh - 104px);
  }
  .js .site-nav ul a { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
  .no-js .header-pill { flex-wrap: wrap; border-radius: 24px; }
}
@media (max-width: 420px) {
  .brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-quick .btn { padding-inline: 0.85rem; font-size: 0.9rem; }
}
.no-hero main { padding-top: 110px; }

/* ---------- Home: night hero over the old site's sunset panorama ---------- */
.nh { min-height: min(100svh, 940px); padding: clamp(120px, 14vh, 160px) 0 clamp(3rem, 2rem + 4vw, 5.5rem); overflow: hidden; isolation: isolate; display: grid; align-items: center; }
.nh-backdrop { position: absolute; inset: 0; z-index: -2; }
.nh-backdrop picture { height: 100%; }
.nh-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; opacity: 0.6; }
.nh-backdrop::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--night) 0%, rgb(6 13 22 / 30%) 30%, rgb(6 13 22 / 45%) 62%, var(--night) 100%),
    linear-gradient(90deg, rgb(6 13 22 / 85%) 0%, rgb(6 13 22 / 20%) 60%, rgb(6 13 22 / 50%) 100%);
}
.flower { position: absolute; pointer-events: none; z-index: -1; width: auto; height: auto; }
.nh-flower { width: min(1100px, 125vw); right: -16%; top: 50%; transform: translateY(-50%); opacity: 0.6; }
/* The bloom turns very slowly; the drifting rings turn the other way (still for reduced motion) */
.flower-bloom, .flower-rings { transform-origin: 500px 500px; transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .flower-bloom { animation: nrd-bloom 240s linear infinite; }
  .flower-rings { animation: nrd-bloom 420s linear infinite reverse; }
}
@keyframes nrd-bloom { to { transform: rotate(360deg); } }
.nh-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .nh-grid { grid-template-columns: 1fr 1fr; } }
.nh h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 15ch; margin-bottom: 0.45em; text-shadow: 0 2px 30px rgb(0 0 0 / 35%); }
.nh-lead { font-size: var(--fs-lead); color: #d5e0ea; max-width: 52ch; line-height: 1.6; }
.nh-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.9rem; }
.nh-proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 2.4rem 0 0; }
.nh-proof div { padding: 0.2rem 1.15rem 0.2rem 0; margin-right: 1.15rem; border-right: 1px solid rgb(163 220 248 / 20%); }
.nh-proof div:last-child { border-right: 0; margin-right: 0; }
.nh-proof dt { font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.5rem); font-weight: 500; color: #fff; line-height: 1.1; }
.nh-proof dd { margin: 0.2rem 0 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aqua-400); }
.nh-triptych { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.5rem, 0.3rem + 1vw, 1rem); align-items: start; }
.nh-triptych li:nth-child(2) { margin-top: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.nh-triptych li:nth-child(3) { margin-top: clamp(3rem, 2rem + 6vw, 7rem); }
.nh-triptych a { position: relative; display: block; aspect-ratio: 1 / 2.05; border-radius: 999px 999px 22px 22px; overflow: hidden; color: #fff; text-decoration: none; border: 1px solid rgb(163 220 248 / 22%); box-shadow: 0 24px 60px rgb(0 0 0 / 45%); transition: transform 0.4s var(--ease), border-color 0.3s; }
.nh-triptych a:hover { transform: translateY(-6px); border-color: var(--aqua-400); color: #fff; }
.nh-triptych picture { height: 100%; }
.nh-triptych img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.nh-triptych a:hover img { transform: scale(1.06); }
.nh-triptych a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(6 13 22 / 85%)); }
.nh-triptych span { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0.9rem; display: flex; justify-content: center; align-items: center; gap: 0.35em; font-family: var(--font-display); font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); font-style: italic; }
.nh-triptych span .icon { width: 0.9em; height: 0.9em; color: var(--sun-500); }
@media (max-width: 999px) { .nh-triptych li:nth-child(2) { margin-top: 1.25rem; } .nh-triptych li:nth-child(3) { margin-top: 2.5rem; } .nh-triptych a { aspect-ratio: 3 / 4.4; } }

/* ---------- Ribbon of towns ---------- */
.ribbon { display: flex; overflow: hidden; padding-block: 1.1rem; border-block: 1px solid rgb(163 220 248 / 12%); }
.ribbon-track { list-style: none; margin: 0; padding: 0; display: flex; flex: none; gap: 0; }
.ribbon-track li { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.7rem); color: #e6eef5; padding-inline: 1.4rem; }
.ribbon-track li::after { content: ""; width: 20px; height: 20px; margin-left: 2.8rem; background: var(--sun-500); opacity: 0.85; -webkit-mask: var(--seed) center / contain no-repeat; mask: var(--seed) center / contain no-repeat; }
@media (prefers-reduced-motion: no-preference) { .ribbon-track { animation: nrd-ribbon 60s linear infinite; } .ribbon:hover .ribbon-track { animation-play-state: paused; } }
@keyframes nrd-ribbon { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ribbon { flex-wrap: wrap; justify-content: center; } .ribbon-track[aria-hidden] { display: none; } .ribbon-track { flex-wrap: wrap; justify-content: center; } }

/* ---------- Before / after flip ---------- */
.flip-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .flip-grid { grid-template-columns: 0.9fr 1.1fr; } }
.flip-text h2 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); line-height: 1.02; }
.flip { position: relative; }
.flip-frame { position: relative; aspect-ratio: 826 / 440; border-radius: 26px; overflow: hidden; background: var(--night); box-shadow: 0 30px 70px rgb(6 13 22 / 30%); }
.flip-pane { position: absolute; inset: 0; transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); }
.flip-pane picture { height: 100%; }
.flip-pane img { width: 100%; height: 100%; object-fit: cover; }
.flip-after { opacity: 0; transform: scale(1.03); }
.flip-radio:nth-of-type(2):checked ~ .flip-frame .flip-after { opacity: 1; transform: none; }
.flip-radio:nth-of-type(2):checked ~ .flip-frame .flip-before { opacity: 0; }
.flip-tabs { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: flex; padding: 4px; border-radius: 999px; background: rgb(6 13 22 / 72%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgb(163 220 248 / 25%); }
.flip-tabs label { cursor: pointer; padding: 0.55rem 1.3rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem; color: #dfe8f0; transition: background-color 0.25s, color 0.25s; }
.flip-radio:nth-of-type(1):checked ~ .flip-frame .flip-tabs label:first-child,
.flip-radio:nth-of-type(2):checked ~ .flip-frame .flip-tabs label:last-child { background: var(--sun-500); color: var(--night); }
.flip-radio:nth-of-type(1):focus-visible ~ .flip-frame .flip-tabs label:first-child,
.flip-radio:nth-of-type(2):focus-visible ~ .flip-frame .flip-tabs label:last-child { outline: 3px solid var(--aqua-400); outline-offset: 2px; }
.flip-hint { margin: 0.9rem 0 0; text-align: center; font-size: 0.9rem; color: var(--ink-soft); }
.flip-radio:nth-of-type(2):checked ~ .flip-hint { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .flip-radio:nth-of-type(1):checked ~ .flip-frame .flip-tabs label:last-child { animation: nrd-nudge 2.4s ease-in-out 1.5s 3; }
}
@keyframes nrd-nudge { 0%, 100% { box-shadow: 0 0 0 0 rgb(243 164 71 / 0%); } 50% { box-shadow: 0 0 0 6px rgb(243 164 71 / 45%); } }

/* ---------- Editorial service index ---------- */
.svc-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgb(163 220 248 / 14%); }
.svc-index li { position: relative; border-bottom: 1px solid rgb(163 220 248 / 14%); }
.svc-index a { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 3.25rem; gap: 1.25rem; align-items: center; padding: clamp(1.25rem, 1rem + 1vw, 1.9rem) 0.25rem; color: inherit; text-decoration: none; transition: padding 0.35s var(--ease); }
.svc-num { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--aqua-400); }
.svc-name { margin: 0 0 0.25rem; font-size: clamp(1.55rem, 1.1rem + 1.7vw, 2.6rem); font-weight: 500; letter-spacing: -0.02em; color: #fff; transition: color 0.3s; }
.svc-line { display: block; color: var(--mist-2); max-width: 62ch; font-size: 0.98rem; line-height: 1.55; }
.svc-go { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 1px solid rgb(163 220 248 / 30%); color: #fff; transition: background-color 0.3s, color 0.3s, transform 0.35s var(--ease), border-color 0.3s; }
.svc-go .icon { width: 1.2rem; height: 1.2rem; }
.svc-index a:hover .svc-go, .svc-index a:focus-visible .svc-go { background: var(--sun-500); border-color: var(--sun-500); color: var(--night); transform: rotate(-35deg); }
.svc-index a:hover .svc-name { color: var(--aqua-400); }
.svc-thumb { display: none; }
@media (min-width: 900px) {
  .svc-index a:hover { padding-left: 1.25rem; }
  .svc-thumb { display: block; position: absolute; right: 7rem; top: 50%; width: 250px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; transform: translateY(-50%) rotate(-4deg) scale(0.85); transition: opacity 0.35s, transform 0.45s var(--ease); box-shadow: 0 30px 60px rgb(0 0 0 / 50%); z-index: 2; }
  .svc-thumb picture, .svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .svc-index a:hover .svc-thumb { opacity: 1; transform: translateY(-50%) rotate(-4deg) scale(1); }
}
@media (max-width: 899px) {
  .svc-index a { grid-template-columns: 76px minmax(0, 1fr) 2.75rem; gap: 0.9rem; }
  .svc-num { display: none; }
  .svc-thumb { display: block; grid-column: 1; grid-row: 1; width: 76px; height: 76px; border-radius: 16px; overflow: hidden; }
  .svc-thumb picture, .svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .svc-body { grid-column: 2; }
  .svc-line { font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .svc-go { width: 2.75rem; height: 2.75rem; }
}
.paper .svc-index, .paper .svc-index li { border-color: var(--line); }
.paper .svc-name { color: var(--navy-900); }
.paper .svc-line { color: var(--ink-soft); }
.paper .svc-go { color: var(--navy-900); border-color: #c5cfd9; }
.paper .svc-num { color: var(--aqua-700); }
.paper .svc-index a:hover .svc-name { color: var(--navy-600); }

/* ---------- Story + rings ---------- */
.story-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .story-grid { grid-template-columns: 1.15fr 0.85fr; } }
.story-quote { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.8rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.025em; }
.rings { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 0.5rem + 2vw, 2rem) 1rem; color: var(--navy-600); }
.rings li { display: grid; justify-items: center; text-align: center; }
.rings .ring { grid-area: 1 / 1; width: clamp(110px, 90px + 5vw, 150px); height: auto; }
.rings strong { grid-area: 1 / 1; align-self: center; font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 600; color: var(--navy-900); }
.rings span { margin-top: 0.6rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); max-width: 18ch; }
.rings li:nth-child(2) .ring-arc { stroke-dasharray: 300 340; }
.rings li:nth-child(3) .ring-arc { stroke-dasharray: 190 340; }
.rings li:nth-child(4) .ring-arc { stroke-dasharray: 120 340; }
.night .rings { color: var(--aqua-500); }
.night .rings strong { color: #fff; }
.night .rings span { color: var(--mist-2); }
.rings-band { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.rings-band .rings { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

/* ---------- Theatre (videos on night) ---------- */
.theatre-grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-items: start; }
@media (min-width: 960px) { .theatre-grid { grid-template-columns: 1.7fr 1fr; } }
.theatre-quotes { display: grid; gap: 1rem; }
.night .video-card { background: var(--night-2); border-color: rgb(163 220 248 / 14%); box-shadow: 0 30px 70px rgb(0 0 0 / 40%); }
.night .video-card figcaption { background: var(--night-2); }
.night .video-card p, .night .transcript dd { color: var(--mist-2); }
.night .transcript { border-color: rgb(163 220 248 / 14%); }
.night .transcript summary { color: var(--aqua-400); }
.night .transcript dt { color: #fff; }
.night .review-card { background: rgb(255 255 255 / 4%); border-color: rgb(163 220 248 / 14%); box-shadow: none; }
.night .review-card blockquote { color: #eef4f9; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.45; }
.night .review-card figcaption strong { color: #fff; }
.night .review-card figcaption span { color: var(--mist-2); }

/* ---------- Coverage map ---------- */
.coverage-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 960px) { .coverage-grid { grid-template-columns: 1fr minmax(0, 460px); } }
.coverage-map { margin: 0; border-radius: 28px; overflow: hidden; border: 1px solid rgb(163 220 248 / 16%); background: #071321; box-shadow: 0 30px 70px rgb(0 0 0 / 40%); }
.coverage-map svg { display: block; width: 100%; height: auto; }
.coverage-map text { font-family: var(--font-body); font-size: 13px; fill: var(--mist); }
.map-town circle { fill: var(--aqua-400); }
.map-town.has-page text { fill: #fff; font-weight: 700; font-size: 14px; }
.map-town.has-page circle { fill: #fff; stroke: var(--aqua-500); stroke-width: 2; }
.map-link:hover text, .map-link:focus text { fill: var(--sun-400); }
.map-link:focus-visible { outline: none; }
.map-link:focus-visible circle { stroke: var(--sun-500); stroke-width: 3; }
.map-base circle:first-child { fill: var(--sun-500); }
.map-base text { fill: #fff; font-weight: 800; font-size: 15px; }
.coverage-map .map-km { fill: var(--aqua-400); font-size: 11px; letter-spacing: 0.08em; }
.coverage-map .map-peak { fill: var(--mist-2); font-size: 11px; font-style: italic; }
.coverage-map .map-sea { fill: rgb(163 220 248 / 45%); font-family: var(--font-display); font-style: italic; font-size: 16px; }
.town-links { list-style: none; margin: 1.75rem 0 1.25rem; padding: 0; border-top: 1px solid rgb(163 220 248 / 14%); }
.town-links li { border-bottom: 1px solid rgb(163 220 248 / 14%); }
.town-links a { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: 0.95rem 0.2rem; color: #fff; text-decoration: none; transition: padding 0.3s var(--ease), color 0.2s; }
.town-links a:hover { padding-left: 0.8rem; color: var(--aqua-400); }
.town-links span { font-family: var(--font-display); font-size: 1.35rem; }
.town-links small { color: var(--mist-2); font-size: 0.85rem; }
.town-links .icon { color: var(--sun-500); }
.callout-inline { display: flex; gap: 0.5rem; align-items: center; color: var(--mist); }
.callout-inline .icon { color: var(--sun-500); }
.paper .town-links, .paper .town-links li { border-color: var(--line); }
.paper .town-links a { color: var(--navy-900); }
.paper .town-links small { color: var(--ink-soft); }

/* ---------- Interior page hero: night, flower, big serif ---------- */
.page-hero { min-height: clamp(440px, 50vw, 640px); background: var(--night); }
.page-hero-media img { opacity: 0.62; }
.page-hero-media::after {
  background:
    linear-gradient(180deg, var(--night) 0%, rgb(6 13 22 / 25%) 35%, rgb(6 13 22 / 55%) 70%, var(--night) 100%),
    linear-gradient(90deg, rgb(6 13 22 / 80%) 0%, rgb(6 13 22 / 0%) 70%);
}
.page-hero .flower { width: min(860px, 115vw); right: -20%; top: 55%; transform: translateY(-50%); opacity: 0.45; }
.page-hero-content { padding-top: 120px; }
.page-hero .breadcrumbs { position: static; margin-bottom: 1.5rem; }
.page-hero .eyebrow { margin-top: 0; font-size: 0.78rem; letter-spacing: 0.18em; color: var(--aqua-400); }
.page-hero .eyebrow::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--seed) center / contain no-repeat; mask: var(--seed) center / contain no-repeat; }
.page-hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 16ch; font-weight: 500; }
.page-hero .btn-light { --btn-bg: var(--sun-500); --btn-bd: var(--sun-500); }

/* ---------- Service page: cinematic hero + spec strip ---------- */
.cine { position: relative; isolation: isolate; overflow: hidden; padding: 120px 0 0; min-height: min(92svh, 860px); display: flex; flex-direction: column; justify-content: flex-end; }
.cine-media { position: absolute; inset: 0; z-index: -2; }
.cine-media picture { height: 100%; }
.cine-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.cine-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgb(6 13 22 / 20%) 30%, rgb(6 13 22 / 70%) 72%, var(--night) 100%), linear-gradient(90deg, rgb(6 13 22 / 75%), rgb(6 13 22 / 0%) 75%); }
.cine .breadcrumbs { padding: 0; margin-bottom: 1.25rem; }
.cine h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); line-height: 1; letter-spacing: -0.025em; max-width: 15ch; font-weight: 500; }
.cine .lead { color: #d5e0ea; max-width: 60ch; }
.cine .nh-actions { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.spec { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); border-top: 1px solid rgb(163 220 248 / 18%); background: rgb(6 13 22 / 55%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.spec div { padding: 1.25rem 1.4rem; border-right: 1px solid rgb(163 220 248 / 12%); }
.spec div:last-child { border-right: 0; }
.spec dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aqua-400); margin-bottom: 0.35rem; }
.spec dd { margin: 0; color: #fff; font-weight: 600; line-height: 1.4; }

/* Timeline (process) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: tl; max-width: 820px; }
.timeline li { position: relative; padding: 0 0 2.25rem 4.5rem; }
.timeline li::before { content: ""; position: absolute; left: 1.55rem; top: 3.2rem; bottom: 0.4rem; width: 1px; background: linear-gradient(var(--aqua-500), rgb(108 196 240 / 10%)); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline .tl-node { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; border: 1.5px solid var(--aqua-500); color: #fff; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; background: var(--night); box-shadow: 0 0 24px rgb(108 196 240 / 25%); }
.timeline h3 { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem); font-weight: 500; margin-bottom: 0.3em; padding-top: 0.45rem; }
.timeline p { margin: 0; color: var(--mist-2); }
.process-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 960px) { .process-grid { grid-template-columns: 0.8fr 1.2fr; } .process-grid .section-head { position: sticky; top: 120px; } }

/* Masonry gallery */
.masonry { columns: 2 220px; column-gap: 0.9rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .masonry { columns: 3; column-gap: 1.1rem; } }
.masonry li { break-inside: avoid; margin-bottom: 0.9rem; }
.masonry a { display: block; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--night); }
.masonry img { width: 100%; height: auto; transition: transform 0.6s var(--ease), opacity 0.3s; }
.masonry a:hover img { transform: scale(1.04); }

/* ---------- Footer: CTA, dusk strip, giant wordmark ---------- */
.cta-night { padding-block: clamp(4rem, 3rem + 5vw, 8rem); overflow: hidden; isolation: isolate; text-align: center; }
.cta-night .flower { width: min(980px, 135vw); left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0.42; }
.cta-night h2 { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 5.2rem); line-height: 1; letter-spacing: -0.025em; font-weight: 500; max-width: 14ch; margin-inline: auto; }
.cta-night p { max-width: 56ch; margin: 1rem auto 0; color: var(--mist); }
.cta-night .nh-actions { justify-content: center; }
.cta-phone { display: inline-block; margin-top: 1.5rem; font-family: var(--font-display); font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); color: #fff; text-decoration: none; letter-spacing: -0.01em; }
.cta-phone:hover { color: var(--sun-400); }
.site-footer { background: var(--night); border-top: 1px solid rgb(163 220 248 / 10%); }
.footer-wordmark { overflow: hidden; padding: 2rem 0 0; margin: 0; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 1rem + 8.4vw, 9.5rem); line-height: 0.9; letter-spacing: -0.04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgb(163 220 248 / 28%); user-select: none; }
.sunset-strip { height: clamp(90px, 14vw, 200px); }
.sunset-strip img { opacity: 0.85; }

/* Mobile quick bar */
@media (max-width: 759px) {
  .mobile-cta { background: rgb(6 13 22 / 92%); border-top: 1px solid rgb(163 220 248 / 18%); }
  .mobile-cta .btn-ghost { --btn-bg: transparent; }
}
.cine .flower { width: min(860px, 115vw); right: -18%; top: 42%; transform: translateY(-50%); opacity: 0.4; }
.cta-night .kicker { justify-content: center; }
.mobile-cta .btn { gap: 0.3em; }
@media (max-width: 420px) { .nh-proof div { padding-right: 0.7rem; margin-right: 0.7rem; } .nh-proof dd { font-size: 0.64rem; letter-spacing: 0.08em; } }

/* ---------- /review/ landing ---------- */
.is-review.no-hero main { padding-top: 0; }
.review-land { min-height: 100svh; display: grid; align-items: center; padding: 120px 0 4rem; overflow: hidden; isolation: isolate; }
.review-land .flower { width: min(1000px, 150vw); left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0.5; }
.review-land-logo { display: block; width: 120px; height: 120px; margin: 0 auto 1rem; }
.review-land-logo img { width: 120px; height: 120px; }
.review-land .review-stars { justify-content: center; margin-bottom: 0.75rem; }
.review-land .review-stars .icon { width: 1.6rem; height: 1.6rem; }
.review-land h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem); line-height: 1.02; font-weight: 500; letter-spacing: -0.025em; }
.review-land .lead { color: #d5e0ea; max-width: 52ch; margin-inline: auto; }
.review-land .nh-actions { justify-content: center; }
.review-land .small { color: var(--mist-2); margin-top: 1.5rem; }
.review-land .small a { color: var(--aqua-400); }
.is-review .cta-night, .is-review .mobile-cta { display: none; }

/* ==========================================================================
   Home hero slider: five slides stacked in one grid cell (height = tallest
   slide, so switching never shifts the page). Mobile first.
   ========================================================================== */
.hs { display: flex; flex-direction: column; justify-content: center; gap: clamp(1.25rem, 0.8rem + 2vw, 2.25rem); }
.hs-slides { display: grid; }
.hs-slide { grid-area: 1 / 1; align-self: center; min-width: 0; }
.js .hs-slide { transition: opacity 0.7s var(--ease), visibility 0.7s; }
.js .hs-slide:not(.is-active) { opacity: 0; visibility: hidden; }
.js .hs-slide > .container { transition: transform 0.9s var(--ease); }
.js .hs-slide:not(.is-active) > .container { transform: translateY(14px); }
@media (prefers-reduced-motion: reduce) { .js .hs-slide, .js .hs-slide > .container { transition: none; transform: none; } }
.no-js .hs-slide + .hs-slide { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid rgb(163 220 248 / 15%); }
.no-js .hs-nav { display: none; }

.hs-grid { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .hs-grid { grid-template-columns: 1fr 1fr; } .hs-grid-video { grid-template-columns: 0.85fr 1.15fr; } }
.hs-title { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4.2rem); line-height: 1.03; letter-spacing: -0.025em; font-weight: 500; margin-bottom: 0.45em; text-shadow: 0 2px 30px rgb(0 0 0 / 35%); }
.hs-lead { font-size: var(--fs-lead); line-height: 1.6; color: #d5e0ea; max-width: 54ch; }
.hs-text > p:not(.kicker):not(.hs-lead) { color: var(--mist); max-width: 54ch; }
.hs .nh-actions { margin-top: 1.4rem; }
.hs-quote { margin: 1.25rem 0 0; padding-left: 1rem; border-left: 2px solid var(--aqua-500); }
.hs-quote blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); color: #fff; }
.hs-quote blockquote p { margin: 0 0 0.3rem; }
.hs-quote figcaption { font-size: 0.85rem; color: var(--mist-2); }
.hs-media { min-width: 0; }
.hs-media .video-card { max-width: 720px; margin-inline: auto; }
.hs .video-card figcaption { padding: 0.9rem 1.1rem 1rem; }
.hs .video-card h3 { font-size: 1.1rem; }
.hs .video-card figcaption > p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.92rem; }
.hs .flip-hint { color: var(--mist-2); }
.hs-chips { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hs-chips li { padding: 0.4rem 0.85rem; border-radius: 999px; border: 1px solid rgb(163 220 248 / 28%); background: rgb(255 255 255 / 5%); color: #e6eef5; font-size: 0.88rem; font-weight: 600; }
.hs-arch { justify-self: center; width: min(100%, 400px); aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px; overflow: hidden; border: 1px solid rgb(163 220 248 / 30%); box-shadow: 0 30px 70px rgb(0 0 0 / 45%), 0 0 0 10px rgb(243 164 71 / 8%); }
.hs-arch picture, .hs-arch img { width: 100%; height: 100%; object-fit: cover; }
.hs-rings { gap: 1.25rem 1rem; }
.hs-rings .ring { width: clamp(96px, 80px + 4vw, 150px); }

/* Controls: labelled progress tabs, arrows, pause */
.hs-nav { display: flex; align-items: center; gap: 0.6rem; }
.hs-tabs { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.6rem; }
.hs-tab { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.5rem; min-height: 44px; padding: 0; border: 0; background: none; color: var(--mist-2); text-align: left; cursor: pointer; font: 700 0.74rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; }
.hs-tab:hover, .hs-tab[aria-selected="true"] { color: #fff; }
.hs-tab:focus-visible { outline: 2px solid var(--aqua-400); outline-offset: 4px; border-radius: 4px; }
.hs-bar { position: relative; display: block; height: 3px; border-radius: 3px; background: rgb(163 220 248 / 22%); overflow: hidden; }
.hs-bar::after { content: ""; position: absolute; inset: 0; background: var(--sun-500); transform: scaleX(0); transform-origin: left; }
.hs-tab[aria-selected="true"] .hs-bar::after { transform: scaleX(1); }
.hs.is-playing .hs-tab[aria-selected="true"] .hs-bar::after { animation: hs-fill var(--hs-duration, 9s) linear forwards; }
.hs.is-held .hs-tab[aria-selected="true"] .hs-bar::after { animation-play-state: paused; }
@keyframes hs-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hs-arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(163 220 248 / 30%); background: rgb(6 13 22 / 45%); color: #fff; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.hs-arrow:hover { background: var(--sun-500); border-color: var(--sun-500); color: var(--night); }
.hs-arrow .icon { width: 1.15rem; height: 1.15rem; }
.hs-prev .icon { transform: scaleX(-1); }
.hs-pause-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hs-pause[aria-pressed="true"] .hs-pause-icon { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }

/* Phones: lean slides (secondary lines hidden), dots instead of labels, compact rings */
@media (max-width: 899px) { .hs-extra { display: none !important; } }
@media (max-width: 639px) {
  .hs-tab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hs-tabs { gap: 0.4rem; }
  .hs-tab { min-height: 32px; justify-content: center; }
  .hs-arrow { width: 40px; height: 40px; }
  .hs-prev, .hs-next { display: none; }
  .hs-rings { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
  .hs-rings .ring { width: 100%; max-width: 80px; }
  .hs-rings strong { font-size: 1.05rem; }
  .hs-rings span { font-size: 0.6rem; letter-spacing: 0.04em; margin-top: 0.35rem; }
  .hs-arch { width: min(78%, 300px); aspect-ratio: 1 / 1.05; }
  .hs .video-card figcaption > p, .hs .video-card .transcript { display: none; }
  .hs .nh-proof { margin-top: 1.6rem; }
}
/* Tablets: two-column hero slides only from 900px; keep the text column readable before that */
@media (min-width: 640px) and (max-width: 899px) { .hs-media .video-card { max-width: 620px; } .hs-arch { width: min(60%, 360px); } }
/* Large screens: let the stage breathe */
@media (min-width: 1440px) { .hs-title { font-size: 4.4rem; } }
/* Hero slider tuning: keep the stage within a laptop screen; lean phone slides */
@media (min-width: 1000px) {
  .hs .nh-grid { grid-template-columns: 1.25fr 0.75fr; }
  .hs .nh h1, .hs h1 { font-size: clamp(2.6rem, 1.3rem + 3vw, 4.3rem); max-width: 17ch; }
  .hs .nh-triptych li:nth-child(2) { margin-top: 2rem; }
  .hs .nh-triptych li:nth-child(3) { margin-top: 4rem; }
  .hs .nh-triptych a { aspect-ratio: 1 / 1.85; }
}
.hs-rings li { position: relative; }
.hs-rings li::before { content: ""; position: absolute; inset: -6% -4% auto; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgb(6 13 22 / 85%), rgb(6 13 22 / 0%)); z-index: -1; }
.hs-rings span { text-shadow: 0 1px 8px rgb(6 13 22 / 90%); color: #c6d4e1; }
@media (max-width: 899px) {
  .hs-slide { align-self: start; }
}
@media (max-width: 639px) {
  .hs { padding-top: 104px; }
  .hs .nh-proof { display: none; }
  .hs .nh-lead, .hs-lead { font-size: 1.02rem; line-height: 1.55; }
  .hs .nh-triptych a { aspect-ratio: 3 / 4; }
  .hs .nh-triptych li:nth-child(2) { margin-top: 0.75rem; }
  .hs .nh-triptych li:nth-child(3) { margin-top: 1.5rem; }
  .hs-chips li { padding: 0.3rem 0.7rem; font-size: 0.8rem; }
  .hs-arch { width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; }
  .hs .nh-actions { margin-top: 1.1rem; gap: 0.6rem; }
  .hs .nh-actions .btn-lg { min-height: 50px; padding: 0.75rem 1.25rem; font-size: 1rem; }
}
@media (max-width: 380px) {
  .hs-title, .hs h1 { font-size: 2rem; }
  .hs .kicker { font-size: 0.7rem; letter-spacing: 0.14em; }
}
@media (min-width: 640px) and (max-width: 999px) {
  .hs .nh-triptych { max-width: 520px; }
  .hs .nh-triptych a { aspect-ratio: 3 / 4; }
  .hs .nh-triptych li:nth-child(2) { margin-top: 1rem; }
  .hs .nh-triptych li:nth-child(3) { margin-top: 2rem; }
  .hs-arch { aspect-ratio: 16 / 10; border-radius: 24px; width: min(100%, 560px); }
  .hs-rings { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .hs .nh-lead { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .hs .nh-triptych a { aspect-ratio: 1 / 1.08; border-radius: 999px 999px 16px 16px; }
  .hs .nh-triptych span { font-size: 0.95rem; bottom: 0.6rem; }
  .hs { padding-bottom: 5.5rem; }
}
@media (min-width: 640px) and (max-width: 999px) { .hs .nh-lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .hs .nh-proof { margin-top: 1.5rem; } }

/* ==========================================================================
   First screen = hero + towns ribbon. The ribbon has a fixed height and the hero
   fills the rest of the viewport, so the ribbon sits fully visible on the bottom
   edge, never sliced by the fold. Shorter screens compact the hero by HEIGHT;
   where it still cannot fit (or on phones/tablets) the hero takes the full screen
   and the ribbon starts below the fold instead.
   ========================================================================== */
:root { --ribbon-h: 64px; }
.ribbon { height: var(--ribbon-h); padding-block: 0; align-items: center; box-sizing: border-box; }
.ribbon-track li { line-height: 1; }
.hs { min-height: 100svh; }
@media (min-width: 900px) {
  .hs { min-height: calc(100svh - var(--ribbon-h)); padding-top: clamp(100px, 12vh, 150px); padding-bottom: clamp(1rem, 3vh, 2.5rem); gap: clamp(1rem, 2.5vh, 2rem); }
}
@media (min-width: 900px) and (max-height: 899px) {
  .hs { padding-top: 104px; }
  .hs h1, .hs .nh h1 { font-size: clamp(2.4rem, 1.2rem + 2.6vw, 3.7rem); }
  .hs-title { font-size: clamp(2.1rem, 1.2rem + 2.4vw, 3.4rem); }
  .hs .nh-lead, .hs-lead { font-size: 1.06rem; }
  .hs .nh-actions { margin-top: 1.2rem; }
  .hs .nh-proof { margin-top: 1.4rem; }
  .hs .nh-proof dt { font-size: 2rem; }
  .hs .nh-triptych a { aspect-ratio: 1 / 1.65; }
  .hs .nh-triptych li:nth-child(2) { margin-top: 1.5rem; }
  .hs .nh-triptych li:nth-child(3) { margin-top: 3rem; }
  .hs-media .video-card { max-width: 600px; }
  .hs-rings .ring { width: 120px; }
  .hs .flip { max-width: 600px; justify-self: center; width: 100%; }
}
@media (min-width: 900px) and (max-height: 799px) {
  .hs { padding-top: 96px; gap: 0.9rem; }
  .hs .kicker { margin-bottom: 0.7rem; }
  .hs h1, .hs .nh h1 { font-size: clamp(2.2rem, 1.1rem + 2.3vw, 3.2rem); margin-bottom: 0.35em; }
  .hs-title { font-size: clamp(2rem, 1.1rem + 2.1vw, 3rem); }
  .hs .nh-lead, .hs-lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hs .nh-proof { margin-top: 1.1rem; }
  .hs .nh-proof dt { font-size: 1.7rem; }
  .hs .nh-actions .btn-lg { min-height: 48px; padding: 0.7rem 1.3rem; font-size: 1rem; }
  .hs .nh-triptych a { aspect-ratio: 1 / 1.4; }
  .hs .nh-triptych li:nth-child(2) { margin-top: 1rem; }
  .hs .nh-triptych li:nth-child(3) { margin-top: 2rem; }
  .hs-media .video-card { max-width: 500px; }
  .hs .video-card figcaption > p { display: none; }
  .hs-rings .ring { width: 104px; }
  .hs .flip { max-width: 520px; }
  .hs-arch { width: min(100%, 340px); }
}
@media (min-width: 900px) and (max-height: 699px) {
  .hs h1, .hs .nh h1 { font-size: clamp(2rem, 1rem + 2vw, 2.8rem); }
  .hs-title { font-size: clamp(1.9rem, 1rem + 1.9vw, 2.6rem); }
  .hs .nh-proof, .hs .video-card .transcript, .hs .flip-hint { display: none; }
  .hs .nh-triptych a { aspect-ratio: 1 / 1.2; }
  .hs-media .video-card { max-width: 440px; }
  .hs-rings .ring { width: 88px; }
  .hs .flip { max-width: 440px; }
  .hs-arch { width: min(100%, 280px); }
  .hs-chips { display: none; }
}
/* Too short to fit hero + ribbon: the hero takes the whole screen, the ribbon starts below it */
@media (min-width: 900px) and (max-height: 600px) { .hs { min-height: 100svh; } }
@media (max-width: 639px) { :root { --ribbon-h: 56px; } }
/* Hero arches: four (Cars, Caravans, Ceramic, Upholstery), staggered by --st at every breakpoint */
.hs .nh-triptych { grid-template-columns: repeat(4, minmax(0, 1fr)); --st: 1.4rem; gap: clamp(0.4rem, 0.2rem + 0.8vw, 0.85rem); }
.hs .nh-triptych li:nth-child(1) { margin-top: 0; }
.hs .nh-triptych li:nth-child(2) { margin-top: var(--st); }
.hs .nh-triptych li:nth-child(3) { margin-top: calc(var(--st) * 2); }
.hs .nh-triptych li:nth-child(4) { margin-top: calc(var(--st) * 3); }
.hs .nh-triptych span { font-size: clamp(0.82rem, 0.7rem + 0.45vw, 1.1rem); white-space: nowrap; }
@media (min-width: 1000px) { .hs .nh-grid { grid-template-columns: 1.1fr 0.9fr; } .hs .nh-triptych a { aspect-ratio: 1 / 2; } }
@media (min-width: 900px) and (max-height: 899px) { .hs .nh-triptych { --st: 1.1rem; } .hs .nh-triptych a { aspect-ratio: 1 / 1.75; } }
@media (min-width: 900px) and (max-height: 799px) { .hs .nh-triptych { --st: 0.8rem; } .hs .nh-triptych a { aspect-ratio: 1 / 1.5; } }
@media (min-width: 900px) and (max-height: 699px) { .hs .nh-triptych { --st: 0.6rem; } .hs .nh-triptych a { aspect-ratio: 1 / 1.25; } }
@media (min-width: 640px) and (max-width: 999px) { .hs .nh-triptych { --st: 0.9rem; max-width: 620px; } .hs .nh-triptych a { aspect-ratio: 3 / 4.4; } }
@media (max-width: 639px) { .hs .nh-triptych { --st: 0.6rem; } .hs .nh-triptych a { aspect-ratio: 1 / 1.45; } .hs .nh-triptych span { font-size: 0.78rem; bottom: 0.5rem; gap: 0.2em; } .hs .nh-triptych span .icon { display: none; } }
@media (min-width: 1000px) { .hs .nh-triptych a { aspect-ratio: 1 / 1.8; } .hs .nh-triptych span { font-size: clamp(0.8rem, 0.45rem + 0.5vw, 1rem); } .hs .nh-triptych span .icon { width: 0.8em; height: 0.8em; } }
@media (min-width: 900px) and (max-height: 899px) { .hs .nh-triptych a { aspect-ratio: 1 / 1.7; } }
@media (min-width: 900px) and (max-height: 799px) { .hs .nh-triptych a { aspect-ratio: 1 / 1.5; } }
@media (min-width: 900px) and (max-height: 699px) { .hs .nh-triptych a { aspect-ratio: 1 / 1.25; } }
@media (min-width: 900px) and (min-height: 900px) and (max-height: 1000px) {
  .hs { padding-top: 108px; }
  .hs h1, .hs .nh h1 { font-size: clamp(2.4rem, 1.2rem + 2.6vw, 3.9rem); }
  .hs .nh-triptych { --st: 1.1rem; }
  .hs .nh-triptych a { aspect-ratio: 1 / 1.7; }
}
