/* ==========================================================================
   Carey Builtt — site styles
   Palette: black / charcoal / grey with brushed-gold accents (from the logo)
   ========================================================================== */

:root {
  /* Colour tokens */
  --black: #0b0b0c;
  --ink: #131315;
  --charcoal: #1b1b1e;
  --steel: #2a2a2f;
  --line-dark: rgba(255, 255, 255, 0.1);
  --grey-50: #f6f5f2;
  --grey-100: #eeece8;
  --grey-300: #d8d5cf;
  --line-light: #dedbd5;

  --gold: #d6a33a;
  --gold-light: #f0c35a;
  --gold-deep: #85620f; /* gold for text on light backgrounds (AA) */
  --gold-grad: linear-gradient(135deg, #f3cd6b 0%, #d6a33a 45%, #b07f1f 100%);
  --silver-grad: linear-gradient(180deg, #ffffff 0%, #d4d4d8 60%, #a9a9b0 100%);

  --text-on-dark: #f4f4f5;
  --muted-on-dark: #a9a9b1;
  --text-on-light: #17171a;
  --muted-on-light: #55555c;

  /* Type */
  --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;

  /* Z scale */
  --z-header: 100;
  --z-nav: 200;
  --z-lightbox: 1000;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-on-light);
  background: var(--grey-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.1; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--gold); color: var(--black); padding: 10px 16px; font-weight: 700; text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

.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;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--dark { background: var(--ink); color: var(--text-on-dark); }
.section--black { background: var(--black); color: var(--text-on-dark); }
.section--light { background: var(--grey-50); }
.section--grey { background: var(--grey-100); }

/* ---------- Typography ---------- */
.display, h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; }
h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--gold); }
.section--dark .eyebrow, .section--black .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold); }

.text-gold {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-silver {
  background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.7; }
.muted { color: var(--muted-on-light); }
.section--dark .muted, .section--black .muted { color: var(--muted-on-dark); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 32px; height: 2px; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: 0.01em; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold-grad); color: var(--black); box-shadow: 0 6px 20px -8px rgba(214, 163, 58, 0.6); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -8px rgba(214, 163, 58, 0.75); }
.btn--gold:active { transform: translateY(0) scale(0.98); }
.btn--outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: var(--steel); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--gold-deep);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow, .section--black .link-arrow { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(14, 14, 16, 0.72);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  color: var(--text-on-dark);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(11, 11, 12, 0.96); }
}
.site-header .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: var(--header-h); }
.site-header .brand { justify-self: start; }
.header-actions { justify-self: end; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; min-height: 48px; }
.brand img { width: 74px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.24em;
  background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__sub {
  font-family: var(--font-display); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.5em;
  color: var(--gold); margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 0.92rem; font-weight: 500; text-decoration: none; color: #d9d9de;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  text-decoration: none; font-weight: 600; color: #fff; white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--gold); }
.header-actions .btn { min-height: 44px; padding: 10px 22px; font-size: 0.95rem; }

.nav-toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius); color: #fff; cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.mobile-nav { display: none; }

@media (max-width: 1080px) {
  .header-phone span { display: none; }
}
@media (max-width: 960px) {
  .site-header .container { display: flex; justify-content: space-between; }
  .nav, .header-actions .btn, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-nav);
    background: var(--black); padding: 24px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mobile-nav a.mobile-nav__link {
    display: flex; align-items: center; justify-content: space-between; min-height: 60px;
    font-family: var(--font-display); font-weight: 600; font-size: 1.4rem;
    color: #fff; text-decoration: none;
  }
  .mobile-nav a.mobile-nav__link[aria-current="page"] { color: var(--gold); }
  .mobile-nav .btn { width: 100%; margin-top: 28px; }
  .mobile-nav .btn + .btn { margin-top: 12px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand img { width: 58px; }
  .brand__name { font-size: 0.98rem; }
  .brand__sub { font-size: 0.62rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--text-on-dark);
  /* runs up behind the frosted header */
  margin-top: calc(var(--header-h) * -1);
  min-height: min(100svh, calc(860px + var(--header-h)));
  display: flex; align-items: center;
  padding-block: calc(clamp(80px, 12vw, 140px) + var(--header-h)) clamp(80px, 12vw, 140px);
  background: var(--black);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero__media::after {
  content: ""; position: absolute; inset: -2px; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 62% 58% at 26% 52%, rgba(8, 8, 9, 0.66) 0%, rgba(8, 8, 9, 0.4) 60%, rgba(8, 8, 9, 0) 100%),
    linear-gradient(180deg, rgba(8, 8, 9, 0.35) 0%, rgba(8, 8, 9, 0.12) 22%, rgba(8, 8, 9, 0.12) 72%, rgba(8, 8, 9, 0.6) 100%);
}
.hero__content { max-width: 720px; }
.hero h1 { margin-bottom: 44px; }
.hero h1 .line { display: block; }
.hero .lead { color: #d4d4d9; max-width: 560px; margin-bottom: 56px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; font-size: 0.92rem; color: #c9c9cf; list-style: none;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; }

@media (max-width: 720px) {
  .hero__media::after {
    background:
      radial-gradient(ellipse 95% 42% at 50% 47%, rgba(8, 8, 9, 0.62) 0%, rgba(8, 8, 9, 0.38) 60%, rgba(8, 8, 9, 0) 100%),
      linear-gradient(180deg, rgba(8, 8, 9, 0.35) 0%, rgba(8, 8, 9, 0.12) 22%, rgba(8, 8, 9, 0.12) 72%, rgba(8, 8, 9, 0.6) 100%);
  }
  .hero .lead, .hero__rating-text { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); }
  .hero h1 { filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.45)); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; isolation: isolate; color: var(--text-on-dark); background: var(--black);
  margin-top: calc(var(--header-h) * -1);
  padding-block: calc(clamp(72px, 10vw, 128px) + var(--header-h)) clamp(56px, 8vw, 96px);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: -2px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 8, 9, 0.95) 0%, rgba(8, 8, 9, 0.8) 55%, rgba(8, 8, 9, 0.55) 100%);
}
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.page-hero .lead { color: #d0d0d6; max-width: 620px; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: var(--muted-on-dark); margin-bottom: 18px; list-style: none; }
.breadcrumb a { color: var(--muted-on-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }

/* ---------- Trust bar ---------- */
.trust { background: var(--charcoal); color: var(--text-on-dark); }
.trust__list {
  display: grid; grid-template-columns: repeat(4, 1fr); list-style: none;
}
.trust__item {
  display: flex; align-items: center; gap: 14px; padding: 30px 20px;
}
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__icon {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border: 1px solid rgba(214, 163, 58, 0.45); border-radius: 50%; color: var(--gold);
}
.trust__icon svg { width: 22px; height: 22px; }
.trust__item strong { display: block; font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.02em; }
.trust__item span { font-size: 0.85rem; color: var(--muted-on-dark); }
@media (max-width: 900px) {
  .trust__list { grid-template-columns: repeat(2, 1fr); column-gap: 24px; }
  .trust__item { padding: 16px 0; }
}
@media (max-width: 600px) {
  .trust__list { grid-template-columns: repeat(2, auto); justify-content: center; gap: 4px clamp(34px, calc(28vw - 70px), 96px); padding-block: 10px; }
  .trust__item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 0; }
  .trust__icon { width: 36px; height: 36px; }
  .trust__icon svg { width: 18px; height: 18px; }
  .trust__item strong { font-size: 0.86rem; line-height: 1.3; }
  .trust__item span { font-size: 0.8rem; line-height: 1.4; }
}

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--steel); }
.split__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split__media .frame { z-index: 1; }
.badge-years {
  position: absolute; left: -18px; bottom: 34px; z-index: 2;
  background: var(--black); color: #fff; padding: 20px 24px; border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55); border: 1px solid rgba(214, 163, 58, 0.35);
}
.badge-years strong { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.badge-years span { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-dark); }

.checklist { list-style: none; display: grid; gap: 14px; margin: 26px 0 34px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--gold-deep); margin-top: 2px; }
.section--dark .checklist svg, .section--black .checklist svg { color: var(--gold); }
.checklist strong { display: block; }

