/* Brooklands Glass Centre, Site Styles */

:root {
  /* Brand */
  --brand-orange: #F47920;
  --brand-orange-dark: #D6651A;
  --brand-orange-light: #FCEEE0;
  --brand-dark: #0F0F12;
  --brand-dark-2: #1A1A1F;
  --brand-grey: #6E6F72;
  --brand-grey-light: #E4E4E4;
  --brand-grey-lighter: #F0F0F0;
  --brand-bg: #F4F4F4;
  --brand-white: #FFFFFF;

  /* Type */
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing */
  --section-py: clamp(56px, 8vw, 96px);
  --container: 1240px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--brand-dark);
  background: var(--brand-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

p { margin: 0 0 1em; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1.15;
}

h1 { font-size: clamp(1.9rem, 5vw, 42px); }
h2 { font-size: clamp(1.7rem, 3.2vw, 42px); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
h4 { font-size: 1.05rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--brand-orange);
  margin-bottom: 14px;
  display: inline-block;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand-dark);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: var(--brand-white);
}
.header-inner {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.brand-logo img { height: 40px; width: auto; }
/* Push everything after the logo to the right */
.brand-logo { margin-right: auto; }
.nav-primary { display: flex; gap: 4px; align-items: center; }
.nav-primary a {
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brand-white);
  transition: color 0.15s;
}
.nav-primary a:hover { color: var(--brand-orange); }
.nav-primary .has-sub { position: relative; }
.nav-primary .submenu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--brand-white);
  box-shadow: 0 14px 36px rgba(15,15,18,0.14);
  padding: 10px;
  min-width: 280px;
  display: none;
  border: 1px solid var(--brand-grey-light);
}
@media (min-width: 1025px) and (hover: hover) {
  .nav-primary .has-sub:hover .submenu { display: block; }
}
.nav-primary .submenu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.88rem;
  color: var(--brand-dark);
}
.nav-primary .submenu a:hover { background: var(--brand-bg); color: var(--brand-orange); }

/* === MEGA MENU === */
.nav-primary .has-mega { position: static; }
/* Invisible bridge so the cursor can travel from the nav link down to
   the mega menu without ever leaving the .has-mega element. */
.has-mega > a { position: relative; }
.has-mega > a::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -8px;
  right: -8px;
  height: 24px;
  /* No background, just an invisible hover-extender. */
}
.has-mega .mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--brand-dark);
  color: var(--brand-white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  /* Bottom-only shadow: offset_y matches blur so the top of the shadow
     sits at the element's top edge (covered by the menu), leaving only
     the part below the menu visible. */
  box-shadow: 0 24px 32px -8px rgba(0,0,0,0.35);
  display: none;
  padding: 56px 0 64px;
  z-index: 60;
}
/* Hover-to-open is desktop-only. We require both a wide viewport AND a
   hover-capable input device so touch devices don't trigger the desktop
   dropdown when a user taps the parent link on the mobile drawer. */
@media (min-width: 1025px) and (hover: hover) {
  .has-mega:hover .mega-menu { display: block; }
}
.mega-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
/* Big page-style heading at top of mega menu */
.mega-heading {
  font-size: clamp(2rem, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--brand-white);
  margin: 0 0 40px;
}
/* Category label, small caps coloured heading */
.mega-cat {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-orange);
  margin-bottom: 24px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  row-gap: 4px;
  max-width: 900px;
}
.mega-grid-areas {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mega-item {
  display: flex !important;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0 !important;
  text-decoration: none;
  color: var(--brand-white) !important;
  border: 0;
  background: transparent;
  transition: color 0.15s, padding-left 0.2s;
}
.mega-item:hover { color: var(--brand-orange) !important; padding-left: 4px !important; }
.mega-num {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  min-width: 22px;
}
.mega-name {
  font-size: 1.6rem;
  font-weight: 500;
  color: inherit;
  letter-spacing: -0.02em;
  line-height: 1.15;
  transition: color 0.15s;
}
.mega-item:hover .mega-name { color: var(--brand-orange); }

.header-cta { display: flex; gap: 10px; align-items: center; }
.header-phone {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-orange);
  background: var(--brand-white);
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--brand-white);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.header-phone svg { display: block; flex-shrink: 0; }
.header-phone:hover { background: transparent; color: var(--brand-white); border-color: var(--brand-white); }

/* Header "Get a quote" button override, orange on dark header */
.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid var(--brand-orange);
  background: var(--brand-orange);
  color: var(--brand-white);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  font-family: inherit;
}
.btn-header:hover { background: var(--brand-orange-dark); border-color: var(--brand-orange-dark); color: var(--brand-white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary { background: var(--brand-orange); color: var(--brand-white); border-color: var(--brand-orange); }
.btn-primary:hover { background: var(--brand-orange-dark); border-color: var(--brand-orange-dark); }
.btn-secondary { background: var(--brand-white); color: var(--brand-dark); border-color: var(--brand-dark); }
.btn-secondary:hover { background: var(--brand-dark); color: var(--brand-white); }
.btn-outline-light { background: transparent; color: var(--brand-white); border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: var(--brand-white); color: var(--brand-dark); border-color: var(--brand-white); }
.btn-dark { background: var(--brand-dark); color: var(--brand-white); border-color: var(--brand-dark); }
.btn-dark:hover { background: var(--brand-dark-2); }
.btn-lg { padding: 14px 28px; font-size: 0.95rem; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; position: relative; width: 40px; height: 32px; }
.menu-toggle span { display: block; position: absolute; left: 50%; top: 50%; width: 24px; height: 2px; background: var(--brand-white); margin: 0; transition: transform 0.2s ease, opacity 0.2s ease; transform-origin: center; transform: translate(-50%, calc(-50% - 7px)); }
.menu-toggle span:nth-child(2) { transform: translate(-50%, -50%); }
.menu-toggle span:nth-child(3) { transform: translate(-50%, calc(-50% + 7px)); }
/* Hamburger morphs into an X when the menu is open */
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translate(-50%, -50%); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Hide mobile-only chrome on desktop */
.nav-chev { display: none; }
.mobile-back { display: none; }
.mobile-cta { display: none; }

@media (max-width: 1024px) {
  /* === Mobile drawer, dark, big text, sub-panel pattern === */
  .nav-primary {
    display: none;
    position: fixed;
    top: 68px;
    left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    background: var(--brand-dark);
    color: var(--brand-white);
    overflow-y: auto;
    gap: 0;
  }
  .nav-primary.open { display: flex; }

  /* Top-level item rows, big text, full-width tappable rows */
  .nav-primary > a,
  .nav-primary > .has-sub > a,
  .nav-primary > .has-mega > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    color: var(--brand-white);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
  }
  .nav-primary > a:hover,
  .nav-primary > .has-sub > a:hover,
  .nav-primary > .has-mega > a:hover { color: var(--brand-white); background: rgba(255,255,255,0.04); }
  /* Hide the desktop ▾ caret, show the right-chevron SVG inline */
  .nav-primary .nav-arrow { display: none; }
  .nav-primary .nav-chev { display: inline-block; color: rgba(255,255,255,0.45); flex-shrink: 0; }
  /* Direct links (no submenu) get no chevron */
  .nav-primary > a .nav-chev { display: none; }

  /* CTA row pinned to the bottom of the drawer */
  .mobile-cta {
    display: flex;
    gap: 12px;
    padding: 28px;
    margin-top: auto;
  }
  .mobile-cta .btn { flex: 1; padding: 14px 18px; justify-content: center; }
  .mobile-cta .btn-secondary { background: rgba(255,255,255,0.08); color: var(--brand-white); border-color: rgba(255,255,255,0.14); }
  .mobile-cta .btn-secondary:hover { background: rgba(255,255,255,0.14); color: var(--brand-white); }

  /* Mega menus on mobile, full-screen overlay sub-panel */
  .nav-primary .mega-menu {
    position: fixed;
    top: 68px;
    left: 0; right: 0; bottom: 0;
    background: var(--brand-dark);
    color: var(--brand-white);
    border: 0;
    box-shadow: none;
    padding: 0;
    display: none;
    overflow-y: auto;
    z-index: 60;
  }
  .nav-primary .mega-menu.open { display: block; }
  .nav-primary .mega-inner {
    padding: 24px 28px 40px;
    max-width: none;
  }
  .mobile-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    padding: 0;
    background: transparent;
    border: 0;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    margin: 0 0 4px -10px;
  }
  .mobile-back:hover { color: var(--brand-white); }
  .nav-primary .mega-heading {
    display: block;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--brand-white);
    letter-spacing: -0.02em;
    margin: 0 0 28px;
  }
  .nav-primary .mega-cat {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brand-orange);
    margin-bottom: 20px;
    padding: 0;
  }
  .nav-primary .mega-grid,
  .nav-primary .mega-grid-areas {
    grid-template-columns: 1fr;
    gap: 4px;
    max-width: none;
  }
  .nav-primary .mega-item {
    padding: 14px 0 !important;
    color: var(--brand-white) !important;
    border-bottom: 0;
    align-items: baseline;
    gap: 18px;
  }
  .nav-primary .mega-item .mega-num {
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    min-width: 22px;
  }
  .nav-primary .mega-item .mega-name {
    font-size: 1.4rem;
    color: var(--brand-white);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.2;
  }
  .nav-primary .mega-item:hover .mega-name { color: var(--brand-orange); }
  .nav-primary .mega-foot { display: none; }

  /* Disable the desktop hover-bridge on mobile so it doesn't add empty taps */
  .has-mega > a::after { display: none; }
  .menu-toggle { display: block; order: 99; margin-left: 8px; }
  .header-phone { display: none; }
  /* Hide the desktop "Get a quote" button on mobile, the bottom sticky
     CTA and the drawer already carry it. */
  .header-cta .btn-header { display: none; }
}

/* Reusable grid background overlay (pseudo-element, no z-fighting) */
.has-grid-bg { position: relative; isolation: isolate; }
.has-grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grid-bg-img, url('../images/grid-bg.svg'));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: var(--grid-bg-opacity, 1);
  pointer-events: none;
  z-index: 0;
}
.has-grid-bg > * { position: relative; z-index: 1; }
/* Dark variant of the grid for orange backgrounds */
.has-grid-bg.is-orange { --grid-bg-img: url('../images/grid-bg-dark.svg'); --grid-bg-opacity: 0.55; }
/* Light variant on dark backgrounds, boost slightly */
.has-grid-bg.is-dark { --grid-bg-img: url('../images/grid-bg.svg'); --grid-bg-opacity: 0.6; }

