/* Fitzsimmons Construction
   Palette is taken from the logo (ink + slate) and the client's mockups (navy bands, steel-blue actions).
   Display type (Saira Semi Condensed) echoes the squared wordmark; Public Sans carries body copy. */

:root {
  --ink: #121822;          /* logo background — header, footer */
  --navy: #1b2838;         /* feature bands, dark sections */
  --navy-2: #24364b;       /* raised surfaces on dark */
  --steel: #3c5e85;        /* primary actions */
  --steel-dark: #2f4c6d;
  --steel-light: #8fb0d6;  /* links/focus on dark */
  --slate: #8a99ae;        /* the "CONSTRUCTION" grey-blue */
  --paper: #f3f5f8;
  --white: #ffffff;
  --text: #17202b;
  --muted: #4b586a;
  --line: #d9dfe7;
  --line-dark: rgba(255, 255, 255, .14);
  --star: #f2b01e;
  --ok: #1d7a4c;
  --error: #b42318;

  --font-display: "Saira Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.375rem, 1.2rem + .7vw, 1.625rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  --step-4: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem);
  --step-5: clamp(2.75rem, 1.6rem + 5vw, 5.25rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: 6rem;

  --radius: 4px;
  --header-h: 72px;
  --container: 1200px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--steel); text-underline-offset: .18em; }
a:hover { color: var(--steel-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.005em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 700; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 var(--space-4); max-width: 68ch; }
ul, ol.breadcrumb, ol.steps { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--steel-light); outline-offset: 3px; }
.on-light :focus-visible, main :focus-visible { outline-color: var(--steel); }
.section--dark :focus-visible, .band :focus-visible, .hero :focus-visible { outline-color: var(--steel-light); }

.i { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i--lg { width: 2.25rem; height: 2.25rem; stroke-width: 1.4; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; padding: .75rem 1rem; background: var(--white); color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 4rem, var(--container)); } }

.section { padding-block: var(--space-8); }
@media (min-width: 900px) { .section { padding-block: var(--space-9); } }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy); color: #e8edf3; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: #c4cedb; }
.section--dark a:not(.btn) { color: var(--steel-light); }

.kicker {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--steel);
}
.section--dark .kicker, .band .kicker { color: var(--steel-light); }
.lead { font-size: var(--step-1); color: var(--muted); }
.section--dark .lead { color: #c4cedb; }
.section-head { margin-bottom: var(--space-7); }
.section-head--center { text-align: center; }
.section-head--center p { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--steel); --btn-fg: var(--white); --btn-bd: var(--steel);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem;
  border: 2px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
  touch-action: manipulation;
}
.btn:hover { --btn-bg: var(--steel-dark); --btn-bd: var(--steel-dark); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: .5rem 1.125rem; font-size: 1rem; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .7); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-bd: var(--white); color: var(--ink); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--steel); --btn-bd: var(--steel); }
.btn--outline:hover { --btn-bg: var(--steel); color: var(--white); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--space-5);
  height: var(--header-h);
  width: min(100% - 2rem, 1360px); margin-inline: auto;
}
.brand { flex: none; display: block; }
.brand img { width: auto; height: 38px; }
.site-header__actions { display: flex; align-items: center; gap: var(--space-4); margin-left: auto; }
.social { display: flex; gap: .25rem; }
.social-link {
  display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--slate); border-radius: var(--radius);
  transition: color .18s ease, background-color .18s ease;
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { color: var(--white); background: rgba(255, 255, 255, .07); }

.nav-toggle {
  display: grid; place-items: center; width: 48px; height: 48px;
  background: none; border: 1px solid var(--line-dark); border-radius: var(--radius);
  color: var(--white); cursor: pointer;
}
.nav-toggle .i { width: 24px; height: 24px; }

