/* ==========================================================
   Crafted Painters — Base styles + Hero
   Palette (do not add colors outside this set)
   ========================================================== */
:root {
  --black: #000000;      /* bold black text */
  --charcoal: #333333;   /* black accent */
  --white: #ffffff;      /* background */
  --brand: #4365a6;      /* primary brand blue */
  --brand-light: #7dc9f3;/* light brand blue */

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1200px;
  --radius: 8px;
  --header-h: 84px;
  --header-h-stuck: 68px;                         /* header height once it sticks */
  --scroll-offset: calc(var(--header-h-stuck) + 16px); /* anchor landing offset */
  --topbar-h: 40px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Spacing scale (fluid) */
  --section-y: clamp(72px, 9vw, 120px);
  --head-gap: clamp(36px, 5vw, 56px);
  --gutter: 24px;

  /* Type */
  --fs-lead: clamp(1.05rem, .98rem + .35vw, 1.18rem);
  --fs-body: 1rem;
  --measure: 62ch;

  /* Elevation */
  --shadow-sm: 0 6px 16px -10px rgba(0, 0, 0, .35);
  --shadow-brand: 0 22px 44px -18px rgba(67, 101, 166, .55);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Typographic polish: balanced headings, no orphaned last words in paragraphs */
h1, h2, h3 { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
body.nav-open { overflow: hidden; }

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

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

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; transition-duration: .08s; }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: rotate(-14deg) scale(1.1); }
.btn:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; }

.btn--sm { padding: .7em 1.3em; font-size: .85rem; }
.btn--lg { padding: 1.05em 2em; font-size: 1rem; }

.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-light); color: var(--black); box-shadow: 0 12px 26px -12px rgba(67, 101, 166, .8); }

.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--black); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--brand);
  color: var(--white);
  font-size: .85rem;
  height: var(--topbar-h);
}
.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 600;
}
.topbar__item--muted { font-weight: 400; }
.topbar__item + .topbar__item {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .35);
}

/* ---------- Header ---------- */
.header {
  position: absolute;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.header.is-scrolled {
  position: fixed;
  top: 0;
  height: var(--header-h-stuck);
  background: var(--charcoal);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.header.is-scrolled .brand__mark { width: 46px; height: 46px; font-size: 1rem; }
.header.is-scrolled .brand__tag { opacity: 0; max-height: 0; }
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo placeholder */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand__mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  background: var(--brand);
  border: 3px solid var(--brand-light);
  box-shadow: 0 0 0 3px var(--white);
  transition: width .3s var(--ease), height .3s var(--ease), transform .4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
}
.brand__name span { color: var(--brand-light); }
.brand__tag {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .8;
  max-height: 1.5em;
  overflow: hidden;
  transition: opacity .3s var(--ease), max-height .3s var(--ease);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.9vw, 28px);
}
.nav__link {
  position: relative;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav__link:hover { color: var(--brand-light); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand-light); }
.nav__link:focus-visible,
.nav-toggle:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 4px; border-radius: 4px; }

/* Services dropdown: opens on hover and on keyboard focus (focus-within) */
.nav__group { position: relative; }
.nav__caret {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  vertical-align: -2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s var(--ease);
}
.nav__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 70;
  min-width: 250px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.nav__menu::before {            /* invisible bridge so the menu stays open while the pointer moves down to it */
  content: "";
  position: absolute;
  inset: -14px 0 auto;
  height: 14px;
}
.nav__group:hover .nav__menu,
.nav__group:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.nav__group:hover .nav__caret,
.nav__group:focus-within .nav__caret { transform: rotate(180deg); }
.nav__menu-link {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__menu-link:hover,
.nav__menu-link:focus-visible { background: rgba(125, 201, 243, .2); color: var(--brand); outline: none; }
.nav__menu-link[aria-current="page"] { color: var(--brand); background: rgba(67, 101, 166, .1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--charcoal);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Placeholder look until real media is dropped in */
.hero__media--placeholder {
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(125, 201, 243, .06) 22px 23px),
    linear-gradient(135deg, var(--charcoal) 0%, var(--brand) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 32px;
}
.hero__media-label {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
  opacity: .5;
  border: 1px dashed currentColor;
  border-radius: var(--radius);
  padding: 8px 14px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, .15) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--topbar-h) + var(--header-h) + 48px);
  padding-bottom: 96px;
}

/* "Welcome" badge pinned top-right of hero */
.hero__welcome {
  position: absolute;
  top: calc(var(--topbar-h) + var(--header-h) + 16px);
  right: 24px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(6px);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 0 4px rgba(125, 201, 243, .25);
}

.hero__content { max-width: 680px; }

.hero__eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-light);
}

.hero__title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.hero__title .accent { color: var(--brand-light); }

.hero__lead {
  margin: 0 0 36px;
  max-width: 560px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  opacity: .9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__trust {
  list-style: none;
  margin: 48px 0 0;
  padding: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: .9rem;
  opacity: .9;
}
.hero__trust strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);   /* the stats are a selling point: big on desktop, still fits phones */
  line-height: 1.1;
  color: var(--white);
}