/* === HERO === */
.hero {
  background: var(--brand-dark);
  color: var(--brand-white);
  overflow: hidden;
  padding: 0;
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/grid-bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: lighten;
}
.hero > * { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  /* Two columns: text takes a fixed share that aligns with .container,
     image takes the remaining space all the way to the viewport edge. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: clamp(440px, 60vw, 620px);
}
.hero-text {
  /* Align text with the .container by padding-left = (viewport - container)/2 + 24 */
  padding-left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  padding-right: clamp(24px, 4vw, 56px);
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(48px, 7vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-text .eyebrow { color: var(--brand-white); margin-bottom: 18px; opacity: 0.85; }
.hero h1 {
  color: var(--brand-white);
  font-size: clamp(2.4rem, 6.4vw, 62px);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1.05;
}
.hero p.lead {
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
/* Hero buttons on dark background */
.hero .btn-primary {
  background: var(--brand-orange);
  color: var(--brand-white);
  border-color: var(--brand-orange);
}
.hero .btn-primary:hover { background: var(--brand-orange-dark); border-color: var(--brand-orange-dark); }
.hero .btn-outline-light {
  background: transparent;
  color: var(--brand-white);
  border-color: rgba(255,255,255,0.6);
}
.hero .btn-outline-light:hover { background: var(--brand-white); color: var(--brand-dark); border-color: var(--brand-white); }

.hero-stats {
  display: flex;
  gap: 36px;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 24px;
  margin-top: 8px;
}
.hero-stats .num {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brand-orange);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stats .label { color: rgba(255,255,255,0.78); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.15; display: inline-block; }

.hero-image {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  background: var(--brand-dark-2);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hero slideshow, fade between stacked images */
.hero-slideshow img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.hero-slideshow img.active { opacity: 1; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 48px 24px; }
  .hero-image { aspect-ratio: 4/3; max-height: 420px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
}

/* === TRUST STRIP === */
.trust-strip {
  background: var(--brand-bg);
  color: var(--brand-grey);
  border-bottom: 1px solid var(--brand-grey-light);
  padding: 16px 0;
  font-size: 0.85rem;
}
.trust-strip .row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-strip span { white-space: nowrap; }
.trust-strip .dot { color: var(--brand-orange); }

/* === SECTIONS === */
.section {
  padding: var(--section-py) 0;
}
.section-dark {
  background: var(--brand-dark);
  color: var(--brand-white);
  position: relative;
  isolation: isolate;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/grid-bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: lighten;
}
.section-dark > * { position: relative; z-index: 1; }
.section-dark h2 { color: var(--brand-white); }
.section-dark p { color: rgba(255,255,255,0.72); }
.section-light {
  background: var(--brand-bg);
}
/* "What we do" statement section, light grey */
.statement-section { background: var(--brand-bg); }
/* "How we help", light grey background, retains the dark process tiles */
.section-grey {
  background: var(--brand-bg);
  position: relative;
}
.section-grey h2 { color: var(--brand-dark); }
.section-grey .section-head p { color: var(--brand-grey); }
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(2rem, 5.4vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 500;
  margin-bottom: 16px;
}
.section-head p { font-size: 1rem; color: var(--brand-grey); }
.section-dark .section-head p { color: rgba(255,255,255,0.65); }

/* === STATEMENT BLOCK === */
.statement {
  display: block;
}
.statement > .eyebrow { margin-bottom: 18px; }
.statement-h {
  /* Matches the rest of the site's section h2 size (58px) so every major
     heading on a service page renders identically. */
  font-size: clamp(2rem, 5.4vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 56px;
}
.statement-faded { color: var(--brand-orange); }
.statement-bold { color: var(--brand-dark); }
.statement-row {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 64px;
  align-items: end;  /* button bottom aligns with paragraph bottom */
}
.statement-body-p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--brand-grey);
  max-width: 560px;
  margin: 0 0 0 auto;  /* right-align to the container edge */
  text-align: left;
}
.statement-row .btn { align-self: end; }
@media (max-width: 800px) {
  .statement-row { grid-template-columns: 1fr; gap: 24px; }
  .statement-h { margin-bottom: 32px; }
}

/* === SERVICE GRID (still used on /case-studies and /areas pages) === */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--brand-grey-light);
  border: 1px solid var(--brand-grey-light);
}
@media (max-width: 900px)  { .service-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .service-grid { grid-template-columns: 1fr; } }
.service-grid.service-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .service-grid.service-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .service-grid.service-grid-3 { grid-template-columns: 1fr; } }

/* === SERVICES HEAD (heading + nav arrows on same row) === */
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  max-width: none;
}
.services-head > div:first-child { max-width: 720px; }
.services-head h2 {
  font-size: clamp(2rem, 5.4vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 500;
}
@media (max-width: 700px) {
  .services-head { flex-direction: column; align-items: flex-start; }
}

/* === SERVICES CAROUSEL, expanding panels with vertical titles === */
.services-carousel { position: relative; margin-top: 8px; }
.services-track {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px max(24px, calc((100vw - 1240px) / 2 + 24px));
}
.services-track::-webkit-scrollbar { display: none; }

/* Each tile: narrow by default, expands on hover */
.services-track .service-card {
  flex: 0 0 auto;
  width: 180px;
  height: 470px;
  position: relative;
  overflow: hidden;
  border: 0;
  background: var(--brand-dark);
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
}
.services-track .service-card:hover,
.services-track .service-card:focus-visible,
.services-track .service-card.is-open { width: 460px; }

/* Image fills the card */
.services-track .service-card .img {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  aspect-ratio: auto;
  background: transparent;
}
.services-track .service-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter 0.4s, transform 0.6s;
}
.services-track .service-card:hover .img img,
.services-track .service-card:focus-visible .img img,
.services-track .service-card.is-open .img img { filter: brightness(1); transform: scale(1.04); }

/* Body absolute over the image, closed state has a softer left→right gradient.
   Tile itself has no padding, only the .hover-panel container is padded. */
.services-track .service-card .body {
  position: absolute;
  inset: 0;
  padding: 0;
  display: block;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.32) 40%, rgba(0,0,0,0) 90%);
  color: var(--brand-white);
  transition: background 0.35s;
}
/* Open (hover) state, completely remove the gradient overlay */
.services-track .service-card:hover .body,
.services-track .service-card:focus-visible .body,
.services-track .service-card.is-open .body {
  background: transparent;
}

/* Vertical title (default state), hidden on hover.
   Allow wrapping to 2 lines when the title is too long for the tile height.
   With writing-mode: vertical-rl, the inline axis runs vertically, so a
   max-height triggers a line-break; new lines stack along the block axis
   (horizontally, to the right after the 180deg rotate). */
.services-track .service-card h3 {
  position: absolute;
  bottom: 24px;
  left: 24px;
  margin: 0;
  max-height: calc(100% - 48px);
  font-size: 25px;
  font-weight: 600;
  color: var(--brand-white);
  letter-spacing: 0.02em;
  line-height: 1.15;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transform-origin: center;
  transition: opacity 0.2s;
}
.services-track .service-card:hover h3,
.services-track .service-card:focus-visible h3,
.services-track .service-card.is-open h3 { opacity: 0; }

/* Hover overlay, frosted-glass container flush to the bottom edges of the tile */
.services-track .service-card .hover-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 24px;
  background: rgba(15,15,18,0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s 0.05s, transform 0.3s 0.05s;
  pointer-events: none;
  z-index: 2;
}
.services-track .service-card:hover .hover-panel,
.services-track .service-card:focus-visible .hover-panel,
.services-track .service-card.is-open .hover-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.services-track .service-card .hover-panel .ico {
  width: 32px;
  height: 32px;
  background: var(--brand-orange);
  color: var(--brand-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.services-track .service-card .hover-panel .ico svg { width: 18px; height: 18px; display: block; }
.services-track .service-card .hover-panel .h-title {
  font-size: 25px;
  font-weight: 600;
  color: var(--brand-white);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}
.services-track .service-card .hover-panel .h-blurb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.45;
  margin: 0;
}
.services-track .service-card .hover-panel .h-more {
  margin-top: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand-orange);
}
/* The default <p> and .more from the homepage markup are unused in this tile look */
.services-track .service-card .body > p,
.services-track .service-card .body > .more { display: none; }

@media (max-width: 700px) {
  .services-track .service-card { width: 140px; height: 410px; }
  .services-track .service-card:hover { width: 320px; }
  .services-track .service-card .hover-panel { padding: 20px; }
}

/* Carousel nav buttons */
.carousel-nav { display: flex; gap: 8px; flex-shrink: 0; }
.carousel-btn {
  width: 44px; height: 44px;
  border: 1.5px solid var(--brand-dark);
  background: var(--brand-white);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.carousel-btn:hover { background: var(--brand-dark); color: var(--brand-white); }
.carousel-btn:disabled { opacity: 0.3; cursor: not-allowed; background: var(--brand-white); color: var(--brand-dark); }

/* CTA card inside the carousel: keep same width as others */
.services-track .service-card-cta { width: 360px; }
@media (max-width: 600px) {
  .services-track .service-card-cta { width: 78vw; }
}
.service-card {
  background: var(--brand-white);
  overflow: hidden;
  transition: background 0.15s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { background: var(--brand-bg); }
.service-card .img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--brand-grey-light);
}
.service-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.service-card:hover .img img { transform: scale(1.04); }
.service-card .body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 0.98rem; margin: 0 0 4px; line-height: 1.25; }
.service-card p { font-size: 0.82rem; color: var(--brand-grey); flex: 1; line-height: 1.45; margin: 0; }
.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--brand-orange);
}

/* === DARK SECTION TILES === */
.dark-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) { .dark-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .dark-tiles { grid-template-columns: 1fr; } }
.dark-tile {
  background: var(--brand-dark);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dark-tile .ico {
  width: 32px; height: 32px;
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.85rem;
  border: 1.5px solid var(--brand-orange);
}
.dark-tile h4 { color: var(--brand-white); margin: 0 0 4px; font-size: 1rem; }
.dark-tile p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin: 0; line-height: 1.55; }

/* Light variants for the dark-tile grid, used when the section sits on
   a light background. The orange CTA tile keeps its colours. */