/* Top-level items: plain links plus the dropdown parents (Services button, Our Work link + caret). */
.primary-nav > ul > li > a, .nav-parent {
  font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; letter-spacing: .02em;
  color: #d5dce6; text-decoration: none;
}
.nav-parent, .nav-caret { background: none; border: 0; padding: 0; cursor: pointer; }
.nav-parent { display: inline-flex; align-items: center; gap: .3rem; }
.nav-parent .i, .nav-caret .i { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
/* Dropdown indicator: the logo's roof, cut-out included, pointing down; it flips up into a roof and turns light blue while the menu is open. */
.nav-parent .i--roof, .nav-caret .i--roof { width: 20px; height: 10px; fill: currentColor; stroke: none; transition: transform .25s var(--ease-out), color .2s ease; }
.primary-nav > ul > li > a:hover, .nav-parent:hover { color: var(--white); }
.primary-nav > ul > li > a[aria-current="page"], .has-sub:has(.sub-nav a[aria-current]) > .nav-parent { color: var(--white); }
.sub-nav a { display: flex; align-items: center; color: #c9d2de; text-decoration: none; font-size: .9375rem; }
.sub-nav a:hover, .sub-nav a[aria-current="page"] { color: var(--white); }

/* Mobile drawer */
@media (max-width: 1139px) {
  .social--header { display: none; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: var(--space-5) 1.25rem var(--space-7);
    background: var(--ink);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s var(--ease-out), visibility 0s linear .2s;
  }
  .nav-open .primary-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s var(--ease-out); }
  .primary-nav > ul > li { border-bottom: 1px solid var(--line-dark); }
  .primary-nav > ul > li > a, .nav-parent { display: flex; align-items: center; min-height: 60px; font-size: 1.5rem; }
  .primary-nav > ul > li > a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--steel-light); padding-left: 1rem; }
  /* In the drawer, sub-menus are always shown as indented lists. */
  .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .nav-parent { cursor: default; pointer-events: none; }
  .nav-parent .i, .nav-caret { display: none; }
  .sub-nav { flex-basis: 100%; padding: 0 0 .75rem 1rem; }
  .sub-nav a { min-height: 44px; font-size: 1.0625rem; }
  .sub-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--steel-light); padding-left: .75rem; }
  .primary-nav__extra { display: flex; flex-direction: column; gap: var(--space-4); padding-top: var(--space-6); }
  .nav-phone { display: inline-flex; align-items: center; gap: .6rem; color: var(--white); font-size: 1.25rem; text-decoration: none; min-height: 48px; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand img { height: 30px; }
  .site-header__actions .btn--sm { padding-inline: .8rem; }
}
@media (max-width: 359px) {
  .site-header__inner { gap: .5rem; width: calc(100% - 1.5rem); }
  .brand img { height: 24px; }
  .site-header__actions { gap: .4rem; }
  .site-header__actions .btn--sm { padding-inline: .6rem; font-size: .9375rem; white-space: nowrap; }
  .nav-toggle { width: 44px; height: 44px; }
}
@media (min-width: 1140px) {
  .nav-toggle, .primary-nav__extra { display: none; }
  .primary-nav { margin-left: auto; }
  .primary-nav > ul { display: flex; align-items: center; gap: var(--space-1); }
  .primary-nav > ul > li > a, .nav-parent { position: relative; display: flex; align-items: center; padding: .6rem .8rem; white-space: nowrap; }
  .primary-nav > ul > li > a::after, .nav-parent::after {
    content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px;
    background: var(--steel-light); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease-out);
  }
  .primary-nav > ul > li > a:hover::after, .primary-nav > ul > li > a[aria-current="page"]::after,
  .has-sub:has(.sub-nav a[aria-current]) > .nav-parent::after { transform: scaleX(1); }
  .site-header__actions { margin-left: 0; gap: var(--space-3); }
  .site-header__actions .btn { white-space: nowrap; }

  /* Dropdowns: open on hover, keyboard focus, or click (data-open). */
  .has-sub { position: relative; display: flex; align-items: center; }
  .has-sub > a { padding-right: .25rem !important; }
  .has-sub > a::after { right: .25rem !important; }
  .nav-caret { display: grid; place-items: center; width: 28px; height: 40px; margin-right: .3rem; color: #d5dce6; }
  .nav-caret:hover { color: var(--white); }
  .sub-nav {
    position: absolute; top: calc(100% + 4px); left: 0; z-index: 120; min-width: 250px;
    padding: .5rem; background: var(--ink); border: 1px solid var(--line-dark); border-radius: var(--radius);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .15s ease, transform .15s var(--ease-out), visibility 0s linear .15s;
  }
  .sub-nav::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* hover bridge */
  .has-sub:hover > .sub-nav, .has-sub:focus-within > .sub-nav, .has-sub[data-open] > .sub-nav {
    opacity: 1; visibility: visible; transform: none; transition: opacity .15s ease, transform .15s var(--ease-out);
  }
  .has-sub[data-closed] > .sub-nav { opacity: 0; visibility: hidden; transform: translateY(6px); }
  .has-sub:hover .nav-parent .i, .has-sub:hover .nav-caret .i, .has-sub[data-open] .nav-parent .i, .has-sub[data-open] .nav-caret .i { transform: rotate(180deg); }
  .has-sub:hover .nav-parent .i.i--roof, .has-sub:hover .nav-caret .i.i--roof, .has-sub[data-open] .nav-parent .i.i--roof, .has-sub[data-open] .nav-caret .i.i--roof { transform: scaleY(-1); color: var(--steel-light); }
  .has-sub[data-closed] .nav-parent .i.i--roof, .has-sub[data-closed] .nav-caret .i.i--roof { transform: none; color: inherit; }
  .sub-nav a { padding: .6rem .8rem; border-radius: 3px; white-space: nowrap; min-height: 40px; }
  .sub-nav a:hover { background: rgba(255, 255, 255, .06); }
  .sub-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--steel-light); }
}
/* Mid-size desktops: make room (social links stay in the footer). */
@media (min-width: 1140px) and (max-width: 1359px) {
  .social--header { display: none; }
  .primary-nav > ul > li > a, .nav-parent { padding-inline: .6rem; }
  .primary-nav > ul > li > a::after, .nav-parent::after { left: .6rem; right: .6rem; }
}
/* ---------- "Rated 5 stars on Google" strip under the header, with the social links (every page) ---------- */
/* Same width as the header row, so the social links sit right under the Free quote button. */
.rating-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.rating-strip__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem;
  width: min(100% - 2rem, 1360px); margin-inline: auto; min-height: 44px;
}
.rating-strip__inner > .rating-bar { grid-column: 2; }
.rating-strip__social { grid-column: 3; justify-self: end; display: flex; gap: .15rem; }
.social-brand {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius);
  transition: transform .18s var(--ease-out), background-color .18s ease;
}
.social-brand svg { width: 22px; height: 22px; }
.social-brand:hover { transform: translateY(-1px); background: var(--paper); }
@media (max-width: 1139px) {
  .rating-strip__inner { grid-template-columns: 1fr auto; }
  .rating-strip__inner > .rating-bar { grid-column: 1; justify-content: flex-start; }
  .rating-strip__social { grid-column: 2; }
}
@media (max-width: 480px) {
  .rating-bar__rated { display: none; }
  .rating-bar { gap: .45rem; font-size: .875rem; white-space: nowrap; }
  .rating-bar__stars .i { width: 14px; height: 14px; }
  .rating-bar__g { width: 18px; height: 18px; }
  .rating-strip__social { gap: 0; }
  .social-brand { width: 32px; }
  .social-brand svg { width: 20px; height: 20px; }
}
@media (max-width: 400px) { .rating-bar__on { display: none; } }
@media (max-width: 359px) { .rating-strip__inner { width: calc(100% - 1.5rem); } }
.rating-bar {
  display: flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 44px; padding: .25rem 0;
  color: var(--text); text-decoration: none; font-size: .9375rem;
}
.rating-bar:hover { color: var(--text); }
.rating-bar__g { width: 20px; height: 20px; flex: none; }
.rating-bar__stars { display: inline-flex; gap: 1px; color: var(--star); }
.rating-bar__stars .i { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.rating-bar__text { display: inline-flex; align-items: baseline; gap: .65rem; flex-wrap: wrap; justify-content: center; }
.rating-bar__text strong { font-weight: 600; }
.rating-bar__more { color: var(--steel); text-decoration: underline; text-underline-offset: .18em; }
.rating-bar:hover .rating-bar__more { color: var(--steel-dark); }
@media (max-width: 600px) { .rating-bar__more { display: none; } }
.section--reviews-end { background: var(--paper); border-top: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: min(88svh, 860px);
  padding-block: var(--space-9) calc(var(--space-9) + 3rem);
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
.hero__media, .hero__media video, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
/* Only the poster for the reel picked on this visit is shown (and downloaded). */
.hero__media .hero__poster { display: none; }
[data-hero="rsp"] .hero__media .hero__poster--rsp,
[data-hero="irvine"] .hero__media .hero__poster--irvine,
[data-hero="gardenroom"] .hero__media .hero__poster--gardenroom,
[data-hero="lugton"] .hero__media .hero__poster--lugton,
html:not([data-hero]) .hero__media .hero__poster--rsp { display: block; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 24, 34, .55) 0%, rgba(18, 24, 34, 0) 28%),
    linear-gradient(0deg, rgba(18, 24, 34, .92) 0%, rgba(18, 24, 34, .6) 50%, rgba(18, 24, 34, .25) 100%);
}
@media (min-width: 900px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(18, 24, 34, .55) 0%, rgba(18, 24, 34, 0) 28%),
      linear-gradient(90deg, rgba(18, 24, 34, .75) 0%, rgba(18, 24, 34, .35) 55%, rgba(18, 24, 34, 0) 80%),
      linear-gradient(0deg, rgba(18, 24, 34, .85) 0%, rgba(18, 24, 34, .2) 50%, rgba(18, 24, 34, 0) 75%);
  }
}
.hero__content { position: relative; max-width: 46rem; }
.hero h1 { margin-bottom: var(--space-5); color: var(--white); }
/* Logo mark (shapes traced from the logo, src/partials/logo-mark.html): outlines draw on in
   order (roof, then walls), then the solid shapes fade in. Mitred joins keep the logo's sharp corners. */