/* Entrance animation */
.hero__content > *,
.hero__welcome {
  /* Slide up only — never start at opacity 0: Chrome ignores invisible elements when measuring
     Largest Contentful Paint (PageSpeed then reports NO_LCP). */
  transform: translateY(18px);
  transition: transform .8s var(--ease);
}
.is-loaded .hero__content > *,
.is-loaded .hero__welcome { opacity: 1; transform: none; }
.is-loaded .hero__content > *:nth-child(2) { transition-delay: .1s; }
.is-loaded .hero__content > *:nth-child(3) { transition-delay: .2s; }
.is-loaded .hero__content > *:nth-child(4) { transition-delay: .3s; }
.is-loaded .hero__content > *:nth-child(5) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1150px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 55;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 104px 28px 32px;
    overflow-y: auto;
    background: var(--charcoal);
    box-shadow: -20px 0 40px rgba(0, 0, 0, .3);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s linear .35s;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .nav__link {
    font-size: 1.05rem;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .nav__link::after { bottom: -1px; }
  /* In the drawer the service pages are listed under "Services" instead of a pop-up */
  .nav__group .nav__link { display: block; }
  .nav__caret { display: none; }
  .nav__menu,
  .nav__group:hover .nav__menu,
  .nav__group:focus-within .nav__menu {
    position: static;
    min-width: 0;
    padding: 4px 0 10px 14px;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: inherit;
    transform: none;
    transition: none;
  }
  .nav__menu::before { display: none; }
  .nav__menu-link {
    padding: 9px 0;
    color: var(--white);
    opacity: .8;
    font-size: .95rem;
    font-weight: 500;
  }
  .nav__menu-link:hover,
  .nav__menu-link:focus-visible { background: none; color: var(--brand-light); opacity: 1; }
  .nav__menu-link[aria-current="page"] { background: none; color: var(--brand-light); opacity: 1; }
  .nav__cta { margin-top: 24px; padding: 1em; font-size: .95rem; }

  .nav-toggle { position: relative; z-index: 60; }

  /* Dim the page behind the open drawer */
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease);
  }
  body.nav-open::after { opacity: 1; pointer-events: auto; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; --header-h-stuck: 64px; --gutter: 16px; }

  .topbar__item--muted { display: none; }

  .brand__mark { width: 44px; height: 44px; font-size: 1rem; }
  .brand__name { font-size: 1.1rem; }
  .brand__tag { font-size: .6rem; }

  /* Welcome badge drops into the flow above the headline on phones */
  .hero__welcome {
    position: static;
    margin-bottom: 24px;
    font-size: .7rem;
    letter-spacing: .15em;
  }
  .hero__inner { padding-top: calc(var(--topbar-h) + var(--header-h) + 24px); padding-bottom: 64px; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .hero__trust { gap: 16px 28px; }
}

/* ==========================================================
   Shared section patterns
   ========================================================== */
.section { padding: var(--section-y) 0; }
section[id] { scroll-margin-top: var(--scroll-offset); }
.section--tight-top { padding-top: calc(var(--section-y) * .3); }
.section--dark { background: var(--charcoal); color: var(--white); }

.section-head { max-width: 700px; margin-bottom: var(--head-gap); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.section--dark .eyebrow { color: var(--brand-light); }

.section-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--black);
}
.section--dark .section-title { color: var(--white); }

.section-lead { margin: 0; max-width: var(--measure); font-size: var(--fs-lead); line-height: 1.65; color: var(--charcoal); }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }
.section--dark .section-lead { color: var(--white); opacity: .8; }

.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--brand-light); color: var(--black); }

/* Generic media placeholder (swap for <img>) */
.media-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(125, 201, 243, .08) 22px 23px),
    linear-gradient(135deg, var(--charcoal) 0%, var(--brand) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
}
.media-placeholder--portrait { aspect-ratio: 4 / 5; align-items: flex-start; }
.media-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-placeholder__label {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
  opacity: .6;
  border: 1px dashed currentColor;
  border-radius: var(--radius);
  padding: 8px 12px;
}

.checklist {
  list-style: none;
  margin: 28px 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--black);
}
.checklist svg {
  width: 24px;
  height: 24px;
  padding: 4px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand);
  stroke: var(--white);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Scroll reveal (only hides content when JS is running) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   Services
   ========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}
.services-grid > * { grid-column: span 2; }
.services-grid > :nth-child(4),
.services-grid > :nth-child(5) { grid-column: span 3; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  background: var(--white);
  border: 1px solid rgba(51, 51, 51, .14);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease), opacity .7s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: 0 22px 44px -18px rgba(67, 101, 166, .55);
  outline: none;
}
.service-card:hover::before,
.service-card:focus-visible::before { transform: scaleX(1); }

.service-card__icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 14px;
  background: rgba(125, 201, 243, .2);
  color: var(--brand);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.service-card__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card:hover .service-card__icon,
.service-card:focus-visible .service-card__icon { background: var(--brand); color: var(--white); }