/* Our Process page tiles, light grey on a white section */
.process-section:not(.section-dark) .dark-tile:not(.dark-tile-cta) {
  background: var(--brand-bg);
}
/* Homepage "How we help" tiles, white on the grey section */
.section-grey .dark-tile:not(.dark-tile-cta) {
  background: var(--brand-white);
}
/* Shared text + grid colour overrides for both light variants */
.process-section:not(.section-dark) .dark-tile:not(.dark-tile-cta) h4,
.section-grey .dark-tile:not(.dark-tile-cta) h4 {
  color: var(--brand-dark);
}
.process-section:not(.section-dark) .dark-tile:not(.dark-tile-cta) p,
.section-grey .dark-tile:not(.dark-tile-cta) p {
  color: var(--brand-grey);
}
.process-section:not(.section-dark) .dark-tiles,
.section-grey .dark-tiles {
  background: var(--brand-grey-light);
  border-color: var(--brand-grey-light);
}

/* Orange CTA tile inside the dark process grid */
.dark-tile-cta {
  background: var(--brand-orange);
  text-decoration: none;
  transition: background 0.15s;
  cursor: pointer;
}
.dark-tile-cta:hover { background: var(--brand-orange-dark); }
.dark-tile-cta .ico-cta {
  width: 32px; height: 32px;
  background: var(--brand-white);
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.dark-tile-cta h4 { color: var(--brand-white); }
.dark-tile-cta p { color: rgba(255,255,255,0.92); }
.dark-tile-cta .cta-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand-white);
}

/* === BIG IMAGE BANNER === */
.image-banner {
  background: var(--brand-dark);
  color: var(--brand-white);
  padding: 0;
  width: 100%;
}
.image-banner-body {
  background: var(--brand-dark);
  color: var(--brand-white);
  overflow: hidden;
  display: block;
  position: relative;
  isolation: isolate;
}
.image-banner-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/grid-bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: lighten;
}
.image-banner-body > * { position: relative; z-index: 1; }
.image-banner-text {
  padding: clamp(40px, 6vw, 72px) 24px;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}
.image-banner-text .eyebrow { color: var(--brand-white); opacity: 0.85; }
.image-banner-text h2 { color: var(--brand-white); font-size: clamp(2rem, 5.4vw, 58px); letter-spacing: -0.02em; line-height: 1.05; font-weight: 500; max-width: 800px; }
.image-banner-text p { color: rgba(255,255,255,0.92); max-width: 760px; }
.image-banner-text .btn-primary { background: var(--brand-orange); color: var(--brand-white); border-color: var(--brand-orange); }
.image-banner-text .btn-primary:hover { background: var(--brand-orange-dark); border-color: var(--brand-orange-dark); }
.image-banner-img {
  height: clamp(280px, 32vw, 420px);
  background-size: cover;
  background-position: center;
  width: 100%;
}

/* Glass spec banner inside service prose, breaks out of .container width
   to span full viewport like the homepage 'Why Brooklands' banner. */
.spec-banner {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}
/* When a .spec-banner is the FIRST item in the prose body (as on
   shower-screens), it would normally inherit the parent .section's
   padding-top (~96px) and leave a white strip between the preceding
   statement-section and the banner. Drop that padding so the dark band
   meets the previous section flush. Same fix for the bottom padding when
   the spec-banner is the LAST item. */
.section.service-prose:has(> .container > .prose > .spec-banner:first-child) {
  padding-top: 0;
}
.section.service-prose:has(> .container > .prose > .spec-banner:last-child) {
  padding-bottom: 0;
}
.service-prose .prose .spec-banner h2 {
  color: var(--brand-white);
  font-size: clamp(2rem, 5.4vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 16px;
  max-width: 800px;
}
.service-prose .prose .spec-banner p {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 760px;
}
.spec-banner .eyebrow { color: var(--brand-white); opacity: 0.85; }

/* === SPEC CARD, short prose section paired with an image ===
   Used inside .service-prose for sub-sections that would otherwise be a
   bare h2 + paragraph (e.g. "Spec", "Acoustic and privacy considerations",
   "Misted double glazing", "When to call us"). Renders as a 2-col panel:
   eyebrow + h2 + paragraphs on one side, a contextual image on the other. */
.spec-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  background: var(--brand-bg);
  border: 1px solid var(--brand-grey-light);
  margin: 64px 0;
  width: 100%;
}
.spec-card-text {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.spec-card-text .eyebrow {
  display: inline-block;
  color: var(--brand-orange);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
/* The h2 inherits the standard 58px section size from .service-prose .prose h2.
   We just zero its top margin (it sits at the top of the panel) and tighten
   the bottom so the supporting paragraph is close to the heading. */
.service-prose .prose .spec-card h2 {
  margin: 0 0 14px;
}
.spec-card-text p {
  margin: 0 0 10px;
  color: var(--brand-grey);
  font-size: 0.98rem;
  line-height: 1.6;
}
.spec-card-text p:last-child { margin-bottom: 0; }
.spec-card-text blockquote {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--brand-orange);
  background: rgba(244,121,32,0.08);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--brand-dark);
}
.spec-card-text blockquote a { color: var(--brand-orange); }
.spec-card-img {
  background-size: cover;
  background-position: center;
  min-height: 280px;
}
.spec-card.spec-card-img-left .spec-card-img { order: -1; }
@media (max-width: 800px) {
  .spec-card { grid-template-columns: 1fr; }
  .spec-card-img { aspect-ratio: 16/10; min-height: 0; max-height: 320px; }
  .spec-card.spec-card-img-left .spec-card-img { order: 0; }
}

/* === RECENT WORK / CASE STUDIES, 2-col offset grid, wide 1900px container === */
.recent-wrap {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 24px;
}
/* Service-page variant: same offset grid + cards, but stays inside the
   standard 1240px container so it sits flush with the rest of the page. */
.service-recent .recent-grid,
.case-studies .recent-grid {
  grid-auto-rows: 380px;
}
@media (max-width: 1100px) {
  .service-recent .recent-grid,
  .case-studies .recent-grid { grid-auto-rows: 340px; }
}
@media (max-width: 700px) {
  .service-recent .recent-grid,
  .case-studies .recent-grid { grid-auto-rows: 320px; }
}
/* 2 columns × 3 rows. All cards on the same row share a height, but the
   column widths alternate per row: 65/35, 35/65, 65/35. We use a 20-track
   grid (each track = 5%) and place each card explicitly. */
.recent-grid {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  grid-auto-rows: 490px;
  gap: 24px;
}
/* Alternating 65/35 + 35/65 pattern that repeats every 4 cards, so any
   even-card count uses the same widths without per-card overrides. */
.recent-grid > .recent-card:nth-child(4n+1) { grid-column: 1 / span 13; }   /* odd row · 65% left */
.recent-grid > .recent-card:nth-child(4n+2) { grid-column: 14 / span 7; }   /* odd row · 35% right */
.recent-grid > .recent-card:nth-child(4n+3) { grid-column: 1 / span 7; }    /* even row · 35% left */
.recent-grid > .recent-card:nth-child(4n)   { grid-column: 8 / span 13; }   /* even row · 65% right */
@media (max-width: 1100px) {
  .recent-grid { grid-auto-rows: 450px; gap: 20px; }
}
@media (max-width: 700px) {
  .recent-grid { grid-template-columns: 1fr; grid-auto-rows: 430px; gap: 18px; }
  .recent-grid > .recent-card { grid-column: 1 / -1 !important; }
}
.recent-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--brand-dark-2);
  isolation: isolate;
}
.recent-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.recent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.recent-card:hover .recent-img img,
.recent-card:focus-visible .recent-img img {
  transform: scale(1.04);
}
.recent-panel {
  position: absolute;
  left: 0;
  right: 22%;
  bottom: 0;
  background: var(--brand-white);
  color: var(--brand-dark);
  padding: 26px 30px 24px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.recent-panel h3 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--brand-dark);
  margin: 0;
  line-height: 1.2;
}
.recent-panel p {
  font-size: 0.9rem;
  color: var(--brand-grey);
  margin: 0;
  line-height: 1.5;
}
.recent-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-dark);
  transition: color 0.15s, gap 0.2s;
}
.recent-card:hover .recent-more,
.recent-card:focus-visible .recent-more {
  color: var(--brand-orange);
  gap: 12px;
}
/* Orange CTA card filling the last cell of the case-studies grid */
.recent-card-cta {
  background: var(--brand-orange);
  color: var(--brand-white);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  text-decoration: none;
  transition: background 0.15s ease;
}
.recent-card-cta:hover { background: var(--brand-orange-dark); }
.recent-card-cta .recent-panel-cta {
  position: relative;
  inset: auto;
  right: auto;
  bottom: auto;
  background: transparent;
  color: var(--brand-white);
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.recent-card-cta .recent-panel-cta h3 {
  color: var(--brand-white);
  font-size: clamp(1.6rem, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-transform: none;
  margin: 0;
}
.recent-card-cta .recent-panel-cta p {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}
.recent-cta-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.78);
  margin-bottom: 4px;
}
.recent-card-cta .recent-more {
  color: var(--brand-white);
  margin-top: auto;
  padding-top: 8px;
}
.recent-card-cta:hover .recent-more { color: var(--brand-white); gap: 12px; }

@media (max-width: 1100px) {
  .recent-panel { right: 16%; }
  .recent-panel h3 { font-size: 1.3rem; }
}
@media (max-width: 700px) {
  .recent-wrap { padding: 0 24px; }
  .recent-panel { right: 12%; padding: 22px 24px 20px; }
  .recent-panel h3 { font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .recent-panel { right: 0; }
}

/* === CASE-STUDY LISTING CARDS ===
   Extends .recent-card with service/location chips and a stats line inside
   the panel. We use a slightly taller auto-row than the homepage recent
   carousel but keep the panel compact so more of the image stays visible. */
.case-studies .recent-grid { grid-auto-rows: 460px; }
@media (max-width: 1100px) {
  .case-studies .recent-grid { grid-auto-rows: 420px; }
}
@media (max-width: 700px) {
  .case-studies .recent-grid { grid-auto-rows: 460px; }
}

/* Compact panel: pinned to bottom-left, narrower than the homepage variant
   so a large strip of image stays visible on the right. Tighter padding
   and smaller heading keep the panel short vertically too. */
.case-card .recent-panel {
  right: 30%;
  padding: 18px 22px 16px;
  gap: 6px;
}
.case-card .recent-panel h3 {
  font-size: 1.12rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.case-card .recent-panel h3 a {
  color: inherit;
  text-decoration: none;
}
.case-card .recent-panel h3 a:hover { color: var(--brand-orange); }

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.case-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-dark);
  background: var(--brand-bg);
  border: 1px solid var(--brand-grey-light);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.case-tag:hover {
  background: var(--brand-orange);
  color: var(--brand-white);
  border-color: var(--brand-orange);
}
.case-tag-light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: var(--brand-white);
}
.case-tag-light:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
}