.signature { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.signature__avatar {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--black); color: var(--gold); font-family: var(--font-display); font-weight: 800;
}
.signature strong { display: block; }
.signature span { font-size: 0.9rem; color: var(--muted-on-light); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { max-width: 520px; }
  .badge-years { left: 12px; }
}

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--charcoal); border: 1px solid transparent; border-radius: var(--radius-lg);
  text-decoration: none; color: var(--text-on-dark);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(214, 163, 58, 0.55); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.8); }
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card__num { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 10px; }
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--muted-on-dark); font-size: 0.95rem; flex: 1; }
.service-card .link-arrow { color: var(--gold); margin-top: 6px; }
@media (max-width: 1080px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; list-style: none; }
.process__step { position: relative; padding: 0 28px 0 0; }
.process__step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px;
}
.process__step h3 { font-size: 1.2rem; }
.process__step p { color: var(--muted-on-light); font-size: 0.95rem; margin: 0; }
@media (max-width: 900px) {
  .process { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Project strip / gallery ---------- */
.project-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
}
.project-tile {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--steel);
  border: 0; padding: 0; cursor: pointer; color: #fff; text-align: left;
}
.project-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.project-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 9, 0.85) 0%, rgba(8, 8, 9, 0.1) 50%, transparent 70%);
  transition: opacity var(--dur) var(--ease);
}
.project-tile__cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.project-tile__cap small { display: block; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; font-weight: 600; }
.project-tile__cap strong { font-family: var(--font-display); font-size: 1.05rem; }
.project-tile__zoom {
  position: absolute; top: 14px; right: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(11, 11, 12, 0.6); color: var(--gold);
  opacity: 0; transform: scale(0.9); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.project-tile__zoom svg { width: 18px; height: 18px; }
.project-tile:hover img, .project-tile:focus-visible img { transform: scale(1.05); }
.project-tile:hover .project-tile__zoom, .project-tile:focus-visible .project-tile__zoom { opacity: 1; transform: none; }

.pt-a { grid-column: span 5; grid-row: span 2; }
.pt-b { grid-column: span 7; grid-row: span 1; }
.pt-c { grid-column: span 4; grid-row: span 1; }
.pt-d { grid-column: span 3; grid-row: span 1; }
.pt-e { grid-column: span 6; grid-row: span 2; }
.pt-f { grid-column: span 6; grid-row: span 2; }

@media (max-width: 860px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .pt-a, .pt-e, .pt-f { grid-column: span 1; grid-row: span 2; }
  .pt-b { grid-column: span 2; grid-row: span 1; }
  .pt-c, .pt-d { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 520px) {
  .project-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .project-grid > * { grid-column: auto !important; grid-row: auto !important; }
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn {
  min-height: 44px; padding: 8px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--grey-300); background: #fff; color: var(--text-on-light); font-weight: 600; font-size: 0.9rem;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.filter-btn:hover { border-color: var(--black); }
.filter-btn[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid .project-tile { aspect-ratio: 4 / 5; }
.gallery-grid .project-tile.is-wide { grid-column: span 2; aspect-ratio: auto; }
.gallery-grid .project-tile[hidden] { display: none; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .project-tile.is-wide { grid-column: auto; aspect-ratio: 4 / 3; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-lightbox); display: grid; place-items: center;
  background: rgba(5, 5, 6, 0.94); padding: 64px 16px;
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox img { max-height: calc(100svh - 170px); width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox figcaption { color: #d4d4d9; margin-top: 14px; font-size: 0.95rem; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; color: #fff;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lightbox__btn:hover { background: var(--gold); color: var(--black); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  display: flex; flex-direction: column; margin: 0;
  background: var(--charcoal); border-radius: var(--radius-lg);
  padding: 32px 28px; position: relative;
}
.review__quote-mark { width: 38px; height: 38px; color: var(--gold); opacity: 0.85; margin-bottom: 16px; }
.review blockquote { margin: 0 0 24px; color: #dedee3; font-size: 1rem; line-height: 1.75; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 14px; padding-top: 8px; }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--gold-grad); color: var(--black); font-weight: 800; font-family: var(--font-display);
}
.review figcaption strong { display: block; color: #fff; }
.review figcaption span { font-size: 0.85rem; color: var(--muted-on-dark); }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* ---------- Areas ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 28px 0 30px; }
.area-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; cursor: pointer;
  background: #fff; border: 1px solid var(--line-light); border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; color: var(--text-on-light);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
  touch-action: manipulation;
}
.area-chip svg { width: 16px; height: 16px; color: var(--gold-deep); transition: color var(--dur) var(--ease); }
.area-chip:hover { border-color: var(--gold); }
.area-chip.is-active { background: var(--black); border-color: var(--black); color: #fff; }
.area-chip.is-active svg { color: var(--gold); }

/* Home: service areas with map */
.areas-home { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.map--inline { position: relative; top: 0; height: 480px; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.35); }
@media (max-width: 900px) {
  .areas-home { grid-template-columns: 1fr; }
  .map--inline { height: 360px; }
}

.areas-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; }
.area-card {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 16px; cursor: pointer; text-align: left;
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  font-weight: 600; color: var(--text-on-light);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.area-card:hover, .area-card.is-active { border-color: var(--gold); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.35); }
.area-card.is-active { background: var(--black); color: #fff; }
.area-card svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; }
.area-card.is-active svg { color: var(--gold); }
.map {
  height: 520px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-light); background: var(--grey-300);
  position: sticky; top: calc(var(--header-h) + 24px);
}
.map-pin { display: block; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.35)); }
@media (max-width: 900px) {
  .areas-layout { grid-template-columns: 1fr; }
  .map { position: relative; top: 0; height: 380px; order: -1; }
}
@media (max-width: 400px) { .area-list { grid-template-columns: 1fr; } }

/* ---------- Service detail (services page) ---------- */
.service-detail + .service-detail { margin-top: clamp(72px, 10vw, 120px); }
.service-detail .split__media .frame { aspect-ratio: 5 / 4; }
.service-detail .tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 20px 0 30px; }
.service-detail .tag-list li {
  padding: 6px 14px; border-radius: 999px; font-size: 0.88rem; font-weight: 600;
  background: var(--grey-100); border: 1px solid var(--line-light);
}
.service-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.service-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.service-nav a:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--black);
  padding-block: clamp(64px, 8vw, 100px);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 120% at 100% 50%, rgba(214, 163, 58, 0.14), transparent 65%);
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted-on-dark); margin: 0; max-width: 560px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-card {
  background: var(--black); color: var(--text-on-dark); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px);
}
.contact-card h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.contact-list { list-style: none; display: grid; gap: 6px; margin: 26px 0; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 10px 0;
  text-decoration: none;
}
.contact-list a:hover strong { color: var(--gold-light); }
.contact-list .ci {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: rgba(214, 163, 58, 0.12); color: var(--gold);
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-dark); }
.contact-list strong { font-weight: 600; transition: color var(--dur) var(--ease); word-break: break-word; }