.service-card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--black);
}
.service-card__text { margin: 0 0 24px; color: var(--charcoal); flex-grow: 1; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.service-card__link span { transition: transform .3s var(--ease); }
.service-card:hover .service-card__link span { transform: translateX(6px); }

/* Compact variant used in "other services" lists */
.service-card--compact { padding: 24px; }
.service-card--compact .service-card__icon { width: 48px; height: 48px; margin-bottom: 16px; }
.service-card--compact .service-card__icon svg { width: 24px; height: 24px; }
.service-card--compact .service-card__title { font-size: 1.15rem; margin-bottom: 14px; }

/* ==========================================================
   About
   ========================================================== */
.about {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: center;
}
.about__media { position: relative; }
.about__badge {
  position: absolute;
  right: -20px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  padding: 18px 24px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .45);
}
.about__badge-label { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; opacity: .85; }
.about__badge-value { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.2; }

.about__content p { max-width: var(--measure); color: var(--charcoal); font-size: 1.05rem; line-height: 1.7; }
.about__sign {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--black) !important;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  margin-top: calc(var(--section-y) * .8);
  padding-top: 56px;
  border-top: 1px solid rgba(51, 51, 51, .14);
}
.value__title {
  position: relative;
  margin: 0 0 10px;
  padding-left: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--black);
}
.value__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  bottom: .2em;
  width: 4px;
  border-radius: 2px;
  background: var(--brand-light);
}
.value p { margin: 0; color: var(--charcoal); }

/* ==========================================================
   Reviews
   ========================================================== */
.review {
  margin: 0 0 24px;
  padding: 32px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: border-color .3s var(--ease), background-color .3s var(--ease),
              opacity .7s var(--ease), transform .7s var(--ease);
}
.review:hover { border-color: var(--brand-light); background: rgba(255, 255, 255, .09); }
.review blockquote {
  position: relative;
  margin: 0 0 24px;
  padding-top: 36px;
  line-height: 1.7;
  opacity: .92;
}
.review blockquote::before {
  content: "\201C";
  position: absolute;
  top: -12px;
  left: -4px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--brand-light);
}
.review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
}
.review__avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 1rem;
}

/* ==========================================================
   CTA band
   ========================================================== */
.cta-band {
  padding: clamp(56px, 7vw, 80px) 0;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand) 55%, var(--brand-light) 140%);
  color: var(--white);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.1;
}
.cta-band__text { margin: 0; max-width: 52ch; font-size: var(--fs-lead); opacity: .9; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ==========================================================
   Service detail pages
   ========================================================== */
.hero--page { min-height: 78vh; min-height: 78svh; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: .85rem;
  opacity: .8;
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a:hover { color: var(--brand-light); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split + .split { margin-top: 112px; }
.split--reverse .split__media { order: 2; }
.split__content p { max-width: var(--measure); color: var(--charcoal); font-size: 1.05rem; line-height: 1.7; }
.split__content .btn { margin-top: 12px; }

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.feature {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(51, 51, 51, .14);
  transition: border-color .3s var(--ease);
}
.feature:hover { border-color: var(--brand); }
.feature h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--black);
}
.feature p { margin: 0; font-size: .98rem; }

.subservices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.subservice {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(51, 51, 51, .14);
  border-top: 4px solid var(--brand-light);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .7s var(--ease);
}
.subservice:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(67, 101, 166, .5); }
.subservice h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.15rem; color: var(--black); }
.subservice p { margin: 0; color: var(--charcoal); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--brand-light);
}
.step h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.2rem; }
.step p { margin: 0; opacity: .85; }

.related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* ==========================================================
   Responsive — sections
   ========================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid > *,
  .services-grid > :nth-child(4) { grid-column: span 1; }
  .services-grid > :nth-child(5) { grid-column: span 2; }

  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subservices,
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .about,
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split--reverse .split__media { order: 0; }
  .about__media { max-width: 460px; }
  .about__badge { right: 16px; }
}

@media (max-width: 640px) {

  .services-grid { grid-template-columns: 1fr; }
  .services-grid > *,
  .services-grid > :nth-child(5) { grid-column: auto; }
  .service-card { padding: 28px 24px; }

  .checklist { grid-template-columns: 1fr; }
  .about__content .btn,
  .split__content .btn { width: 100%; }

  .values { grid-template-columns: 1fr; margin-top: 64px; padding-top: 40px; }
  .review { padding: 24px; }

  .features,
  .subservices,
  .related { grid-template-columns: 1fr; }
  .split + .split { margin-top: 80px; }

  .cta-band__actions { flex-direction: column; width: 100%; }
  .cta-band__actions .btn { width: 100%; }
}

/* ==========================================================
   Contact / estimate form
   ========================================================== */
.hero--short { min-height: 64vh; min-height: 64svh; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.contact {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.contact__intro { color: var(--charcoal); font-size: 1.05rem; margin: 0 0 32px; }

.contact-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 20px;
}
.contact-list li { display: flex; align-items: center; gap: 16px; color: var(--black); font-weight: 500; }
.contact-list a { font-weight: 600; transition: color .2s var(--ease); }
.contact-list a:hover { color: var(--brand); }
.contact-list__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(125, 201, 243, .2);
  color: var(--brand);
}
.contact-list__icon svg { width: 22px; height: 22px; fill: currentColor; }
.contact-list__label {
  display: block;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: .75;
}

.contact__areas { padding-top: 28px; border-top: 1px solid rgba(51, 51, 51, .14); }
.tags { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(67, 101, 166, .35);
  color: var(--brand);
  font-size: .9rem;
  font-weight: 600;
}