/* Stats collapse to a single inline row, pipe-separated, no labels, the
   value is descriptive enough on its own. */
.case-stats {
  list-style: none;
  padding: 0;
  margin: 2px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--brand-grey);
}
.case-stats li {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
/* Separator goes AFTER each non-last item so when the next stat wraps to a
   new line, the dot stays at the end of line 1 instead of orphaning to the
   start of line 2. */
.case-stats li:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--brand-grey-light);
}
.case-stat-label {
  display: none; /* compact layout drops the labels, values are descriptive */
}
.case-stat-val {
  color: var(--brand-dark);
  font-weight: 500;
}

.case-card .recent-more {
  margin-top: 2px;
  padding-top: 0;
  font-size: 0.82rem;
  text-decoration: none;
}
.case-card .recent-img {
  display: block;
  cursor: pointer;
}
.case-card:hover .recent-img img,
.case-card:focus-within .recent-img img {
  transform: scale(1.04);
}

@media (max-width: 1100px) {
  .case-card .recent-panel { right: 22%; padding: 16px 20px 14px; }
  .case-card .recent-panel h3 { font-size: 1.05rem; }
}
@media (max-width: 700px) {
  .case-card .recent-panel { right: 0; padding: 16px 20px 14px; }
  .case-card .recent-panel h3 { font-size: 1.1rem; }
  .case-stats { font-size: 0.76rem; }
}

/* === CASE-STUDY DETAIL PAGE ===
   Hero: same dark hero pattern as the service / about pages.
   Facts strip: a horizontal row of label+value cells.
   Photos: 3-up gallery of before/during/after images.
   Quote: large centred blockquote with an orange quote-mark. */
.case-hero {
  background: var(--brand-dark);
  color: var(--brand-white);
  overflow: hidden;
}
/* Two-column edge-to-edge grid. Text column has internal padding so the
   eyebrow / h1 / lead / chips sit flush with the standard .container
   left edge (1240px max). The image column extends all the way to the
   viewport edge, same pattern as the service / location heroes. Text
   gets the wider half so the brief reads naturally; the photo column
   is the narrower 45fr. */
.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: 0;
  align-items: stretch;
}
.case-hero-text {
  padding-left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  padding-right: clamp(24px, 4vw, 56px);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-hero-text .eyebrow {
  display: inline-block;
  color: var(--brand-orange);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}
.case-hero-text h1 {
  color: var(--brand-white);
  font-size: clamp(2.4rem, 5.4vw, 62px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 22px;
}
.case-hero-text .lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 28px;
}
.case-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-hero-img {
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.case-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .case-hero-grid { grid-template-columns: 1fr; }
  .case-hero-text { padding: 48px 24px; }
  .case-hero-img { aspect-ratio: 16 / 10; order: -1; }
}

/* Quick-facts strip, sits flush below the hero, white background,
   thin divider on each side of every cell. */
.case-facts {
  background: var(--brand-white);
  border-bottom: 1px solid var(--brand-grey-light);
}
.case-facts-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.case-facts-grid li {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 1px solid var(--brand-grey-light);
}
.case-facts-grid li:first-child { border-left: 0; }
.case-fact-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-grey);
}
.case-fact-val {
  font-size: 1rem;
  font-weight: 500;
  color: var(--brand-dark);
  text-decoration: none;
  line-height: 1.3;
}
a.case-fact-val:hover { color: var(--brand-orange); }
@media (max-width: 900px) {
  .case-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .case-facts-grid li { border-left: 0; border-top: 1px solid var(--brand-grey-light); }
  .case-facts-grid li:nth-child(odd) { border-right: 1px solid var(--brand-grey-light); }
  .case-facts-grid li:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 540px) {
  .case-facts-grid { grid-template-columns: 1fr; }
  .case-facts-grid li:nth-child(odd) { border-right: 0; }
  .case-facts-grid li { border-top: 1px solid var(--brand-grey-light); }
  .case-facts-grid li:first-child { border-top: 0; }
}

/* Choices section, uses the existing about-grid pattern; we just tweak
   the headings to match the rest of the case page. */
.case-choices.about-grid { grid-template-columns: repeat(2, 1fr); }
.case-choices .about-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
@media (max-width: 800px) {
  .case-choices.about-grid { grid-template-columns: 1fr; }
}

/* Photos: 3-up gallery. Each photo gets a label eyebrow as a caption. */
.case-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case-photo-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand-bg);
}
.case-photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-photo figcaption { line-height: 1; }
.case-photo-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-orange);
}
@media (max-width: 900px) {
  .case-photos { grid-template-columns: 1fr; }
}

/* Customer quote, centred block with a large orange opening quote mark. */
.case-quote-section { background: var(--brand-bg); }
.case-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.case-quote-mark {
  color: var(--brand-orange);
  margin: 0 auto 18px;
  display: block;
  opacity: 0.85;
}
.case-quote p {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.45;
  color: var(--brand-dark);
  font-weight: 400;
  font-style: italic;
  margin: 0 0 24px;
}
.case-quote cite {
  display: inline-block;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-grey);
}

/* Related case studies on the detail page use the standard recent-grid with
   just 2 cards. Reduce the auto-row so they sit at sensible height. */
.case-related.recent-grid { grid-auto-rows: 380px; }
@media (max-width: 700px) {
  .case-related.recent-grid { grid-auto-rows: 380px; }
}

/* === TESTIMONIALS === */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--brand-grey-light);
  border: 1px solid var(--brand-grey-light);
}
.testimonial {
  background: var(--brand-white);
  padding: 28px 26px;
}
.testimonial .stars { color: var(--brand-orange); font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial blockquote { margin: 0 0 16px; font-size: 0.95rem; line-height: 1.55; color: var(--brand-dark); }
.testimonial cite { font-style: normal; font-weight: 600; font-size: 0.88rem; }
.testimonial small { display: block; color: var(--brand-grey); font-size: 0.82rem; }

/* === TEAM === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.team-card {
  overflow: hidden;
  background: var(--brand-dark-2);
  position: relative;
  aspect-ratio: 3/4;
}
.team-card img { width: 100%; height: 100%; object-fit: cover; }
.team-card .overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(15,15,18,0.95), transparent);
  color: var(--brand-white);
}
.team-card .overlay h4 { color: var(--brand-white); margin: 0; font-size: 1rem; }
.team-card .overlay small { color: rgba(255,255,255,0.7); font-size: 0.82rem; }

/* === CONTACT / CTA SECTION, orange background, two-column layout === */
.contact-section {
  background: var(--brand-orange);
  color: var(--brand-white);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/grid-bg-dark.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}
.contact-section > * { position: relative; z-index: 1; }
.contact-section .eyebrow { color: var(--brand-white); opacity: 0.85; }
.contact-h {
  color: var(--brand-white);
  font-size: clamp(2rem, 5.4vw, 58px);
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 28px;
}

.contact-cta {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-cta { grid-template-columns: 1fr; gap: 40px; }
}

.contact-left { display: flex; flex-direction: column; text-align: right; align-items: flex-end; }
.contact-left .eyebrow { align-self: flex-end; }
@media (max-width: 900px) {
  .contact-left { text-align: left; align-items: flex-start; }
  .contact-left .eyebrow { align-self: flex-start; }
}

/* Right-aligned "Contact" list under the heading */
.contact-socials {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}
.contact-socials-label {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.contact-socials a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-white);
  text-decoration: none;
  transition: opacity 0.15s;
}
.contact-socials a:hover { opacity: 0.75; }
@media (max-width: 900px) {
  .contact-socials { align-items: flex-start; text-align: left; }
}

/* Form card, white-ish with subtle borders and tight spacing like the reference */
.contact-section .contact-form {
  background: transparent;
  padding: 0;
  color: var(--brand-dark);
  border: 0;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.contact-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) {
  .contact-form .row-2 { grid-template-columns: 1fr; }
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: var(--brand-white);
  letter-spacing: 0;
  text-transform: none;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--brand-white);
  transition: border-color 0.15s, box-shadow 0.15s;
  color: var(--brand-dark);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(15,15,18,0.4); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 3px rgba(15,15,18,0.08);
}
.contact-form textarea { min-height: 160px; resize: vertical; }

/* Action row: Submit + secondary button side by side */
.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}
.contact-actions .btn {
  margin: 0;
  width: 100%;
  text-align: center;
  justify-content: center;
}
@media (max-width: 540px) {
  .contact-actions { grid-template-columns: 1fr; }
}
.contact-form .privacy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-top: 8px;
  text-align: center;
}

/* Pale button used as the secondary action in the form */
.btn-pale {
  background: rgba(255,255,255,0.92);
  color: var(--brand-dark);
  border-color: rgba(255,255,255,0.92);
}
.btn-pale:hover { background: var(--brand-white); border-color: var(--brand-white); color: var(--brand-dark); }

.form-success {
  padding: 32px;
  background: var(--brand-white);
  border: 1.5px solid var(--brand-white);
  color: var(--brand-dark);
}
.form-success h3 { color: var(--brand-orange); margin-bottom: 8px; }
.form-success a { color: var(--brand-orange); }

/* === CONTACT PAGE, square edges, homepage typography === */
.contact-page-top {
  background: var(--brand-dark);
  color: var(--brand-white);
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-page-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-page-intro h1 {
  color: var(--brand-white);
  font-size: clamp(2.4rem, 6.4vw, 62px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.contact-page-intro .lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 36px;
}
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--brand-white);
}
.contact-info li a { color: var(--brand-white); text-decoration: none; }
.contact-info li a:hover { color: var(--brand-orange); }
.contact-info-ico {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(244,121,32,0.15);
  color: var(--brand-orange);
  flex-shrink: 0;
}

/* Quote-page "no chase" reassurance, sits below the contact-info list,
   slightly muted with an orange left bar so it reads as a separate aside
   without competing with the form on the right. */
.quote-no-chase {
  margin-top: 32px;
  padding: 18px 22px;
  border-left: 3px solid var(--brand-orange);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 460px;
}