.form-card { color: var(--text-on-light); background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field label .req { color: #b42318; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text-on-light);
  background: var(--grey-50); border: 1.5px solid var(--grey-300); border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(214, 163, 58, 0.22);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b42318; }
.field__error { display: none; color: #b42318; font-size: 0.85rem; font-weight: 500; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: 0.85rem; color: var(--muted-on-light); }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-footer p { margin: 0; font-size: 0.88rem; color: var(--muted-on-light); }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-weight: 500; display: none; }
.form-status.is-success { display: block; background: #ecfdf3; color: #05603a; border: 1px solid #a6f4c5; }
.form-status.is-error { display: block; background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-footer .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--muted-on-dark); padding-top: clamp(56px, 7vw, 88px); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { width: 190px; margin-bottom: 18px; }
.site-footer .footer-title {
  font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px;
}
.footer-links { list-style: none; display: grid; gap: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; transition: color var(--dur) var(--ease); }
.footer-links a:hover { color: var(--gold); }
.footer-contact a { color: #fff; }
.footer-bottom {
  padding-block: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.85rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating call button (mobile) */
.call-fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90;
  display: none; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 999px;
  background: var(--gold-grad); color: var(--black); font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
}
.call-fab svg { width: 20px; height: 20px; }
@media (max-width: 960px) { .call-fab { display: inline-flex; } }
.call-fab { transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear 0s; }
.hero-cta-visible .call-fab {
  opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Icon panels (used where no project photo exists yet) */
.service-card__media--icon, .frame--icon {
  display: grid; place-items: center; align-content: center; gap: 16px; text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(214, 163, 58, 0.18), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 16px),
    var(--steel);
  color: var(--gold);
}
.service-card__media--icon svg { width: 64px; height: 64px; stroke-width: 1.4; }
.frame--icon svg { width: 96px; height: 96px; stroke-width: 1.2; }
.frame--icon span {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: #fff; font-size: 1rem; line-height: 1.5;
}

/* About (text-only two-column) */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-grid .checklist { margin-bottom: 30px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 8px; } }

/* Leaflet tweaks */
.leaflet-container { font-family: var(--font-body); }
.leaflet-popup-content-wrapper { border-radius: var(--radius-lg); }
.leaflet-popup-content strong { font-family: var(--font-display); }

/* Town page links (service areas) */
.town-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; }
.town-link {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 18px;
  background: #fff; border-radius: var(--radius-lg); text-decoration: none; color: var(--text-on-light);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.town-link:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(0, 0, 0, 0.45); }
.town-link svg:first-child { width: 22px; height: 22px; color: var(--gold-deep); flex: none; }
.town-link svg:last-child { width: 18px; height: 18px; margin-left: auto; color: var(--gold-deep); flex: none; transition: transform var(--dur) var(--ease); }
.town-link:hover svg:last-child { transform: translateX(4px); }
.town-link small { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-light); }
.town-link strong { font-family: var(--font-display); font-size: 1.02rem; }
a.area-chip { text-decoration: none; }
@media (max-width: 1000px) { .town-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .town-links { grid-template-columns: 1fr; } }

/* Homepage: hide header CTAs while the hero's own buttons are on screen (desktop) */
.header-actions .header-phone, .header-actions .btn {
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear 0s;
}
.hero-cta-visible .header-actions .header-phone,
.hero-cta-visible .header-actions .btn {
  opacity: 0; visibility: hidden; transform: translateY(-4px); pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}

/* Buttons: softer pill shape, arrow nudges on hover */
.btn svg { transition: transform var(--dur) var(--ease); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.btn--gold { box-shadow: 0 8px 24px -10px rgba(214, 163, 58, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

/* Hero photo: starts at full view, zooms in noticeably, then softly eases back out on a loop */
.hero__media { overflow: hidden; }
.hero__media img {
  transform-origin: 82% 42%;
  will-change: transform;
  animation: hero-zoom 16s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.2) translate3d(-3%, 1.5%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none !important; transform: none; opacity: 1; }
}

/* ---------- Hero: badge, rating, mobile layout ---------- */
.show-sm { display: none; }
.hero__rating { display: flex; align-items: center; gap: 14px; margin-top: 80px; }
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--black);
  background: var(--gold-grad); border: 2px solid var(--black);
}
.hero__avatars span + span { margin-left: -10px; }
.hero__avatars span:nth-child(2) { background: linear-gradient(135deg, #f4f4f5, #b9b9c0); }
.hero__rating-text { display: flex; flex-direction: column; gap: 3px; font-size: 0.9rem; color: #c9c9cf; }
.hero__rating-text .stars svg { width: 15px; height: 15px; }

@media (max-width: 720px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .hero {
    min-height: 100vh; min-height: 100svh; text-align: center;
    padding-block: calc(48px + var(--header-h)) 48px;
  }
  .hero__content { margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
  .hero h1 { margin-bottom: 32px; }
  .hero .lead { font-size: 1.02rem; line-height: 1.6; color: #d0d0d6; margin: 0 auto 56px; max-width: 30ch; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
  .hero__actions .btn { width: 100%; padding-inline: 16px; }
  .hero__rating { margin-top: 96px; justify-content: center; text-align: left; }
  .hero__avatars span { width: 34px; height: 34px; font-size: 0.85rem; }
}

/* About: owner photo (placeholder card until assets/img/oscar.jpg is added) */
.about-split .split__media .frame { aspect-ratio: 4 / 5; }
.frame--owner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 40px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(214, 163, 58, 0.16), transparent 70%),
    linear-gradient(180deg, #19191c, #0b0b0c);
}
.frame--owner img { width: 72%; height: auto !important; object-fit: contain !important; }
.frame--owner__name { text-align: center; color: var(--muted-on-dark); font-size: 0.9rem; letter-spacing: 0.06em; }
.frame--owner__name strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: #fff; letter-spacing: 0; margin-bottom: 2px; }
img.signature__avatar { object-fit: cover; padding: 0; }
@media (max-width: 900px) {
  .about-split .split__media { max-width: 420px; }
}
.frame--owner img { mix-blend-mode: lighten; }
.about-split .badge-years { left: auto; right: -18px; top: auto; bottom: -24px; }
.about-split .split__media { margin-bottom: 24px; }
@media (max-width: 900px) { .about-split .badge-years { right: 12px; } }

/* Gradient text: extend the painted area so descenders (g, y, p) aren't clipped */
.text-gold, .text-silver { padding-bottom: 0.14em; }
.hero h1 .line { margin-bottom: -0.14em; }

/* Homepage quote form section */
.quote-section { position: relative; isolation: isolate; overflow: hidden; }
.quote-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 55% 60% at 75% 45%, rgba(214, 163, 58, 0.12), transparent 70%);
}
.quote-section .form-card { border-color: transparent; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.35); }
/* contact details on the light background */
.quote-section .contact-list small { color: var(--muted-on-light); }
.quote-section .contact-list strong { color: var(--text-on-light); }
.quote-section .contact-list a:hover strong { color: var(--gold-deep); }
.quote-section .contact-list .ci { background: rgba(214, 163, 58, 0.16); color: var(--gold-deep); }
.quote-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-layout > div:first-child { padding-top: 12px; }
.quote-layout .muted { max-width: 460px; }
.quote-layout .contact-list { max-width: 420px; }
.form-card__title { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 6px; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } }
.quote-section .form-card .muted { color: var(--muted-on-light); }

/* ---------- Before & after slider ---------- */
.ba-layout { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(32px, 6vw, 88px); align-items: center; }
.section--dark .ba-layout .muted, .section--black .ba-layout .muted { color: var(--muted-on-dark); }
.ba-layout .btn { margin-top: 10px; }
.ba {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--steel); user-select: none; -webkit-user-select: none; touch-action: pan-y;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.4); pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-grad); color: var(--black); box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.6);
}
.ba__knob svg { width: 20px; height: 20px; }
.ba__knob::before {
  content: ""; position: absolute; width: 20px; height: 20px; left: 8px; top: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M12 19l-7-7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M12 19l-7-7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ba__knob svg { margin-left: 18px; }
.ba__tag {
  position: absolute; top: 16px; padding: 6px 14px; border-radius: 999px; pointer-events: none;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(11, 11, 12, 0.7); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; background: var(--gold-grad); color: var(--black); }
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0;
  -webkit-appearance: none; appearance: none; background: transparent;
  pointer-events: none; /* dragging is handled in JS; the input stays for keyboard use */
}
.ba { cursor: ew-resize; }
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 52px; height: 100%; }
.ba__range::-moz-range-thumb { width: 52px; height: 100%; border: 0; }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 900px) {
  .ba-layout { grid-template-columns: 1fr; }
  .ba-layout > div:last-child { max-width: 480px; width: 100%; margin-inline: auto; }
}

/* Comfortable tap size for text links with arrows */
.link-arrow { min-height: 44px; }
.footer-links a { padding-block: 6px; line-height: 1.4; }

/* ---------- Compact quote form ---------- */
.form-card { padding: clamp(20px, 3vw, 32px); }
.form-card__title, .form-card h2 { margin-bottom: 16px; }
.form-grid { gap: 12px 14px; }
.field { gap: 5px; }
.field label { font-size: 0.88rem; }
.field input, .field select, .field textarea { min-height: 46px; padding: 10px 12px; font-size: 1rem; }
.field textarea { min-height: 96px; }
.field__hint { font-size: 0.8rem; }
.form-footer { margin-top: 16px; }
.form-footer .btn { min-height: 48px; }
.quote-layout { gap: clamp(24px, 4vw, 64px); }
@media (max-width: 960px) {
  .quote-layout .contact-list { margin: 18px 0 0; }
  .quote-layout .contact-list a { min-height: 56px; }
}
@media (max-width: 560px) {
  .form-footer p { display: none; }
}
/* Hide the floating call button while the quote form is on screen (it covered the fields) */
.form-in-view .call-fab {
  opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}

/* Quote form follows the (same colour) map section: no doubled-up gap between them */
.section--light + .quote-section.section--light { padding-top: 0; }

/* =====================================================================
   Phone compaction (layout only; all text stays in the page for SEO)
   ===================================================================== */
@media (max-width: 600px) {
  /* 1. Services: small photo beside the text */
  .services-grid { gap: 12px; }
  .service-card { flex-direction: row; align-items: stretch; }
  .service-card__media { flex: 0 0 112px; aspect-ratio: auto; }
  .service-card__media img { height: 100%; }
  .service-card__body { padding: 16px 16px 16px 18px; justify-content: center; }
  .service-card__num { margin-bottom: 4px; }
  .service-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
  .service-card p { font-size: 0.9rem; line-height: 1.5; margin: 0; }
  .service-card .link-arrow { display: none; }
  .service-card:hover { transform: none; }

  /* 3. About: hide the logo placeholder card until Oscar's photo is added */
  .about-split .split__media { margin-bottom: 8px; }

  /* 4. Footer: two columns */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
  .footer-grid > div:first-child, .footer-grid > .footer-contact { grid-column: 1 / -1; }
  .footer-logo { width: 150px; }
  .footer-links a { padding-block: 2px; font-size: 0.9rem; }
  .footer-bottom { flex-direction: column; gap: 4px; }

  /* 5. Map: a little shorter */
  .map--inline { height: 280px; }
  .area-chips { margin: 20px 0 22px; gap: 8px; }
}

