
:root {
  --navy:        #071f57;   
  --blue:        #0a3590;   
  --blue-bright: #1a4fd0;   
  --blue-light:  #8fb2ff;   
  --sky:         #a9c4ff;   
  --ink:         #22262b;   
  --paper:       #f4f5f7;   
  --stone:       #e6e8ee;   
  --slab:        #ced4e0;   
  --steel:       #55677a;   
  --line:        rgba(34, 38, 43, 0.16);
  --line-dark:   rgba(244, 245, 247, 0.18);
  --mute:        rgba(34, 38, 43, 0.72);
  --mute-dark:   rgba(244, 245, 247, 0.68);

  --sans:  Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono:  "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --t-hero:  clamp(44px, 7.6vw, 146px);
  --t-h2:    clamp(34px, 5.4vw, 92px);
  --t-h3:    clamp(23px, 2.6vw, 40px);
  --t-lead:  clamp(17px, 1.5vw, 21px);
  --t-body:  clamp(15.5px, 1.1vw, 17px);
  --t-small: 14.5px;
  --t-label: 11.5px;

  --gut:     clamp(18px, 4vw, 56px);
  --section: clamp(90px, 15vh, 190px);
  --wrap:    1480px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-hover: cubic-bezier(0.33, 1, 0.68, 1);
  --wipe: cubic-bezier(0.76, 0, 0.24, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.045em; line-height: 1.04; }
h1 { font-size: var(--t-hero); letter-spacing: -0.05em; line-height: 0.94; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.1; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
a:not([class]) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:not([class]):hover { color: var(--blue); }

img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
  font: 500 14px/1 var(--sans);
}
.skip:focus { left: 8px; top: 8px; }

.wrap    { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--section); }
.dark    { background: var(--navy); color: var(--paper); }
.dark h1, .dark h2, .dark h3 { color: var(--paper); }
.alt     { background: var(--stone); }

.label {
  font-family: var(--mono); font-size: var(--t-label); font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue);
}
.dark .label { color: var(--sky); }

.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--mute); max-width: 46ch; }
.dark .lead { color: var(--mute-dark); }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; }