.form-card {
  position: relative;
  padding: 48px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(51, 51, 51, .12);
  box-shadow: 0 30px 60px -30px rgba(67, 101, 166, .45);
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
}

.form__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.15;
  color: var(--black);
}
.form__note { margin: 0 0 28px; font-size: .9rem; color: var(--charcoal); }
.req { color: var(--brand); font-weight: 700; }

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
}
.field--full { grid-column: 1 / -1; }

.field__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--black);
}
.field__input {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid rgba(51, 51, 51, .22);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field__input::placeholder { color: var(--charcoal); opacity: .45; }
.field__input:hover { border-color: rgba(51, 51, 51, .45); }
.field__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(125, 201, 243, .35);
}
.field__input--area { resize: vertical; min-height: 140px; line-height: 1.5; }

.field__error {
  min-height: 1.4em;
  margin: 6px 0 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--black);
}
.field.is-invalid .field__input {
  border-color: var(--black);
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .08);
}
.field.is-invalid .field__error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 1.2em;
  height: 1.2em;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: .8em;
  vertical-align: 1px;
}

.form__submit { width: 100%; margin-top: 8px; }
.form__submit:disabled { opacity: .6; cursor: progress; transform: none; }
.form__status { margin: 14px 0 0; font-weight: 600; color: var(--black); text-align: center; }
.form__status:empty { display: none; }

.form-success { text-align: center; padding: 24px 0; outline: none; }
.form-success p { color: var(--charcoal); margin: 0 0 28px; }
.form-success a:not(.btn) { color: var(--brand); font-weight: 600; }
.form-success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 8px rgba(125, 201, 243, .3);
}
.form-success__icon svg {
  width: 34px; height: 34px;
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 960px) {
  .contact { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .form-card { padding: 32px 20px; }
  .form__grid { grid-template-columns: 1fr; }
  .form__title { font-size: 1.5rem; }
}

/* ==========================================================
   FAQ (native <details> accordions)
   ========================================================== */
:root { interpolate-size: allow-keywords; } /* lets details animate to height:auto where supported */

.faq {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 72px;
  align-items: start;
}
.faq__intro { position: sticky; top: 110px; }
.faq__intro .section-lead { margin-bottom: 32px; }

.faq__list { display: grid; gap: 16px; }
.faq__item {
  border: 1px solid rgba(51, 51, 51, .14);
  border-radius: 14px;
  background: var(--white);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq__item:hover { border-color: rgba(67, 101, 166, .5); }
.faq__item[open] {
  border-color: var(--brand);
  box-shadow: 0 18px 40px -24px rgba(67, 101, 166, .55);
}
.faq__item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .35s var(--ease), content-visibility .35s allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--black);
  border-radius: 14px;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 2px; }

/* Plus that turns into a minus */
.faq__icon {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(125, 201, 243, .2);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 1px;
  background: var(--brand);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--brand); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--white); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }

.faq__answer { padding: 0 28px 26px; }
.faq__answer p { margin: 0; color: var(--charcoal); font-size: 1.02rem; }
.faq__answer a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq__answer a:hover { color: var(--black); }

/* ==========================================================
   Gallery
   ========================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter {
  padding: 10px 20px;
  font: inherit;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid rgba(51, 51, 51, .2);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 2px; }
.filter.is-active { background: var(--brand); border-color: var(--brand); color: var(--white); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 20px;
}
.gallery-item { margin: 0; animation: gallery-in .45s var(--ease); }
.gallery-item[hidden] { display: none; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }
@keyframes gallery-in { from { opacity: 0; transform: scale(.97); } }

.gallery-item__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--charcoal);
  font: inherit;
  text-align: left;
}
.gallery-item__btn:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; }

.gallery-item__media {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  align-items: center;
  justify-content: center;
  transition: transform .6s var(--ease);
}
.gallery-item:nth-child(3n+2) .gallery-item__media {
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(125, 201, 243, .08) 22px 23px),
    linear-gradient(200deg, var(--brand) 0%, var(--charcoal) 100%);
}
.gallery-item:nth-child(3n) .gallery-item__media {
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, .06) 22px 23px),
    linear-gradient(160deg, var(--charcoal) 10%, var(--brand) 80%, var(--brand-light) 140%);
}
.gallery-item__btn:hover .gallery-item__media,
.gallery-item__btn:focus-visible .gallery-item__media { transform: scale(1.05); }

.gallery-item__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 40px 18px 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent);
  color: var(--white);
}
.gallery-item__tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gallery-item__zoom {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery-item__zoom svg { width: 18px; height: 18px; fill: var(--white); }
.gallery-item__btn:hover .gallery-item__zoom,
.gallery-item__btn:focus-visible .gallery-item__zoom { opacity: 1; transform: none; }

.gallery__empty { margin: 24px 0 0; color: var(--charcoal); }

/* Lightbox */
.lightbox {
  width: min(1040px, 92vw);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  overflow: visible;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .88); backdrop-filter: blur(4px); }
.lightbox[open] { animation: lightbox-in .3s var(--ease); }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.96); } }