/* 2. Reviews: swipeable row on phones and small tablets */
.review-dots { display: none; }
@media (max-width: 960px) {
  .reviews {
    display: flex; gap: 14px; max-width: none; margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain;
    align-items: flex-start;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 min(86%, 420px); scroll-snap-align: start; padding: 26px 22px; }
  .review blockquote { font-size: 0.95rem; line-height: 1.65; }
  .review-dots { display: flex; justify-content: center; gap: 4px; margin-top: 14px; }
  .review-dots button {
    width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer;
    display: grid; place-items: center;
  }
  .review-dots button::before {
    content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.3);
    transition: width var(--dur) var(--ease), background-color var(--dur) var(--ease);
  }
  .review-dots button[aria-current="true"]::before { width: 22px; background: var(--gold); }
}

/* =====================================================================
   Reviews: rating summary + auto-rotating card carousel
   ===================================================================== */
.rv-summary { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.rv-summary h2 { margin-bottom: 14px; }
.rv-summary__score {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin: 0 0 6px;
}
.stars--lg svg { width: clamp(28px, 4vw, 36px); height: clamp(28px, 4vw, 36px); }
.rv-summary__count { margin: 8px 0 0; color: var(--muted-on-dark); }
.rv-summary__count strong { color: #fff; }

.rv { max-width: 760px; margin-inline: auto; }
.rv__viewport { overflow: hidden; border-radius: 18px; touch-action: pan-y; }
.rv__track { display: flex; transition: transform 850ms cubic-bezier(0.45, 0, 0.25, 1); will-change: transform; }
.rv__track.no-anim { transition: none; }
.rv-card {
  flex: 0 0 100%; margin: 0; padding: clamp(24px, 4vw, 34px);
  background: #f4f4f5; color: var(--text-on-light); border-radius: 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.rv-card__head { display: flex; align-items: center; gap: 14px; }
.rv-card__head strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.rv-card__head span span { display: block; font-size: 0.9rem; color: var(--muted-on-light); }
.rv-card__avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: #fff;
}
.rv-card__avatar--0 { background: var(--gold-grad); color: var(--black); }
.rv-card__avatar--1 { background: linear-gradient(135deg, #4a4a55, #26262c); }
.rv-card__avatar--2 { background: linear-gradient(135deg, #b07f1f, #6f4f10); }
.rv-card .stars svg { width: 22px; height: 22px; }
.rv-card__text { margin: 0; font-size: clamp(1rem, 1.6vw, 1.1rem); line-height: 1.65; }
.rv-card__text p { margin: 0; }
.rv-card.is-clamped .rv-card__text p {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.rv-card__more {
  align-self: flex-start; min-height: 44px; padding: 0; margin-top: -8px; border: 0; background: none;
  font: inherit; font-weight: 600; color: var(--muted-on-light); cursor: pointer;
}
.rv-card__more:hover { color: var(--gold-deep); }

.rv__controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; }
.rv__btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.rv__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.rv__btn svg { width: 18px; height: 18px; }
.rv__prev svg { transform: rotate(180deg); }
.rv__pause { margin-left: 6px; }
.rv__pause .i-play { display: none; }
.rv__pause[aria-pressed="true"] .i-play { display: block; }
.rv__pause[aria-pressed="true"] .i-pause { display: none; }
.rv__dots { display: flex; gap: 2px; }
.rv__dots button {
  width: 30px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center;
}
.rv__dots button::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.3);
  transition: width var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.rv__dots button[aria-current="true"]::before { width: 22px; background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .rv__track { transition: none; } }

/* Before & after: more compact on phones only (desktop unchanged) */
@media (max-width: 600px) {
  .ba { aspect-ratio: 5 / 4; border-radius: 14px; }
  .ba__img { object-position: center 66%; }
  .ba__tag { top: 12px; padding: 4px 11px; font-size: 0.72rem; }
  .ba__tag--before { left: 12px; }
  .ba__tag--after { right: 12px; }
  .ba__knob { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .ba__knob::before { width: 17px; height: 17px; left: 6px; top: 13.5px; }
  .ba__knob svg { width: 17px; height: 17px; margin-left: 16px; }
}

/* Trust strip, two-column widths: more room for text, neat wrapped headings */
@media (max-width: 900px) and (min-width: 601px) {
  .trust__item { gap: 12px; }
  .trust__icon { width: 40px; height: 40px; }
  .trust__icon svg { width: 19px; height: 19px; }
  .trust__item strong { line-height: 1.3; }
  .trust__item span { line-height: 1.45; }
}

/* About: "meet the owner" row. Desktop: name only (the large photo + badge are on the left).
   Phones: small portrait beside Oscar's name, title and years (no overlapping badge). */
.owner-row__photo, .signature .owner-row__years { display: none; }
@media (max-width: 600px) {
  .about-split .split__media { display: none; }
  .owner-row { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
  .owner-row__photo { display: block; flex: 0 0 110px; }
  .owner-row__photo .frame { width: 110px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--steel); }
  .owner-row__photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
  /* until Oscar's photo is added, skip the logo card (the logo is already in the header) */
  .owner-row__photo:has(.frame--owner) { display: none; }
  .owner-row .signature { margin: 0; }
  .owner-row .signature strong { font-size: 1.15rem; }
  .signature .owner-row__years {
    display: block; margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--gold-deep);
  }
}
/* Oscar's photo: frame matches the photo's own shape (960x1390) so nothing is cropped */
.about-split .split__media .frame--photo, .owner-row__photo .frame--photo { aspect-ratio: 960 / 1390; }
.owner-row__photo .frame--photo img { object-position: center; }

/* ---------- Before / after: arrow photo switcher ---------- */
.bax__viewport {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 3 / 4;
  background: var(--steel); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); touch-action: pan-y;
}
.bax__track { display: flex; height: 100%; transition: transform 650ms cubic-bezier(0.45, 0, 0.25, 1); }
.bax.is-after .bax__track { transform: translateX(-100%); }
.bax__slide { position: relative; flex: 0 0 100%; height: 100%; margin: 0; }
.bax__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bax__tag {
  position: absolute; top: 16px; left: 16px; padding: 6px 14px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(11, 11, 12, 0.72); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.bax__tag--after { background: var(--gold-grad); color: var(--black); }
.bax__arrow {
  position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--black); background: var(--gold-grad);
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.6);
  transition: opacity 250ms var(--ease), transform 250ms var(--ease), visibility 0s linear 0s;
}
.bax__arrow svg { width: 22px; height: 22px; }
.bax__arrow--next { right: 14px; animation: bax-nudge 2.4s ease-in-out 1s 3; }
.bax__arrow--prev { left: 14px; }
.bax__arrow--prev svg { transform: rotate(180deg); }
.bax__arrow:hover { transform: scale(1.06); }
.bax:not(.is-after) .bax__arrow--prev,
.bax.is-after .bax__arrow--next { opacity: 0; visibility: hidden; transition-delay: 0s, 0s, 250ms; }
@keyframes bax-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.bax__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.bax__dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.18); transition: width 250ms var(--ease), background-color 250ms var(--ease); }
.bax:not(.is-after) .bax__dots span:first-child, .bax.is-after .bax__dots span:last-child { width: 22px; background: var(--gold); }
@media (max-width: 600px) {
  .bax__viewport { aspect-ratio: 5 / 4; border-radius: 14px; }
  .bax__slide img { object-position: center 66%; }
  .bax__tag { top: 12px; left: 12px; padding: 4px 11px; font-size: 0.72rem; }
  .bax__arrow { width: 46px; height: 46px; margin-top: -23px; }
  .bax__arrow--next { right: 10px; }
  .bax__arrow--prev { left: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .bax__track { transition: none; }
  .bax__arrow--next { animation: none; }
}

/* Header wordmark: the real logo lettering (with the lines either side of BUILTT) */
.brand .brand__wordmark { width: 126px; height: auto; }
@media (max-width: 420px) { .brand .brand__wordmark { width: 108px; } }
/* Medium-width screens: keep the logo clear of the centred menu */
@media (max-width: 1200px) and (min-width: 961px) {
  .brand { gap: 10px; }
  .brand img:not(.brand__wordmark) { width: 62px; }
  .brand .brand__wordmark { width: 118px; }
  .nav__link { padding: 0 11px; }
  .nav__link::after { left: 11px; right: 11px; }
}
@media (max-width: 1080px) and (min-width: 961px) {
  .brand img:not(.brand__wordmark) { width: 56px; }
  .brand .brand__wordmark { width: 108px; }
  .nav__link { padding: 0 9px; font-size: 0.88rem; }
  .nav__link::after { left: 9px; right: 9px; }
}
/* Trust strip on phones: nudge the right-hand column further right (left column stays put) */
@media (min-width: 400px) and (max-width: 600px) {
  .trust__list { padding-left: 16px; }
  .trust__item:nth-child(even) { margin-left: 16px; }
}

/* ---------- Services: subtle scroll-in animation (inspired by SW's fade-in-left/right, toned down) ---------- */
.js .reveal--svc {
  opacity: 0; transform: translateX(-60px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.js .reveal--svc.is-visible { opacity: 1; transform: none; }
.js .reveal--svc .service-card__media img { transform: scale(1.1); transition: transform 1400ms var(--ease); }
.js .reveal--svc.is-visible .service-card__media img { transform: scale(1); }
.js .reveal--svc.is-visible:hover { transform: translateY(-4px); }
.js .reveal--svc.is-visible:hover .service-card__media img { transform: scale(1.05); transition-duration: 500ms; }
@media (max-width: 600px) {
  /* phones: cards drift in alternately from the left and right */
  .js .reveal--svc:nth-child(odd) { transform: translateX(-60px); }
  .js .reveal--svc:nth-child(even) { transform: translateX(60px); }
  .js .reveal--svc.is-visible { transform: none; transition-delay: 0ms !important; }
  .js .reveal--svc.is-visible:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal--svc, .js .reveal--svc .service-card__media img { opacity: 1; transform: none; transition: none; }
}
/* keep side-sliding cards from causing sideways page scroll */
.services-grid { overflow-x: clip; overflow-y: visible; }
@supports not (overflow: clip) { .services-grid { overflow-x: hidden; } }

/* =====================================================================
   Homepage scroll effects: subtle, consistent with the services section
   ===================================================================== */
main > section, .site-footer { overflow-x: clip; }
.js .reveal:not(.reveal--svc) { transform: translateY(24px); transition: opacity 850ms var(--ease), transform 850ms var(--ease); }

/* text from the left, visual from the right */
.js .ba-layout > .reveal:first-child,
.js .areas-home > .reveal:first-child,
.js .quote-layout > .reveal:first-child { transform: translateX(-40px); }
.js .ba-layout > .reveal:last-child,
.js .areas-home > .reveal:last-child,
.js .quote-layout > .reveal:last-child { transform: translateX(40px); }
.js .about-split .split__media.reveal { transform: translateX(-40px); }

/* About checklist: points appear one by one once the text is in view */
.js .reveal .checklist li { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-visible .checklist li { opacity: 1; transform: none; }
.js .reveal.is-visible .checklist li:nth-child(1) { transition-delay: 250ms; }
.js .reveal.is-visible .checklist li:nth-child(2) { transition-delay: 400ms; }
.js .reveal.is-visible .checklist li:nth-child(3) { transition-delay: 550ms; }

/* Footer columns fade in one after another */
.js .reveal-group > * { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal-group.is-visible > * { opacity: 1; transform: none; }
.js .reveal-group.is-visible > :nth-child(2) { transition-delay: 100ms; }
.js .reveal-group.is-visible > :nth-child(3) { transition-delay: 200ms; }
.js .reveal-group.is-visible > :nth-child(4) { transition-delay: 300ms; }

/* everything lands in place once visible */
.js .reveal.is-visible:not(.reveal--svc),
.js .ba-layout > .reveal.is-visible,
.js .areas-home > .reveal.is-visible,
.js .quote-layout > .reveal.is-visible,
.js .about-split .split__media.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal .checklist li, .js .reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Services: a touch bigger */
.service-card h3 { font-size: 1.38rem; }
.service-card p { font-size: 1rem; }
.service-card__body { padding: 26px 24px 28px; }
@media (max-width: 600px) {
  .services-grid { gap: 14px; }
  .service-card__media { flex: 0 0 132px; }
  .service-card__body { padding: 20px 18px 20px 20px; }
  .service-card h3 { font-size: 1.24rem; margin-bottom: 6px; }
  .service-card p { font-size: 0.96rem; }
  .service-card__num { font-size: 0.8rem; }
}

/* ---------- Footer: tighter ---------- */
.site-footer { padding-top: clamp(48px, 6vw, 72px); }
.footer-grid { padding-bottom: 36px; }
.site-footer .footer-title { margin-bottom: 12px; }
.footer-links a { min-height: 34px; padding-block: 3px; line-height: 1.35; }
.footer-logo { margin-bottom: 14px; }
.footer-grid > div:first-child p { margin: 0; }
.footer-bottom { padding-block: 18px; }
@media (max-width: 600px) {
  .site-footer { padding-top: 40px; font-size: 0.9rem; }
  .footer-grid { gap: 24px 20px; padding-bottom: 24px; }
  .footer-logo { width: 130px; margin-bottom: 12px; }
  .site-footer .footer-title { margin-bottom: 6px; font-size: 0.74rem; }
  .footer-links a { min-height: 32px; font-size: 0.9rem; }
  .footer-bottom { padding-block: 16px 84px; font-size: 0.8rem; } /* room for the Call Now button */
}

/* ---------- Footer: reference-style layout ---------- */
.footer-brand { margin-bottom: 18px; }
.footer-brand img:not(.brand__wordmark) { width: 64px; }
.footer-brand .brand__wordmark { width: 120px; }
.footer-about p { max-width: 380px; }
.site-footer .footer-title {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: #fff; margin-bottom: 10px;
}
.footer-contact .footer-links li:not(:has(a)) { padding-block: 5px; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid > div:first-child, .footer-grid > .footer-contact { grid-column: auto; }
  .footer-brand { margin-bottom: 14px; }
  .footer-brand img:not(.brand__wordmark) { width: 56px; }
  .footer-brand .brand__wordmark { width: 108px; }
  .site-footer .footer-title { font-size: 1rem; margin-bottom: 6px; }
}

/* Mobile menu (now outside the header) */
.mobile-nav__link svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.mobile-nav { color: #fff; }

/* Trust strip on desktop: spread the four items evenly across the full width */
@media (min-width: 901px) {
  .trust__list { grid-template-columns: repeat(4, auto); justify-content: space-between; column-gap: 32px; }
  .trust__item { padding-inline: 0; }
}

/* Hero photo container: clip the zooming photo and its overlay together */
.hero__media { overflow: hidden; }
.hero__media img { position: relative; z-index: 0; }

.page-hero__media { overflow: hidden; }
.page-hero__media img { position: relative; z-index: 0; }

/* "Plus all general carpentry…" line under the service cards */
.svc-more {
  margin: 44px auto 0; max-width: 760px; text-align: center; font-size: 1rem; line-height: 1.6;
  color: var(--muted-on-dark);
}
.svc-more .link-arrow { margin-left: 6px; white-space: nowrap; }
@media (max-width: 600px) { .svc-more { margin-top: 36px; font-size: 0.95rem; } .svc-more .link-arrow { display: flex; justify-content: center; margin: 4px 0 0; } }

/* Shorter laptop screens: trim the hero's top/bottom padding so the whole block still fits on screen */
@media (min-width: 721px) and (max-height: 820px) {
  .hero { padding-block: calc(48px + var(--header-h)) 48px; }
}

/* Reviews: a clear gap between cards while they slide */
.rv { --rv-gap: 28px; }
.rv__track { gap: var(--rv-gap); }
.rv__viewport { border-radius: 0; }

/* Hero headline: bigger on phones so it reads as the hero */
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(2.6rem, 12.4vw, 3.5rem); }
}

/* Hero text: soft shadow for readability over the brighter photo (desktop too) */
.hero .lead, .hero__rating-text { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); }
.hero h1 { filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.45)); }

/* Menu button: "Menu" label beside the icon */
@media (max-width: 960px) {
  .nav-toggle { width: auto; padding: 0 14px 0 16px; gap: 10px; }
  .nav-toggle__label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; }
  .nav-toggle .label-close { display: none; }
  .nav-open .nav-toggle .label-open { display: none; }
  .nav-open .nav-toggle .label-close { display: inline; }
}

/* Longer hero headline: slightly smaller on desktop so it sits on three neat lines */
@media (min-width: 721px) { .hero h1 { font-size: clamp(3rem, 6.2vw, 5rem); } }

/* =====================================================================
   Hero headline: size contrast and load-in reveal
   ===================================================================== */
/* 1. "Local carpentry," small; "built to last." big */
.hero h1 { font-size: clamp(3.2rem, 7.6vw, 6.4rem); line-height: 0.98; }
.hero h1 .line:first-child { font-size: 0.5em; letter-spacing: -0.005em; margin-bottom: 0.08em; }
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(3rem, 15.4vw, 4.4rem); }
  .hero h1 .line:first-child { font-size: 0.56em; }
}

