/* ==========================================================================
   Northern Beaches Stone: site styles
   Mobile-first, no framework. Tokens → base → layout → components → pages.
   ========================================================================== */

@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 */
  --char-900: #1d1c1a;
  --char-800: #2c2a27;
  --char-700: #47423b;
  --char-600: #6a6155;
  --char-100: #ece7df;
  --sand-500: #d4a650;
  --sand-400: #e3c07a;
  --sand-200: #f1e4c9;
  --sand-700: #8a5a17;

  /* Neutrals */
  --ink: #22201d;
  --ink-soft: #575148;
  --line: #e2dccf;
  --bg: #fbf8f2;
  --bg-alt: #f3ede1;
  --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.7rem, 1.4rem + 1.3vw, 2.5rem);
  --fs-h1: clamp(2.15rem, 1.6rem + 2.6vw, 3.75rem);

  /* Space & shape */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(33 31 28 / 6%), 0 8px 24px rgb(33 31 28 / 8%);
  --shadow-lg: 0 2px 4px rgb(33 31 28 / 6%), 0 18px 40px rgb(33 31 28 / 14%);
  --header-h: 72px;
  --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.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  color: var(--char-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(--char-700); text-decoration-color: rgb(160 112 40 / 45%); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 0.2s, text-decoration-color 0.2s; }