/* Honeypot field, fully hidden from humans and screen-readers alike. */
.bgc-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Form status banner rendered above the form after ?sent=1 / ?error=... */
.form-status {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.45;
  border: 1px solid transparent;
  max-width: 100%;
}
.form-status-sent { background: #EDF7ED; border-color: #C8E6C9; color: #1B5E20; }
.form-status-error { background: #FEF1F1; border-color: #F5C6CB; color: #7A1F26; }

/* The right-column form card, white with subtle border, square edges */
.contact-card-form {
  background: var(--brand-white);
  border: 1px solid var(--brand-grey-light);
  padding: 36px;
  box-shadow: 0 10px 30px rgba(15,15,18,0.04);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.contact-card-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) {
  .contact-card-form { padding: 24px; }
  .contact-card-form .row-2 { grid-template-columns: 1fr; }
}
.contact-card-title {
  color: var(--brand-dark);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 4px;
}
.contact-card-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 8px;
  display: block;
  text-transform: none;
  letter-spacing: 0;
}
.contact-card-form input,
.contact-card-form textarea,
.contact-card-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--brand-grey-light);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--brand-white);
  color: var(--brand-dark);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-card-form input::placeholder,
.contact-card-form textarea::placeholder { color: rgba(15,15,18,0.35); }
.contact-card-form input:focus,
.contact-card-form textarea:focus,
.contact-card-form select:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(244,121,32,0.12);
}
.contact-card-form textarea { min-height: 110px; resize: vertical; }
/* Phone with country-code prefix */
.phone-group {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
}
.phone-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 8px;
  border: 1px solid var(--brand-grey-light);
  background: var(--brand-bg);
  font-size: 0.95rem;
  color: var(--brand-grey);
}
.btn-block { width: 100%; justify-content: center; }
.contact-card-form .privacy {
  font-size: 0.82rem;
  color: var(--brand-grey);
  text-align: center;
  margin-top: 12px;
}
.contact-card-form .privacy a { color: var(--brand-grey); text-decoration: underline; }
.contact-card-form .privacy a:hover { color: var(--brand-orange); }

/* === LOCATION SECTION === */
.contact-location { background: var(--brand-white); }
.contact-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .contact-location-grid { grid-template-columns: 1fr; gap: 32px; }
}
.contact-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--brand-grey-light);
  aspect-ratio: 4 / 3;
  background: var(--brand-bg);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-map-card {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--brand-white);
  border: 1px solid var(--brand-grey-light);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(15,15,18,0.08);
  max-width: calc(100% - 48px);
}
.contact-map-card-logo {
  width: 32px; height: 32px;
  background: var(--brand-orange);
  color: var(--brand-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-map-card > div:last-child {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 0.82rem; color: var(--brand-grey);
}
.contact-map-card strong { color: var(--brand-dark); font-size: 0.92rem; }
.contact-location-text h2 {
  font-size: clamp(2rem, 5.4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.contact-location-text p {
  font-size: 1rem;
  color: var(--brand-grey);
  line-height: 1.6;
  margin-bottom: 28px;
}
.contact-address-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--brand-white);
  border: 1px solid var(--brand-grey-light);
}
.contact-address-ico {
  width: 40px; height: 40px;
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-address-card > div:last-child {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 0.92rem; color: var(--brand-grey);
}
.contact-address-card strong {
  color: var(--brand-dark);
  font-size: 1rem;
  margin-bottom: 4px;
}

/* Full-width map strip directly under the contact hero. Edge-to-edge,
   no container, fluid height between 360-560px. */
.contact-location-map {
  position: relative;
  width: 100%;
  height: clamp(360px, 50vw, 560px);
  overflow: hidden;
  background: var(--brand-grey-light);
}
.contact-location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* === HELP CARDS GRID === */
.contact-help-head { max-width: 720px; margin-bottom: 48px; }
.contact-help-head h2 {
  font-size: clamp(2rem, 5.4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.contact-help-head p {
  font-size: 1rem;
  color: var(--brand-grey);
  line-height: 1.6;
}
.contact-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .contact-help-grid { grid-template-columns: 1fr; gap: 16px; }
}
.help-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-grey-light);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.help-card:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 8px 24px rgba(15,15,18,0.06);
  transform: translateY(-2px);
}
.help-card-ico {
  width: 44px; height: 44px;
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244,121,32,0.18);
}
.help-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 4px 0 0;
}
.help-card p {
  font-size: 0.92rem;
  color: var(--brand-grey);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.help-card .btn {
  align-self: flex-start;
  padding: 10px 18px;
  font-size: 0.88rem;
  margin-top: 4px;
}

/* === FOOTER === */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 24px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/grid-bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: lighten;
}
.site-footer > * { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid h5 {
  color: var(--brand-white);
  font-size: 0.78rem;
  margin: 0 0 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.footer-grid a:hover { color: var(--brand-orange); }
.footer-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; }

/* === SOCIAL ICONS ====================================================== */
/* Circular icon buttons used in the footer and on the contact page.
   Default colors fit the dark footer; .social-icons-contact below tunes
   contrast for the light contact-hero background. */
.social-icons {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-icons li { margin: 0; }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.78);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social-icon:hover,
.social-icon:focus-visible {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: var(--brand-white);
  transform: translateY(-1px);
}
.social-icon svg { display: block; }

/* Variant: contact page hero - sits on a dark hero too but pairs with a
   "Follow us" label, slightly larger icons. */
.contact-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.contact-social-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.social-icons-contact { margin-top: 0; }
.social-icons-contact .social-icon {
  width: 40px;
  height: 40px;
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem; flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.55); margin-left: 16px; }
.footer-bottom a:hover { color: var(--brand-orange); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* === BREADCRUMBS === */
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--brand-white);
  padding: 18px 0;
  background: var(--brand-dark);
  border-bottom: 1px solid var(--brand-dark-2);
}
.breadcrumbs a { color: var(--brand-white); }
.breadcrumbs a:hover { color: var(--brand-orange); }
.breadcrumbs .sep { margin: 0 8px; color: rgba(255,255,255,0.4); }
.breadcrumbs .current { color: var(--brand-orange); }

/* === SERVICE PAGE HERO === */
.service-hero {
  background: var(--brand-dark);
  color: var(--brand-white);
  padding: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/grid-bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: lighten;
}
.service-hero > * { position: relative; z-index: 1; }
/* Two-column edge-to-edge grid: text column has internal padding so it
   aligns with .container; image column extends all the way to the
   viewport edge, same pattern as the homepage hero. */
.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  /* min-height sets the floor, short copy heroes still feel substantial.
     The text column then drives the actual height when copy is longer,
     so nothing is clipped. The image is absolute-positioned (see below)
     so a portrait JPG can never balloon the column. */
  min-height: clamp(540px, 56vw, 680px);
}
.service-hero-text {
  padding-left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  padding-right: clamp(24px, 4vw, 56px);
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(48px, 7vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Left-column content rhythm, matches the homepage hero */
.service-hero .eyebrow { margin-bottom: 18px; }
.service-hero h1 {
  color: var(--brand-white);
  font-size: clamp(2.4rem, 6.4vw, 62px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 500;
  margin-bottom: 22px;
}
.service-hero .lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 28px;
}
.service-hero .hero-cta { margin-bottom: 0; }
.service-hero-img {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  background: var(--brand-dark-2);
}
/* Absolute-position the photo so its intrinsic dimensions never push the
   grid taller than the .service-hero-grid `height` set above. Without this,
   a portrait photo (e.g. 1200x1600) would force the column to ~960px tall. */
.service-hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
    height: auto;          /* release the desktop fixed height */
    min-height: 0;
  }
  .service-hero-text { padding: 48px 24px; }
  .service-hero-img { aspect-ratio: 4/3; max-height: 420px; }
  /* Re-anchor the image (was absolutely-positioned for desktop overflow
     control) so it lays out normally in the mobile stacked column. */
  .service-hero-img img { position: relative; inset: auto; }
}

/* === PROSE === */
.prose {
  max-width: 880px;
  margin: 0 auto;
}
/* Inline stats block, used inside .prose where a section has two paired
   metrics (e.g. "How much heat and noise it saves" on secondary glazing).
   Renders the prose as a 2-up card grid with a big highlight number and
   a supporting paragraph. Breaks out of .prose reading-width so the cards
   span the full .container width. */
.prose .prose-stats {
  margin: 56px 0;
  width: 100%;
  max-width: none;
}
.prose-stats-head {
  margin: 0 0 28px;
}
.prose-stats-head .eyebrow {
  display: inline-block;
  color: var(--brand-orange);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
.prose-stats-head h2 {
  /* Override the default top margin so it sits flush with the eyebrow
     above; size matches every other section h2 on the page. */
  margin: 0 !important;
  font-size: clamp(2rem, 5.4vw, 58px) !important;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--brand-dark);
}
.prose-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.prose-stat-card {
  background: var(--brand-bg);
  border: 1px solid var(--brand-grey-light);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.prose-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-orange);
}
.prose-stat-big {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
}
.prose-stat-unit {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--brand-grey);
  letter-spacing: 0.02em;
  margin-left: 4px;
}
.prose-stat-card p {
  margin: 0 !important;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--brand-grey);
}
@media (max-width: 700px) {
  .prose-stats-grid { grid-template-columns: 1fr; }
  .prose-stat-card { padding: 26px 24px; }
}

/* Left-aligned prose variant, sits flush with the .container content edge
   rather than being centred. Used on the legal pages so the body content
   lines up with the hero / page-header h1 above it instead of floating in
   the middle of the column. Keeps the reading-width cap for legibility. */
.prose-flush {
  margin-left: 0;
  margin-right: 0;
}
.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: stretch;
}
.prose-grid > aside { height: 100%; }
.prose-grid .prose { max-width: none; }
.prose h2 {
  margin-top: 2.4em;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-size: 1.1rem; }
.prose p, .prose li { font-size: 0.98rem; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose ul li { margin-bottom: 8px; }

/* Service-page prose: less article-style, more landing-page feel.
   In-prose h2 elements share the same size as section-head h2s elsewhere
   on the page (58px desktop, fluid down on mobile) so every h2 on a
   service page renders consistently. */
.service-prose .prose-grid { align-items: stretch; }
.service-prose .prose { max-width: none; }
.service-prose .prose h2 {
  margin-top: 64px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 5.4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--brand-dark);
}
.service-prose .prose h2:first-child { margin-top: 0; }
.service-prose .prose h3 { font-size: 1rem; font-weight: 600; }
.service-prose .prose p { font-size: 0.96rem; line-height: 1.65; color: var(--brand-grey); }
.service-prose .prose p strong { color: var(--brand-dark); }
.service-prose .prose ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 10px;
}
.service-prose .prose ul li {
  position: relative;
  padding: 0 0 0 24px;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--brand-grey);
}
.service-prose .prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--brand-orange);
}
.service-prose .prose ul li strong { color: var(--brand-dark); }
/* No fancy underline-grow effect on service prose links */
.service-prose .prose a { background-image: none; }
.prose .step-list { list-style: none; padding: 0; counter-reset: step; }
.prose .step-list li {
  counter-increment: step;
  padding-left: 56px;
  position: relative;
  margin-bottom: 22px;
}
.prose .step-list li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px;
  background: var(--brand-orange);
  color: var(--brand-white);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.prose blockquote {
  border-left: 3px solid var(--brand-orange);
  padding: 12px 22px;
  margin: 24px 0;
  background: var(--brand-bg);
  font-style: italic;
}