/* 3. reveal on load: headline lines slide up, then subline, buttons and reviews fade in */
.js .hero h1 .line, .js .hero .lead, .js .hero__actions, .js .hero__rating {
  animation: hero-rise 850ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.js .hero h1 .line:first-child { animation-delay: 120ms; }
.js .hero h1 .line.text-gold { animation-delay: 260ms; }
.js .hero .lead { animation-delay: 480ms; }
.js .hero__actions { animation-delay: 620ms; }
.js .hero__rating { animation-delay: 780ms; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .hero h1 .line, .js .hero .lead, .js .hero__actions, .js .hero__rating { animation: none !important; opacity: 1; transform: none; }
}

/* Hero headline in DM Serif Display (rest of the site stays in Outfit) */
.hero h1 { font-family: "DM Serif Display", Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.01em; }
.hero h1 .line:first-child { font-style: italic; }

/* Desktop hero photo: starts fully zoomed out and travels further in along the deck */
@media (min-width: 721px) {
  .hero__media img { animation: hero-zoom-wide 20s ease-in-out infinite alternate; }
}
@keyframes hero-zoom-wide {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.32) translate3d(-4%, 3%, 0); }
}
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none !important; } }

/* =====================================================================
   Homepage services: each service in its own band (like the reference)
   ===================================================================== */