.head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 16px 24px;
  margin-bottom: clamp(32px, 6vh, 72px);
}
.head h2 { max-width: 20ch; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px; font-size: 13.5px; font-weight: 500; line-height: 1.15;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .45s var(--ease), background .35s, color .35s, border-color .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { transition: transform .45s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(5px); }
.btn--primary { background: var(--blue-bright); color: #fff; }
.btn--primary:hover { background: var(--blue); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: none; }
.btn--ghost:hover { border-color: var(--ink); }
.dark .btn--ghost { border-color: rgba(244,245,247,.32); color: var(--paper); }
.dark .btn--ghost:hover { border-color: var(--paper); background: rgba(244,245,247,.06); }

.nav__logo {
  position: fixed; z-index: 901; top: 12px; left: var(--gut);
  display: block; line-height: 0;
}
.nav__logo { transition: top .4s var(--ease), left .4s var(--ease); }
:root { --logo-h: clamp(44px, 4vw, 58px); }
.nav__logo img { display: none; width: auto; height: var(--logo-h); }
.nav__logo .nav__logo-row { display: block; }
.nav__logo[data-over-hero]:not(.is-solid) .nav__logo-row { display: none; }
.nav__logo[data-over-hero]:not(.is-solid) .nav__logo-row-light { display: block; }

.nav {
  --nav-fg:       var(--ink);
  --nav-fg-hover: var(--blue-bright);
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 12px var(--gut);
  pointer-events: none;
  color: var(--nav-fg);
  transition: background .4s var(--ease), color .4s, top .4s var(--ease), left .4s var(--ease),
              right .4s var(--ease), padding .4s var(--ease), border-radius .4s var(--ease);
}
.nav[data-over-hero] {
  --nav-fg:       var(--sky);
  --nav-fg-hover: #fff;
}
.nav.is-solid {
  --nav-fg:       var(--ink);
  --nav-fg-hover: var(--blue-bright);
  background: rgba(244, 245, 247, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__in {
  min-height: var(--logo-h);
  max-width: none; padding-inline: 0;
  display: flex; align-items: center; justify-content: flex-end; gap: 24px;
}
.nav__links {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 30px);
  pointer-events: auto;
}
.nav__links a {
  font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--nav-fg);
  padding-bottom: 3px; transition: color .3s;
}
.nav__links a:hover,
.nav__links a:focus-visible,
.nav__links a[aria-current="page"] { color: var(--nav-fg-hover); }
.nav__links a.nav__tel { color: var(--nav-fg-hover); border-bottom: 1px solid currentColor; }
.nav__links a.nav__cta {
  padding: 10px 16px; background: var(--blue-bright); color: #fff; transition: background .3s;
}
.nav__links a.nav__cta:hover, .nav__links a.nav__cta:focus-visible { background: var(--blue); color: #fff; }

.nav__burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; pointer-events: auto; color: inherit; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

main > .section:first-child { padding-top: calc(var(--section) + 46px); }

.page-hero {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: clamp(360px, 56vh, 560px);
  padding-top: clamp(150px, 21vh, 220px);
  padding-bottom: clamp(40px, 7vh, 78px);
  color: var(--paper);
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg,
      rgba(4, 16, 46, 0.88) 0%,
      rgba(5, 22, 62, 0.66) 45%,
      rgba(4, 14, 40, 0.94) 100%),
    var(--hero-img);
  background-size: cover, cover;
  background-position: center, center 55%;
}
.page-hero > .wrap { width: 100%; }
.page-hero h1     { color: var(--paper); }
.page-hero .label { color: var(--sky); }
.page-hero .lead  { color: rgba(244, 245, 247, 0.82); }
.page-hero [class*="__grid"] { border-top-color: var(--line-dark); }
.page-hero li { border-bottom-color: var(--line-dark); }
.page-hero li::before { color: var(--sky); }

@media (max-width: 900px) {
  .nav__burger { display: block; }
  .nav.is-open {
    --nav-fg: var(--ink); --nav-fg-hover: var(--ink);
    background: var(--paper);
  }
  .nav__links {
    position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px var(--gut) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--mute); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
  .nav__tel { border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav__links a.nav__cta { margin-top: 16px; padding: 16px; text-align: center; color: #fff; }
}

main > .section.dark:last-child,
.foot {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(7, 31, 87, 0.88), rgba(7, 31, 87, 0.88)),
    url("../img/tile-texture.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-attachment: scroll, fixed;
}
.foot {
  color: var(--mute-dark);
  padding-block: clamp(48px, 8vh, 84px) 30px;
  margin-top: -1px;
}
.foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 36px; align-items: start; }
.foot__logo { display: inline-block; line-height: 0; }
.foot__logo img { width: 120px; height: auto; }
.foot a:hover { color: var(--paper); }
.foot h4 {
  font-family: var(--mono); font-size: var(--t-label); letter-spacing: .18em;
  text-transform: uppercase; color: var(--sky); margin: 0 0 14px; font-weight: 500;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: var(--t-small); }
.foot__base {
  margin-top: clamp(36px, 6vh, 64px); padding-top: 22px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(244,245,247,.62);
}

.ac { display: inline-block; }
.ac img { display: block; }

.ac-plate {
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 18px;
}
.ac-plate img { display: block; }

.media { position: relative; overflow: hidden; background: var(--slab); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
a:hover > .media img { transform: scale(1.035); }
.media--4x3   { aspect-ratio: 4 / 3; }
.media--16x10 { aspect-ratio: 16 / 10; }

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-clip] { clip-path: inset(0 0 100% 0); transition: clip-path 1.25s var(--wipe); }
.js [data-clip].in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-clip] { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .btn:hover { transform: none; }
  .media img { transition: none; }
  .wk-item:hover .media img,
  .svc:hover .media img { transform: none; }
  .ac-plate, .ac-plate:hover { transform: none; box-shadow: none; transition: none; }
  .svc-promise__list li:hover .svc-promise__n,
  .svc-promise__list li:hover > div,
  .cap__row:hover > * { transform: none; transition: none; }
}

.next-steps { margin: clamp(28px, 4vw, 52px) 0 0; }
.next-steps ol {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}
.next-steps li { display: flex; gap: 14px; padding: 20px 22px; border-left: 1px solid var(--line); }
.next-steps li:first-child { border-left: 0; }
.next-steps__n {
  font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.16em;
  color: var(--blue-bright); padding-top: 4px;
}
.next-steps b { display: block; font-weight: 500; font-size: 16px; line-height: 1.3; }
.next-steps li p { margin: 6px 0 0; font-size: var(--t-small); line-height: 1.55; color: var(--mute); }
@media (max-width: 900px) {
  .next-steps ol { grid-template-columns: minmax(0, 1fr); }
  .next-steps li { border-left: 0; border-top: 1px solid var(--line); padding: 14px 16px; }
  .next-steps li:first-child { border-top: 0; }
}

.callbar { display: none; }
@media (max-width: 900px) {
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -22px rgba(7, 31, 87, 0.45);
    transform: translateY(105%); visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s .35s;
  }
  .callbar.is-on { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .callbar a {
    display: flex; align-items: center; justify-content: center; min-height: 48px;
    font-size: 14px; font-weight: 500; line-height: 1.15; text-align: center;
    border: 1px solid transparent;
  }
  .callbar__call { border-color: var(--ink); color: var(--ink); }
  .callbar__quote { background: var(--blue-bright); color: #fff; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

@media print {
  .callbar { display: none; }
  [data-reveal], [data-clip] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .nav, .nav__logo { position: static; }
  .nav { background: none; --nav-fg: var(--ink); }
  main > .section:first-child { padding-top: var(--section); }
}

.ac-plate { transition: transform .45s var(--ease-hover), box-shadow .45s var(--ease-hover); }
.ac-plate:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.55);
}

.foot__legal { max-width: 62ch; opacity: .78; }

.quiz [hidden] { display: none !important; }
.quiz__top {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding-bottom: 18px; border-bottom: 1px solid rgba(34, 38, 43, 0.2);
}
.quiz__count {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue);
}
.quiz__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz__step > * { clear: both; }
.quiz__step > .quiz__q { float: left; width: 100%; padding: 28px 0 22px; }
.quiz__step:focus { outline: none; }
.quiz__q {
  padding: 0; font-size: clamp(22px, 2.1vw, 32px); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.15; color: var(--ink);
}
.quiz__opts {
  margin-top: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
}
.quiz__opts--1 { grid-template-columns: minmax(0, 1fr); }
.quiz__opt { position: relative; display: block; cursor: pointer; }
.quiz__opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.quiz__opt span {
  display: flex; align-items: center; min-height: 58px; padding: 14px 18px;
  border: 1px solid rgba(34, 38, 43, 0.2);
  font-size: 15px; line-height: 1.35; color: var(--ink);
  transition: background-color .35s var(--ease-hover), border-color .35s var(--ease-hover), color .35s var(--ease-hover);
}
.quiz__opt:hover span { border-color: var(--ink); }
.quiz__opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.quiz__opt input:focus-visible + span { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
.quiz__opt-l { color: var(--steel); text-transform: none; letter-spacing: 0.02em; }

.quiz__step .form__row:first-of-type,
.quiz__sum + .form__row { margin-top: 18px; }
.quiz__note { margin: 14px 0 0; font-size: var(--t-small); line-height: 1.6; color: var(--mute); }
.quiz__note:empty { display: none; }
.quiz__note--ok { color: var(--blue); }
.quiz__note--urgent {
  padding: 14px 16px; border-left: 2px solid #a8341f; background: rgba(168, 52, 31, 0.06); color: var(--ink);
}
.quiz__note--urgent a { color: #a8341f; border-bottom: 1px solid currentColor; font-weight: 500; }

.quiz__sum { margin-top: 20px; padding: 18px 20px; background: var(--stone); }
.quiz__sum small {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue);
}
.quiz__sum ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.quiz__sum li { padding: 6px 10px; background: var(--paper); font-size: 13px; color: var(--ink); }
.quiz__sum p { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--mute); }

.quiz__nav { display: none; }
.quiz__back {
  background: none; border: 0; padding: 10px 0; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--steel); transition: color .3s;
}
.quiz__back:hover { color: var(--ink); }
.quiz__next { padding: 16px 26px; font-size: 14px; background: var(--ink); color: var(--paper); margin-left: auto; }
.quiz__next:hover { background: var(--blue); }