.lightbox__figure { margin: 0; }
.lightbox__media {
  position: relative;
  aspect-ratio: 3 / 2;
  max-height: 80vh;
  border-radius: 14px;
  overflow: hidden;
  background: var(--charcoal);
}
.lightbox__media > * { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.lightbox__media img { object-fit: contain; }
.lightbox__media .media-placeholder { align-items: center; justify-content: center; }
.lightbox__caption {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .9rem;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--brand); color: var(--white); }
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; }
.lightbox__close { top: -60px; right: 0; }
.lightbox__nav { top: calc(50% - 40px); }
.lightbox__nav--prev { left: -72px; }
.lightbox__nav--next { right: -72px; }

/* ==========================================================
   Footer
   ========================================================== */
.footer { background: var(--black); color: var(--white); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-top: 88px;
  padding-bottom: 64px;
}
.footer__blurb { margin: 24px 0 28px; max-width: 340px; opacity: .75; font-size: .98rem; }

.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social__link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--white);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.social__link svg { width: 19px; height: 19px; fill: currentColor; }
.social__link:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-3px); }
.social__link:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; }

.footer__heading {
  margin: 8px 0 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-light);
}
.footer__links,
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__links a,
.footer__contact a {
  opacity: .8;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.footer__links a:hover,
.footer__contact a:hover { opacity: 1; color: var(--brand-light); }

.footer__contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer__contact .icon { margin-top: .3em; color: var(--brand-light); }
.footer__contact span { opacity: .8; }
.footer__areas { margin: 20px 0 24px; font-size: .92rem; opacity: .75; }
.footer__areas strong { font-weight: 600; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: .9rem;
}
.footer__bottom p { margin: 0; opacity: .65; }
.footer__bottom a { opacity: .65; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { opacity: 1; color: var(--brand-light); }

/* ==========================================================
   Responsive — FAQ, gallery, footer
   ========================================================== */
@media (max-width: 1100px) {
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__nav { background: rgba(255, 255, 255, .85); }
}

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; gap: 40px; }
  .faq__intro { position: static; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
}

@media (max-width: 640px) {
  .faq__question { padding: 20px; font-size: 1.02rem; }
  .faq__answer { padding: 0 20px 22px; }
  .faq__intro .btn { width: 100%; }

  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 32px; padding: 2px 16px 8px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }

  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 16px; }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--wide { grid-column: auto; }
  .gallery-item__zoom { opacity: 1; transform: none; }

  .lightbox__close { top: -56px; }
  .lightbox__nav { top: auto; bottom: -64px; }
  .lightbox__nav--prev { left: calc(50% - 56px); }
  .lightbox__nav--next { right: calc(50% - 56px); }

  .footer__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================
   Interaction states — hover / focus for remaining cards
   ========================================================== */
.review { transition: border-color .3s var(--ease), background-color .3s var(--ease),
                      transform .35s var(--ease), box-shadow .35s var(--ease); }
.review:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .6); }
.review__avatar { transition: transform .35s var(--ease), background-color .3s var(--ease); }
.review:hover .review__avatar { transform: scale(1.08); background: var(--brand-light); color: var(--black); }

.value {
  padding: 20px;
  margin: -20px;
  border-radius: 14px;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.value:hover { background: rgba(125, 201, 243, .12); transform: translateY(-3px); }
@media (max-width: 640px) {
  .value { padding: 16px 12px; margin: -16px -12px; } /* stay inside the 16px phone gutter */
}
.value__title::before { transition: background-color .3s var(--ease), transform .3s var(--ease); transform-origin: center; }
.value:hover .value__title::before { background: var(--brand); transform: scaleY(1.25); }

.step { transition: transform .35s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease); }
.step:hover { transform: translateY(-5px); border-color: var(--brand-light); background: rgba(255, 255, 255, .09); }

.feature { transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-brand); }

.subservice:hover { border-color: rgba(67, 101, 166, .45); }

.contact-list__icon { transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.contact-list li:hover .contact-list__icon { background: var(--brand); color: var(--white); transform: scale(1.06); }

.tags li { transition: background-color .25s var(--ease), color .25s var(--ease); }
.tags li:hover { background: var(--brand); color: var(--white); }

.form-card { transition: box-shadow .4s var(--ease); }
.form-card:focus-within { box-shadow: 0 34px 70px -30px rgba(67, 101, 166, .6); }

/* Footer: back-to-top + legal row */
.footer__legal { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .8rem;
}
.to-top svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  fill: currentColor;
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.to-top:hover svg { transform: translateY(-3px); background: var(--brand); border-color: var(--brand); }
.footer__links a { display: inline-block; transition: opacity .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.footer__links a:hover { transform: translateX(4px); }

/* Touch devices: skip hover lifts that would "stick" after a tap */
@media (hover: none) {
  .service-card:hover, .review:hover, .value:hover, .step:hover, .feature:hover,
  .subservice:hover, .btn:hover { transform: none; }
}

/* Very small phones */
@media (max-width: 380px) {
  .brand__name { font-size: 1rem; }
  .brand__tag { display: none; }
  .btn--lg { padding: 1em 1.4em; font-size: .92rem; }
  .hero__trust { gap: 14px 22px; }
  .hero__trust strong { font-size: 1.65rem; }
}

/* ==========================================================
   Brand logo (replaces the "CP" placeholder mark)
   ========================================================== */
.brand__logo {
  display: block;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .3));
  transition: width .3s var(--ease), height .3s var(--ease), transform .4s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-8deg); }