.svc-intro { padding-bottom: clamp(24px, 4vw, 40px); }
.svc-intro .section-head { margin-bottom: 0; }
.svc-band { background: var(--ink); color: var(--text-on-dark); padding-block: clamp(36px, 6vw, 80px); overflow-x: clip; }
.svc-band--alt { background: var(--charcoal); }
.svc-band__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.svc-band--flip .svc-band__media { order: 2; }
.svc-band__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--steel); box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.8); }
.svc-band__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease); }
.svc-band__num { display: block; font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 8px; }
.svc-band h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.svc-band__rule { display: block; width: 64px; height: 3px; border-radius: 3px; background: var(--gold-grad); margin-bottom: 20px; }
.svc-band p { color: var(--muted-on-dark); font-size: 1.05rem; line-height: 1.7; max-width: 520px; margin-bottom: 26px; }
.svc-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.svc-outro { padding-top: clamp(28px, 4vw, 44px); }
.svc-outro .svc-more { margin-top: 0; }

/* scroll-in: photo slides in from its side, text fades up */
.js .svc-band__media.reveal { opacity: 0; transform: translateX(-60px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js .svc-band--flip .svc-band__media.reveal { transform: translateX(60px); }
.js .svc-band__media.reveal img { transform: scale(1.08); }
.js .svc-band__media.reveal.is-visible { opacity: 1; transform: none; }
.js .svc-band__media.reveal.is-visible img { transform: none; }

@media (max-width: 900px) {
  .svc-band__inner { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .svc-band--flip .svc-band__media { order: 0; }
  .svc-band__media { aspect-ratio: 16 / 10; }
  .svc-band__rule { margin-inline: auto; }
  .svc-band p { margin-inline: auto; font-size: 1rem; margin-bottom: 22px; }
  .svc-band__btns { justify-content: center; }
}
@media (max-width: 600px) {
  .svc-band { padding-block: 34px; }
  .svc-band h3 { font-size: 1.75rem; margin-bottom: 12px; }
  .svc-band__rule { margin-bottom: 16px; }
  .svc-band__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc-band__btns .btn { width: 100%; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .svc-band__media.reveal, .js .svc-band__media.reveal img { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (max-width: 600px) {
  .svc-intro { padding-bottom: 8px; }
  .svc-band { padding-block: 28px 32px; }
  .svc-band__inner { gap: 18px; }
  .svc-band p { margin-bottom: 18px; }
}
/* .show-sm/.hide-sm were only defined for 720px and below; make them apply site-wide */
@media (max-width: 720px) { .svc-band .hide-sm { display: none; } .svc-band .show-sm { display: inline; } }
/* Service band photos: a bit shorter on phones */
@media (max-width: 600px) { .svc-band__media { aspect-ratio: 2 / 1; } }

/* Footer on phones: town links in two neat columns (all kept for local SEO) */
@media (max-width: 600px) {
  .site-footer .footer-grid > div:nth-child(3) .footer-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .site-footer .footer-grid > div:nth-child(3) .footer-links a { font-size: 0.86rem; }
}
.map-popup-link { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--gold-deep) !important; }

/* "9+ years on the tools": slim pill instead of the bulky card */
.badge-years, .about-split .badge-years {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px;
  top: auto; left: 18px; right: auto; bottom: 18px;
  background: rgba(11, 11, 12, 0.72); border: 1px solid rgba(214, 163, 58, 0.45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6);
}
.badge-years strong, .about-split .badge-years strong { display: inline; font-size: 1.05rem; line-height: 1; }
.badge-years span, .about-split .badge-years span {
  font-size: 0.78rem; letter-spacing: 0.04em; text-transform: none; color: #e4e4e8; font-weight: 500;
}
/* Menu button: no box outline */
.nav-toggle { border: 0; background: transparent; }
@media (max-width: 960px) { .nav-toggle { padding-right: 4px; } }
.nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }

/* "Our work speaks for itself": tighter on phones */
@media (max-width: 600px) {
  .ba-layout { gap: 22px; }
  .ba-layout h2 { margin-bottom: 12px; }
  .ba-layout .lead { font-size: 1rem; line-height: 1.6; margin-bottom: 10px; }
  .ba-layout .muted { font-size: 0.95rem; margin-bottom: 18px; }
  .ba-layout .btn-row .btn { min-height: 48px; padding: 10px 22px; font-size: 0.95rem; }
  .bax__viewport { aspect-ratio: 3 / 2; }
  .bax__dots { margin-top: 10px; }
}

/* About section: tighter on phones (all of Oscar's wording kept) */
@media (max-width: 600px) {
  .about-split h2 { margin-bottom: 12px; }
  .about-split .lead { font-size: 1rem; line-height: 1.6; margin-bottom: 12px; }
  .about-split p.muted { font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; }
  .about-split .checklist { gap: 10px; margin: 20px 0 22px; }
  .about-split .checklist strong { font-size: 0.98rem; }
  .about-split .checklist .muted { font-size: 0.92rem; line-height: 1.5; }
  .about-split .checklist svg { width: 20px; height: 20px; }
  .owner-row { margin-top: 0; }
  .owner-row .signature span { font-size: 0.88rem; }
}

/* =====================================================================
   Header: clear over the hero at the top, solid black once you scroll
   ===================================================================== */
.site-header {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.site-header.is-solid, .nav-open .site-header {
  background: #0b0b0c;
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.7);
}
/* soft shade behind the clear header so the logo and menu stay readable over bright photo areas */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -30px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 8, 9, 0.55) 0%, rgba(8, 8, 9, 0) 100%);
  transition: opacity 300ms var(--ease);
}
.site-header.is-solid::before, .nav-open .site-header::before { opacity: 0; }
/* "Website by Vantum Studio" credit */
.footer-credit { color: var(--muted-on-dark); }
.footer-credit a, .footer-credit__name { color: #c9c9cf; text-decoration: none; transition: color var(--dur) var(--ease); }
.footer-credit a:hover { color: var(--gold); }

/* Google review badges + profile link */
.g-mark { width: 18px; height: 18px; flex: none; }
.rv-card__head { position: relative; }
.rv-card__src { margin-left: auto; align-self: flex-start; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.rv-card__src .g-mark { width: 20px; height: 20px; }
.rv-google { text-align: center; margin: 22px 0 0; }
.rv-google__link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px; border-radius: 999px;
  background: #fff; color: var(--text-on-light); font-weight: 600; text-decoration: none;
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.7); transition: transform var(--dur) var(--ease);
}
.rv-google__link > svg:last-child { width: 16px; height: 16px; }
.rv-google__link:hover { transform: translateY(-2px); }

/* Footer social icons */
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #e4e4e8;
  border: 1px solid rgba(255, 255, 255, 0.18); transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer-social a:hover { color: var(--gold); border-color: var(--gold); }
.footer-social svg { width: 20px; height: 20px; }

/* Hero rating: Google badge instead of initials, links to the Google profile */
a.hero__rating { text-decoration: none; color: inherit; }
.hero__g { width: 46px; height: 46px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.6); }
.hero__g .g-mark { width: 26px; height: 26px; }
a.hero__rating:hover .hero__rating-text > span:last-child { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .hero__g { width: 42px; height: 42px; } .hero__g .g-mark { width: 24px; height: 24px; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-layout .muted a { color: var(--gold-deep); font-weight: 600; text-decoration: none; white-space: nowrap; }
.faq { display: grid; gap: 10px; }
.faq__item { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 10px 24px -20px rgba(0, 0, 0, 0.35); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 14px 20px;
  cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text-on-light);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: rgba(214, 163, 58, 0.15); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px;
  background: var(--gold-deep); transition: transform 250ms var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item p { margin: 0; padding: 0 20px 18px; color: var(--muted-on-light); line-height: 1.65; }
.faq__item summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: var(--radius-lg); }
.section--light + .faq-section.section--light, .faq-section.section--light + .quote-section.section--light { padding-top: 0; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 600px) {
  .faq__item summary { font-size: 0.98rem; padding: 12px 16px; min-height: 54px; }
  .faq__item p { padding: 0 16px 16px; font-size: 0.95rem; }
}
.footer-credit a { display: inline-flex; align-items: center; min-height: 36px; padding-block: 4px; }

/* Hero zoom: start partway into the cycle so it's already moving on load (no slow-start pause) */
.hero__media img { animation-delay: -3s; }
@media (min-width: 721px) { .hero__media img { animation-delay: -3.5s; } }

/* Hero photo: <picture> wrapper fills the frame; phones keep the tall crop, desktop gets the sharp wide crop */
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { object-position: center 38%; }
@media (min-width: 721px) {
  .hero__media img { object-position: center 55%; }
  /* gentler zoom so the photo never enlarges past its real detail */
  .hero__media img { animation-name: hero-zoom-wide2; }
  /* a touch more overlay on desktop */
  .hero__media::after {
    background:
      radial-gradient(ellipse 62% 60% at 26% 52%, rgba(8, 8, 9, 0.74) 0%, rgba(8, 8, 9, 0.48) 60%, rgba(8, 8, 9, 0.08) 100%),
      linear-gradient(180deg, rgba(8, 8, 9, 0.42) 0%, rgba(8, 8, 9, 0.2) 22%, rgba(8, 8, 9, 0.2) 72%, rgba(8, 8, 9, 0.65) 100%);
  }
}
@keyframes hero-zoom-wide2 {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.18) translate3d(-3%, 2%, 0); }
}