.aside-card {
  background: var(--brand-bg);
  border: 1px solid var(--brand-grey-light);
  padding: 28px;
  position: sticky;
  top: 96px;
  align-self: start;
}

/* === PRICING BANNER (sleek inline strip below the service hero) === */
.pricing-banner {
  background: var(--brand-white);
  border-top: 1px solid var(--brand-grey-light);
  border-bottom: 1px solid var(--brand-grey-light);
  padding: 0;
}
.pricing-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 36px;
  padding: 18px 0;
  background: transparent;
  color: var(--brand-dark);
}
.pricing-banner-inner::before { display: none; } /* drop the grid SVG overlay */

/* Price block, small caps label stacked above the orange price */
.pricing-banner-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.pricing-banner-price .eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-grey);
  opacity: 1;
  display: block;
}
.pricing-banner-price .price {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-orange);
  line-height: 1;
}
.pricing-banner-price .note { display: none; }

/* Meta list, left-aligned, 2 columns × 2 rows */
.pricing-banner-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 0;
  row-gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--brand-grey);
  justify-self: start;
}
.pricing-banner-list li {
  position: relative;
  padding: 0 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.pricing-banner-list li::before { display: none; }
.pricing-banner-list li strong {
  display: inline;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0;
}
/* Vertical divider only after items in the left column (odd-indexed) */
.pricing-banner-list li:nth-child(odd)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  width: 1px;
  background: var(--brand-grey-light);
}
/* Items in the left column hug the left edge */
.pricing-banner-list li:nth-child(odd) { padding-left: 0; }

/* Compact CTA on the right */
.pricing-banner-cta {
  margin-left: auto;
  background: var(--brand-orange);
  color: var(--brand-white);
  border-color: var(--brand-orange);
  padding: 10px 20px !important;
  font-size: 0.88rem !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pricing-banner-cta:hover {
  background: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
}

@media (max-width: 1100px) {
  .pricing-banner-list { gap: 4px 0; }
}
@media (max-width: 800px) {
  .pricing-banner-inner { gap: 12px 24px; padding: 16px 0; }
  .pricing-banner-list li { padding: 0 14px; white-space: normal; }
  .pricing-banner-cta { margin-left: 0; width: 100%; }
}

/* === PRICING GUIDE (in-prose section), 3 boxes + footer row === */
/* Heading sized to match the homepage section-head h2 / "How the job runs" */
.service-prose .prose h2.pricing-guide-heading,
.prose h2.pricing-guide-heading {
  font-size: clamp(2rem, 5.4vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 500;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}
.pricing-guide {
  margin: 2em 0;
}
.pricing-guide-intro {
  font-size: 0.96rem;
  color: var(--brand-grey);
  margin: 0 0 20px;
}
.pricing-guide-grid {
  display: grid;
  /* Auto-fit handles 3, 4 or more boxes, each tier needs at least 220px */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  background: transparent;
  border: 0;
}
/* Each tier is a self-contained square card with an orange ribbon at the top */
.pricing-guide-tier {
  display: flex;
  flex-direction: column;
  background: var(--brand-white);
  border: 1px solid var(--brand-grey-light);
  overflow: hidden;
  min-height: 320px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pricing-guide-tier:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 8px 24px rgba(15,15,18,0.06);
}
/* Orange top ribbon, full-width inside the card */
.pricing-guide-banner {
  background: var(--brand-orange);
  color: var(--brand-white);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 14px;
}
.pricing-guide-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 26px;
}
.pricing-guide-tier h4 {
  font-size: clamp(1.5rem, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--brand-dark);
}
.pricing-guide-tier p {
  font-size: 0.92rem;
  color: var(--brand-grey);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.pricing-guide-value {
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}
.pricing-guide-price {
  display: inline-block;
  font-size: clamp(2.2rem, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--brand-dark);
}
.pricing-guide-foot-note {
  display: block;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--brand-grey);
  letter-spacing: 0;
}
@media (max-width: 800px) {
  .pricing-guide-grid { grid-template-columns: 1fr; gap: 12px; }
  .pricing-guide-tier { min-height: 0; }
}
.pricing-guide-foot {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 24px 28px;
  background: var(--brand-dark);
  color: var(--brand-white);
}
.pricing-guide-foot-bullet {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-orange);
  margin-bottom: 4px;
}
.pricing-guide-foot p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}
@media (max-width: 800px) {
  .pricing-guide-grid { grid-template-columns: 1fr; gap: 12px; }
  .pricing-guide-tier { min-height: 0; }
  .pricing-guide-foot { padding: 20px; }
}

/* === SYSTEMS GRID (Systems we install) === */
/* Self-contained vertical padding so the section visually matches the
   adjacent statement-section / image-banner sections that wrap it. */
.systems-section {
  margin: 0;
  padding: var(--section-py) 0;
}
/* When the systems-section is the first/last child of the prose body, the
   parent service-prose section padding becomes redundant, drop it so the
   systems-section's own padding controls the spacing. */
.service-prose:has(.prose > .systems-section:first-child) { padding-top: 0; }
.service-prose:has(.prose > .systems-section:last-child) { padding-bottom: 0; }
.systems-section .systems-heading {
  text-align: center;
  margin: 0 0 32px;
}
.systems-section .systems-heading .eyebrow {
  text-align: center;
  display: block;
  margin: 0 auto 12px;
}
/* Match the homepage section-head h2 / "How the job runs" sizing */
.systems-section .systems-heading h2,
.service-prose .prose .systems-section .systems-heading h2,
.prose .systems-section .systems-heading h2 {
  font-size: clamp(2rem, 5.4vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 500;
  margin: 0;
}
.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--brand-grey-light);
}
.systems-tile {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-right: 1px solid var(--brand-grey-light);
  border-bottom: 1px solid var(--brand-grey-light);
  background: var(--brand-white);
}
/* Remove right border on last column (every 2nd) */
.systems-tile:nth-child(2n) { border-right: 0; }
/* Remove bottom border on last row tiles */
.systems-tile.is-last-row { border-bottom: 0; }
.systems-tile-ico {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.systems-tile-ico svg { width: 20px; height: 20px; display: block; }
.systems-tile-text { min-width: 0; }
.systems-tile-text h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
}
.systems-tile-text p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--brand-grey);
  line-height: 1.55;
}
/* Orange CTA variant, fills the last cell of the grid */
.systems-tile.systems-tile-cta {
  background: var(--brand-orange);
  color: var(--brand-white);
  text-decoration: none;
  transition: background 0.15s;
}
/* When the CTA tile is the only item on the final row (because the item
   count is odd), span the full grid width instead of leaving a blank
   second cell. nth-child(odd):last-child uniquely identifies the orphan. */