a:hover { color: var(--char-900); text-decoration-color: var(--sand-500); }
:focus-visible { outline: 3px solid var(--sand-500); 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(--char-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(--char-900); color: #efe9df; }
.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: #cfc6b8; }
.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(--sand-700); margin: 0 0 0.9rem;
}
.eyebrow-light { color: var(--sand-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(--char-800); --btn-fg: #fff; --btn-bd: var(--char-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(--char-700); --btn-bd: var(--char-700); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--char-800); --btn-bd: currentColor; }
.btn-outline:hover { --btn-bg: var(--char-800); --btn-fg: #fff; --btn-bd: var(--char-800); }
.btn-light { --btn-bg: var(--sand-500); --btn-fg: var(--char-900); --btn-bd: var(--sand-500); }
.btn-light:hover { --btn-bg: var(--sand-400); --btn-bd: var(--sand-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(--char-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(251 248 242 / 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(--char-900); }
.brand-lockup svg { width: auto; height: 52px; transition: color 0.2s; }
.brand:hover { color: var(--sand-700); }
@media (min-width: 1080px) { :root { --header-h: 84px; } .brand-lockup svg { height: 64px; } }

.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(--char-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(--char-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(--char-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: #b6ad9c; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--char-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(29 28 26 / 35%) 0%, rgb(29 28 26 / 15%) 35%, rgb(29 28 26 / 88%) 100%),
    linear-gradient(90deg, rgb(29 28 26 / 55%) 0%, rgb(29 28 26 / 0%) 70%);
}
@media (max-width: 759px) {
  .hero-media::after { background: linear-gradient(180deg, rgb(29 28 26 / 55%) 0%, rgb(29 28 26 / 45%) 40%, rgb(29 28 26 / 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: #f3efe8; }
.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(--sand-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(--sand-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(--char-800); color: var(--sand-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(--char-700); font-size: 0.95rem; }
.project-card .eyebrow { margin-bottom: 0.5rem; }
.section-dark .card { background: #262420; box-shadow: none; }
.section-dark .card-title { color: #fff; }
.section-dark .card-body p { color: #cfc6b8; }
.section-dark .card-more { color: var(--sand-400); }
.section-dark .project-card .eyebrow { color: var(--sand-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(--char-100); color: var(--char-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(--char-800); color: var(--sand-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(--char-900); }
.link-grid a:hover, .link-list a:hover { border-color: var(--char-600); }
.link-grid .icon, .link-list .icon { color: var(--char-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(--char-900); color: #efe9df; border-color: var(--char-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(--char-900); --btn-bd: #fff; }
.aside-cta .btn-primary { --btn-bg: var(--sand-500); --btn-fg: var(--char-900); --btn-bd: var(--sand-500); }
.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(--char-600); margin-top: 0.25em; stroke-width: 2.4; }
.option-list strong { display: block; color: var(--char-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(14 13 12 / 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: #262420; 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(--sand-400);
  background: rgb(29 28 26 / 55%); box-shadow: 0 0 0 6px rgb(29 28 26 / 35%);
  opacity: 0; transition: opacity 0.2s ease; animation: nbl-spin 0.8s linear infinite; pointer-events: none;
}
.lightbox.is-loading .lightbox-spinner { opacity: 1; }
@keyframes nbl-spin { to { transform: rotate(360deg); } }
.lightbox figcaption { color: #efe9df; 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(--sand-200); color: var(--sand-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(--char-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(--char-700); border-bottom: 2px solid var(--char-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(--char-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 #cfc7b6; 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(--char-800) 50%), linear-gradient(135deg, var(--char-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(--char-700); background-color: #fff; box-shadow: 0 0 0 4px rgb(160 112 40 / 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(--char-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(--sand-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(--char-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(--sand-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(--char-800), var(--char-700)); color: #efe9df; padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { margin: 0; color: #ddd5c8; }
.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(--char-900); color: #cfc6b8; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); font-size: 0.97rem; }
.site-footer a { color: #efe9df; text-decoration: none; }
.site-footer a:hover { color: var(--sand-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: 1.25rem; }
.brand-footer .brand-lockup svg { height: 84px; }
.brand-footer:hover { color: var(--sand-400); }
.footer-title { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand-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(--sand-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(251 248 242 / 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: sandstone 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(--sand-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(--char-800); }
  .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); background: var(--char-700); }
  .header-phone { position: relative; font-weight: 700; color: var(--char-800) !important; }
  .header-phone .icon { color: var(--sand-700); }
}
/* Mobile menu: sandstone bar marks the active item */
@media (max-width: 1079px) {
  .js .site-nav ul a[aria-current="page"] { color: var(--char-800); box-shadow: inset 4px 0 0 var(--sand-500); padding-left: 0.9rem; }
  .js .site-nav ul a:hover { padding-left: 0.9rem; box-shadow: inset 4px 0 0 var(--sand-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(--sand-500), var(--sand-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: sandstone highlight underline */
.prose a:not(.btn):not(.text-link), .faq-a a, .form-note a, .section-dark-note a {
  text-decoration: none; font-weight: 600;
  background-image: linear-gradient(transparent 62%, rgb(212 166 80 / 45%) 62%);
  background-size: 100% 100%; transition: background-size 0.25s, color 0.2s;
}
.prose a:not(.btn):not(.text-link):hover, .faq-a a:hover, .form-note a:hover { background-image: linear-gradient(transparent 0, rgb(212 166 80 / 45%) 0); }
.site-footer a { background-image: linear-gradient(var(--sand-400), var(--sand-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(29 28 26 / 40%) 0%, rgb(29 28 26 / 30%) 40%, rgb(29 28 26 / 90%) 100%),
    linear-gradient(90deg, rgb(29 28 26 / 70%) 0%, rgb(29 28 26 / 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: #eee8de; 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: warm sandstone band */
.service-hero { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-alt) 72%, var(--bg) 72%); padding-bottom: 0.5rem; }
.service-hero + .section { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* ==========================================================================
   Stats band, photo strip, collage
   ========================================================================== */
.stats-band { background: linear-gradient(120deg, var(--char-900), var(--char-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(212 166 80 / 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(--sand-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: #d9d1c4; font-size: 0.95rem; }

.photo-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; background: var(--char-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(--sand-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 / 7; 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(--sand-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(--char-600); }
.link-grid-dark a { background: #262420; border-color: rgb(255 255 255 / 10%); color: #fff; }
.link-grid-dark a:hover { border-color: var(--sand-500); color: #fff; }
.link-grid-dark .icon { color: var(--sand-400); }
.section-dark-note { color: #d9d1c4; 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(--sand-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(--sand-500); }
.faq summary:hover .faq-q { color: var(--char-700); }
.faq[open] { border-color: var(--sand-500); box-shadow: 0 0 0 1px var(--sand-500); }

/* Contact aside accent */
.contact-aside .aside-card { border-top: 4px solid var(--sand-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(--sand-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(--sand-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: #efe9df; }
.footer-hours .icon { margin-top: 0.25rem; color: var(--sand-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%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active img, .hero-slide.is-leaving img { animation: nbl-kenburns 9s ease-out both; }
  .hero-paused .hero-slide img { animation-play-state: paused !important; }
}
@keyframes nbl-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(29 28 26 / 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(29 28 26 / 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 + green panel)
   ========================================================================== */
.feature-band { display: grid; background: var(--char-900); color: #efe9df; }
@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(--sand-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: #d9d1c4; }
.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(--sand-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(--sand-200), #ead3a4); border-bottom: 1px solid #dcbf86; 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(--char-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(--sand-700); }
.serving-areas li { display: inline-flex; align-items: center; gap: 0.35em; }
.serving-areas .icon { color: var(--char-700); }

/* ==========================================================================
   Northern Beaches Stone components
   ========================================================================== */

/* Trust strip: licence, experience, recommendations */
.trust-strip { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; font-size: 0.92rem; font-weight: 600; color: var(--char-800); }
.trust-strip li { display: inline-flex; align-items: center; gap: 0.5em; }
.trust-strip .icon { color: var(--sand-700); stroke-width: 2.1; }
.trust-strip a { color: inherit; text-decoration-color: rgb(160 112 40 / 55%); }
.trust-strip-dark { color: #efe9df; flex-direction: column; gap: 0.55rem; }
.trust-strip-dark .icon { color: var(--sand-400); }
.footer-about .trust-strip { margin-top: 1rem; }
.content-aside .trust-strip { flex-direction: column; gap: 0.6rem; padding: 0 0.25rem; }

/* Split media: two stacked portrait photos */
.split-media-stack { grid-template-columns: 1fr 1fr; align-items: stretch; }
.split-media-stack picture { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); }
.split-media-stack img { width: 100%; height: 100%; object-fit: cover; }
.split-text > .text-link { display: inline-flex; }
.intro .trust-strip { margin-block: 1.25rem 1.5rem; }

/* Breadcrumbs inside a light hero */
.breadcrumbs-inline { padding-top: 0; margin-bottom: 1rem; }

/* Service page */
.service-hero-text .trust-strip { margin-bottom: 0; }
.type-grid { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.type-grid li { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--sand-500); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.type-grid h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.type-grid p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; }
.tick-list, .watch-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 0.55rem; }
.tick-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.tick-list .icon { color: var(--sand-700); margin-top: 0.3em; stroke-width: 2.4; }
.watch-list li { position: relative; padding-left: 1.5rem; }
.watch-list li::before { content: ""; position: absolute; left: 0.2rem; top: 0.68em; width: 0.6rem; height: 2px; background: var(--char-600); }

.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: step; }
.process li { position: relative; background: var(--surface); border-radius: var(--radius); padding: 1.5rem 1.35rem 1.35rem; box-shadow: var(--shadow); counter-increment: step; }
.process li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1; color: var(--sand-500); margin-bottom: 0.75rem; }
.process h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.process p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

.content-grid-even { align-items: start; }
@media (min-width: 960px) { .content-grid-even { grid-template-columns: 1fr 1fr; } }
.factor-list { margin: 0 0 1.5rem; display: grid; gap: 0.8rem; }
.factor-list div { padding: 0.9rem 1rem; background: var(--surface); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.factor-list dt { font-weight: 700; color: var(--char-900); }
.factor-list dd { margin: 0.2rem 0 0; color: var(--ink-soft); font-size: 0.97rem; }
.compliance { background: var(--char-900); color: #efe9df; border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.compliance h2 { color: #fff; }
.compliance h2::before { content: ""; display: block; width: 2.5rem; height: 3px; background: var(--sand-500); margin-bottom: 1rem; }
.compliance p:last-child { margin-bottom: 0; }

.aside-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.2rem; }
.aside-links a { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.25rem; text-decoration: none; font-weight: 600; color: var(--char-800); border-bottom: 1px solid var(--line); }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--sand-700); }
.aside-links .icon { color: var(--sand-700); }
.split-text .aside-links { margin-bottom: 1.25rem; }

/* Projects: browse by service */
.jump-links ul { list-style: none; padding: 0; margin: 0 0 2.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.jump-links a { display: inline-block; padding: 0.45rem 0.95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--char-800); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.jump-links a:hover { background: var(--char-800); border-color: var(--char-800); color: #fff; }
.work-group { padding-top: 2.5rem; margin-top: 2.5rem; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.work-group:first-of-type { margin-top: 0; }
.work-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 1.25rem; }
.work-group-head h3 { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-size: var(--fs-h3); }
.work-group-head h3 .icon { color: var(--sand-700); }

/* Regions */
.region-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.region-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; color: #fff; text-decoration: none; background: var(--char-900); }
.region-card picture { height: 100%; }
.region-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.region-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(29 28 26 / 5%) 30%, rgb(29 28 26 / 85%)); }
.region-card:hover { color: #fff; }
.region-card:hover img { transform: scale(1.04); }
.region-card-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.4rem; display: grid; gap: 0.3rem; }
.region-card-title { font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); font-weight: 600; }
.region-card-text { font-size: 0.9rem; color: #e8e0d2; }

.chip-list-lg li { padding: 0; background: none; border: 0; }
.chip-list-lg a { display: inline-block; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--sand-500); background: var(--sand-200); text-decoration: none; font-weight: 600; color: var(--char-900); }
.chip-list-lg a:hover { background: var(--sand-500); }

/* Materials */
.material-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.material-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 1rem); }
.material-card picture { aspect-ratio: 4 / 3; overflow: hidden; }
.material-img { width: 100%; height: 100%; object-fit: cover; }
.material-body { padding: 1.4rem 1.4rem 0.6rem; }
.material-body h2 { font-size: 1.5rem; }
.material-body h3 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand-700); margin: 1.2rem 0 0.6rem; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); margin-bottom: 1.5rem; }
.table-wrap:focus-visible { outline-offset: 2px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.table-wrap th, .table-wrap td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--char-900); color: #fff; font-weight: 700; }
.table-wrap tbody th { font-weight: 700; color: var(--char-900); background: var(--bg-alt); white-space: nowrap; }
.table-wrap tr:last-child th, .table-wrap tr:last-child td { border-bottom: 0; }
.source-list { padding-left: 1.2em; font-size: 0.92rem; }
.source-list li { margin-bottom: 0.4rem; overflow-wrap: anywhere; }

/* Guides */
.article-hero { padding-top: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.article-hero h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.2rem); }
.article-meta { color: var(--ink-soft); font-size: 0.95rem; }
.article-hero-media { max-width: 1140px; margin-top: 1.5rem; }
.article-hero-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.answer-box { background: var(--sand-200); border-left: 4px solid var(--sand-500); border-radius: var(--radius-sm); padding: 1.25rem 1.4rem; margin-bottom: 2rem; }
.answer-box p:last-child { margin: 0; font-size: 1.08rem; }
.answer-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand-700); margin-bottom: 0.4rem; }
.check-boxes { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.check-boxes li { position: relative; padding-left: 2rem; }
.check-boxes li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.15rem; height: 1.15rem; border: 2px solid var(--sand-700); border-radius: 4px; }
.guide-card .eyebrow { margin-bottom: 0.5rem; }

/* Contact */
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; counter-reset: next; }
.next-steps li { position: relative; padding-left: 2.4rem; counter-increment: next; }
.next-steps li::before { content: counter(next); position: absolute; left: 0; top: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--char-800); color: #fff; font-weight: 700; font-size: 0.85rem; display: grid; place-items: center; }
.next-steps strong { display: block; }
.next-steps span { display: block; color: var(--ink-soft); font-size: 0.95rem; }

/* Footer */
.footer-line { display: inline-flex; gap: 0.6rem; align-items: flex-start; }
.footer-line .icon { margin-top: 0.25rem; color: var(--sand-400); }
.social-links { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.social-links a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.8rem; border: 1px solid rgb(255 255 255 / 22%); border-radius: 999px; font-size: 0.88rem; text-decoration: none; }
.social-links a:hover { border-color: var(--sand-400); }

.narrow-cta h2 { margin-bottom: 0.4rem; }
@media (min-width: 1100px) {
  .card-grid-services { grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
  .card-grid-services .card-body { padding: 2.4rem 1.05rem 1.15rem; }
  .card-grid-services .card-icon { width: 44px; height: 44px; top: -22px; left: 1.05rem; }
  .card-grid-services .card-icon .icon { width: 22px; height: 22px; }
  .card-grid-services .card-title { font-size: 1.1rem; }
  .card-grid-services .card-body p { font-size: 0.9rem; }
}
@media (min-width: 900px) {
  .process:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
  .process:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }
  .process:has(> li:nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); }
}
.guide-card .card-body p { display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.material-swatch { aspect-ratio: 4 / 3; display: grid; place-items: end start; padding: 1.25rem; color: var(--char-900); font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.material-swatch-travertine { background: radial-gradient(ellipse 30% 6% at 30% 30%, rgb(176 150 112 / 45%), transparent 70%), radial-gradient(ellipse 25% 5% at 70% 62%, rgb(176 150 112 / 40%), transparent 70%), repeating-linear-gradient(176deg, #e9dcc4 0 14px, #e3d3b7 14px 22px, #ecdfca 22px 40px); }

/* Block-style link lists inside prose keep their own look (no inline highlight) */
.prose .aside-links a:not(.btn):not(.text-link), .prose .source-list a:not(.btn):not(.text-link) { background-image: none; }
.prose .aside-links a:hover { color: var(--sand-700); }
.prose .eyebrow + h2 { margin-top: 0; }

/* ---------- Gallery page ---------- */
.gallery-filters { position: sticky; top: var(--header-h); z-index: 5; background: var(--bg); padding: 0.75rem 0; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.gallery-filter-list { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.gallery-filter-list::-webkit-scrollbar { display: none; }
.gallery-filter { flex: none; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 40px; padding: 0.4rem 0.95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--char-800); font: 600 0.92rem/1 var(--font-body); cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.gallery-filter span { font-weight: 500; font-size: 0.8rem; color: var(--ink-soft); }
.gallery-filter:hover { border-color: var(--char-600); }
.gallery-filter.is-active { background: var(--char-800); border-color: var(--char-800); color: #fff; }
.gallery-filter.is-active span { color: var(--sand-400); }
.photo-group { margin-bottom: 2.5rem; scroll-margin-top: calc(var(--header-h) + 5rem); }
.photo-group[hidden] { display: none; }
.photo-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 1.5rem; margin-bottom: 1rem; }
.photo-group-head h2 { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-size: var(--fs-h3); }
.photo-group-head h2 .icon { color: var(--sand-700); }
.photo-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; } }
@media (min-width: 1100px) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-tile a { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--line); color: #fff; text-decoration: none; }
.photo-tile picture { height: 100%; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.photo-tile a:hover img { transform: scale(1.05); }
.photo-tile-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 0.7rem 0.6rem; font-size: 0.82rem; font-weight: 600; line-height: 1.3; background: linear-gradient(180deg, transparent, rgb(14 13 12 / 82%)); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 900px) { .photo-tile-caption { font-size: 0.88rem; } }

/* Lightbox caption: count, title, description, link */
.lightbox figcaption { display: grid; gap: 0.25rem; justify-items: center; padding-inline: 1rem; }
.lightbox-count { font-size: 0.78rem; letter-spacing: 0.1em; color: var(--sand-400); }
.lightbox-count:empty { display: none; }
.lightbox-title { font-weight: 700; color: #fff; }
.lightbox-desc { font-size: 0.92rem; color: #d9d1c4; max-width: 70ch; }
.lightbox-link { font-size: 0.9rem; font-weight: 600; color: var(--sand-400); }
.lightbox-link:hover { color: #fff; }
.gallery-filter-list { mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); padding-right: 40px; }
/* Filters need JS: hide them only when JS is off (the class is set before first paint, so no layout shift) */
.no-js .gallery-filters { display: none; }

/* ---------- /review/ ---------- */
.review-page { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.review-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(2rem, 1.5rem + 3vw, 3.25rem) clamp(1.25rem, 1rem + 3vw, 3rem); }
.review-mark svg { width: 72px; height: 72px; margin: 0 auto 1rem; color: var(--char-800); }
.review-stars { display: flex; justify-content: center; gap: 0.25rem; margin: 0 0 1rem; color: var(--sand-500); }
.review-stars svg.review-star { width: 28px; height: 28px; fill: currentColor; }
.is-review .mobile-cta { display: none; }
.review-card .lead { max-width: 46ch; margin-inline: auto; }

/* "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); }