/* Desktop hero: bring the text in from the left edge a touch */
@media (min-width: 721px) {
  .hero__content { margin-left: clamp(24px, 5vw, 88px); }
  /* "across the coast." a touch smaller than the full headline size */
  .hero h1 .line.text-gold { font-size: 0.88em; }
  /* overlay a touch lighter so the deck photo shows through more */
  .hero__media::after {
    background:
      radial-gradient(ellipse 64% 62% at 30% 52%, rgba(8, 8, 9, 0.64) 0%, rgba(8, 8, 9, 0.38) 60%, rgba(8, 8, 9, 0.04) 100%),
      linear-gradient(180deg, rgba(8, 8, 9, 0.36) 0%, rgba(8, 8, 9, 0.12) 22%, rgba(8, 8, 9, 0.12) 72%, rgba(8, 8, 9, 0.58) 100%);
  }
}

/* Phones: hero fills the screen even when the browser bar hides, so the trust strip never peeks in */
@media (max-width: 720px) {
  .hero { min-height: 100vh; min-height: 100lvh; }
}
/* Trust strip: near-black (no grey band against the hero) */
.trust { background: var(--black); }

/* =====================================================================
   Header logo: Oscar's original stacked logo at the top of the page,
   switching to just the CB mark once the bar turns solid
   ===================================================================== */
.site-header .brand { position: relative; }
.site-header .brand__mark { width: 64px; height: auto; opacity: 0; transition: opacity 250ms var(--ease); }
.site-header .brand__stack {
  position: absolute; left: 0; top: -4px; width: auto; height: 104px; max-width: none;
  transition: opacity 250ms var(--ease), transform 250ms var(--ease); transform-origin: left top;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}
.site-header.is-solid .brand__mark, .nav-open .site-header .brand__mark { opacity: 1; }
.site-header.is-solid .brand__stack, .nav-open .site-header .brand__stack { opacity: 0; transform: scale(0.85); pointer-events: none; }
@media (max-width: 960px) {
  .site-header .brand__stack { height: 88px; top: -2px; }
  .site-header .brand__mark { width: 58px; }
}
@media (max-width: 420px) {
  .site-header .brand__stack { height: 80px; }
}
/* keep the centred menu clear of the larger logo on mid-size desktops */
@media (min-width: 961px) and (max-width: 1100px) { .site-header .brand__stack { height: 92px; } }

/* Footer: original stacked logo */
.footer-brand { display: inline-block; margin-bottom: 16px; }
.footer-brand img { width: 150px; height: auto; }
@media (max-width: 600px) { .footer-brand img { width: 130px; } }
.site-header .brand .brand__stack { width: auto !important; }
.site-header .brand__stack { top: 2px; }
@media (min-width: 961px) { .site-header .brand__stack { top: 6px; } }
/* Stacked header logo: a touch smaller */
.site-header .brand__stack { height: 94px; }
@media (min-width: 961px) and (max-width: 1100px) { .site-header .brand__stack { height: 86px; } }
@media (max-width: 960px) { .site-header .brand__stack { height: 72px; top: 4px; } }
@media (max-width: 420px) { .site-header .brand__stack { height: 66px; } }

/* Breadcrumbs: keep every item on the same line (the Home link's bigger tap area was pushing it down) */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin-bottom: 14px; }
.breadcrumb li { display: inline-flex; align-items: center; line-height: 1.4; }
.breadcrumb li + li::before { margin-right: 8px; }
.breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; }

/* Service Areas: the town list now links to each town page */
a.area-card { text-decoration: none; }
.area-card > span { display: flex; flex-direction: column; line-height: 1.2; }
.area-card small { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-light); font-weight: 500; }
.area-card > svg:last-child { width: 16px; height: 16px; margin-left: auto; color: var(--gold-deep); transition: transform var(--dur) var(--ease); }
.area-card:hover > svg:last-child { transform: translateX(3px); }
/* Town cards: keep names on one line (e.g. Forster-Tuncurry) */
.area-card > span { white-space: nowrap; min-width: 0; }
@media (max-width: 600px) {
  .area-list { gap: 10px; }
  .area-card { padding: 12px 12px; gap: 10px; }
  .area-card > svg:first-child { width: 18px; height: 18px; }
  .area-card > span { font-size: 0.95rem; }
  .area-card > svg:last-child { width: 14px; height: 14px; }
}
@media (max-width: 460px) { .area-list { grid-template-columns: 1fr; } }

/* Gold push-pin icons (town chips, town cards, contact details) */
svg.pushpin { width: auto !important; height: 20px !important; flex: none; overflow: visible; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.25)); }
.area-chip svg.pushpin { height: 18px !important; }
.contact-list .ci svg.pushpin { height: 22px !important; }
@media (max-width: 600px) { .area-card svg.pushpin { height: 19px !important; } }
.area-card svg.pushpin { height: 24px !important; }
.area-chip svg.pushpin { height: 20px !important; }
@media (max-width: 600px) { .area-card svg.pushpin { height: 22px !important; } }

/* =====================================================================
   Faster scroll reveals (they felt slow on phones, like the page had frozen)
   ===================================================================== */