.systems-grid > .systems-tile-cta:nth-child(odd):last-child {
  grid-column: 1 / -1;
  border-right: 0;
}
.systems-tile.systems-tile-cta:hover {
  background: var(--brand-orange-dark);
}
.systems-tile.systems-tile-cta .systems-tile-ico {
  background: rgba(255,255,255,0.18);
  color: var(--brand-white);
}
.systems-tile.systems-tile-cta .systems-tile-text h4 { color: var(--brand-white); }
.systems-tile.systems-tile-cta .systems-tile-text p { color: rgba(255,255,255,0.92); }
.systems-tile-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand-white);
}
@media (max-width: 700px) {
  .systems-grid { grid-template-columns: 1fr; }
  .systems-tile { border-right: 0; }
  .systems-tile:last-child { border-bottom: 0; }
}
.aside-card h4 { font-size: 1rem; margin: 0 0 6px; }
.aside-card p { font-size: 0.9rem; color: var(--brand-grey); margin-bottom: 16px; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card ul li { padding: 10px 0; border-bottom: 1px solid var(--brand-grey-light); font-size: 0.88rem; }
.aside-card ul li:last-child { border-bottom: 0; }
.aside-card .price { font-size: 1.4rem; font-weight: 700; color: var(--brand-dark); display: block; margin-bottom: 4px; }
.aside-card .price small { font-weight: 400; color: var(--brand-grey); font-size: 0.85rem; }

@media (max-width: 1000px) {
  .prose-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

/* === FAQ ACCORDION === */
.faq {
  border: 1px solid var(--brand-grey-light);
  background: var(--brand-white);
}
.faq-item { border-bottom: 1px solid var(--brand-grey-light); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 22px 56px 22px 26px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  color: var(--brand-dark);
}
.faq-q::after {
  content: '+';
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--brand-orange);
  font-weight: 400;
  line-height: 1;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  padding: 0 26px 22px;
  display: none;
  color: var(--brand-grey);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* === GALLERY === */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery .g {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--brand-grey-light);
}
.gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery .g:hover img { transform: scale(1.04); }

/* === CTA STRIPE, orange panel with left text + concentric diamonds right === */
.cta-stripe {
  background: var(--brand-orange);
  color: var(--brand-white);
  padding: clamp(48px, 6vw, 96px) 0;
  text-align: left;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cta-stripe-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  min-height: 320px;
}
.cta-stripe-text {
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.cta-stripe-text h2 {
  color: var(--brand-white);
  font-size: clamp(2rem, 5.4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
}
.cta-stripe-text p {
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 520px;
  margin: 0 0 32px;
}
.cta-stripe-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Square-edged pill buttons */
.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  background: var(--brand-dark);
  color: var(--brand-white);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid var(--brand-dark);
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.2s;
}
.cta-pill:hover {
  background: var(--brand-dark-2);
  border-color: var(--brand-dark-2);
  transform: translateY(-1px);
}
/* White secondary variant */
.cta-pill.cta-pill-light {
  background: var(--brand-white);
  color: var(--brand-dark);
  border-color: var(--brand-white);
}
.cta-pill.cta-pill-light:hover {
  background: var(--brand-orange-light);
  border-color: var(--brand-orange-light);
  color: var(--brand-dark);
}

/* Right-side decoration, concentric diamonds. Shifted off-screen so only
   the LEFT half of the outermost shape sits inside the panel: the right
   offset is exactly negative-half-the-width, putting the centre on the
   panel's right edge. */
.cta-stripe-deco {
  --deco-size: clamp(420px, 50vw, 720px);
  position: absolute;
  width: var(--deco-size);
  height: var(--deco-size);
  right: calc(var(--deco-size) / -2);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.cta-diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.cta-diamond-1 {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.10);
}
.cta-diamond-2 {
  width: 70%;
  height: 70%;
  background: rgba(255,255,255,0.16);
}
.cta-diamond-3 {
  width: 42%;
  height: 42%;
  background: rgba(255,255,255,0.24);
}
.cta-diamond-4 {
  width: 18%;
  height: 18%;
  background: rgba(255,255,255,0.42);
}

@media (max-width: 800px) {
  .cta-stripe-inner { grid-template-columns: 1fr; min-height: 0; }
  .cta-stripe-deco { --deco-size: 320px; opacity: 0.6; }
}
@media (max-width: 540px) {
  .cta-stripe-buttons { flex-direction: column; align-items: stretch; }
}

/* === REVIEWS BLOCK === */
.reviews-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.reviews-meta .score {
  font-size: 1.8rem; font-weight: 800;
}
.reviews-meta .stars { color: var(--brand-orange); font-size: 1.05rem; letter-spacing: 2px; }
.reviews-meta .count { color: var(--brand-grey); font-size: 0.9rem; }

/* === MOBILE STICKY CTA BAR ===
   The generic Call / Get-a-quote bar is mobile-only. On desktop the header
   already has a prominent "Get a quote" button so a duplicate at the foot
   of the viewport adds clutter. On service pages, .service-sticky shows on
   every viewport and replaces this bar (see body.has-service-sticky). */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--brand-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 10px;
  z-index: 40;
  gap: 8px;
  justify-content: center;
  transform: translateY(110%);
  transition: transform 0.35s ease;
  pointer-events: none;
}
.sticky-cta.is-visible { transform: translateY(0); pointer-events: auto; }
.sticky-cta .btn { flex: 1; padding: 11px 16px; }
body { padding-bottom: 0; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  body.sticky-cta-visible { padding-bottom: 76px; }
}

/* === SERVICE PAGE STICKY CTA BAR ===
   Visible on every service detail page across desktop AND mobile, but only
   after the visitor has scrolled past the hero (~280px). Replaces the
   legacy `.pricing-sticky` bar; carries no price, just the service name +
   a "Get a written quote" CTA so we never publish a figure we cannot
   guarantee. Pairs with .has-service-sticky on <body> which suppresses the
   generic bottom sticky-cta to avoid two bars stacking. */
.service-sticky {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--brand-dark);
  color: var(--brand-white);
  border-top: 3px solid var(--brand-orange);
  z-index: 41;
  box-shadow: 0 -8px 24px rgba(15,15,18,0.18);
  transform: translateY(110%);
  transition: transform 0.35s ease;
  pointer-events: none;
}
.service-sticky.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.service-sticky-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.service-sticky-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.service-sticky-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-white);
  letter-spacing: -0.01em;
}
.service-sticky-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}
.service-sticky-cta {
  flex-shrink: 0;
  padding: 12px 22px;
  font-size: 0.92rem;
}
body.has-service-sticky .sticky-cta { display: none !important; }
body.has-service-sticky.service-sticky-visible { padding-bottom: 76px; }
@media (max-width: 600px) {
  .service-sticky-inner { padding: 10px 16px; gap: 12px; }
  .service-sticky-label { font-size: 0.92rem; }
  .service-sticky-sub { display: none; }
  .service-sticky-cta { padding: 10px 14px; font-size: 0.85rem; }
}

/* === LOCATION PAGE, same edge-to-edge hero pattern as service pages,
   on a dark background to match the rest of the site's hero treatment. */
.location-hero {
  background: var(--brand-dark);
  color: var(--brand-white);
  padding: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.location-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/grid-bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: lighten;
}
.location-hero > * { position: relative; z-index: 1; }
.location-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: clamp(440px, 60vw, 620px);
}
.location-hero-text {
  padding-left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  padding-right: clamp(24px, 4vw, 56px);
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(48px, 7vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location-hero .eyebrow { margin-bottom: 18px; color: var(--brand-orange); }
.location-hero h1 {
  color: var(--brand-white);
  font-size: clamp(2.4rem, 6.4vw, 62px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 500;
  margin-bottom: 22px;
}
.location-hero .lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.location-hero .hero-cta { margin-bottom: 0; }
/* Outline-light on the dark hero, replacing the white-bg secondary */
.location-hero .btn-secondary {
  background: transparent;
  color: var(--brand-white);
  border-color: rgba(255,255,255,0.6);
}
.location-hero .btn-secondary:hover {
  background: var(--brand-white);
  color: var(--brand-dark);
  border-color: var(--brand-white);
}
.location-hero-img {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  background: var(--brand-dark-2);
  min-height: 100%;
}
.location-hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .location-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .location-hero-text { padding: 48px 24px; }
  .location-hero-img { aspect-ratio: 4/3; max-height: 420px; min-height: 0; }
  .location-hero-img img { position: absolute; }
}

/* === ABOUT PAGE, dark hero with image left (full-bleed top/bottom/left),
   text + stats on the right with container-aligned padding. === */
.about-hero {
  background: var(--brand-dark);
  color: var(--brand-white);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: clamp(540px, 62vw, 720px);
}
.about-hero-img {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  background: var(--brand-dark-2);
}
.about-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(28px, 4vw, 64px);
  padding-right: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.about-hero-text .eyebrow {
  color: var(--brand-white);
  opacity: 0.85;
  margin-bottom: 26px;
}
.about-hero-text h1 {
  color: var(--brand-white);
  font-size: clamp(2.4rem, 6.4vw, 62px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 22px;
  max-width: 620px;
}
.about-hero-text > p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 520px;
}
.about-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 12px 26px;
  background: var(--brand-white);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1.5px solid var(--brand-white);
  margin-bottom: 56px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.about-hero-cta:hover {
  background: var(--brand-orange);
  color: var(--brand-white);
  border-color: var(--brand-orange);
  transform: translateY(-1px);
}
.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 28px;
}
.about-hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-hero-stats .num {
  font-size: clamp(1.5rem, 3vw, 32px);
  font-weight: 500;
  color: var(--brand-white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.about-hero-stats .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
@media (max-width: 900px) {
  .about-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .about-hero-img { aspect-ratio: 4/3; max-height: 420px; }
  .about-hero-text { padding: 48px 24px; }
}

/* === Why choose us, head + 2x2 grid of expandable cards === */
.why-choose-head {
  max-width: 760px;
  margin: 0 0 40px;
}
.why-choose-head h2 {
  font-size: clamp(2rem, 5.4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 8px 0 14px;
}
.why-choose-head p {
  font-size: 1rem;
  color: var(--brand-grey);
  line-height: 1.6;
  margin: 0;
}
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  /* Don't stretch row siblings to match, each card sizes to its own content
     so opening one doesn't push its row-mate's height up. */
  align-items: start;
}
.why-item {
  background: var(--brand-white);
  border: 1px solid var(--brand-grey-light);
  overflow: hidden;
}
.why-q {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr 44px;
  align-items: center;
  gap: 18px;
  padding: 22px 18px 22px 22px;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-dark);
  cursor: pointer;
  text-align: left;
}
.why-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--brand-dark);
}
.why-title {
  text-align: left;
}
.why-plus {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--brand-dark);
  color: var(--brand-white);
  transition: background 0.15s ease, transform 0.25s ease;
  justify-self: end;
}
.why-plus svg { display: block; }
.why-item:hover .why-plus { background: var(--brand-orange); }
.why-item.open .why-plus { background: var(--brand-orange); transform: rotate(45deg); }
.why-a {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 22px;
  font-size: 0.95rem;
  color: var(--brand-grey);
  line-height: 1.65;
  transition: max-height 0.4s ease, opacity 0.25s ease, padding-bottom 0.25s ease;
}
.why-item.open .why-a {
  max-height: 1500px;
  opacity: 1;
  padding-bottom: 22px;
}
.why-a > p { margin: 0 0 12px; }
.why-a > p:last-child { margin-bottom: 0; }
.why-a .about-list { margin: 4px 0 16px; }
.why-a .about-list li {
  padding: 6px 0 6px 22px;
  font-size: 0.92rem;
  color: var(--brand-dark);
}
.why-a .about-list li::before { top: 14px; }
@media (max-width: 700px) {
  .why-choose-grid { grid-template-columns: 1fr; }
}

/* === Our story, image left, text right with sub-blocks === */
.our-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.our-story-img {
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--brand-bg);
}
.our-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.our-story-img:hover img { transform: scale(1.03); }
.our-story-text { padding-top: 0; }
.our-story-text > .eyebrow { margin-bottom: 14px; color: var(--brand-grey); }
.our-story-text h2 {
  font-size: clamp(2rem, 5.4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 20px;
}
.our-story-text > p {
  font-size: 1rem;
  color: var(--brand-grey);
  line-height: 1.65;
  margin: 0 0 36px;
}
.story-sub {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--brand-grey-light);
}
.story-sub:last-child { border-bottom: 1px solid var(--brand-grey-light); }
.story-sub-ico {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-bg);
  color: var(--brand-dark);
  flex-shrink: 0;
}
.story-sub h4 {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-grey);
}
.story-sub p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--brand-dark);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .our-story-grid { grid-template-columns: 1fr; gap: 32px; }
  .our-story-img { aspect-ratio: 4/3; max-height: 360px; }
}

/* About-page card grid, 2x2 of "about" topic cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.about-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-grey-light);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.about-card:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 12px 28px rgba(15,15,18,0.06);
  transform: translateY(-3px);
}
.about-card .eyebrow { margin-bottom: 4px; }
.about-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--brand-dark);
}
.about-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--brand-grey);
  line-height: 1.65;
}
.about-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}
.about-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 0.95rem;
  color: var(--brand-dark);
  border-bottom: 1px solid var(--brand-grey-light);
}
.about-list li:last-child { border-bottom: 0; }
.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--brand-orange);
  transform: rotate(45deg);
}
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* "Areas around X / X-specific work", 2-col text + image inside the
   light-grey section that sits below the services carousel. */
.location-local-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.location-local-text h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5.4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.location-local-text h2:not(:first-child) { margin-top: 48px; }
.location-local-text p {
  font-size: 1rem;
  color: var(--brand-grey);
  line-height: 1.7;
  margin: 0;
}
.location-local-img {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--brand-bg);
}
.location-local-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.location-local-img:hover img { transform: scale(1.03); }
@media (max-width: 900px) {
  .location-local-grid { grid-template-columns: 1fr; gap: 32px; }
  .location-local-img { aspect-ratio: 16 / 10; max-height: 360px; }
}