.logo-mark { overflow: visible; }
.logo-mark .mark__line > * {
  fill: none; stroke-linejoin: miter; stroke-miterlimit: 4;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: mark-draw 1.1s var(--ease-out) forwards;
}
.logo-mark .mark__line > :nth-child(1) { animation-delay: .2s; }
.logo-mark .mark__line > :nth-child(2) { animation-delay: .5s; }
.logo-mark .mark__line > :nth-child(3) { animation-delay: .85s; }
.logo-mark .mark__line > :nth-child(4) { animation-delay: 1s; }
.logo-mark .mark__fill > * { opacity: 0; animation: mark-fill .9s ease-out 1.7s forwards; }
@keyframes mark-draw { to { stroke-dashoffset: 0; } }
@keyframes mark-fill { to { opacity: 1; } }
/* Home hero: white mark, like the logo */
.hero__roof { width: clamp(90px, 13vw, 140px); height: auto; margin-bottom: var(--space-5); }
.hero__roof .mark__line > * { stroke: var(--white); stroke-width: 1.4; }
.hero__roof .mark__fill > * { fill: var(--white); }
.hero p { font-size: var(--step-1); color: #dde4ec; max-width: 38rem; margin-bottom: var(--space-6); }
.hero__pause {
  position: absolute; right: 1rem; top: 1rem; z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%;
  background: rgba(18, 24, 34, .45); color: var(--white); cursor: pointer;
}
.hero__pause .i { width: 18px; height: 18px; }
.hero__pause .i-play { fill: currentColor; stroke: none; }
.hero__pause[data-playing="true"] .i-play, .hero__pause[data-playing="false"] .i-pause { display: none; }
@media (min-width: 900px) { .hero__pause { top: auto; right: 2rem; bottom: calc(var(--space-9) + 3rem + .25rem); } }

.page-hero {
  position: relative; isolation: isolate; color: var(--white); background: var(--ink);
  padding-block: var(--space-9) var(--space-8); overflow: hidden;
  display: flex; align-items: flex-end; min-height: clamp(360px, 52vh, 560px);
}
.page-hero > .container { width: min(100% - 2rem, var(--container)); }
@media (min-width: 768px) { .page-hero > .container { width: min(100% - 4rem, var(--container)); } }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
/* Scrim only where the text sits (left/bottom) so the photo stays bright on the right. */
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(18, 24, 34, .82) 0%, rgba(18, 24, 34, .45) 45%, rgba(18, 24, 34, 0) 75%),
  linear-gradient(0deg, rgba(18, 24, 34, .55) 0%, rgba(18, 24, 34, 0) 50%); }
/* Header photos whose top should stay hidden on tall phone crops (e.g. Contact). */
@media (max-width: 899px) { .page-hero img.crop-top { top: auto; height: 148%; object-position: 60% 100% !important; } }
@media (max-width: 767px) { .page-hero::before { background: linear-gradient(0deg, rgba(18, 24, 34, .9) 0%, rgba(18, 24, 34, .55) 55%, rgba(18, 24, 34, .2) 100%); } }
.page-hero h1 { font-size: var(--step-4); color: var(--white); max-width: 18ch; }

/* About Us: logo-mark stencil header (no photo) */
.page-hero--mark {
  min-height: clamp(380px, 58vh, 600px);
  background:
    radial-gradient(60% 80% at 78% 45%, rgba(61, 94, 133, .28), transparent 70%),
    var(--ink);
}
.page-hero--mark::before { display: none; }
.page-hero--tall { min-height: clamp(460px, 72vh, 720px); }