.js .reveal:not(.reveal--svc) { transform: translateY(16px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.js .ba-layout > .reveal:first-child, .js .areas-home > .reveal:first-child, .js .quote-layout > .reveal:first-child,
.js .about-split .split__media.reveal { transform: translateX(-28px); }
.js .ba-layout > .reveal:last-child, .js .areas-home > .reveal:last-child, .js .quote-layout > .reveal:last-child { transform: translateX(28px); }
.js .reveal.is-visible:not(.reveal--svc), .js .ba-layout > .reveal.is-visible, .js .areas-home > .reveal.is-visible,
.js .quote-layout > .reveal.is-visible, .js .about-split .split__media.reveal.is-visible { transform: none; }
.js .reveal--svc { transition: opacity 550ms var(--ease), transform 550ms var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.js .svc-band__media.reveal { transform: translateX(-40px); transition: opacity 550ms var(--ease), transform 550ms var(--ease); }
.js .svc-band--flip .svc-band__media.reveal { transform: translateX(40px); }
.js .svc-band__media.reveal.is-visible { transform: none; }
.js .svc-band__media.reveal img { transition: transform 900ms var(--ease); }
.js .reveal .checklist li { transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.js .reveal.is-visible .checklist li:nth-child(1) { transition-delay: 100ms; }
.js .reveal.is-visible .checklist li:nth-child(2) { transition-delay: 180ms; }
.js .reveal.is-visible .checklist li:nth-child(3) { transition-delay: 260ms; }
.js .reveal-group > * { transition: opacity 450ms var(--ease), transform 450ms var(--ease); }
.js .reveal-group.is-visible > :nth-child(2) { transition-delay: 60ms; }
.js .reveal-group.is-visible > :nth-child(3) { transition-delay: 120ms; }
.js .reveal-group.is-visible > :nth-child(4) { transition-delay: 180ms; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal .checklist li, .js .reveal-group > *, .js .svc-band__media.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Phones: hero zoom starts a bit closer and travels further down the deck */
@media (max-width: 720px) {
  .hero__media img { transform-origin: 78% 50%; animation-name: hero-zoom-phone; animation-duration: 16s; }
}
@keyframes hero-zoom-phone {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.3) translate3d(-4%, 2.5%, 0); }
}

/* Town name labels beside the map pins */
.leaflet-tooltip.pin-label {
  padding: 2px 7px; border: 0; border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  background: rgba(11, 11, 12, 0.82); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 11.5px; line-height: 1.4; white-space: nowrap;
}
.leaflet-tooltip.pin-label::before { display: none; }
@media (max-width: 600px) { .leaflet-tooltip.pin-label { font-size: 10.5px; padding: 1px 6px; } }
@media (max-width: 600px) { .map--inline { height: 340px; } }

/* Reveal effects: visible but brisk (between the original slow version and the too-fast one) */
.js .reveal:not(.reveal--svc) { transform: translateY(22px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); }
.js .ba-layout > .reveal:first-child, .js .areas-home > .reveal:first-child, .js .quote-layout > .reveal:first-child,
.js .about-split .split__media.reveal { transform: translateX(-36px); }
.js .ba-layout > .reveal:last-child, .js .areas-home > .reveal:last-child, .js .quote-layout > .reveal:last-child { transform: translateX(36px); }
.js .reveal.is-visible:not(.reveal--svc), .js .ba-layout > .reveal.is-visible, .js .areas-home > .reveal.is-visible,
.js .quote-layout > .reveal.is-visible, .js .about-split .split__media.reveal.is-visible { transform: none; }
.js .svc-band__media.reveal { transform: translateX(-56px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .svc-band--flip .svc-band__media.reveal { transform: translateX(56px); }
.js .svc-band__media.reveal.is-visible { transform: none; }
.js .svc-band__media.reveal img { transition: transform 1100ms var(--ease); }
.js .reveal--svc { transition: opacity 650ms var(--ease), transform 650ms var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.js .reveal .checklist li { transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.js .reveal.is-visible .checklist li:nth-child(1) { transition-delay: 150ms; }
.js .reveal.is-visible .checklist li:nth-child(2) { transition-delay: 260ms; }
.js .reveal.is-visible .checklist li:nth-child(3) { transition-delay: 370ms; }
.js .reveal-group > * { transition: opacity 550ms var(--ease), transform 550ms var(--ease); }
.js .reveal-group.is-visible > :nth-child(2) { transition-delay: 80ms; }
.js .reveal-group.is-visible > :nth-child(3) { transition-delay: 160ms; }
.js .reveal-group.is-visible > :nth-child(4) { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal .checklist li, .js .reveal-group > *, .js .svc-band__media.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* About: until Oscar's photo is added, phones show the logo inside the small photo frame */
@media (max-width: 600px) {
  .owner-row__photo:has(.frame--owner) { display: block; }
  .owner-row__photo .frame.frame--owner { padding: 12px; gap: 0; justify-content: center;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(214, 163, 58, 0.18), transparent 70%), linear-gradient(180deg, #19191c, #0b0b0c); }
  .owner-row__photo { flex-basis: 140px; }
  .owner-row__photo .frame.frame--owner { width: 140px; gap: 10px; }
  .owner-row__photo .frame--owner img { width: 100%; height: auto !important; object-fit: contain !important; }
  .owner-row__photo .frame--owner__name { white-space: nowrap; font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
}

/* "Your photo here" label inside the logo placeholder frame */
.frame--owner__name { text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); font-weight: 600; }
.about-split .split__media .frame.frame--owner {
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(214, 163, 58, 0.16), transparent 70%), linear-gradient(180deg, #19191c, #0b0b0c);
}
/* Desktop: slightly smaller stacked logo over the hero */
@media (min-width: 961px) { .site-header .brand__stack { height: 80px; top: 8px; } }
@media (min-width: 961px) and (max-width: 1100px) { .site-header .brand__stack { height: 76px; } }
/* Homepage, desktop: tidier hero. The header is inset by the same amount as the hero text on BOTH sides
   (logo lines up with the headline, menu mirrors it on the right); the subline sits on one line and the
   gaps between headline, subline, buttons and rating are even. */
@media (min-width: 721px) {
  body:has(.hero) .site-header .container { padding-inline: calc(var(--gutter) + clamp(24px, 5vw, 88px)); }
}
@media (min-width: 961px) {
  .hero__content { max-width: 820px; }
  .hero h1 { margin-bottom: 26px; }
  .hero .lead { max-width: 640px; margin-bottom: 40px; text-wrap: balance; }
  .hero__rating { margin-top: 56px; }
}

/* Desktop header, simplified: logo on the left, menu + one "Get a Quote" button grouped on the right.
   (The phone number lives in the hero, the quote section and the footer, so it's left out of the header.)
   Homepage: while the hero's own buttons are on screen the header button is hidden and the menu slides
   right to fill the gap, then glides back when the button fades in. */
@media (min-width: 961px) {
  .site-header .container { display: flex; justify-content: space-between; gap: 24px; }
  .site-header .nav { margin-left: auto; transition: transform var(--dur) var(--ease); }
  .header-actions .header-phone { display: none; }
  .header-actions .btn { white-space: nowrap; padding: 10px 24px; }
  .hero-cta-visible .site-header .nav { transform: translateX(var(--cta-shift, 0px)); }
}

/* Floating "Call Now" button on desktop too (same as mobile: appears once the hero buttons scroll away,
   hides while the quote form is on screen) */
@media (min-width: 961px) {
  .call-fab { display: inline-flex; right: 28px; bottom: 28px; min-height: 54px; padding: 0 24px; }
  .call-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.6); }
}
/* Desktop visitors usually dial from their phone, so the floating button shows the number there */
.call-fab__num { display: none; }
@media (min-width: 961px) {
  .call-fab__label { display: none; }
  .call-fab__num { display: inline; letter-spacing: 0.02em; }
}
/* Gallery: landscape photos span two columns; give them a fixed shape on mid-size screens */
@media (max-width: 860px) { .gallery-grid .project-tile.is-wide { aspect-ratio: 16 / 9; } }
/* Wide gallery tiles take their height from the row (never from the photo), so rows stay even */
.gallery-grid .project-tile { position: relative; }
.gallery-grid .project-tile.is-wide img { position: absolute; inset: 0; }
@media (max-width: 860px) and (min-width: 521px) {
  .gallery-grid .project-tile:last-child:not(.is-wide) { grid-column: span 2; aspect-ratio: 16 / 9; }
  .gallery-grid .project-tile:last-child:not(.is-wide) img { position: absolute; inset: 0; }
}
@media (max-width: 520px) { .gallery-grid .project-tile.is-wide { aspect-ratio: 4 / 3; } }
/* FAQ, desktop: questions on the left, heading + intro on the right (phones keep heading first) */
@media (min-width: 901px) {
  .faq-layout { grid-template-columns: 1.6fr 1fr; }
  .faq-layout > .faq { order: -1; }
}
/* About, desktop: photo frame runs the full height of the text, so its bottom lines up with
   "Owner & Carpenter, Carey Builtt" */
@media (min-width: 901px) {
  .about-split { align-items: stretch; }
  .about-split .split__media { margin-bottom: 0; display: flex; }
  .about-split .split__media .frame { aspect-ratio: auto; width: 100%; height: 100%; min-height: 420px; }
  .about-split .split__media .frame:not(.frame--owner) img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
  /* Oscar's photo keeps its own shape (never cropped); its bottom still lines up with the text */
  .about-split .split__media .frame--photo { aspect-ratio: 960 / 1390; height: auto; min-height: 0; align-self: flex-end; }
  .about-split .split__media .frame--photo img { object-position: center; }
  .about-split > :last-child > :last-child, .about-split .owner-row .signature span:last-child { margin-bottom: 0; }
}
/* Phones: footer links get full-size touch targets (Google's mobile-friendly check wants ~44-48px) */
@media (max-width: 960px) {
  .site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer ul li { margin: 0; }
  .site-footer .footer-brand { min-height: 44px; display: inline-flex; align-items: center; }
}
/* Phones: services list in two columns too (matches the areas list, keeps the footer compact) */
@media (max-width: 520px) {
  .site-footer .footer-grid > div:nth-child(2) .footer-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .site-footer .footer-grid > div:nth-child(2) .footer-links a { font-size: 0.86rem; }
  .site-footer .footer-links a { line-height: 1.25; }
}
/* Map labels for the small towns the map itself doesn't name at this zoom (Lake Cathie, Crowdy Head):
   plain text with a white halo, styled to look like the map's own place names */
.leaflet-tooltip.pin-name {
  background: none; border: 0; box-shadow: none; padding: 0;
  /* OpenStreetMap draws its names in DejaVu/Noto Sans; Verdana is the closest font on phones. The tiles are
     scaled on screen, so the map's text looks a touch soft and grey; match that rather than crisp black */
  font: 400 8.6px/1 "DejaVu Sans", "Noto Sans", Verdana, sans-serif; color: #454545; letter-spacing: 0.01em;
  text-shadow: 0 0 1px #fff, 0 0 1px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 3px rgba(255, 255, 255, 0.8);

}
.leaflet-tooltip.pin-name::before { display: none; }
/* On sharp phone/retina screens the map tiles are stretched and look slightly soft; soften our two
   added town names by the same amount so they don't look crisper than the rest of the map */
@media (min-resolution: 2dppx), (-webkit-min-device-pixel-ratio: 2) {
  .leaflet-tooltip.pin-name { filter: blur(0.4px); color: #3f3f3f; }
}
/* Phones: keep the gold headline line ("across the coast.") on one line */
@media (max-width: 600px) {
  .hero h1 .line.text-gold { font-size: 12vw; white-space: nowrap; }
}

/* Town pages: local conditions section (readable line length; nearby areas line under the copy) */
.town-local { max-width: 760px; }
.town-local p + p { margin-top: 14px; }
.town-local__areas { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(0, 0, 0, 0.08); font-size: 0.95rem; color: var(--muted-on-light); }
.town-local__areas a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