/* === UTILS === */
.flex { display: flex; gap: 12px; flex-wrap: wrap; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.muted { color: var(--brand-grey); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--brand-orange-light);
  color: var(--brand-orange-dark);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

/* === SHOWROOM, "How to find us" (image-banner.spec-banner style with map) */
.find-us-section.image-banner {
  background: var(--brand-dark);
  color: var(--brand-white);
}
.find-us-section .image-banner-text {
  padding: clamp(40px, 6vw, 72px) 24px clamp(28px, 4vw, 48px);
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}
.find-us-section .image-banner-text .eyebrow { color: var(--brand-white); opacity: 0.85; }
.find-us-section .image-banner-text h2 {
  color: var(--brand-white);
  font-size: clamp(2rem, 5.4vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 500;
  max-width: 800px;
  margin: 0 0 16px;
}
.find-us-section .image-banner-text p {
  color: rgba(255,255,255,0.92);
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 12px;
}
.find-us-section .image-banner-text p:last-child { margin-bottom: 0; }
.find-us-section .image-banner-text .btn {
  margin-top: 24px;
}
.find-us-map-strip {
  position: relative;
  height: clamp(280px, 32vw, 420px);
  width: 100%;
}
.find-us-map-strip iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.05);
}

/* === SHOWROOM, "What you can see" grid =================================== */
.see-grid {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.see-grid > li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 24px;
  background: var(--brand-white);
  border: 1px solid #ECECEC;
  border-radius: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.see-grid > li:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 15, 18, 0.08);
  border-color: var(--brand-orange);
}
.see-grid .see-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-orange);
}
.see-grid .see-text {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--brand-dark);
}
@media (max-width: 700px) {
  .see-grid { grid-template-columns: 1fr; gap: 12px; }
  .see-grid > li { padding: 22px 20px; }
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--brand-grey-light);
  border: 1px solid var(--brand-grey-light);
}
.area-grid a {
  display: block;
  padding: 16px 18px;
  background: var(--brand-white);
  font-weight: 500;
  font-size: 0.92rem;
  transition: background 0.15s, color 0.15s;
}
.area-grid a:hover { background: var(--brand-bg); color: var(--brand-orange); }
.area-grid a.current { background: var(--brand-orange-light); color: var(--brand-orange-dark); cursor: default; }

/* Orange CTA cell, fills the last grid slot so the table reads as
   11 locations + 1 quote prompt with no empty gaps */
.area-grid .area-grid-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 18px;
  background: var(--brand-orange);
  color: var(--brand-white);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.area-grid .area-grid-cta:hover {
  background: var(--brand-orange-dark);
  color: var(--brand-white);
}

/* === ANIMATIONS === */
/* Smooth scroll for in-page anchors (e.g. footer → top) */
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: no-preference) {
  /* Hero text entrance, staggered fade + rise on first paint */
  .hero-text > *,
  .service-hero-text > *,
  .location-hero-text > * {
    opacity: 0;
    transform: translateY(16px);
    animation: heroIn 0.7s ease-out forwards;
  }
  .hero-text > *:nth-child(1),
  .service-hero-text > *:nth-child(1),
  .location-hero-text > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-text > *:nth-child(2),
  .service-hero-text > *:nth-child(2),
  .location-hero-text > *:nth-child(2) { animation-delay: 0.15s; }
  .hero-text > *:nth-child(3),
  .service-hero-text > *:nth-child(3),
  .location-hero-text > *:nth-child(3) { animation-delay: 0.25s; }
  .hero-text > *:nth-child(4),
  .service-hero-text > *:nth-child(4),
  .location-hero-text > *:nth-child(4) { animation-delay: 0.35s; }
  .hero-text > *:nth-child(5),
  .service-hero-text > *:nth-child(5),
  .location-hero-text > *:nth-child(5) { animation-delay: 0.45s; }

  /* Hero image, gentle fade and zoom-out on load */
  .hero-image img.active { animation: heroImg 1.2s ease-out; }
  .service-hero-img img,
  .location-hero-img img { animation: heroImg 1.2s ease-out; }

  /* Reveal-on-scroll utility, toggled by IntersectionObserver in JS */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* Stagger children inside a reveal-stagger container */
  .reveal-stagger.is-visible > * {
    animation: rise 0.6s ease-out backwards;
  }
  .reveal-stagger.is-visible > *:nth-child(1)  { animation-delay: 0.04s; }
  .reveal-stagger.is-visible > *:nth-child(2)  { animation-delay: 0.10s; }
  .reveal-stagger.is-visible > *:nth-child(3)  { animation-delay: 0.16s; }
  .reveal-stagger.is-visible > *:nth-child(4)  { animation-delay: 0.22s; }
  .reveal-stagger.is-visible > *:nth-child(5)  { animation-delay: 0.28s; }
  .reveal-stagger.is-visible > *:nth-child(6)  { animation-delay: 0.34s; }
  .reveal-stagger.is-visible > *:nth-child(7)  { animation-delay: 0.40s; }
  .reveal-stagger.is-visible > *:nth-child(8)  { animation-delay: 0.46s; }
  .reveal-stagger.is-visible > *:nth-child(n+9){ animation-delay: 0.52s; }

  /* Subtle button press + hover lift */
  .btn:active, .btn-header:active { transform: translateY(1px); }
  .btn { transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
  .btn-primary:hover, .btn-secondary:hover, .btn-dark:hover, .btn-outline-light:hover, .btn-pale:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15,15,18,0.10);
  }

  /* Underline grow on inline links inside prose */
  .prose a { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 0.3s ease; }
  .prose a:hover { background-size: 100% 1px; }

  /* Header gains a subtle shadow once the page is scrolled */
  .site-header { transition: box-shadow 0.3s ease; }
  .site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.25); }

  /* FAQ accordion, smooth open / close instead of instant display swap.
     Horizontal padding stays 26px in both states so the answer text always
     aligns with the question text above it. Only top/bottom padding flips
     between 0 (closed) and the open value. */
  .faq-a {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 26px 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding-top 0.25s ease, padding-bottom 0.25s ease;
  }
  .faq-item.open .faq-a {
    max-height: 1500px;
    opacity: 1;
    padding: 0 26px 22px;
  }
  .faq-q::after { transition: transform 0.25s ease, color 0.2s ease; }
  .faq-item.open .faq-q::after { transform: translateY(-50%) rotate(180deg); }

  /* Process step, gentle hover lift + number scale */
  .process-step { transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .process-step:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,15,18,0.06); }
  .process-step .num { transition: transform 0.2s ease, background 0.2s ease; }
  .process-step:hover .num { transform: scale(1.08); }

  /* Dark process tiles get a similar treatment */
  .dark-tile { transition: transform 0.2s ease, background 0.2s ease; }
  .dark-tile:hover { transform: translateY(-3px); }

  /* Pricing-guide tier card, already has hover via earlier rule, sharpen the timing */
  .pricing-guide-tier { transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
  .pricing-guide-tier:hover { transform: translateY(-2px); }

  /* Testimonial card hover */
  .testimonial { transition: transform 0.2s ease, box-shadow 0.2s ease; position: relative; }
  .testimonial:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,15,18,0.05); z-index: 1; }

  /* Image banner, gentle initial zoom-in on reveal */
  .image-banner-img { transition: transform 1.2s ease-out; transform: scale(1.04); }
  .image-banner.is-visible .image-banner-img,
  .image-banner-body .image-banner-img { transform: scale(1); }

  /* CTA stripe diamonds, perpetual gentle drift to add life */
  .cta-diamond { animation: diamondDrift 7s ease-in-out infinite; }
  .cta-diamond-2 { animation-delay: 0.5s; animation-duration: 8s; }
  .cta-diamond-3 { animation-delay: 1s;   animation-duration: 9s; }
  .cta-diamond-4 { animation-delay: 1.5s; animation-duration: 10s; }

  /* Sticky CTA bars now slide in via JS .is-visible only after the visitor
     has scrolled past the hero - no first-paint animation here. */

  /* Mega-menu items, subtle name shift on hover */
  .mega-item .mega-name { transition: color 0.15s ease, transform 0.15s ease; }
  .mega-item:hover .mega-name { transform: translateX(2px); }

  /* Help cards / contact-cards, already lift; ensure smooth transition */
  .help-card { transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }

  /* Carousel arrow buttons, subtle scale on hover */
  .carousel-btn { transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease; }
  .carousel-btn:not(:disabled):hover { transform: scale(1.08); }

  /* Eyebrow gets a tiny underline accent on focus inside an interactive parent */
  a:focus-visible, button:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 3px; }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroImg {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUpIn {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Concentric-diamond drift, only the centre offset moves, rotation stays
   locked at 45° so the shapes don't visibly tilt. */
@keyframes diamondDrift {
  0%, 100% { transform: translate(-50%, -50%) rotate(45deg); }
  50%      { transform: translate(-52%, -48%) rotate(45deg); }
}

/* Skip-to-content link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-orange);
  color: var(--brand-white);
  padding: 12px 18px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Process steps section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  background: var(--brand-grey-light);
  border: 1px solid var(--brand-grey-light);
}
.process-step {
  background: var(--brand-white);
  padding: 28px;
  position: relative;
}
.process-step .num {
  width: 36px; height: 36px;
  background: var(--brand-orange);
  color: var(--brand-white);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 0.92rem;
}
.process-step h4 { margin: 0 0 6px; font-size: 1rem; }
.process-step p { font-size: 0.9rem; color: var(--brand-grey); margin: 0; line-height: 1.55; }

/* Static / info pages */
.page-header {
  background: var(--brand-dark);
  color: var(--brand-white);
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
  isolation: isolate;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/grid-bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: lighten;
}
.page-header > * { position: relative; z-index: 1; }
.page-header h1 {
  color: var(--brand-white);
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 6.4vw, 62px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 500;
}
/* .page-header-lg kept as a no-op alias for pages already opted in */
.page-header-lg h1 { font-size: clamp(2.4rem, 6.4vw, 62px); }
.page-header p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 720px; }
/* Pure-black variant (about page) */
.page-header-dark { background: #000; }

/* Two column for about etc */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* Responsive */
@media (max-width: 600px) {
  .hero-cta .btn { flex: 1; }
  .header-cta .btn-secondary { display: none; }
}

/* Tables in prose */
.prose table { font-size: 0.9rem; }
.prose th, .prose td { vertical-align: top; }