.mark-stencil {
  position: absolute; z-index: -1;
  right: clamp(1rem, 6vw, 7rem); top: 50%; transform: translateY(-50%);
  height: 78%; width: auto; max-width: 58vw; overflow: visible;
}
@media (min-width: 768px) and (max-width: 1099px) { .mark-stencil { opacity: .55; right: -2rem; } }
.mark-stencil__grid { fill: none; stroke: rgba(138, 153, 174, .14); stroke-width: .25; stroke-dasharray: 1.2 1.6; }
.mark-stencil .mark__fill > * { fill: var(--white); }
/* Over photo headers: a soft shadow keeps the white mark readable against bright skies. */
.page-hero:not(.page-hero--mark) .mark-stencil { filter: drop-shadow(0 6px 22px rgba(18, 24, 34, .55)); }
.page-hero:not(.page-hero--mark) .mark-stencil__grid { display: none; }
/* Outline-only stencil: every header except About Us and Contact (and the home hero) stops at the white outline. */
.page-hero:not(.page-hero--mark) .mark-stencil .mark__fill, .page-hero--outline .mark-stencil .mark__fill { display: none; }
.page-hero:not(.page-hero--mark) .mark-stencil .mark__line > *, .page-hero--outline .mark-stencil .mark__line > * { stroke-width: .8; }
.mark-stencil .mark__line > * { stroke: var(--white); stroke-width: .6; }
@media (max-width: 767px) {
  .mark-stencil { right: 50%; transform: translate(50%, -50%); height: 70%; max-width: none; opacity: .4; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-mark .mark__line > * { stroke-dashoffset: 0; animation: none; }
  .logo-mark .mark__fill > * { opacity: 1; animation: none; }
}
.page-hero p { color: #dde4ec; font-size: var(--step-1); }
.breadcrumb { display: flex; gap: .5rem; margin-bottom: var(--space-4) !important; font-size: var(--step--1); color: #c4cedb; }
.breadcrumb a { color: #c4cedb; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--slate); }

/* ---------- trust bar (overlaps hero) ---------- */
.trust-bar { position: relative; z-index: 3; margin-top: -4.5rem; }
.trust-bar ul {
  display: grid; gap: 0;
  background: var(--steel-dark); color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -20px rgba(18, 24, 34, .6);
}
.trust-bar li { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5); }
.trust-bar li + li { border-top: 1px solid rgba(255, 255, 255, .16); }
.trust-bar .i--lg { color: var(--white); }
.trust-bar strong { display: block; font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.trust-bar span { color: #d3deeb; font-size: var(--step--1); }
@media (min-width: 900px) {
  .trust-bar ul { grid-template-columns: repeat(3, 1fr); }
  .trust-bar li { padding: var(--space-6); }
  .trust-bar li + li { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .16); }
}

/* ---------- intro + reviews ---------- */
.intro-grid { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 960px) { .intro-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
.intro-grid--media { align-items: center; }
.media-frame { position: relative; }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.media-frame--tall img { aspect-ratio: 4 / 5; }

.reviews { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); background: var(--white); }
@media (min-width: 600px) { .reviews { padding: var(--space-6); } }
.reviews__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); }
.reviews__head h2 { font-size: var(--step-2); margin: 0 0 .25rem; }
.reviews__summary { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; color: var(--muted); font-size: var(--step--1); }
.reviews__score { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--text); }
.g-logo { width: 40px; height: 40px; flex: none; }
/* Rotating Google reviews (data: src/reviews.json, behaviour: main.js [data-carousel]).
   A scroll-snap track, so swiping works natively; cards per view follow the carousel's own width. */
.reviews__summary { justify-content: center; max-width: none; margin: -.5rem 0 var(--space-5); }
.review__stars { display: inline-flex; gap: 1px; color: var(--star); }
.review__stars .i { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.carousel { position: relative; container-type: inline-size; }
.carousel__track {
  --per: 1; --gap: 1rem;
  display: flex; gap: var(--gap); margin: 0; padding: 4px 4px 8px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 3px solid var(--steel-light); outline-offset: 2px; border-radius: var(--radius); }
@container (min-width: 560px) { .carousel__track { --per: 2; } }
@container (min-width: 860px) { .carousel__track { --per: 3; --gap: 1.25rem; } }
.review {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: .6rem; min-width: 0;
  padding: var(--space-5); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 6px 18px -14px rgba(18, 24, 34, .45);
}
.review__head { display: flex; align-items: center; gap: .75rem; }
.review__avatar {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: hsl(var(--hue) 45% 42%); color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1.125rem;
}
.review__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.review__who strong { font-weight: 600; text-transform: capitalize; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review__who span { font-size: .8125rem; color: var(--muted); }
.review__g { width: 22px; height: 22px; margin-left: auto; flex: none; }
.review__text { margin: 0; font-size: .9375rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { margin-top: auto; font-size: .875rem; color: var(--steel); }
.carousel__btn {
  position: absolute; top: calc(50% - 22px); z-index: 2; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  box-shadow: 0 6px 16px -8px rgba(18, 24, 34, .45); cursor: pointer; transition: background-color .15s ease;
}
.carousel__btn:hover { background: var(--paper); }
.carousel__btn .i { width: 20px; height: 20px; }
.carousel__btn--prev { left: -12px; } .carousel__btn--prev .i { transform: rotate(90deg); }
.carousel__btn--next { right: -12px; } .carousel__btn--next .i { transform: rotate(-90deg); }
@media (min-width: 1100px) { .carousel__btn--prev { left: -56px; } .carousel__btn--next { right: -56px; } }
/* Phones: arrows sit either side of the dots instead of over the review text. */
@media (max-width: 599px) {
  .carousel__dots { align-items: center; min-height: 44px; margin-top: var(--space-3); }
  .carousel__btn { top: auto; bottom: 0; }
  .carousel__btn--prev { left: 0; } .carousel__btn--next { right: 0; }
}
.carousel__dots { display: flex; justify-content: center; gap: .4rem; margin-top: var(--space-4); }
.carousel__dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .25s var(--ease-out), background-color .25s ease; }
.carousel__dots span.is-active { width: 22px; background: var(--steel); }
.carousel[data-static] .carousel__btn, .carousel[data-static] .carousel__dots { display: none; }.reviews__empty { color: var(--muted); }
.section--flush-bottom { padding-bottom: 0 !important; }
/* Full-width reviews strip on the home page: no card border, buttons centred under the widget. */
.reviews-wide .reviews { border: 0; padding: 0; background: none; }
.reviews-wide .reviews__head { justify-content: center; gap: var(--space-3); }
.reviews-wide .reviews__head h2 { font-size: var(--step-3); }
.reviews-wide .reviews__links { justify-content: center; }
.reviews-wide .carousel { max-width: 1080px; margin-inline: auto; }
.reviews__links { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.reviews__attr { margin-top: var(--space-3); font-size: .75rem; color: var(--muted); }

/* ---------- feature band ---------- */
.band { background: var(--navy); color: var(--white); padding-block: var(--space-8); }
.feature-grid { display: grid; gap: var(--space-6) var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.feature { text-align: center; padding-inline: var(--space-3); }
.feature .i--lg { margin: 0 auto var(--space-4); width: 2.75rem; height: 2.75rem; color: var(--steel-light); }
.feature h3 { font-size: var(--step-1); color: var(--white); margin-bottom: var(--space-2); }
.feature p { margin: 0 auto; color: #c4cedb; font-size: .9375rem; max-width: 26ch; }
@media (min-width: 960px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid--three { grid-template-columns: repeat(3, 1fr); }
  .feature + .feature { border-left: 1px solid var(--line-dark); }
}

/* ---------- extension type cards ---------- */
.type-grid { display: grid; gap: var(--space-6) var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.type-card { display: flex; flex-direction: column; }
.type-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: var(--space-4); }
.type-card h3 { font-size: var(--step-2); margin-bottom: var(--space-2); }
.type-card p { color: var(--muted); font-size: .9375rem; }
.type-card a { margin-top: auto; font-weight: 600; }

/* ---------- calculator teaser ---------- */
.cta-panel {
  display: grid; gap: var(--space-5); align-items: center;
  padding: var(--space-6); border-radius: var(--radius);
  background: var(--ink); color: var(--white);
}
.cta-panel h2 { font-size: var(--step-3); color: var(--white); margin-bottom: var(--space-2); }
.cta-panel p { color: #c4cedb; margin: 0; }
.cta-panel .i--lg { width: 3rem; height: 3rem; color: var(--steel-light); }
@media (min-width: 860px) { .cta-panel { grid-template-columns: auto 1fr auto; padding: var(--space-7); gap: var(--space-6); } }

/* ---------- gallery ---------- */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--navy-2); }
.gallery__item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery button.gallery__item { padding: 0; border: 0; cursor: zoom-in; width: 100%; }
.gallery--wide .gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery--wide .gallery__item:first-child img { aspect-ratio: auto; }
.center { text-align: center; }
.section-foot { margin-top: var(--space-7); text-align: center; }

/* ---------- project (our work page) ---------- */
.project { padding-block: var(--space-8); border-top: 1px solid var(--line); }
.project:first-of-type { border-top: 0; }
.project__head { display: grid; gap: var(--space-4) var(--space-7); margin-bottom: var(--space-6); }
@media (min-width: 960px) { .project__head { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.project__head h2 { font-size: var(--step-4); margin-bottom: var(--space-3); }
.project__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 var(--space-3); }
.tag { display: inline-block; padding: .25rem .65rem; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; font-weight: 500; color: var(--muted); background: var(--white); }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--space-6); }
.filter-bar a { padding: .5rem 1rem; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 500; }
.filter-bar a:hover { border-color: var(--steel); color: var(--steel); }

.video-pair { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); max-width: 760px; }
.video-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: var(--ink); }
.video-card figcaption { margin-top: .5rem; font-size: var(--step--1); color: var(--muted); }
.film { width: 100%; }
/* Portrait video beside a photo grid (garden, bathroom). */
.media-row { display: grid; gap: var(--space-5); align-items: start; }
@media (max-width: 959px) { .media-row .video-card { width: min(100%, 300px); margin-inline: auto !important; } }
@media (min-width: 960px) { .media-row { grid-template-columns: minmax(0, 340px) 1fr; gap: var(--space-6); } }
.gallery--portrait { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .gallery--portrait { grid-template-columns: repeat(4, 1fr); } }
.gallery--portrait .gallery__item img { aspect-ratio: 3 / 4; }
/* Desktop: the photo grid ends level with the bottom of the 340px-wide 9:16 video beside it. */
@media (min-width: 960px) {
  .gallery--fit-video { height: calc(340px * 16 / 9); grid-auto-rows: 1fr; }
  .gallery--fit-video .gallery__item img { aspect-ratio: auto; }
}
/* Four landscape photos as a 2 x 2 block (Belleisle). */
.gallery.gallery--two { grid-template-columns: repeat(2, 1fr); }
.project__sub { font-size: var(--step-1); margin: var(--space-6) 0 var(--space-3); }
/* Areas hub header: custom coverage map (src/partials/area-map.html, generated by tools/area-map.mjs). */
.page-hero--map { min-height: clamp(440px, 66vh, 680px); }
.page-hero--map p { max-width: 34ch; }
.area-map {
  position: absolute; z-index: -1; right: clamp(0rem, 3vw, 4rem); top: 0;
  height: 100%; width: auto; max-width: 64vw;
  font-family: var(--font-display);
  /* Fade the map into the header on every side so it has no hard box edge. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent 0, #000 8%, #000 90%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent 0, #000 8%, #000 90%, transparent); mask-composite: intersect;
}
.map-sea { fill: none; }
.map-land { fill: #1b2838; }
.map-dots { fill: rgba(143, 176, 214, .09); }
.map-dots circle, #map-dots circle { fill: rgba(143, 176, 214, .14); }
.map-coast path { fill: none; stroke: var(--steel-light); stroke-width: 1.2; stroke-linejoin: round; opacity: .7;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: mark-draw 2.2s var(--ease-out) .1s forwards; }
.map-sea-label { fill: rgba(143, 176, 214, .45); font-size: 13px; letter-spacing: .2em; font-style: italic; text-anchor: middle; }
.map-ring { fill: none; stroke: rgba(242, 176, 30, .5); stroke-width: 1; stroke-dasharray: 3 5;
  opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.6);
  animation: ring-in .9s var(--ease-out) forwards; animation-delay: calc(1.6s + var(--i) * .25s); }
.map-ring-label { fill: rgba(242, 176, 30, .75); font-size: 11px; letter-spacing: .05em; opacity: 0;
  animation: mark-fill .5s ease-out forwards; animation-delay: calc(2s + var(--i) * .25s); }
.map-town circle { fill: var(--white); stroke: #0f141c; stroke-width: 2; }
.map-town text { fill: #dde4ec; font-size: 14px; font-weight: 500; paint-order: stroke; stroke: #121822; stroke-width: 4px; stroke-linejoin: round; }
.map-town--big text { font-size: 19px; font-weight: 600; fill: var(--white); }
.map-town--md text { font-size: 16px; }
.map-town { opacity: 0; animation: mark-fill .45s ease-out forwards; animation-delay: calc(2.4s + var(--i) * .08s); }
.map-base__halo { fill: rgba(143, 176, 214, .12); stroke: rgba(143, 176, 214, .5); stroke-width: 1; }
.map-base__mark .mark__line > * { stroke: var(--white); stroke-width: 3; }
.map-base__mark .mark__fill > * { fill: var(--white); }
.map-base__leader { fill: none; stroke: var(--star); stroke-width: 1.2; }
.map-base__dot { fill: var(--star); stroke: #0f141c; stroke-width: 2; }
.map-base__label { fill: var(--white); font-size: 17px; font-weight: 700; paint-order: stroke; stroke: #121822; stroke-width: 4px; }
.map-base__sub { fill: var(--star); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; paint-order: stroke; stroke: #121822; stroke-width: 4px; }
@keyframes ring-in { to { opacity: 1; transform: none; } }
@media (min-width: 768px) and (max-width: 1099px) { .area-map { opacity: .6; right: -6rem; } }
@media (max-width: 767px) {
  .area-map { right: 50%; transform: translateX(50%); max-width: none; opacity: .38; }
  .map-town text, .map-ring-label, .map-sea-label, .map-base__sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .map-coast path { stroke-dashoffset: 0; animation: none; }
  .map-ring, .map-ring-label, .map-town { opacity: 1; transform: none; animation: none; }
}

/* Cost calculator header: "measuring up" (src/partials/calc-anim.html). Timeline: house draws (0–2.6s),
   extension grows out (2.4s), dimension line (3.2s), floor-area counter ticks up (3.6s). */
.page-hero--calc { min-height: clamp(420px, 62vh, 640px); }
.page-hero--calc p { max-width: 36ch; }
.calc-anim {
  position: absolute; z-index: -1; right: clamp(0rem, 4vw, 5rem); top: 50%; transform: translateY(-48%);
  height: 82%; width: auto; max-width: 62vw; overflow: visible; font-family: var(--font-display);
  -webkit-mask-image: radial-gradient(75% 85% at 55% 55%, #000 60%, transparent 100%);
          mask-image: radial-gradient(75% 85% at 55% 55%, #000 60%, transparent 100%);
}
.calc-anim__ground { fill: none; stroke: rgba(143, 176, 214, .45); stroke-width: .8; stroke-dasharray: 1; stroke-dashoffset: 1; animation: mark-draw 1.2s var(--ease-out) forwards; }
.calc-anim__house .mark__line > * { stroke: var(--white); stroke-width: 1.1; }
.calc-anim__house .mark__fill > * { fill: var(--white); }
.calc-anim__ext { transform-box: fill-box; transform-origin: left bottom; transform: scaleX(0); animation: ext-grow 1s cubic-bezier(.3, .7, .2, 1) 2.4s forwards; }
.calc-anim__ext-fill { fill: rgba(143, 176, 214, .16); }
.calc-anim__ext-line { fill: none; stroke: var(--steel-light); stroke-width: 2; stroke-linejoin: miter; }
.calc-anim__ext-roof { fill: none; stroke: var(--steel-light); stroke-width: 3; }
.calc-anim__doors path { fill: none; stroke: rgba(143, 176, 214, .7); stroke-width: 1.1; }
.calc-anim__lantern { fill: rgba(242, 176, 30, .85); }
.calc-anim__dims { opacity: 0; animation: mark-fill .5s ease-out 3.2s forwards; }
.calc-anim__dim { fill: none; stroke: var(--star); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: mark-draw .8s var(--ease-out) 3.2s forwards; }
.calc-anim__dim-label { fill: var(--star); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-anchor: middle; }
.calc-anim__badge { opacity: 0; transform-box: fill-box; transform-origin: center bottom; transform: translateY(6px) scale(.9);
  animation: badge-in .5s var(--ease-out) 3.5s forwards; }
.calc-anim__badge rect { fill: var(--star); }
.calc-anim__badge path { fill: var(--star); }
.calc-anim__badge text { fill: var(--ink); font-size: 17px; font-weight: 700; text-anchor: middle; font-variant-numeric: tabular-nums; }
@keyframes ext-grow { to { transform: none; } }
@keyframes badge-in { to { opacity: 1; transform: none; } }
@media (min-width: 768px) and (max-width: 1099px) { .calc-anim { opacity: .6; right: -5rem; } }
@media (max-width: 767px) { .calc-anim { right: 50%; transform: translate(50%, -50%); height: 60%; max-width: none; opacity: .4; } }
@media (prefers-reduced-motion: reduce) {
  .calc-anim__ground, .calc-anim__dim { stroke-dashoffset: 0; animation: none; }
  .calc-anim__ext, .calc-anim__badge { transform: none; animation: none; opacity: 1; }
  .calc-anim__dims { opacity: 1; animation: none; }
}

/* Location pages */
.split-list h3 a { color: inherit; text-decoration: none; }
.split-list h3 a:hover { color: var(--steel); text-decoration: underline; }
.areas a { color: inherit; text-decoration: none; }
.areas a:hover { text-decoration: underline; }
.site-footer .footer-accred__areas a { color: var(--steel-dark); text-decoration: underline; text-decoration-color: rgba(47, 76, 109, .35); }
.site-footer .footer-accred__areas a:hover { color: var(--steel); text-decoration-color: currentColor; }
.other-areas { margin-top: var(--space-7); }
.other-areas h2 { font-size: var(--step-2); }
.other-areas ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.other-areas a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--text); text-decoration: none; font-weight: 500; }
.other-areas a:hover { border-color: var(--steel); color: var(--steel); }
.area-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.area-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--text); text-decoration: none; transition: border-color .18s ease; }
.area-card:hover { border-color: var(--steel); color: var(--text); }
.area-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.area-card__body { display: block; padding: var(--space-4) var(--space-5) var(--space-5); }
.area-card__body strong { display: block; font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; margin-bottom: .25rem; }
.area-card__body span { color: var(--muted); font-size: .9375rem; }
/* Residential / commercial service cards (home) */
.service-cols { display: grid; gap: var(--space-5); }
@media (min-width: 860px) { .service-cols { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
.service-card { padding: var(--space-6); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--steel); }
.service-card .i--lg { color: var(--steel); margin-bottom: var(--space-3); }
.service-card h3 { font-size: var(--step-3); }
.service-card .checklist { margin-bottom: var(--space-5); }
/* Before / after slider: the "after" photo fills the frame, the "before" photo sits on top and is
   clipped at --pos (set by main.js from the range input, which covers the whole frame for dragging).
   8:5 keeps the footprint of the old pair of 4:5 photos side by side. */
.ba-slider {
  --pos: 50%;
  position: relative; overflow: hidden; aspect-ratio: 8 / 5;
  border-radius: var(--radius); background: var(--navy-2);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-slider__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: var(--white); box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none;
}
.ba-slider__knob {
  position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%;
  background: var(--white); color: var(--ink); box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
  transition: transform .15s var(--ease-out);
}
.ba-slider__knob .i { width: 18px; height: 18px; stroke-width: 2.5; }
.ba-slider__knob .i:first-child { transform: rotate(90deg); margin-right: -3px; }
.ba-slider__knob .i:last-child { transform: rotate(-90deg); margin-left: -3px; }
.ba-slider:hover .ba-slider__knob { transform: scale(1.06); }
.ba-slider__range:focus-visible ~ .ba-slider__handle .ba-slider__knob,
.ba-slider:has(.ba-slider__range:focus-visible) .ba-slider__knob { outline: 3px solid var(--steel-light); outline-offset: 3px; }
.ba-slider__tag {
  position: absolute; top: .75rem; padding: .3rem .7rem; border-radius: 999px; pointer-events: none;
  background: rgba(18, 24, 34, .8); color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: .9375rem;
}
.ba-slider__tag--before { left: .75rem; }
.ba-slider__tag--after { right: .75rem; background: var(--steel); }
.ba-slider__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba-slider__range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100vh; cursor: ew-resize; }
.ba-slider__range::-moz-range-thumb { width: 48px; height: 100vh; border: 0; cursor: ew-resize; }
@media (max-width: 599px) { .ba-slider__knob { width: 40px; height: 40px; margin: -20px 0 0 -20px; } .ba-slider__tag { font-size: .8125rem; } }
/* Feature split (home page resin section) */
.feature-split { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 960px) { .feature-split { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
.feature-split__media { display: grid; grid-template-columns: 3fr 2fr; gap: .75rem; }
.feature-split__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.feature-split__media > :first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.feature-split__media > :not(:first-child) { aspect-ratio: 1; }
.tick-grid { display: grid; gap: .25rem var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-bottom: var(--space-5); }
.film video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--ink); }

/* ---------- lightbox ---------- */
.lightbox { width: min(100vw, 1400px); max-width: 100vw; max-height: 100dvh; margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 14, 20, .92); }
.lightbox img { max-height: 86dvh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 1rem; color: #dde4ec; font-size: var(--step--1); }
.lightbox__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(18, 24, 34, .6); color: var(--white); cursor: pointer; }
.lightbox__nav { display: flex; gap: .5rem; }
.lightbox__prev .i { transform: rotate(90deg); }
.lightbox__next .i { transform: rotate(-90deg); }

