/* Fidem Projects: "the planes". Palette from the logo (navy #203862, blue #3868a0, grey #727a83) on the deep navy
   field of Fidem's posters; gold from the company profile is the one action colour. Type: Montserrat (the wordmark) + Inter. */
:root {
  --field: #15284d;      /* header, home hero, form band */
  --field-2: #0f1d39;    /* footer */
  --navy: #203862;       /* logo navy: headings */
  --blue: #3868a0;       /* logo blue: the band, links */
  --blue-d: #2b5488;
  --grey: #727a83;       /* logo grey */
  --silver: #c9ced6;
  --ink: #26303e;
  --muted: #5b6573;
  --line: #dde2e8;
  --soft: #f1f3f6;       /* light neutral, tinted to the navy */
  --white: #fff;
  --gold: #cfa349;       /* buttons only */
  --gold-d: #b48a33;
  --r: 2px;
  --wrap: 1240px;
  --gut: 24px;
  --sec: clamp(64px, 8vw, 112px);
  --head-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fh: "Montserrat", "Segoe UI", Arial, sans-serif;
  --fb: "Inter", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; font: 400 17px/1.62 var(--fb); color: var(--ink); background: var(--white); overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
picture > source { display: none; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--navy); }
/* links on the navy and blue fields keep a light colour on hover (the navy above disappeared on them) */
.logo:hover { color: var(--white); }
.trust-dark:hover, .hero-leak .crumbs a:hover { color: var(--white); }
.trust-dark:hover span, .hero-leak .crumbs a:hover { text-decoration-thickness: 2px; }
.mm-a:hover, .mm-btn:hover, .mm-sub a:hover, .rv-link:hover, .q-quiet a:hover, .contact-navy a:hover, .f-legal a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--fh); color: var(--navy); line-height: 1.18; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(2rem, 2.9vw, 2.95rem); }
h2 { font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
h3 { font-weight: 600; font-size: 1.13rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--field); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
button { font: inherit; }

/* ---------- buttons: flat gold, a blue plane sets in from the bottom-left on hover ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 0; border-radius: var(--r);
  background: var(--gold); color: var(--field); font: 600 15px/1 var(--fh); letter-spacing: .01em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--blue); z-index: -1; clip-path: polygon(0 100%, 0 100%, 0 100%); transition: clip-path .32s var(--ease); }
.btn:hover, .btn:focus-visible { color: var(--white); }
.btn:hover::before, .btn:focus-visible::before { clip-path: polygon(0 100%, 0 -120%, 220% 100%); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-ghost::before { background: var(--navy); }
/* on the blue hero a blue plane matched the panel and the button vanished on hover: a navy plane sets in there */
.hero-leak .btn::before { background: var(--field); }

/* ---------- header (one navy field with the home hero) ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--field); color: var(--white); transition: box-shadow .25s; }
.site-head.is-scrolled { box-shadow: 0 8px 24px -12px rgba(5, 12, 28, .6); }
.head-row { display: flex; align-items: center; gap: 28px; height: var(--head-h); transition: height .25s var(--ease); }
.site-head.is-scrolled .head-row { height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; flex: none; }
.logo .mark { width: 46px; height: auto; }
.logo-txt { display: grid; line-height: 1; }
.logo-txt b { font: 500 22px/1 var(--fh); letter-spacing: .2em; margin-right: -.2em; }
.logo-txt small { font: 500 9.4px/1 var(--fh); letter-spacing: .5em; margin-top: 6px; color: #c7cfda; }
.mark .p-wl { fill: #fff; } .mark .p-wr { fill: #e8ecf1; } .mark .p-g1, .mark .p-g2 { fill: #8d95a0; } .mark .p-nv { fill: #2f5fa8; } .mark .p-bl { fill: #5089c9; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-a, .nav-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 0; background: none; color: #e6ebf2; font: 500 15px/1 var(--fh); text-decoration: none; cursor: pointer; border-radius: var(--r); }
.nav-a:hover, .nav-btn:hover, .nav-btn[aria-expanded="true"] { color: var(--gold); }
.nav-a[aria-current="page"], .nav-btn.is-current { color: var(--white); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.dd { width: 16px; height: 16px; transition: transform .2s; }
.nav-btn[aria-expanded="true"] .dd { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 10px); left: -12px; display: grid; grid-template-columns: 290px 190px; gap: 20px; padding: 18px; background: var(--white); color: var(--ink); box-shadow: 0 24px 48px -20px rgba(8, 20, 44, .45); border-radius: var(--r); }
.menu[hidden] { display: none; }
.menu a { display: block; padding: 10px 12px; text-decoration: none; color: var(--navy); border-radius: var(--r); }
.menu a strong { display: block; font: 600 15px/1.3 var(--fh); }
.menu a small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--soft); color: var(--blue-d); }
.menu-ph img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.head-cta { min-height: 44px; padding: 0 20px; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: none; padding: 10px 8px; cursor: pointer; }
.burger span { display: block; height: 2px; margin: 5px 0; background: var(--white); transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mm { position: fixed; inset: var(--head-h) 0 0 0; background: var(--field); overflow-y: auto; padding: 8px var(--gut) 40px; }
.mm[hidden] { display: none; }
.mm-list > li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mm-a, .mm-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 0; border: 0; background: none; color: var(--white); font: 600 18px/1.2 var(--fh); text-decoration: none; text-align: left; cursor: pointer; }
.mm-a[aria-current="page"] { color: var(--gold); }
.mm-btn[aria-expanded="true"] .dd { transform: rotate(180deg); }
.mm-sub { padding: 0 0 12px 16px; }
.mm-sub[hidden] { display: none; }
.mm-sub a { display: block; padding: 11px 0; color: #dfe5ee; text-decoration: none; font-size: 16px; }
.mm-sub a[aria-current="page"] { color: var(--gold); }
.mm-cta { width: 100%; margin-top: 24px; }
body.menu-open { overflow: hidden; }
body.menu-open .site-head { position: fixed; left: 0; right: 0; }
body.menu-open .wa-float { display: none; }

/* ---------- section heads ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.sec-head .sub { margin: 10px 0 0; color: var(--muted); font-size: 1.06rem; max-width: 64ch; }
.as-txt .sec-head, .story-txt .sec-head, .ft-txt .sec-head, .gv-grid .sec-head, .why-txt .sec-head { margin-bottom: 22px; }
.on-blue h2, .on-navy h2 { color: var(--white); }
.on-blue .sub, .on-navy .sub { color: #d6dfec; }

/* ---------- trust line ---------- */
.trust { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 15px; margin-bottom: 18px; }
.trust .g { width: 22px; height: 22px; }
.trust strong { font: 700 16px/1 var(--fh); color: var(--navy); }
.trust span { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.stars { width: 92px; height: 18px; }
.stars .s-off path { fill: #c9ced6; } .stars .s-on path { fill: #e3a72f; }
.trust-dark { color: #dfe6ef; } .trust-dark strong { color: var(--white); } .trust-dark .stars .s-off path { fill: #45597e; }

/* ---------- the mark, large, behind the hero media ---------- */
.bigmark { position: absolute; left: 50%; top: 50%; width: 168%; height: auto; transform: translate(-50%, -47%); z-index: 0; pointer-events: none; overflow: visible; }
.pl-hero .p-wl, .pl-hero .p-wr { fill: rgba(255, 255, 255, .08); }
.pl-hero .p-g1, .pl-hero .p-g2 { fill: rgba(141, 149, 160, .42); }
.pl-hero .p-nv { fill: rgba(47, 95, 168, .62); }
.pl-hero .p-bl { fill: rgba(80, 137, 201, .62); }
.pl-inner { width: 150%; }
.pl-inner .p-wl, .pl-inner .p-wr { fill: #fff; }
.pl-inner .p-g1, .pl-inner .p-g2 { fill: #d9dee5; }
.pl-inner .p-nv { fill: #c3cfe0; }
.pl-inner .p-bl { fill: #d2dcea; }
/* ---------- home hero: navy field, text left, the build video set in front of the planes ---------- */
.hero-home { background: var(--field); color: var(--white); padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 7vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-home h1 { color: var(--white); max-width: 21ch; }
.hero-home .lead { color: #d6dfec; font-size: 1.15rem; max-width: 46ch; margin: 18px 0 30px; }
.hero-media { position: relative; justify-self: center; width: min(100%, 430px); }
.vframe { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #0b1731; z-index: 1; }
.vframe img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity .5s ease; }
.hero-video.is-playing { opacity: 1; }
.video-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(8, 18, 38, .62); color: #fff; cursor: pointer; }
.video-toggle svg { width: 20px; height: 20px; }
.video-toggle .i-play, .video-toggle.is-paused .i-pause { display: none; }
.video-toggle.is-paused .i-play { display: block; }

/* ---------- inner heroes ---------- */
.hero-inner { background: var(--soft); padding: clamp(36px, 4.5vw, 64px) 0 clamp(56px, 6vw, 88px); overflow: hidden; }
.hero-inner .lead { font-size: 1.12rem; color: var(--muted); max-width: 48ch; margin: 16px 0 28px; }
.hero-inner h1 { max-width: 21ch; }
.hero-ph { position: relative; justify-self: center; width: min(100%, 470px); }
.hero-ph img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-ba { position: relative; justify-self: stretch; }
.hero-ba .ba-panels { z-index: 1; }
.hero-cap { position: relative; z-index: 1; margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.hero-plain .hero-grid { align-items: end; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9aa3ae; }
.crumbs a { color: var(--muted); }

/* ---------- authority band ---------- */
.authority { padding: 34px 0; border-bottom: 0; }
.auth-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px 64px; }
.auth-label { margin: 0; font: 600 1.15rem/1.35 var(--fh); color: var(--navy); max-width: 26ch; }
.auth-logos { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; max-width: 620px; justify-self: end; }
.auth-logos li { display: flex; align-items: center; justify-content: center; min-width: 0; font-size: 14px; color: var(--muted); line-height: 1.3; }
.reg-logo { height: 54px; width: auto; max-width: 100%; object-fit: contain; }
.auth-logos .reg-nhbrc { height: 64px; }
.bbbee { display: grid !important; grid-template-columns: auto; gap: 0 !important; }
.bbbee b { font: 700 13px/1.2 var(--fh); color: var(--navy); letter-spacing: .04em; }
.bbbee b.lvl { font-size: 20px; color: var(--blue-d); }
.bbbee span { font-size: 13px; }

/* ---------- services (home): two rows by category + the insurance row ---------- */
.services { padding: var(--sec) 0; padding-top: calc(var(--sec) * .55); }
.svc-group { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; margin-bottom: 40px; }
.svc-lead h3 { font-size: 1.45rem; margin-bottom: 8px; }
.svc-lead p { color: var(--muted); font-size: 15.5px; }
.svc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { position: relative; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 14px; transition: transform .5s var(--ease); }
.tile h3 a { color: var(--navy); text-decoration: none; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; }
.tile p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.tile:hover h3 a, .tile:focus-within h3 a { color: var(--blue-d); text-decoration-line: underline; }
.tile:focus-within { outline: 3px solid var(--gold); outline-offset: 4px; }
.tile:active img { opacity: .85; }
@media (hover: hover) and (pointer: fine) { .tile { overflow: visible; } .tile:hover img { transform: scale(1.015); } }
.svc-wide { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; background: var(--soft); }
.svc-wide img { width: 100%; height: 100%; min-height: 170px; aspect-ratio: 16 / 9; object-fit: cover; }
.svc-wide > div { padding: 22px 28px 22px 0; }
.svc-wide h3 { font-size: 1.3rem; margin-bottom: 6px; }
.svc-wide h3 a { color: var(--navy); text-decoration: none; }
.svc-wide h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-wide:hover h3 a { color: var(--blue-d); text-decoration: underline; text-decoration-thickness: 2px; }
.svc-wide p { color: var(--muted); max-width: 60ch; }

/* ---------- why (home) ---------- */
.why { padding: var(--sec) 0; background: var(--soft); }
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.why-ph { position: relative; }
.why-ph img { position: relative; z-index: 1; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.points { display: grid; gap: 22px; }
.points li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; }
.points .ic { width: 28px; height: 28px; color: var(--blue); margin-top: 2px; }
.ic-m { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.points li:has(.ic-m) { grid-template-columns: 44px 1fr; }
.points .ic-m { width: 44px; height: 44px; margin-top: -4px; }
.points h3 { margin-bottom: 4px; }
.points p { color: var(--muted); font-size: 16px; }
.why-foot { margin-top: 28px; font-size: 15px; color: var(--navy); font-weight: 500; }
.why-svc { background: var(--white); }
.why-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.why-cols.why-4 { grid-template-columns: repeat(2, 1fr); }
.why-cols li { position: relative; padding-left: 26px; }
.why-cols li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 10px; background: var(--blue); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.why-cols h3 { margin-bottom: 6px; }
.why-cols p { color: var(--muted); font-size: 16px; }
@media (min-width: 901px) { .why-svc-ph .why-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.why-svc-ph .why-ph img { aspect-ratio: 1 / 1; }
@media (max-width: 900px) { .why-svc-ph .why-ph img { aspect-ratio: 4 / 3; } }
.why-cols.why-stack { grid-template-columns: 1fr; gap: 22px; max-width: 46ch; }

/* ---------- process: the band in the logo colour ---------- */
.process { background: var(--blue); color: var(--white); padding: var(--sec) 0; }
.steps { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 28px; counter-reset: s; }
.steps li { position: relative; }
.steps .num { display: block; font: 700 clamp(3.2rem, 5vw, 4.6rem)/1 var(--fh); color: rgba(255, 255, 255, .28); margin-bottom: 14px; letter-spacing: -.03em; }
.steps h3 { color: var(--white); margin-bottom: 8px; }
.steps p { color: #e2e9f3; font-size: 15.5px; }

/* ---------- before / after: two panels split on a plane edge ---------- */
.ba-band { padding: var(--sec) 0 calc(var(--sec) * .6); }
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.ba { margin: 0; }
.ba-panels { position: relative; aspect-ratio: 3 / 2; background: var(--white); overflow: hidden; }
.ba-b, .ba-a { position: absolute; inset: 0; }
.ba-b img, .ba-a img { position: absolute; top: 0; height: 100%; width: 55%; object-fit: cover; }
.ba-b img { left: 0; }
.ba-a img { right: 0; }
.ba-b { clip-path: polygon(0 0, 54.4% 0, 44.4% 100%, 0 100%); }
.ba-a { clip-path: polygon(55.6% 0, 100% 0, 100% 100%, 45.6% 100%); }
.ba-tag { position: absolute; top: 12px; left: 12px; padding: 5px 11px; background: var(--field); color: var(--white); font: 600 12.5px/1 var(--fh); letter-spacing: .06em; text-transform: uppercase; }
.ba-tag-a { left: auto; right: 12px; background: var(--gold); color: var(--field); }
.ba figcaption { margin-top: 12px; font: 600 15px/1.4 var(--fh); color: var(--navy); }
.see-all { margin-top: 30px; font-weight: 500; }
.see-all a { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: .28em; text-decoration-color: var(--gold); }

/* ---------- recent projects (home) ---------- */
.recent { padding: calc(var(--sec) * .6) 0 calc(var(--sec) * .5); }
.recent + .reviews { padding-top: calc(var(--sec) * .6); }
.rc-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.rc-feature { position: relative; }
.rc-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rc-txt { padding-top: 18px; }
.rc-txt h3, .rc-item h3 { font-size: 1.2rem; }
.rc-txt h3 a, .rc-item h3 a { color: var(--navy); text-decoration: none; }
.rc-txt h3 a::after, .rc-item h3 a::after { content: ""; position: absolute; inset: 0; }
.rc-feature:hover h3 a, .rc-item:hover h3 a { color: var(--blue-d); text-decoration: underline; text-decoration-thickness: 2px; }
.job-kind { margin: 4px 0 10px; font: 600 13.5px/1.3 var(--fh); color: var(--blue); letter-spacing: .02em; }
.rc-txt p:last-child { color: var(--muted); }
.rc-list { display: grid; gap: 18px; }
.rc-item { position: relative; display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; }
.rc-item img { width: 132px; height: 132px; object-fit: cover; }
.rc-item .job-kind { margin-bottom: 0; }

/* ---------- reviews: big score + three quotes ---------- */
.reviews { padding: var(--sec) 0; }
.rv-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.rv-score { position: relative; background: var(--field); color: var(--white); padding: 34px 30px 30px; overflow: hidden; }
.rv-score::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 140px; height: 110px; background: var(--blue); clip-path: polygon(0 0, 100% 0, 100% 100%); opacity: .9; }
.rv-big { font: 700 5.2rem/1 var(--fh); margin: 0 0 8px; letter-spacing: -.03em; }
.rv-score .stars { width: 130px; height: 26px; }
.rv-score .stars .s-off path { fill: #45597e; }
.rv-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--white); font-size: 15px; }
.rv-link .g { width: 24px; height: 24px; background: #fff; border-radius: 50%; padding: 3px; }
.rv-list { display: grid; gap: 0; }
.q { margin: 0; padding: 20px 0; box-shadow: inset 0 -1px 0 var(--line); }
.q:first-child { padding-top: 0; }
.q blockquote { margin: 0; }
.q p { font-size: 1.06rem; color: var(--ink); }
.q figcaption { display: flex; align-items: center; gap: 8px; margin-top: 10px; font: 600 14.5px/1.2 var(--fh); color: var(--navy); }
.q .g { width: 18px; height: 18px; }
.rv-more { margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { padding: var(--sec) 0; background: var(--soft); }
.qa-list { display: grid; }
.qa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px 48px; padding: 22px 0; box-shadow: inset 0 1px 0 #d3d9e1; }
.qa h3 { font-size: 1.08rem; }
.qa p { color: var(--muted); max-width: 64ch; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.acc details { box-shadow: inset 0 -1px 0 #d3d9e1; }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h3 { font-size: 1.05rem; }
.acc summary .dd { flex: none; width: 20px; height: 20px; color: var(--blue); }
.acc details[open] summary .dd { transform: rotate(180deg); }
.acc details p { padding: 0 40px 20px 0; color: var(--muted); }

/* ---------- quote form band ---------- */
.quote { background: var(--field); color: var(--white); padding: var(--sec) 0; }
.q-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.q-quiet { color: #c9d3e1; }
.q-quiet a { color: var(--white); font-weight: 600; }
.q-panel { background: var(--white); color: var(--ink); padding: clamp(22px, 3vw, 36px); }
.q-steps { display: flex; gap: 6px; margin-bottom: 22px; counter-reset: qs; }
.q-steps li { flex: 1; padding-top: 10px; font: 600 13px/1.3 var(--fh); color: #8b94a1; box-shadow: inset 0 3px 0 var(--line); counter-increment: qs; }
.q-steps li::before { content: counter(qs) ". "; }
.q-steps li.on { color: var(--navy); box-shadow: inset 0 3px 0 var(--gold); }
.q-steps li.done { color: var(--blue); box-shadow: inset 0 3px 0 var(--blue); }
.q-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.js .q-step:not(.is-on) { display: none; }
.q-step legend, .legend2 { font: 600 1.05rem/1.3 var(--fh); color: var(--navy); margin-bottom: 14px; padding: 0; }
.legend2 { margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid #c6cdd6; border-radius: var(--r); font-size: 15px; color: var(--ink); background: var(--white); cursor: pointer; }
.chip input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.f-row { display: grid; gap: 6px; margin-bottom: 14px; }
.f-row label { font: 600 14.5px/1.3 var(--fh); color: var(--navy); }
.f-row small { font-weight: 400; color: var(--muted); }
.f-row input { height: 46px; padding: 0 14px; border: 1.5px solid #c6cdd6; border-radius: var(--r); font: 16px var(--fb); color: var(--ink); }
.f-row input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(56, 104, 160, .2); }
.f-row input[aria-invalid="true"] { border-color: #b3261e; }
.q-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.q-nav .btn:only-child { margin-left: auto; }
.q-back { border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; min-height: 44px; }
.popia { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.q-err { color: #b3261e; font-size: 14px; margin: 10px 0 0; }

/* ---------- NAP ---------- */
.nap { padding: var(--sec) 0; }
.nap-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.nap-map { position: relative; min-height: 420px; background: var(--soft); }
.nap-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nap-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.nap-t { font: 600 14px/1.3 var(--fh); color: var(--navy); margin: 0 0 10px; letter-spacing: .02em; }
.nap-addr { display: flex; gap: 10px; color: var(--ink); }
.nap-addr .ic { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.contact { display: grid; gap: 8px; margin-top: 12px; }
.contact a, .contact .ci { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: var(--ink); text-decoration: none; font-size: 16px; }
.contact a:hover span { text-decoration: underline; color: var(--blue-d); }
.contact .ic { flex: none; width: 20px; height: 20px; color: var(--blue); }
.week li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15.5px; color: var(--ink); }
.week li.today { font-weight: 600; color: var(--navy); }
.week li.today span:first-child::after { content: " (today)"; font-weight: 400; color: var(--muted); }
.nap-areas { margin-top: 24px; color: var(--muted); font-size: 15.5px; }
.nap-areas b { color: var(--navy); }

/* ---------- service page: about, extras, related ---------- */
.about-svc { padding: var(--sec) 0 calc(var(--sec) * .7); }
.as-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.as-txt > p { max-width: 66ch; }
.as-list { background: var(--soft); padding: 28px 30px; }
.as-list h3 { margin-bottom: 14px; }
.ticks li { position: relative; padding: 6px 0 6px 28px; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 9px; background: var(--blue); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.as-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 56px; margin-top: 52px; }
.ex h3 { margin-bottom: 8px; }
.ex p { color: var(--muted); max-width: 62ch; }
.child-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.tile-wide { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; background: var(--soft); }
.tile-wide img { margin: 0; height: 100%; aspect-ratio: 1; }
.tile-wide > div { padding: 18px 20px 18px 0; }
.related { padding: var(--sec) 0; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.jobs { padding: var(--sec) 0; }
.job-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.job-cards-2 { grid-template-columns: repeat(2, 1fr); }
.job-cards-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.job-cards-4 .jc-ph { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; aspect-ratio: 4 / 5; }
.job-cards-4 .jc-ph .ph:first-child { grid-row: auto; grid-column: 1 / -1; }
.jc-ph { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; aspect-ratio: 3 / 2; margin-bottom: 16px; }
.jc-ph .ph:first-child { grid-row: 1 / -1; }
.jc-ph .ph:only-child { grid-column: 1 / -1; }
.jc-ph:has(.ph:nth-child(2):last-child) .ph:nth-child(2) { grid-row: 1 / -1; }
.job-card h3 { font-size: 1.15rem; }
.job-card p:last-child { color: var(--muted); font-size: 15.5px; }
.job-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 48px; }
.job-row.flip .job-ph { order: 2; }
.job-txt p:last-child { color: var(--muted); }
.job-ph { display: grid; gap: 8px; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr 1fr; aspect-ratio: 4 / 3; }
.job-ph .ph:first-child { grid-row: 1 / -1; }
.job-ph-2 { grid-template-rows: 1fr; grid-template-columns: 1fr 1fr; }
.job-ph-2 .ph:first-child { grid-row: auto; }
.job-ph-3 { grid-template-rows: 1fr 1fr; }
.ph { position: relative; display: block; padding: 0; border: 0; background: var(--soft); cursor: zoom-in; overflow: hidden; min-height: 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .ph:hover img { transform: scale(1.03); } }

/* ---------- town page ---------- */
.town-what { padding: var(--sec) 0 calc(var(--sec) * .7); }
.link-rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.link-rows a { display: block; padding: 16px 0; text-decoration: none; box-shadow: inset 0 -1px 0 var(--line); }
.link-rows strong { display: block; font: 600 16.5px/1.3 var(--fh); color: var(--navy); }
.link-rows small { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.link-rows a:hover strong { color: var(--blue-d); text-decoration: underline; }
.town-where { padding: var(--sec) 0; }
.town-list { display: flex; flex-wrap: wrap; gap: 10px 32px; font: 600 1.2rem/1.4 var(--fh); color: var(--navy); }
.contact-navy a { color: var(--white); }
.contact-navy .ic { color: var(--gold); }

/* ---------- projects page ---------- */
.jump ul { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; background: var(--white); color: var(--navy); font: 600 14px/1 var(--fh); text-decoration: none; border-radius: var(--r); }
.jump a:hover { background: var(--navy); color: var(--white); }
.pj { padding: calc(var(--sec) * .7) 0; scroll-margin-top: calc(var(--head-h) + 8px); }
.pj:nth-of-type(even) { background: var(--soft); }
.pj-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 8px 40px; align-items: start; margin-bottom: 28px; }
.pj-head h2 { grid-column: 1; }
.pj-head .job-kind { grid-column: 1; grid-row: 2; margin: 0; }
.pj-head > p:not(.job-kind) { grid-column: 2; grid-row: 1 / 3; color: var(--muted); max-width: 62ch; }
.pj-head .btn { grid-column: 3; grid-row: 1 / 3; }
.ba-grid-pj { margin-bottom: 20px; }
.pj-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.pj-grid .ph { aspect-ratio: 3 / 4; }
.reel { position: relative; display: block; padding: 0; border: 0; background: #0b1731; cursor: pointer; aspect-ratio: 3 / 4; overflow: hidden; }
.reel img, .reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel::after { content: ""; position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; translate: -50% -50%; border-radius: 50%; background: rgba(8, 18, 38, .62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='white'/%3E%3C/svg%3E") center / 26px no-repeat; }
.reel.is-on::after, .reel.is-on .reel-len { display: none; }
.reel-len { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; background: rgba(8, 18, 38, .7); color: #fff; font-size: 13px; }

/* ---------- about page ---------- */
.story { padding: var(--sec) 0; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.story-txt > p { max-width: 66ch; }
.story-ph img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.story-flip { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); }
.story-flip .story-ph { order: -1; }
.promise { margin-top: 24px; font: 600 1.2rem/1.4 var(--fh); color: var(--navy); }
.promise span { display: block; margin-top: 4px; font: 400 15px/1.5 var(--fb); color: var(--muted); }
.regs { padding: var(--sec) 0; background: var(--soft); }
.reg-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 36px; }
.reg-cards li { background: var(--white); padding: 26px 24px; }
.reg-lg { height: 64px; margin-bottom: 18px; }
.reg-cards .reg-nhbrc { height: 76px; }
.reg-cards h3 { font-size: 1rem; margin-bottom: 4px; }
.reg-cards p { color: var(--muted); font-size: 15px; }
.bb-big { font: 700 15px/1.1 var(--fh); color: var(--navy); margin-bottom: 18px !important; min-height: 64px; }
.bb-big b { font-size: 30px; color: var(--blue-d); }
.ticks-cols { columns: 2; column-gap: 48px; max-width: 820px; }
.ticks-cols li { break-inside: avoid; }
.feature { padding: var(--sec) 0; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ft-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ft-txt > p { color: var(--muted); }
.gives { padding: var(--sec) 0; background: var(--soft); }
.gv-grid { max-width: 820px; }

/* ---------- contact page ---------- */
.contact-page { padding: clamp(32px, 4vw, 56px) 0 var(--sec); background: var(--soft); }
.cp-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.cp-form h1 { margin-bottom: 20px; }
.cp-form .qform { background: var(--white); padding: clamp(22px, 3vw, 36px); }
.cp-side { padding-top: 40px; }
.cp-h { font-size: 1.3rem; margin-bottom: 4px; }
.cp-side .nap-t { margin-top: 26px; }
.cp-map { min-height: 320px; margin-top: 14px; }
.cp-map { padding: 0 0 var(--sec); background: var(--soft); }
.nap-map-wide { min-height: 380px; }

/* ---------- legal / 404 ---------- */
.legal { padding: clamp(40px, 5vw, 72px) 0 var(--sec); }
.legal h1 { margin-bottom: 18px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 8px; }
.legal .lead { color: var(--muted); font-size: 1.1rem; }
.legal .link-rows { margin-top: 24px; }

/* ---------- footer ---------- */
.site-foot { background: var(--field-2); color: #c9d2df; font-size: 15px; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr 1.3fr; gap: 36px; padding: 64px 0 48px; }
.f-brand p { margin-top: 18px; max-width: 34ch; }
/* social icons in their own brand colours, no hover shape */
.f-brand .f-social { display: flex; gap: 12px; margin: 16px 0 0 -9px; }
.f-social a { display: inline-grid; place-items: center; width: 44px; height: 44px; transition: opacity .18s; }
.f-social .ic { width: 26px; height: 26px; }
.f-social a:hover { opacity: .8; }
.f-social a:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.logo-foot .mark { width: 52px; }
.f-t { font: 600 14px/1.3 var(--fh); color: var(--white); letter-spacing: .04em; margin-bottom: 14px; }
.f-col li { margin-bottom: 8px; }
.f-col a { color: #c9d2df; text-decoration: none; }
.f-col a:hover { color: var(--gold); text-decoration: underline; }
.contact-foot a, .contact-foot .ci { color: #c9d2df; font-size: 15px; align-items: flex-start; min-height: 0; }
.contact-foot .ic { color: var(--gold); margin-top: 2px; }
.f-legal { background: #0a1630; font-size: 13.5px; }
.f-legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0; }
.f-legal p { margin: 0; }
.f-legal a { color: #c9d2df; }

/* ---------- WhatsApp float + lightbox ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); transition: opacity .2s, transform .2s; }
.wa-float .ic { width: 34px; height: 34px; }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
.lb { width: min(1100px, 96vw); max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lb::backdrop { background: rgba(6, 12, 26, .9); }
.lb figure { margin: 0; text-align: center; }
.lb img { max-width: 100%; max-height: 82vh; margin: 0 auto; object-fit: contain; }
.lb figcaption { color: #e6ebf2; margin-top: 10px; font-size: 15px; }
.lb-count { position: absolute; left: 0; top: -36px; margin: 0; color: #c9d2df; font-size: 14px; }
.lb-x, .lb-prev, .lb-next { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; font-size: 28px; line-height: 1; }
.lb-x { right: 0; top: -54px; }
.lb-prev { left: -64px; top: 40%; } .lb-next { right: -64px; top: 40%; }
.lb-prev svg, .lb-next svg { width: 24px; height: 24px; }
.lb-prev:disabled, .lb-next:disabled { opacity: .3; cursor: default; }

/* ---------- motion: "set" (planes slide along the mark's edges and set into place) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .bigmark polygon { opacity: 0; animation: set 1s var(--ease) forwards; }
  .js .bigmark .p-g1 { --fx: -26px; --fy: -20px; animation-delay: .1s; }
  .js .bigmark .p-wr { --fx: 26px; --fy: -20px; animation-delay: .18s; }
  .js .bigmark .p-wl { --fx: -30px; --fy: 0px; animation-delay: .24s; }
  .js .bigmark .p-nv { --fx: 30px; --fy: 10px; animation-delay: .32s; }
  .js .bigmark .p-bl { --fx: -24px; --fy: 26px; animation-delay: .4s; }
  .js .bigmark .p-g2 { --fx: 22px; --fy: 24px; animation-delay: .48s; }
  @keyframes set { from { opacity: 0; transform: translate(var(--fx), var(--fy)); } to { opacity: 1; transform: none; } }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-a, .nav-btn { padding: 0 9px; font-size: 14.5px; }
  .head-row { gap: 18px; }
  .f-grid { grid-template-columns: 1fr 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 1040px) {
  .auth-row { grid-template-columns: 1fr; }
  .auth-logos { justify-self: start; }
  .nav, .head-cta { display: none; }
  .burger { display: block; }
  :root { --head-h: 66px; }
  .site-head.is-scrolled .head-row { height: var(--head-h); }
  .svc-group { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .pj-head { grid-template-columns: 1fr; }
  .pj-grid { grid-template-columns: repeat(4, 1fr); }
  .job-cards { grid-template-columns: 1fr 1fr; }
  .pj-head h2, .pj-head .job-kind, .pj-head > p:not(.job-kind), .pj-head .btn { grid-column: 1; grid-row: auto; }
  .pj-head .btn { justify-self: start; margin-top: 8px; }
  .reg-cards { grid-template-columns: repeat(2, 1fr); }
  .rv-grid { grid-template-columns: 1fr; }
  .rv-score { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 6px 20px; padding: 24px; }
  .rv-big { font-size: 3.6rem; margin: 0; }
  .rv-link { margin: 0; }
}
@media (max-width: 900px) {
  .hero-grid, .why-grid, .as-grid, .rc-grid, .q-grid, .nap-grid, .faq-grid, .story-grid, .story-flip, .ft-grid, .cp-grid, .job-row { grid-template-columns: 1fr; }
  .story-flip .story-ph { order: 2; }
  .job-row.flip .job-ph { order: 0; }
  .hero-media { width: min(100%, 520px); justify-self: start; }
  .hero-ph { justify-self: start; width: min(100%, 560px); }
  .why-ph { max-width: 520px; }
  .cp-side { padding-top: 0; }
  .qa { grid-template-columns: 1fr; gap: 8px; }
  .child-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --gut: 16px; --sec: 60px; }
  body { font-size: 16.5px; }
  .hero-home { padding-top: 28px; padding-bottom: 56px; }
  .hero-home .lead { font-size: 1.05rem; margin: 14px 0 24px; }
  .vframe { aspect-ratio: 6 / 5; }
  .hero-home h1 { font-size: 1.95rem; }
  .hero-home .trust { margin-bottom: 12px; }
  .hero-media { width: calc(100% - 28px); margin-left: 14px; }
  .hero-inner { padding-bottom: 52px; }
  .hero-ph { width: calc(100% - 28px); margin-left: 14px; }
  .hero-ph img { aspect-ratio: 4 / 3; }
  .svc-tiles { grid-template-columns: 1fr 1fr; gap: 16px; }
  .svc-tiles .tile:first-child { grid-column: 1 / -1; }
  .svc-wide { grid-template-columns: 1fr; }
  .svc-wide > div { padding: 0 18px 20px; }
  .why-cols, .why-cols.why-4 { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; gap: 28px; }
  .ba-panels { aspect-ratio: 4 / 3; }
  .rc-item { grid-template-columns: 96px 1fr; }
  .rc-item img { width: 96px; height: 96px; }
  .nap-cols { grid-template-columns: 1fr; }
  .nap-map { min-height: 300px; }
  .link-rows { grid-template-columns: 1fr; }
  .pj-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .job-cards, .job-cards-2, .job-cards-4 { grid-template-columns: 1fr; gap: 36px; }
  .reg-cards { grid-template-columns: 1fr; }
  .ticks-cols { columns: 1; }
  .rv-score { grid-template-columns: auto 1fr; }
  .rv-score .rv-link { grid-column: 1 / -1; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding: 48px 0 32px; }
  .f-contact { grid-column: 1 / -1; }
  .q-steps li { font-size: 12px; }
  .auth-logos { max-width: none; justify-self: stretch; gap: 12px; }
  .reg-logo { height: 40px; }
  .auth-logos .reg-nhbrc { height: 52px; }
  .auth-logos li span { display: none; }
  .bbbee span { display: block !important; }
  .lb-prev { left: 4px; top: auto; bottom: -60px; } .lb-next { right: 4px; top: auto; bottom: -60px; }
  .steps .num { font-size: 2.6rem; margin-bottom: 6px; }
  .steps { gap: 22px; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; }
  .steps .num { grid-row: 1 / 3; }
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } *, *::before { transition: none !important; animation: none !important; } }

/* =========== leak detection site (same brand, its own layout) =========== */
.leak .logo-txt small { letter-spacing: .22em; }
.hero-leak { background: var(--blue); color: var(--white); }
.hl-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); min-height: min(640px, 78vh); }
.hl-panel { position: relative; overflow: hidden; display: flex; align-items: center; }
.hl-txt { position: relative; z-index: 1; width: 100%; max-width: calc(var(--wrap) * .54); margin-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); padding: 56px 40px 64px 0; }
.hero-leak h1 { color: var(--white); max-width: 20ch; }
.hero-leak .lead { color: #e6edf6; font-size: 1.14rem; max-width: 44ch; margin: 16px 0 28px; }
.hero-leak .crumbs ol, .hero-leak .crumbs a { color: #dbe5f1; }
.hero-leak .crumbs li + li::before { color: #b7c8de; }
.hero-leak .trust-dark .stars .s-off path { fill: #6f93bf; }
.hl-mark { position: absolute; right: -14%; bottom: -26%; width: 62%; z-index: 0; }
.hl-mark .p-wl, .hl-mark .p-wr { fill: rgba(255, 255, 255, .10); }
.hl-mark .p-g1, .hl-mark .p-g2 { fill: rgba(21, 40, 77, .22); }
.hl-mark .p-nv { fill: rgba(21, 40, 77, .40); }
.hl-mark .p-bl { fill: rgba(255, 255, 255, .16); }
.hl-ph { position: relative; min-height: 360px; }
.hl-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.leak .process { background: var(--field); }
.svc-tiles-4 { grid-template-columns: repeat(4, 1fr); margin-bottom: 28px; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.st { margin: 0; }
.st .ph { aspect-ratio: 4 / 3; width: 100%; }
.st figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.menu-one { grid-template-columns: 300px; }
.f-row-2 { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.f-row-2 > div { display: grid; gap: 6px; }
.f-row-2 label { font: 600 14.5px/1.3 var(--fh); color: var(--navy); }
.nl-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, 1.5fr); grid-template-areas: "c h m"; gap: 36px clamp(28px, 4vw, 56px); align-items: start; }
.nl-c { grid-area: c; } .nl-h { grid-area: h; }
.nl-m { grid-area: m; align-self: stretch; min-height: 400px; }
.nap-leak .nap-t { margin-top: 6px; }
.f-grid-leak { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
@media (prefers-reduced-motion: no-preference) {
  .js .hl-mark polygon { opacity: 0; animation: set 1s var(--ease) forwards; }
  .js .hl-mark .p-g1 { --fx: -26px; --fy: -20px; animation-delay: .1s; } .js .hl-mark .p-wr { --fx: 26px; --fy: -20px; animation-delay: .18s; }
  .js .hl-mark .p-wl { --fx: -30px; --fy: 0px; animation-delay: .24s; } .js .hl-mark .p-nv { --fx: 30px; --fy: 10px; animation-delay: .32s; }
  .js .hl-mark .p-bl { --fx: -24px; --fy: 26px; animation-delay: .4s; } .js .hl-mark .p-g2 { --fx: 22px; --fy: 24px; animation-delay: .48s; }
}
@media (max-width: 1040px) { .svc-tiles-4 { grid-template-columns: repeat(2, 1fr); } .nl-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "c h" "m m"; } .nl-m { min-height: 380px; } .f-grid-leak { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .hl-grid { grid-template-columns: 1fr; min-height: 0; }
  .hl-txt { max-width: none; margin: 0; padding: 32px var(--gut) 40px; }
  .hl-ph { min-height: 0; aspect-ratio: 16 / 10; }
  .hl-mark { width: 90%; right: -30%; bottom: -30%; }
  .strip { grid-template-columns: 1fr; }
  .nl-grid { grid-template-columns: 1fr; grid-template-areas: "c" "m" "h"; }
  .nl-m { min-height: 320px; }
}
@media (max-width: 700px) { .svc-tiles-4 .tile:first-child { grid-column: auto; } .f-row-2 { grid-template-columns: 1fr; } .f-grid-leak { grid-template-columns: 1fr; } .hero-leak h1 { font-size: 1.9rem; } }

/* white section after white section: about half the padding (rules.md 7) */
.about-svc + .why-svc, .jobs + .reviews, .town-what + .jobs { padding-top: calc(var(--sec) * .55); }
.about-svc:has(+ .why-svc), .jobs:has(+ .reviews) { padding-bottom: calc(var(--sec) * .55); }
@media (max-width: 1040px) { .rv-score::after { display: none; } }
.strip-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .strip-2 { grid-template-columns: 1fr; } }