.js .quiz.is-ready .quiz__nav { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.js .quiz.is-ready .quiz__step { display: none; }
.js .quiz.is-ready .quiz__step.is-on { display: block; animation: quizIn .55s var(--ease-hover); }
@keyframes quizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
  .quiz__opts { grid-template-columns: minmax(0, 1fr); }
  .quiz__opt span { min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .quiz.is-ready .quiz__step.is-on { animation: none; }
}

.quiz .form__submit { padding: 18px 30px; font-size: 14px; background: var(--ink); color: var(--paper); }
.quiz .form__submit:hover { background: var(--blue); }

.quiz__opt span {
  display: grid; grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 14px; row-gap: 3px; align-items: start; align-content: center;
  min-height: 74px; padding: 15px 18px;
}
.quiz__opts--1 .quiz__opt span { min-height: 62px; }
.quiz__ico {
  grid-row: span 2; width: 22px; height: 22px; margin-top: 1px;
  color: var(--blue); transition: color .35s var(--ease-hover), transform .45s var(--ease-hover);
}
.quiz__opt b { font-weight: 500; font-size: 15px; line-height: 1.3; letter-spacing: -0.01em; }
.quiz__opt small { font-size: 12.5px; line-height: 1.45; color: var(--mute); transition: color .35s var(--ease-hover); }
.quiz__opt:hover .quiz__ico { transform: translateY(-2px); }
.quiz__opt input:checked + span .quiz__ico { color: var(--sky); }
.quiz__opt input:checked + span small { color: rgba(244, 245, 247, 0.72); }

.quiz__tip {
  margin: 16px 0 0; padding: 12px 14px;
  border-left: 2px solid var(--blue); background: rgba(10, 53, 144, 0.05);
  font-size: 13px; line-height: 1.6; color: var(--ink);
}

.quiz__seg { display: none; gap: 4px; flex: 0 0 42%; }
.js .quiz.is-ready .quiz__seg { display: flex; }
.quiz__seg i { flex: 1; height: 2px; background: var(--line); transition: background-color .5s var(--ease-hover); }
.quiz__seg i.is-on { background: var(--navy); }

.quiz__trail {
  flex: 1; min-width: 0; text-align: right;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 600px) {
  .quiz__trail { display: none; }
  .quiz__opt span { min-height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .quiz__ico, .quiz__seg i { transition: none; }
  .quiz__opt:hover .quiz__ico { transform: none; }
}

.qh { position: relative; margin: 26px 0 0; }
.qh-svg { display: block; width: 100%; height: auto; max-width: 600px; margin-top: 8px; overflow: visible; }
.qh-scene { transition: none; }

.qh-pad { fill: rgba(34, 38, 43, 0.055); }
.qh-wall-f, .qh-wall-r, .qh-chim-r, .qh-chim-f, .qh-chim-t, .qh-ext-f, .qh-ext-r, .qh-ext-t {
  stroke: rgba(7, 31, 87, 0.55); stroke-width: 0.8; stroke-linejoin: round;
}
.qh-wall-f { fill: #ffffff; }
.qh-wall-r { fill: #e6e9ef; }
.qh-chim-r { fill: #c5ccd8; } .qh-chim-f { fill: #dde2ea; } .qh-chim-t { fill: #8e98a8; }
.qh-roof { fill: #3a4151; stroke: #262c38; stroke-width: 0.8; stroke-linejoin: round; transition: fill .6s var(--ease-hover); }
.qh-edge { stroke: #262c38; stroke-width: 1.4; stroke-linecap: round; }
.qh-win { fill: var(--navy); }
.qh-door { fill: var(--blue); }
.qh-nb.qh-wall-f { fill: #f3f5f8; } .qh-nb.qh-wall-r { fill: #e2e6ec; }
.qh-nb.qh-roof { fill: #8b93a3; } .qh-nb.qh-win { fill: #a9b8d4; } .qh-nb.qh-door { fill: #a9b8d4; }
.qh-nb.qh-ext-t { fill: #d3d8e0; }

.qh-gutter { stroke: #262c38; stroke-width: 1.3; stroke-linecap: round; transition: stroke .5s, stroke-width .5s; }

.qh-g-nb1, .qh-g-nb2, .qh-g-nb3, .qh-g-nb4, .qh-g-office, .qh-g-damp, .qh-g-tiles, .qh-g-repair,
.qh-g-ext, .qh-g-scaffold, .qh-g-drone, .qh-g-pin, .qh-g-rain {
  opacity: 0; transform: translateY(10px);
  transition: opacity .55s var(--ease-hover), transform .7s var(--ease-hover);
}
.qh[data-job="damp"] .qh-g-damp,
.qh[data-job="newroof"] .qh-g-tiles,
.qh[data-job="repair"] .qh-g-repair,
.qh[data-job="flat"] .qh-g-ext,
.qh[data-job="refurb"] .qh-g-scaffold,
.qh[data-job="survey"] .qh-g-drone,
.qh[data-who="landlord"] .qh-g-nb1,
.qh[data-who="housing"] .qh-g-nb1,
.qh[data-who="housing"] .qh-g-nb2,
.qh[data-who="housing"] .qh-g-nb3,
.qh[data-who="housing"] .qh-g-nb4,
.qh[data-who="dev"] .qh-g-office,
.qh[data-urgent] .qh-g-rain,
.qh[data-pc] .qh-g-pin { opacity: 1; transform: none; }
.qh[data-who="housing"] .qh-g-nb2, .qh[data-who="housing"] .qh-g-nb4 { transition-delay: .12s; }

.qh[data-job="newroof"] .qh-roofmain { fill: #7f8ea9; }
.qh-batten { stroke: #a9824f; stroke-width: 1.1; }
.qh-rtile { fill: #1c4bbd; stroke: #13368f; stroke-width: .6; stroke-linejoin: round; }
.qh-rbutt { stroke: #0c2668; stroke-width: 1.1; }
.qh-ridge { fill: #10307f; stroke: #0a1f55; stroke-width: .6; }
.qh[data-job="newroof"] .qh-rtile, .qh[data-job="newroof"] .qh-rbutt, .qh[data-job="newroof"] .qh-ridge {
  animation: qhLay .45s cubic-bezier(.34, 1.4, .64, 1) both; animation-delay: calc(400ms + var(--i) * 16ms);
}
@keyframes qhLay { from { opacity: 0; transform: translateY(-9px); } to { opacity: 1; transform: none; } }

.qh-hole { fill: #0d1118; stroke: var(--sky); stroke-width: 1.2; animation: qhPulse 1.8s ease-in-out infinite; }
.qh-drip { fill: var(--blue-bright); opacity: 0; }
.qh[data-job="repair"] .qh-drip { animation: qhDrip 1.6s ease-in infinite; }
@keyframes qhDrip { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 80% { opacity: 1; transform: translateY(26px); } 100% { opacity: 0; transform: translateY(30px); } }
@keyframes qhPulse { 0%, 100% { stroke-opacity: 1; } 50% { stroke-opacity: .25; } }

.qh[data-job="maint"] .qh-gutter { stroke: var(--blue-bright); stroke-width: 3; animation: qhPulse 1.8s ease-in-out infinite; }

.qh-damp-patch { fill: url(#qhDampG); }
.qh-meter-lead { stroke: var(--navy); stroke-width: .7; }
.qh-meter-dot { fill: #e8a33d; stroke: #fff; stroke-width: .8; transform-box: fill-box; transform-origin: center; }
.qh-meter-tag rect { fill: #fff; stroke: var(--navy); stroke-width: .7; }
.qh-meter-k { fill: var(--navy); font-family: var(--mono); font-size: 4.6px; letter-spacing: .1em; }
.qh-meter-v { fill: #c26f0c; font-family: var(--mono); font-size: 6px; font-weight: 600; text-anchor: end; }
.qh[data-job="damp"] .qh-damp-patch { animation: qhSeep 1.6s ease-out .2s both; }
.qh[data-job="damp"] .qh-meter { animation: qhMeter .6s cubic-bezier(.34, 1.56, .64, 1) 1.3s both; }
.qh[data-job="damp"] .qh-meter-dot { animation: qhBlip 1.8s ease-in-out 2s infinite; }
@keyframes qhSeep { from { opacity: 0; } to { opacity: 1; } }
@keyframes qhMeter { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes qhBlip { 0%, 100% { transform: none; } 50% { transform: scale(1.35); } }

.qh-ext-f { fill: #ffffff; } .qh-ext-r { fill: #e6e9ef; } .qh-ext-t { fill: #cfd5df; }
.qh-ext-membrane { fill: var(--blue); }
.qh-ext-glass { fill: var(--navy); }
.qh-ext-mullion { stroke: #c7d3ea; stroke-width: 1; }
.qh-canopy { fill: #8b93a3; }

.qh-scaf { stroke: var(--blue-bright); stroke-width: 1.4; stroke-linecap: round; }
.qh-scaf--in { stroke: #6f8fd8; stroke-width: 1.1; }
.qh-scaf--tr { stroke: #4a72d6; stroke-width: 1; }
.qh-brace { stroke-opacity: .55; }
.qh-board { fill: #b98d52; stroke: #8a6435; stroke-width: .5; }

.qh-drone-body line { stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.qh-drone-body rect { fill: var(--ink); }
.qh-cam { fill: var(--blue-bright); }
.qh-rotor { fill: rgba(34, 38, 43, 0.22); }
.qh[data-job="survey"] .qh-drone-body { animation: qhHover 2.4s ease-in-out infinite; }
.qh[data-job="survey"] .qh-rotor { animation: qhSpin .18s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes qhHover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes qhSpin { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.35); } }
@keyframes qhScan { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

.qh-cloud { animation: qhFloat 5s ease-in-out infinite; }
.qh-cloud-back { fill: #c9d0dc; }
.qh-cloud-under { fill: #aeb8c9; opacity: .55; }
.qh-cloud-edge { fill: none; stroke: #a9b3c4; stroke-width: .8; }
@keyframes qhFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.qh-streak { stroke: var(--blue-bright); stroke-width: 1.5; stroke-linecap: round; opacity: 0; }
.qh-splash { fill: none; stroke: var(--blue-bright); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.qh[data-urgent] .qh-streak { animation: qhFall 1.1s linear infinite; animation-delay: var(--d); }
.qh[data-urgent] .qh-splash { animation: qhSplash 1.1s ease-out infinite; animation-delay: var(--d); }
@keyframes qhFall {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: .85; }
  80% { transform: translateY(calc(var(--L) * 1px - 11px)); opacity: .85; }
  81%, 100% { transform: translateY(calc(var(--L) * 1px - 11px)); opacity: 0; }
}
@keyframes qhSplash { 0%, 79% { transform: scale(.2); opacity: 0; } 82% { opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

.qh-g-pin { transform: translateY(-26px); transition: opacity .3s, transform .7s cubic-bezier(.34, 1.56, .64, 1); }
.qh-pin-shadow { fill: rgba(34, 38, 43, 0.18); }
.qh-pin-body { fill: var(--blue-bright); }
.qh-pin-dot { fill: #fff; }
.qh-pin-tag rect { fill: var(--navy); }
.qh-pin-tag text { fill: #fff; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-anchor: middle; }

@media (prefers-reduced-motion: reduce) {
  .qh-scene, .qh-g-nb1, .qh-g-nb2, .qh-g-nb3, .qh-g-nb4, .qh-g-office, .qh-g-damp, .qh-g-tiles, .qh-g-repair,
  .qh-g-ext, .qh-g-scaffold, .qh-g-drone, .qh-g-pin, .qh-g-rain, .qh-roof, .qh-gutter { transition: none; }
  .qh * { animation: none !important; }
  .qh[data-urgent] .qh-streak { opacity: .6; transform: translateY(calc(var(--L) * .5px)); }
}


.hm-enquiry__head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(30px, 5vh, 56px);
}
.hm-enquiry__head h2 { margin: 18px 0 0; font-size: clamp(36px, 4.8vw, 80px); line-height: 0.98; }
.hm-enquiry__dim { color: inherit; }
.hm-enquiry__head .lead { margin: 0; max-width: 46ch; font-size: 16px; line-height: 1.66; }
.hm-enquiry__head .hm-enquiry__alt { margin-top: 18px; }

.hm-enquiry__module {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  border: 1px solid var(--line); background: #fff;
}
.qh-stage {
  position: relative; display: flex; flex-direction: column; min-height: 560px;
  padding: 20px 22px;
  background-color: #eef0f4;
  background-image: radial-gradient(rgba(34, 38, 43, 0.08) 1px, transparent 1.2px);
  background-size: 18px 18px;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  overflow: hidden;
}
.qh-stage.is-turning { cursor: grabbing; }
.qh-stage:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: -2px; }
.qh-stage__top, .qh-stage__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--steel);
}
.qh-live { display: inline-flex; align-items: center; gap: 9px; }
.qh-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 3px rgba(26, 79, 208, 0.16); animation: qhLive 2.4s ease-in-out infinite; }
@keyframes qhLive { 0%, 100% { box-shadow: 0 0 0 3px rgba(26, 79, 208, 0.16); } 50% { box-shadow: 0 0 0 6px rgba(26, 79, 208, 0.06); } }
.qh-job { padding: 7px 11px; background: #fff; border: 1px solid var(--line); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.qh-drag { display: inline-flex; align-items: center; gap: 10px; }
.qh-stage .qh { flex: 1; display: flex; align-items: center; justify-content: center; margin: 0; }
.qh-stage .qh-svg { width: 100%; max-width: 680px; margin: 0; }

.hm-enquiry__module .hm-enquiry__formwrap { padding: clamp(22px, 2.6vw, 38px); border-left: 1px solid var(--line); }

.qh-beam { fill: rgba(26, 79, 208, 0.14); }
.qh-spot { fill: rgba(26, 79, 208, 0.22); stroke: rgba(26, 79, 208, 0.45); stroke-width: 1; }
.qh[data-job="survey"] .qh-beam, .qh[data-job="survey"] .qh-spot { animation: qhScan 2.4s ease-in-out infinite; }

@media (max-width: 900px) {
  .hm-enquiry__head, .hm-enquiry__module { grid-template-columns: minmax(0, 1fr); }
  .qh-stage { min-height: 330px; padding: 16px; }
  .hm-enquiry__module .hm-enquiry__formwrap { border-left: 0; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { .qh-live i { animation: none; } }

.hm-who__body li, .svc-intro__points li, .svc__points li {
  position: relative;
  transition: gap .5s var(--ease-hover), color .4s var(--ease-hover);
}
.hm-who__body li::before, .svc-intro__points li::before, .svc__points li::before {
  display: inline-block; line-height: 1; transform-origin: 50% 42%;
  transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), color .4s var(--ease-hover);
}
.hm-who__body li::after, .svc-intro__points li::after, .svc__points li::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--blue-bright);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .6s var(--ease-hover);
}
.svc-intro__points li::after { top: auto; bottom: -1px; }
@media (hover: hover) {
  .hm-who__body li:hover, .svc-intro__points li:hover, .svc__points li:hover { gap: 22px; color: var(--ink); }
  .hm-who__body li:hover::before, .svc-intro__points li:hover::before, .svc__points li:hover::before {
    transform: rotate(180deg); color: var(--blue-bright);
  }
  .hm-who__body li:hover::after, .svc-intro__points li:hover::after, .svc__points li:hover::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hm-who__body li, .svc-intro__points li, .svc__points li,
  .hm-who__body li::before, .svc-intro__points li::before, .svc__points li::before,
  .hm-who__body li::after, .svc-intro__points li::after, .svc__points li::after { transition: none; }
}