.header.is-scrolled .brand__logo { width: 48px; height: 48px; }
.brand--footer .brand__logo { width: 76px; height: 76px; }
@media (max-width: 640px) {
  .brand__logo { width: 48px; height: 48px; }
  .header.is-scrolled .brand__logo { width: 44px; height: 44px; }
}

/* ==========================================================
   Real photos inside media frames
   ========================================================== */
.media-photo { padding: 0; background: var(--charcoal); }
.media-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__media .media-photo img { transition: transform .8s var(--ease); }
.split__media:hover .media-photo img { transform: scale(1.03); }
.about__media .media-photo img { object-position: center 30%; }
video.hero__media,
img.hero__media { object-fit: cover; }
.hero--page .hero__overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .3) 100%);
}

/* ==========================================================
   Legal / privacy page
   ========================================================== */
.header--solid { background: var(--charcoal); }
.legal { padding: calc(var(--topbar-h) + var(--header-h) + clamp(40px, 6vw, 72px)) 0 var(--section-y); }
.legal__layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-template-areas: "head head" "toc body";
  gap: 48px 64px;
  align-items: start;
}
.legal__head { grid-area: head; max-width: 760px; }
.legal__meta { margin: -6px 0 18px; font-size: .9rem; color: var(--charcoal); opacity: .8; }
.breadcrumb--dark { color: var(--charcoal); }
.breadcrumb--dark a:hover { color: var(--brand); }

.legal__toc {
  grid-area: toc;
  position: sticky;
  top: calc(var(--header-h-stuck) + 24px);
  padding: 24px;
  border: 1px solid rgba(51, 51, 51, .14);
  border-radius: 14px;
}
.legal__toc-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand);
}
.legal__toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .92rem; }
.legal__toc a { color: var(--charcoal); transition: color .2s var(--ease); }
.legal__toc a:hover { color: var(--brand); }

.legal__body { grid-area: body; max-width: 760px; }
.legal__body section { scroll-margin-top: var(--scroll-offset); }
.legal__body section + section { margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(51, 51, 51, .12); }
.legal__body h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 1.1rem + .8vw, 1.65rem);
  line-height: 1.2;
  color: var(--black);
}
.legal__body h3 {
  margin: 28px 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
}
.legal__body p,
.legal__body li { color: var(--charcoal); font-size: 1.02rem; line-height: 1.75; }
.legal__body ul { padding-left: 1.3em; display: grid; gap: 8px; }
.legal__body li::marker { color: var(--brand); }
.legal__body a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--black); }
.legal__callout {
  padding: 18px 22px;
  border-left: 4px solid var(--brand);
  border-radius: 0 10px 10px 0;
  background: rgba(125, 201, 243, .15);
}
.legal__address { font-style: normal; line-height: 1.8; color: var(--charcoal); }

@media (max-width: 900px) {
  .legal__layout { grid-template-columns: 1fr; grid-template-areas: "head" "toc" "body"; gap: 32px; }
  .legal__toc { position: static; }
}

/* ==========================================================
   Contact form consent line
   ========================================================== */
.form__consent { margin: 14px 0 0; font-size: .82rem; line-height: 1.55; color: var(--charcoal); text-align: center; }
.form__consent a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================
   Cookie / tracking notice
   ========================================================== */
.cookie-notice {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 16px 20px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cookie-notice.is-visible { opacity: 1; transform: none; }
.cookie-notice__text { margin: 0; font-size: .9rem; line-height: 1.5; }
.cookie-notice__text a { color: var(--brand-light); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice__btn { flex-shrink: 0; }
@media (max-width: 480px) {
  .cookie-notice { flex-direction: column; align-items: stretch; text-align: left; }
}

/* ==========================================================
   Why Choose + homepage process
   ========================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.why-card {
  padding: 32px 28px;
  border-radius: 14px;
  border: 1px solid rgba(51, 51, 51, .14);
  background: var(--white);
  text-align: left;
  transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);
}
.why-card:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: var(--shadow-brand); }
.why-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(125, 201, 243, .2);
  color: var(--brand);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.why-card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-card:hover .why-card__icon { background: var(--brand); color: var(--white); }
.why-card__title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--black); }
.why-card p { margin: 0; color: var(--charcoal); }

.steps--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--plain .step::before { display: none; }
.process__cta { margin-top: 40px; text-align: center; }

/* ==========================================================
   City (service area) pages
   ========================================================== */
.split--top { align-items: start; }
.area-card {
  padding: 32px;
  border-radius: 16px;
  background: var(--charcoal);
  color: var(--white);
  border-top: 5px solid var(--brand-light);
}
.area-card__title { margin: 0 0 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.area-card__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.area-card__list li { display: flex; align-items: flex-start; gap: 10px; }
.area-card__list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: .55em;
  border-radius: 50%;
  background: var(--brand-light);
}
.area-card__note { margin: 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .92rem; opacity: .8; }

.area-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.section--tight-bottom { padding-bottom: calc(var(--section-y) * .5); }
.nearby { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.nearby__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--black); }
.nearby__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.nearby__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(67, 101, 166, .4);
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 600;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.nearby__list a span { transition: transform .25s var(--ease); }
.nearby__list a:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }
.nearby__list a:hover span { transform: translateX(4px); }