/* ---------- process steps ---------- */
.steps { display: grid; gap: var(--space-5); counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.step { position: relative; padding-top: var(--space-6); border-top: 2px solid var(--steel); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -1.15rem; left: 0;
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  background: var(--steel); color: var(--white); border-radius: 50%;
  font-family: var(--font-display); font-weight: 600;
}
.step h3 { font-size: var(--step-1); margin-bottom: var(--space-2); }
.step p { color: var(--muted); font-size: .9375rem; }
.section--dark .step p { color: #c4cedb; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 64px; padding-block: var(--space-4); cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s var(--ease-out); color: var(--steel); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details > div { padding-bottom: var(--space-5); color: var(--muted); }

/* ---------- checklist ---------- */
.checklist li { display: flex; gap: .65rem; align-items: flex-start; padding-block: .35rem; }
.checklist .i { color: var(--steel); margin-top: .2rem; }
.section--dark .checklist .i { color: var(--steel-light); }

/* ---------- forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); }
@media (min-width: 600px) { .form-card { padding: var(--space-7); } }
.form-grid { display: grid; gap: var(--space-4); }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .9375rem; }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  border: 1px solid #b7c1ce; border-radius: var(--radius); background: var(--white);
  font-size: 1rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(60, 94, 133, .25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__hint { margin-top: .3rem; font-size: .8125rem; color: var(--muted); }
.field__error { margin-top: .3rem; font-size: .875rem; color: var(--error); font-weight: 500; }
.field__error:empty { display: none; }
.field--check { display: flex; gap: .65rem; align-items: flex-start; }
.field--check input { width: 22px; min-height: 22px; height: 22px; margin-top: .15rem; accent-color: var(--steel); }
.field--check label { font-weight: 400; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: var(--space-4); padding: var(--space-4); border-radius: var(--radius); font-weight: 500; }
.form-status:empty { display: none; }
.form-status--ok { background: #e7f4ed; color: var(--ok); border: 1px solid #b6dcc6; }
.form-status--error { background: #fdeceb; color: var(--error); border: 1px solid #f3c2bd; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-5); }
.form-actions small { color: var(--muted); }

.contact-grid { display: grid; gap: var(--space-7); }
.contact-grid h2 { font-size: var(--step-3); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.5fr; } }
.contact-list li { display: flex; gap: .75rem; align-items: center; padding-block: .4rem; }
.contact-list a { color: inherit; }
.contact-panel { padding: var(--space-6); background: var(--navy); color: #e8edf3; border-radius: var(--radius); }
.contact-panel h2 { color: var(--white); font-size: var(--step-3); }
.contact-panel .contact-list .i { color: var(--steel-light); }
.contact-panel .contact-list li { font-size: var(--step-1); }
.areas { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--space-3); }
.areas li { padding: .3rem .7rem; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .875rem; }

/* ---------- calculator ---------- */
.calc { display: grid; gap: var(--space-6); }
@media (min-width: 960px) { .calc { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.calc__inputs, .calc__result { border-radius: var(--radius); padding: var(--space-5); }
@media (min-width: 600px) { .calc__inputs, .calc__result { padding: var(--space-6); } }
.calc__inputs { background: var(--white); border: 1px solid var(--line); }
.calc__result { background: var(--ink); color: var(--white); }
.calc fieldset { border: 0; padding: 0; margin: 0 0 var(--space-6); }
.calc legend { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; margin-bottom: var(--space-3); padding: 0; }
.choice-grid { display: grid; gap: .6rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice label {
  display: block; height: 100%; padding: .85rem 1rem; min-height: 48px;
  border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.choice label strong { display: block; font-weight: 600; }
.choice label span { display: block; font-size: .8125rem; color: var(--muted); }
.choice input:checked + label { border-color: var(--steel); background: #eef3f9; box-shadow: inset 0 0 0 1px var(--steel); }
.choice input:focus-visible + label { outline: 3px solid var(--steel); outline-offset: 2px; }
.range-row { display: flex; align-items: center; gap: var(--space-4); }
.range-row output { min-width: 5.5rem; font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
input[type="range"] { flex: 1; height: 44px; accent-color: var(--steel); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--muted); }
.area-helper { margin-top: var(--space-3); font-size: .875rem; color: var(--muted); }
.area-helper input { width: 5.5rem; min-height: 40px; padding: .35rem .5rem; border: 1px solid #b7c1ce; border-radius: var(--radius); }
.area-helper label { margin-right: .25rem; }
.calc__result h2 { font-size: var(--step-2); color: var(--white); }
.calc__lines { margin: var(--space-4) 0; }
.calc__lines div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .65rem; border-bottom: 1px solid var(--line-dark); font-variant-numeric: tabular-nums; }
.calc__lines dt { color: #c4cedb; }
.calc__lines dd { margin: 0; font-weight: 600; }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: var(--space-2); }
.calc__total span { color: #c4cedb; }
.calc__total output { font-family: var(--font-display); font-size: var(--step-4); font-weight: 700; font-variant-numeric: tabular-nums; }
.calc__range { color: #c4cedb; font-size: .9375rem; }
.calc__note { font-size: .8125rem; color: #aab6c6; margin-top: var(--space-4); }
.rate-table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.rate-table th, .rate-table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
.rate-table th { font-weight: 600; }
.rate-table tr.is-active td { background: #eef3f9; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c4cedb; font-size: .9375rem; }
/* Light links only on the dark part of the footer (the white accreditation strip has its own). */
.footer-main a:not(.btn):not(.social-link):not(.group-badge):not(.trustmark), .footer-bottom a:not(.btn):not(.social-link):not(.group-badge):not(.trustmark):not(.site-credit) { color: #dde4ec; text-decoration: none; }
.footer-main a:not(.btn):not(.social-link):not(.group-badge):not(.trustmark):hover, .footer-bottom a:not(.btn):not(.social-link):not(.group-badge):not(.trustmark):not(.site-credit):hover { color: var(--white); text-decoration: underline; }
.footer-accred { background: var(--white); color: var(--text); border-top: 1px solid var(--line); }
.footer-accred__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-5); padding-block: var(--space-6); }
.footer-accred__areas { display: flex; align-items: center; gap: var(--space-4); max-width: 40rem; }
.footer-accred__areas .i { color: var(--steel); }
.footer-accred__areas p { margin: 0; font-size: var(--step-1); }
.trustmark { display: inline-flex; align-items: center; }
.trustmark img { height: 76px; width: auto; }
.trustmark--text { flex-direction: column; align-items: flex-start; padding: .5rem 1rem; border: 2px solid var(--text); border-radius: var(--radius); color: var(--text); text-decoration: none; line-height: 1.2; }
.trustmark--text strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .01em; }
.trustmark--text span { font-size: .75rem; }
.footer-main { display: grid; gap: var(--space-7) var(--space-6); padding-block: var(--space-8); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
@media (min-width: 1100px) { .footer-main { grid-template-columns: 1.25fr .85fr .85fr 1fr 1.25fr; gap: var(--space-7) var(--space-5); } }
.footer-brand img { height: 40px; width: auto; margin-bottom: var(--space-4); }
.footer-brand p { color: #aab6c6; }
.footer-brand .social { margin-left: -.6rem; }
.footer-col__title { font-size: var(--step-1); color: var(--white); margin-bottom: var(--space-4); }
.footer-col ul li { padding-block: .3rem; }
.footer-col .contact-list .i { color: var(--slate); }
.footer-col .btn { margin-top: var(--space-4); }
/* Same look as the Explore / Get in touch lists: plain links, icon beside the text. */
.group-badge { display: inline-flex; align-items: center; gap: .75rem; color: #dde4ec; text-decoration: none; }
.group-badge:hover { color: var(--white); text-decoration: underline; }
.contact-list li.contact-list__address { align-items: flex-start; }
.contact-list__address .i { margin-top: .2rem; }
.group-badge__mark { width: 22px; height: 18px; flex: none; background: var(--slate);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 18"><path d="M1 8 11 1l10 7" fill="none" stroke="black" stroke-width="2.4"/><path d="M4 9v8M18 9v8" stroke="black" stroke-width="2.4"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 18"><path d="M1 8 11 1l10 7" fill="none" stroke="black" stroke-width="2.4"/><path d="M4 9v8M18 9v8" stroke="black" stroke-width="2.4"/></svg>') center / contain no-repeat; }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-5); font-size: .875rem; color: #8f9cae; }
.footer-bottom p { margin: 0; }
.footer-bottom__inner { align-items: center; }
.footer-bottom__sep { margin-inline: .35rem; }
/* Designer credit: kept quiet, brightens on hover. */
.footer-bottom a.site-credit { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: #8f9cae; text-decoration: none; opacity: .7; transition: opacity .2s ease; }
.footer-bottom a.site-credit:hover { color: #8f9cae; text-decoration: none; opacity: 1; }
.site-credit img { width: 84px; height: auto; }

/* ---------- misc ---------- */
.prose h2 { font-size: var(--step-3); margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-5); }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: var(--space-4); }
.prose li { margin-bottom: .35rem; }
.split-list { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.split-list > div { padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.split-list h3 { font-size: var(--step-1); display: flex; align-items: center; gap: .6rem; }
.split-list h3 .i { color: var(--steel); }
.split-list p { color: var(--muted); font-size: .9375rem; margin: 0; }
.stat-row { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin-top: var(--space-6); }
.stat-row div { border-left: 3px solid var(--steel); padding-left: var(--space-4); }
.stat-row strong { display: block; font-family: var(--font-display); font-size: var(--step-3); line-height: 1; color: var(--text); }
.stat-row span { color: var(--muted); font-size: .9375rem; }

/* The roof-line draw in the hero is the site's only load animation. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .hero__media, .hero__pause { display: none; }
}