/* Footer: linked service areas + counties */
.footer__areas a { opacity: 1; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; transition: color .2s var(--ease); }
.footer__areas a:hover { color: var(--brand-light); }
.footer__counties { margin: -12px 0 24px; font-size: .92rem; opacity: .75; }

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .steps--three { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .why-grid,
  .area-services { grid-template-columns: 1fr; }
  .area-card { padding: 24px; }
  .nearby { flex-direction: column; align-items: flex-start; }
}
@media (hover: none) {
  .why-card:hover { transform: none; }
}

/* ==========================================================
   404 page
   ========================================================== */
.btn--dark-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn--dark-outline:hover { background: var(--black); color: var(--white); }
.not-found__inner { max-width: 760px; text-align: center; }
.not-found .section-lead { margin: 0 auto 32px; }
.not-found .section-lead a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.not-found__actions { justify-content: center; margin-bottom: 40px; }
.not-found__links { justify-content: center; }

/* ==========================================================
   Tablet / iPad refinements (641px–1100px wide)
   Phones (<=640px) and desktops (>1100px) are unaffected.
   ========================================================== */
@media (min-width: 641px) and (max-width: 1100px) {
  /* The floating "Welcome" badge collided with the eyebrow line; put it in the flow above it */
  .hero__welcome { position: static; margin-bottom: 28px; }

  /* Larger headline so it holds its own on a big screen */
  .hero__title { font-size: clamp(3.2rem, 7.6vw, 4.75rem); }
  .hero__content { max-width: 660px; }
}

/* Upright (portrait) tablets are very tall: don't stretch heroes to the full screen height */
@media (min-width: 641px) and (max-width: 1100px) and (orientation: portrait) {
  .hero { min-height: min(100vh, 760px); min-height: min(100svh, 760px); }
  .hero--page { min-height: min(78vh, 640px); min-height: min(78svh, 640px); }
  .hero--short { min-height: min(64vh, 540px); min-height: min(64svh, 540px); }
}

/* Smaller tablets (iPad mini / Air portrait): keep side-by-side layouts instead of phone stacking */
@media (min-width: 641px) and (max-width: 860px) {
  .about { grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
  .about__media { max-width: none; }
  .about__badge { right: 12px; bottom: 16px; padding: 12px 16px; }
  .about__badge-value { font-size: 1.3rem; }
  .about .checklist { grid-template-columns: 1fr; }

  .steps--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .steps--three .step { padding: 24px 20px; }

  /* Stacked service/city photos: wider, shorter crop so text isn't pushed far down */
  .split__media .media-placeholder { aspect-ratio: 16 / 9; }
}

/* ==========================================================
   Upright (portrait) tablets: fill out Process, Reviews, About
   ========================================================== */
.process__photo { display: none; } /* only shown on portrait tablets, below */

@media (min-width: 641px) and (max-width: 1100px) and (orientation: portrait) {
  /* Process: crew photo beside the steps, steps as wide rows */
  .process__layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 24px;
    align-items: stretch;
  }
  .process__photo { display: flex; aspect-ratio: auto; height: 100%; border-radius: 14px; }
  .process__layout .steps--three { grid-template-columns: 1fr; gap: 16px; }
  .process__layout .step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    align-items: start;
    padding: 26px 24px;
  }
  .process__layout .step::before { grid-row: span 2; margin: 0; font-size: 2.6rem; }
  .process__layout .step h3,
  .process__layout .step p { grid-column: 2; }

  /* About: photo sits at the top beside the heading instead of floating mid-column */
  .about { align-items: start; }
}

/* ==========================================================
   Phones: comfortable tap targets (~44–48px) and readable tagline
   ========================================================== */
@media (max-width: 640px) {
  .brand__tag { font-size: .7rem; }

  /* Top-bar phone number: make the whole bar height tappable */
  .topbar__item[href] { align-self: stretch; }

  /* Footer links and contact details */
  .footer__links,
  .footer__contact { gap: 0; }
  .footer__links a { padding: 11px 0; }
  .footer__contact li { align-items: center; }
  .footer__contact a { display: inline-block; padding: 12px 0; }
  .footer__contact .icon { margin-top: 0; }
  .footer__bottom a { display: inline-block; padding: 12px 0; }
  .footer__bottom .to-top { display: inline-flex; padding: 7px 0; } /* keep arrow aligned with its label */

  /* Contact page details */
  .contact-list a { display: inline-block; padding: 10px 0; }

  /* Privacy page table of contents */
  .legal__toc ol { gap: 0; }
  .legal__toc a { display: inline-block; padding: 10px 0; }

  /* Footer "Free Estimate" button */
  .footer .btn--sm { padding: 1em 1.5em; }

  /* Process steps (homepage and service pages): number beside the text instead of on its own
     line, so each card is shorter and less empty */
  .step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: start;
    padding: 22px 20px;
  }
  .step::before { grid-row: span 2; margin: 0; font-size: 2rem; }
  .step h3,
  .step p { grid-column: 2; }
  .steps--plain .step { display: block; } /* city-page tips have no numbers */
}

/* Step numbers: equal-width digits so step text lines up when numbers sit beside it */
.step::before { min-width: 1.35em; font-variant-numeric: tabular-nums; }

/* ==========================================================
   Services grid for 7–8 services: rows of four, last row centered
   (replaces the earlier 3 + 2 layout built for five cards)
   ========================================================== */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.services-grid > *,
.services-grid > :nth-child(4),
.services-grid > :nth-child(5) {
  grid-column: auto;
  flex: 0 1 calc((100% - 3 * 24px) / 4);
}
.services-grid .service-card { padding: 30px 24px 26px; }
.services-grid .service-card__title { font-size: 1.25rem; }

@media (max-width: 1024px) {
  .services-grid > *,
  .services-grid > :nth-child(4),
  .services-grid > :nth-child(5) { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .services-grid > *,
  .services-grid > :nth-child(4),
  .services-grid > :nth-child(5) { flex-basis: 100%; }
}

/* "Other services" on service pages: 6 cards read better as 3 per row */
.related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .related { grid-template-columns: 1fr; } }

/* Interior page: links from sub-service cards to their own pages */
.subservice__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.subservice__link span { transition: transform .25s var(--ease); }
.subservice__link:hover span { transform: translateX(4px); }

/* Contact page: service-area tags are links to the city pages */
.tags a { display: inline-block; padding: 6px 14px; margin: -6px -14px; color: inherit; }
.tags li:hover a { color: var(--white); }
.legal__body code { font-size: .9em; padding: 1px 6px; border-radius: 4px; background: rgba(125, 201, 243, .18); color: var(--black); }

/* ==========================================================
   Reviews carousel: swipeable/scrollable cards + arrow buttons
   ========================================================== */
.reviews {
  --per-view: 3;
  --gap: 24px;
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  /* No CSS smooth scrolling and a snap point that matches the starting position: otherwise the
     browser auto-scrolls the track 2px on load, Chrome treats that as a user scroll and stops
     measuring Largest Contentful Paint (PageSpeed: NO_LCP). The arrows animate via script.js. */
  scroll-padding-inline: 2px;
  padding: 10px 2px 18px;          /* room for the hover lift and focus ring */
  margin: -10px -2px 0;
  scrollbar-width: none;           /* arrows + swipe instead of a scrollbar */
}
.reviews::-webkit-scrollbar { display: none; }
.reviews:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 4px; border-radius: 16px; }

.reviews .review {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  margin: 0;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
.reviews .review blockquote { flex: 1; }   /* reviewer names line up at the bottom */

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.carousel__btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), opacity .25s var(--ease);
}
.carousel__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.carousel__btn:hover:not(:disabled) { background: var(--brand); color: var(--white); transform: translateY(-2px); }
.carousel__btn:active:not(:disabled) { transform: scale(.94); }
.carousel__btn:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__status {
  margin: 0;
  min-width: 9.5em;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .06em;
  opacity: .8;
}

@media (max-width: 1024px) { .reviews { --per-view: 2; --gap: 20px; } }
@media (max-width: 640px) {
  .reviews { --gap: 16px; }
  .reviews .review { flex-basis: 86%; }      /* the next card peeks in, signalling "swipe" */
}

/* ==========================================================
   Free-estimate page (/quote): DripJobs form embed
   The iframe keeps the client's exact embed code (width="100%" height="900"); CSS sizes it instead.
   ========================================================== */
.section--quote { padding-top: clamp(32px, 5vw, 64px); }
.quote-embed {
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .45);
  scroll-margin-top: var(--scroll-offset);
}
.quote-embed iframe {
  display: block;
  width: 100%;
  height: 900px;          /* desktop/tablet: the embed's own height */
}
.quote-embed__help { margin: 20px 0 0; text-align: center; color: var(--charcoal); }
.quote-embed__help a { color: var(--brand); font-weight: 600; }

@media (max-width: 768px) {
  /* Phones: the form is exactly one screen tall under the sticky header, edge to edge. With "Start Your Request"
     landing it in place, the visitor scrolls inside the form only — never a scrollbar inside a scrollbar. */
  .section--quote { padding-top: 16px; padding-bottom: 40px; }
  /* land the section right under the header so the form (16px lower) exactly fills the rest of the screen */
  .section--quote[id] { scroll-margin-top: var(--header-h-stuck); }
  .quote-embed {
    margin: 0 calc(-1 * var(--gutter));
    border-radius: 0;
    box-shadow: none;
  }
  .quote-embed iframe {
    height: calc(100vh - var(--scroll-offset));
    height: calc(100svh - var(--scroll-offset));
    min-height: 520px;
  }
}

/* Contact page: estimate call-to-action card (replaces the old on-page form) */
.contact-cta { text-align: center; align-self: start; }
.contact-cta p { margin: 0 0 24px; color: var(--charcoal); }
.contact-cta .contact-cta__or { margin: 20px 0 0; }
.contact-cta__or a { color: var(--brand); font-weight: 600; }

/* Thank-you page */
.thank-you .form-success__icon { margin: 0 auto 20px; }
.thank-you__phone { margin: -12px 0 28px; font-size: 1.1rem; }
.thank-you__phone a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
