/* 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: #0e1a33;      /* header, home hero, form band */
  --field-2: #0a1428;    /* footer */
  --navy: #16264a;       /* logo navy: headings */
  --blue: #35568c;       /* logo blue: the band, links */
  --blue-d: #24406e;
  --grey: #727a83;       /* logo grey */
  --silver: #c9ced6;
  --ink: #26303e;
  --muted: #5b6573;
  --line: #dde2e8;
  --soft: #f4f3f0;       /* light neutral, tinted to the navy */
  --white: #fff;
  --gold: #c9a24d;       /* buttons only */
  --gold-d: #b48a33;
  --r: 2px;
  --wrap: 1240px;
  --gut: 24px;
  --sec: clamp(72px, 9vw, 128px);
  --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); }
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: 600; font-size: clamp(2.1rem, 3.2vw, 3.2rem); letter-spacing: -.022em; }
h2 { font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.45rem); letter-spacing: -.02em; }
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); }

/* ---------- 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:hover { color: var(--white); }
.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: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; margin: 0 0 18px; }
.trust .g { width: 22px; height: 22px; }
.trust strong { font: 700 16px/1 var(--fh); color: var(--navy); }
.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: the build video fills the field; the text sits on a navy plane cut on the logo's angle ---------- */
.hero-home { position: relative; display: grid; align-items: center; min-height: clamp(520px, calc(100svh - var(--head-h) - 110px), 760px); background: var(--field); color: var(--white); padding: clamp(56px, 7vw, 96px) 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { z-index: 1; opacity: 0; transition: opacity .5s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-bg::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(14, 26, 51, .3), rgba(14, 26, 51, .1)); }
/* the navy plane ends exactly on the video's seam between the slab pour and the finished house. The seam runs from
   69.213% (top) to 64.12% (bottom) of the 1728x972 video; these follow it through object-fit: cover at any hero shape. */
.hero-bg { container-type: size; --wd: max(100cqw, 177.778cqh); --hd: max(100cqh, 56.25cqw); --sx: calc((100cqw - var(--wd)) / 2 + var(--wd) * .66667); }
.hero-bg::after { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(14, 26, 51, .7); clip-path: polygon(0 0, calc(var(--sx) + 100cqh * .04527) 0, calc(var(--sx) - 100cqh * .04527) 100%, 0 100%); }
.hero-over { position: relative; z-index: 3; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-txt { position: relative; z-index: 2; }
.hero-home .hero-txt { max-width: 650px; }
.hero-home h1 { color: var(--white); max-width: none; text-shadow: 0 2px 18px rgba(10, 20, 44, .55); }
@media (min-width: 1500px) { .hero-home .hero-txt { max-width: 730px; } }
.hero-home .lead { color: #e1e8f2; font-size: 1.15rem; max-width: 44ch; margin: 18px 0 30px; }
.video-toggle { position: absolute; right: 18px; top: 18px; z-index: 4; 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; }
@media (max-width: 1100px) { .hero-bg::after { clip-path: none; background: rgba(14, 26, 51, .72); } }

/* ---------- 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: center; width: min(100%, 470px); }
.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: 0; background: var(--soft); }
.auth-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: stretch; gap: 0 48px; }
.auth-label { margin: 0; align-self: center; padding: 34px 0; font: 600 1.1rem/1.4 var(--fh); color: var(--navy); max-width: 30ch; }
.auth-logos { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: stretch; }
.auth-logos li { display: flex; align-items: center; justify-content: center; padding: 34px 18px; }
.reg-logo { height: 52px; width: auto; }
.auth-logos .reg-logo { height: 46px; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; opacity: .82; }
.auth-logos .reg-nhbrc { height: 60px; }
.bbbee { flex-direction: column; text-align: center; }
.bbbee b { font: 600 11.5px/1.2 var(--fh); color: var(--muted); letter-spacing: .16em; }
.bbbee b.lvl { font: 600 22px/1.2 var(--fh); letter-spacing: -.01em; color: var(--navy); margin: 3px 0 2px; }
.bbbee span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) {
  .auth-row { grid-template-columns: 1fr; }
  .auth-label { padding: 26px 0 4px; max-width: none; }
  .auth-logos li { padding: 20px 6px 26px; box-shadow: none; }
}

/* ---------- services (home): two rows by category + the insurance row ---------- */
.services { padding: var(--sec) 0; padding-top: calc(var(--sec) * .55); }
.st-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(250px, 23vw, 320px); gap: 18px; }
.st { position: relative; overflow: hidden; background: var(--field); }
.st-2 { grid-column: span 2; }
.st img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
/* the caption sits on a navy plane whose top edge is cut on the logo's angle */
.st-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 20px 18px; color: var(--white); }
.st-cap::before { content: ""; position: absolute; inset: 0; background: rgba(14, 26, 51, .9); clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%); transition: background .3s; }
.st-cap > * { position: relative; }
.st-cap h3 { font-size: 1.18rem; line-height: 1.2; }
.st-2 .st-cap h3 { font-size: 1.4rem; }
.st-cap h3 a { color: var(--white); text-decoration: none; }
.st-cap h3 a::after { content: ""; position: absolute; inset: -400px 0 0; }
.st-cap h3 + p { color: #d6dfec; font-size: 14.5px; line-height: 1.45; margin-top: 4px; }
.st:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.st:hover .st-cap::before, .st:focus-within .st-cap::before { background: rgba(32, 56, 98, .96); }
.st:hover h3 a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
@media (hover: hover) and (pointer: fine) { .st:hover img { transform: scale(1.03); } }
.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: 140px; max-height: 170px; 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) ---------- */
.ins { padding: var(--sec) 0; background: var(--soft); }
.ins-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.ins-ph img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ins-list { margin-bottom: 30px; }
.ins-list .ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.ins .sec-head { margin-bottom: 18px; }
.ins-txt > p { color: var(--muted); max-width: 58ch; margin-bottom: 26px; }
.ins-list h3 { font-size: 1.15rem; margin-bottom: 10px; }
.ins + .why { background: var(--white); }
@media (max-width: 900px) { .ins-grid { grid-template-columns: 1fr; } .ins-ph img { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .ins-list .ticks { grid-template-columns: 1fr; } }
.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; }
.points li:has(.mic) { grid-template-columns: 40px 1fr; }
.points .mic { width: 40px; height: 40px; margin-top: -4px; }
.mic { display: block; background: currentColor; -webkit-mask: var(--mic) center / contain no-repeat; mask: var(--mic) center / contain no-repeat; }
.mic-engineer { --mic: url(/img/icons/engineer.png); }
.mic-speech-bubble { --mic: url(/img/icons/speech-bubble.png); }
.mic-deadline { --mic: url(/img/icons/deadline.png); }
.mic-house-renew { --mic: url(/img/icons/house-renew.png); }
.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; }

/* ---------- 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: 1 / 1; background: var(--soft); overflow: hidden; user-select: none; -webkit-user-select: none; }
.ba-b, .ba-a { position: absolute; inset: 0; }
.ba-b img, .ba-a img { width: 100%; height: 100%; object-fit: cover; }
.ba-b { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
/* the handle is the logo's diamond on a white line */
.cmp-handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; }
.cmp-handle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; background: var(--white); box-shadow: 0 6px 16px -6px rgba(5, 12, 28, .5); transform: rotate(45deg); }
.cmp-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315284d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.cmp-range { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.cmp-range:focus-visible ~ .cmp-handle { background: var(--gold); }
.ba-band .ba-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ba-band .ba-panels, .ba-grid-3 .ba-panels, .ba-hero { aspect-ratio: 4 / 5; }
.ba-tag { position: absolute; z-index: 2; top: 12px; left: 12px; pointer-events: none; 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); }
.pw { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; margin: 0; padding: 0; list-style: none; }
.pw-i { position: relative; overflow: hidden; height: clamp(380px, 34vw, 640px); background: var(--field); }
.pw-i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pw-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 22px 22px; color: var(--white); background: linear-gradient(180deg, rgba(13, 26, 54, 0) 0%, rgba(13, 26, 54, .82) 62%, rgba(13, 26, 54, .92) 100%); }
.pw-cap p { font: 600 12.5px/1.3 var(--fh); letter-spacing: .04em; color: #d6dfec; margin-bottom: 5px; }
.pw-cap h3 { font-size: 1.2rem; line-height: 1.25; }
.pw-cap h3 a { color: var(--white); text-decoration: none; }
.pw-cap h3 a::after { content: ""; position: absolute; inset: -900px 0 0; }
.pw-i:hover h3 a, .pw-i:focus-within h3 a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.pw-i:focus-within { outline: 3px solid var(--gold); outline-offset: -3px; }
@media (hover: hover) and (pointer: fine) { .pw-i:hover img { transform: scale(1.04); } }
@media (max-width: 1000px) { .pw { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46vw; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .pw::-webkit-scrollbar { display: none; } .pw-i { scroll-snap-align: start; height: 62vw; max-height: 520px; } }
.job-kind { margin: 4px 0 10px; font: 600 13.5px/1.3 var(--fh); color: var(--blue); letter-spacing: .02em; }

/* ---------- reviews: big score + three quotes ---------- */
.reviews { padding: var(--sec) 0; }
.rv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(26px, 3vw, 40px); }
.rv-head .sec-head { margin-bottom: 0; }
.rv-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 15px; }
.rv-link .g { width: 26px; height: 26px; }
.rv-link strong { font: 700 1.7rem/1 var(--fh); color: var(--navy); }
.rv-link .stars { width: 110px; height: 22px; }
.rv-link span { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.rv-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.rv-track { display: flex; gap: 20px; width: max-content; margin: 0; padding: 0; list-style: none; animation: rv-scroll 80s linear infinite; }
.rv-track li { flex: none; width: min(380px, 82vw); }
.rv-marquee:hover .rv-track, .rv-marquee:focus-within .rv-track { animation-play-state: paused; }
@keyframes rv-scroll { to { transform: translateX(calc(-50% - 10px)); } }
.q { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; height: 100%; margin: 0; padding: 24px 26px; background: var(--soft); }
.q blockquote { margin: 0; }
.q p { font-size: 1.02rem; color: var(--ink); }
.q figcaption { display: flex; align-items: center; gap: 8px; font: 600 14.5px/1.2 var(--fh); color: var(--navy); }
.q .g { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .rv-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; -webkit-mask-image: none; mask-image: none; } .rv-track li[aria-hidden] { display: none; } .rv-track { padding-bottom: 8px; } }

/* ---------- FAQ ---------- */
.faq { padding: var(--sec) 0; background: var(--soft); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .sub { margin-inline: auto; }
.acc { max-width: 820px; margin-inline: auto; }
.acc details { box-shadow: inset 0 -1px 0 #cfd6df; }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 62px; padding: 14px 0; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h3 { font-size: 1.05rem; }
.acc summary:hover h3 { color: var(--blue-d); }
.acc summary .dd { flex: none; width: 20px; height: 20px; color: var(--blue); transition: transform .25s var(--ease); }
.acc details[open] summary .dd { transform: rotate(180deg); }
.acc details p { padding: 0 48px 22px 0; color: var(--muted); }

/* ---------- quote form band ---------- */
/* the quote band sits over a real job photo (the pump on pour day) under a navy wash */
.quote { position: relative; color: var(--white); padding: var(--sec) 0; background: linear-gradient(90deg, rgba(14, 26, 51, .95) 0%, rgba(14, 26, 51, .86) 55%, rgba(14, 26, 51, .78) 100%), url(/img/work/sandown-pump-sunrise-960.webp) center 38% / cover no-repeat var(--field); }
.quote-light { background: var(--soft); }
.q-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.q-quiet { color: #c9d3e1; }
.quote-light { color: var(--ink); }
.quote-light .q-quiet { color: var(--muted); }
.quote-light .q-quiet a { color: var(--navy); }
.quote-light .q-panel { box-shadow: 0 0 0 1px var(--line); }
.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; align-self: stretch; min-height: 380px; background: var(--soft); }
.nap-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nap-grid { align-items: center; }
.nap-facts h2 { margin-bottom: 26px; }
.nap-rows { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.nap-rows li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-items: start; }
.nap-rows .ic { width: 24px; height: 24px; color: var(--blue); margin-top: 2px; }
.nap-rows strong { display: block; font: 600 1.1rem/1.35 var(--fh); color: var(--navy); }
.nap-rows a { color: inherit; text-decoration: none; }
.nap-rows a:hover strong { color: var(--blue-d); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.nap-rows span { display: block; color: var(--muted); font-size: 16px; margin-top: 2px; }
.nap-h3 { font-size: 1.1rem; margin: 30px 0 8px; }
.nap-p { color: var(--muted); max-width: 54ch; }
.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-grid-ph { grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); align-items: stretch; }
.as-ph { position: relative; min-height: 420px; }
.as-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.as-lh { margin: 26px 0 8px; }
.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:only-child { grid-column: 1 / -1; }
.ex h3 { margin-bottom: 8px; }
.ex p { color: var(--muted); max-width: 62ch; }
.kids { padding: calc(var(--sec) * .55) 0 0; }
.child-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.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 h3 a { color: var(--navy); text-decoration: none; }
.job-card h3 a:hover { color: var(--blue-d); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.job-card .job-kind { margin-bottom: 0; }
.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: 12px 0; text-decoration: none; }
.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.5fr); gap: 10px 48px; align-items: start; margin-bottom: 26px; }
.pj-head .job-kind { margin: 6px 0 0; }
.pj-head > p { color: var(--muted); max-width: 64ch; }
.ba-grid-pj { margin-bottom: 20px; }
.ba-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ba-grid-1 { grid-template-columns: minmax(0, 560px); }
.ba-grid-1 .ba-panels { aspect-ratio: 4 / 3; }
.pj-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-grid > .ph, .pj-grid > .reel { flex: 1 1 170px; height: 260px; aspect-ratio: auto; }
.reel { position: relative; display: block; padding: 0; border: 0; background: #0b1731; cursor: pointer; 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(--white); }
.reg-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 40px; margin-bottom: 40px; align-items: start; }
.reg-lg { height: 60px; width: auto; margin-bottom: 14px; }
.reg-row .reg-nhbrc { height: 74px; }
.reg-row p { color: var(--muted); font-size: 15px; }
.reg-row p b { display: block; color: var(--navy); font: 600 15px/1.35 var(--fh); margin-bottom: 2px; }
.bb-big { font: 700 15px/1.1 var(--fh); color: var(--navy); margin-bottom: 14px !important; min-height: 60px; display: flex; align-items: flex-end; gap: 6px; }
.bb-big b { font-size: 28px; color: var(--blue-d); }
.ticks-one { max-width: 640px; }
.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(--blue); color: var(--white); }
.gives a { color: var(--white); font-weight: 600; }
.gives p { color: #e6edf6; }
.gv-grid > div { max-width: 760px; }

/* ---------- 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 { 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; }
.logo-foot .mark { width: 52px; }
.f-social { display: flex; gap: 10px; margin-left: -10px; }
.f-social a { display: inline-grid; place-items: center; width: 44px; height: 44px; }
.f-social svg { width: 24px; height: 24px; }
.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; }
.contact-foot a:hover span { color: var(--gold); }
.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) {
  .nav, .head-cta { display: none; }
  .burger { display: block; }
  :root { --head-h: 66px; }
  .site-head.is-scrolled .head-row { height: var(--head-h); }
  .st-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .pj-head { grid-template-columns: 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-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) { .ba-band .ba-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .hero-ba { justify-self: start; }
  .hero-home { align-items: end; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(14, 26, 51, .2) 0%, rgba(14, 26, 51, .82) 46%, rgba(14, 26, 51, .95) 100%); }
  .hero-plain .hero-grid > * { min-width: 0; }
  .jump ul { max-width: 100%; }
  .as-ph { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-grid, .why-grid, .as-grid, .as-grid-ph, .q-grid, .nap-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-ph { justify-self: start; width: min(100%, 560px); }
  .why-ph { max-width: 520px; }
  .cp-side { padding-top: 0; }
  .child-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --gut: 16px; --sec: 60px; }
  body { font-size: 16.5px; }
  .hero-home { align-items: end; min-height: min(calc(100svh - var(--head-h) - 56px), 640px); padding: 120px 0 64px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(14, 26, 51, .2) 0%, rgba(14, 26, 51, .82) 46%, rgba(14, 26, 51, .95) 100%); }
  .video-toggle { right: 12px; top: 12px; }
  .hero-home .lead { font-size: 1.05rem; margin: 14px 0 24px; }
  .hero-ph .bigmark { top: 62%; width: 128%; }
  .hero-cap { display: none; }
  .jump ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .jump li { flex: none; }
  .tile-wide { grid-template-columns: 1fr; }
  .tile-wide > div { padding: 0 16px 18px; }
  .tile-wide img { aspect-ratio: 16 / 10; }
  .rel-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .reg-logo { height: 40px; }
  .auth-logos .reg-logo { height: 36px; }
  .auth-logos .reg-nhbrc { height: 48px; }
  .pj-head { grid-template-columns: 1fr; }
  .pj-grid { gap: 6px; }
  .pj-grid > .ph, .pj-grid > .reel { flex: 1 1 30%; height: 160px; }
  .hero-home h1 { font-size: 1.95rem; }
  .hero-home .trust { margin-bottom: 12px; }
  .hero-inner { padding-bottom: 52px; }
  .hero-ph { width: calc(100% - 28px); margin-left: 14px; }
  .hero-ph img { aspect-ratio: 4 / 3; }
  .st-grid { grid-auto-rows: 230px; gap: 12px; }
  .st-cap { padding: 30px 14px 14px; }
  .st-cap h3 { font-size: 1.02rem; }
  .st-2 .st-cap h3 { font-size: 1.2rem; }
  .st-cap h3 + p { font-size: 13.5px; }
  .st:not(.st-2) .st-cap h3 + p { display: none; }
  .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, .ba-grid-3 { grid-template-columns: 1fr; gap: 28px; }
  .ba-band .ba-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .ba-band .ba figcaption { font-size: 13.5px; }
  .ba-grid-3 .ba-panels { aspect-ratio: 1 / 1; }
  .pw { grid-auto-columns: 72vw; }
  .pw-i { height: 96vw; }
  .pw-cap { padding: 70px 16px 16px; }
  .acc details p { padding: 0 8px 18px 0; }
  .nap-map { min-height: 300px; }
  .link-rows { grid-template-columns: 1fr; }
  .job-cards, .job-cards-2, .job-cards-4 { grid-template-columns: 1fr; gap: 36px; }
  .reg-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .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 .reg-logo { height: 26px; }
  .auth-logos .reg-nhbrc { height: 40px; }
  .auth-logos .bbbee b { font-size: 9.5px; letter-spacing: .1em; }
  .auth-logos .bbbee b.lvl { font-size: 16px; }
  .auth-logos .bbbee span { font-size: 10.5px; }
  .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; } }

/* 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); }
.strip-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .strip-2 { grid-template-columns: 1fr; } }

/* ---------- dark premium (the site's one direction, 24 Nov 2026): deep navy fields, large photos, quiet type, gold on
   buttons and small marks only. No mid-blue bands, no slanted cuts. ---------- */
.btn::before { background: var(--gold-d); clip-path: none; opacity: 0; transition: opacity .25s; }
.btn:hover, .btn:focus-visible { color: var(--field); }
.btn:hover::before, .btn:focus-visible::before { clip-path: none; opacity: 1; }
.sec-head .sub { font-size: 1.1rem; }
/* hero: the navy panel ends on the straight seam of the video */
.hero-bg::after { clip-path: polygon(0 0, var(--sx) 0, var(--sx) 100%, 0 100%); background: rgba(14, 26, 51, .74); }
@media (max-width: 1100px) { .hero-bg::after { clip-path: none; } }
/* inner heroes: the same navy field as the header */
.hero-inner { background: var(--field); color: var(--white); }
.hero-inner h1 { color: var(--white); }
.hero-inner .lead { color: #cfd8e6; }
.hero-inner .trust { color: #dfe6ef; }
.hero-inner .trust strong { color: var(--white); }
.hero-inner .stars .s-off path { fill: #3d4f74; }
.hero-inner .hero-cap { color: #b9c4d6; }
.jump a { background: rgba(255, 255, 255, .08); color: var(--white); }
.jump a:hover { background: rgba(255, 255, 255, .16); color: var(--white); }
/* service tiles: caption on a soft dark fade instead of a cut plane */
.st-cap { padding-top: 80px; }
.st-cap::before { clip-path: none; background: linear-gradient(180deg, rgba(10, 20, 40, 0) 0%, rgba(10, 20, 40, .8) 58%, rgba(10, 20, 40, .92) 100%); }
.st:hover .st-cap::before, .st:focus-within .st-cap::before { background: linear-gradient(180deg, rgba(10, 20, 40, 0) 0%, rgba(10, 20, 40, .86) 50%, rgba(10, 20, 40, .96) 100%); }
/* small marks: a gold dot, not a cut triangle */
.ticks li::before, .why-cols li::before { clip-path: none; width: 8px; height: 8px; border-radius: 50%; top: 15px; left: 3px; background: var(--gold); }
.why-cols li::before { top: 9px; }
.cmp-handle::before { transform: none; border-radius: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; }
/* process and Fidem Gives Back: deep navy, thin gold numerals over a hairline */
.process, .gives { background: var(--field); }
.steps li { padding-top: 0; }
.steps .num { font: 500 1.05rem/1 var(--fh); letter-spacing: .08em; color: var(--gold); margin-bottom: 16px; }
.steps p { color: #c5cfdf; }
/* reviews: a dark band */
.reviews { background: var(--field); color: var(--white); }
.reviews .sec-head h2 { color: var(--white); }
.reviews .sec-head .sub { color: #c5cfdf; }
.rv-link { color: #dfe6ef; }
.rv-link strong { color: var(--white); }
.rv-link .stars .s-off path { fill: #3d4f74; }
.q { background: rgba(255, 255, 255, .07); }
.q p { color: #e8edf5; }
.q figcaption { color: var(--white); }
.recent + .reviews, .jobs + .reviews { padding-top: var(--sec); }
.jobs:has(+ .reviews) { padding-bottom: var(--sec); }
.recent { padding-bottom: var(--sec); }

/* service pages: what the work covers, as an icon grid under the about text */
.as-lh { margin: 28px 0 8px; }
.as-ex { color: var(--muted); }
.covers { margin-top: clamp(44px, 5vw, 72px); }
.covers > h3 { font-size: 1.3rem; margin-bottom: 26px; }
.cov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 36px; }
.cov-grid li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; font: 500 15.5px/1.35 var(--fh); color: var(--navy); }
.li-ic { width: 32px; height: 32px; color: var(--blue); }
@media (max-width: 1000px) { .cov-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cov-grid { grid-template-columns: 1fr; gap: 16px; } }

/* client logos: one quiet wall, every logo redrawn in the brand navy (src/client_logos.py), no cards or dividers */
.clients { padding: clamp(48px, 5.5vw, 76px) 0; background: var(--soft); }
.cl-h { font: 600 1.25rem/1.35 var(--fh); letter-spacing: -.01em; color: var(--navy); text-align: center; margin-bottom: 34px; }
.cl-wall { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 46px 76px; max-width: 880px; margin: 0 auto; padding: 0; list-style: none; }
.cl-wall li { display: flex; align-items: center; }
.cl-wall img { height: var(--h); width: auto; max-width: 250px; object-fit: contain; opacity: .86; }
@media (max-width: 700px) { .cl-wall { gap: 26px 30px; } .cl-wall img { height: calc(var(--h) * .7); max-width: 140px; } .cl-h { margin-bottom: 26px; } }

/* home why section: the same plain points as the service pages (no icons) */
.why-txt .why-cols { gap: 30px 44px; margin-top: 34px; }
/* footer: areas row above the legal line; each area links to its page */
.f-areas .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 40px; padding: 22px 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.f-areas .f-t { margin: 0; }
.f-areas ul { display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 0; padding: 0; list-style: none; }
.f-areas a { color: #c9d2df; text-decoration: none; }
.f-areas a:hover { color: var(--gold); text-decoration: underline; }

/* home: the client logo band sits between before-and-after and recent projects */
.ba-band:has(+ .clients) { padding-bottom: var(--sec); }
.clients + .recent { padding-top: var(--sec); }
/* Stellenbosch: leak detection section */
.ins-leak .ins-ph img { aspect-ratio: 4 / 3; }
.ins-leak .ins-txt > p { margin-bottom: 30px; }
.town-what:has(+ .ins) { padding-bottom: var(--sec); }
.ins + .jobs { padding-top: var(--sec); }


/* home: proof sections alternate with the others, so each one carries full section padding */
.ba-band:has(+ .ins) { padding-bottom: var(--sec); }
.process + .recent { padding-top: var(--sec); }
.recent:has(+ .faq) { padding-bottom: var(--sec); }
.ins + .reviews { padding-top: var(--sec); }
/* WhatsApp float: the same button as on gen1media.co.za (56px circle, pulsing ring, 26px glyph, tooltip on hover) */
.wa-float { right: 20px; bottom: 20px; width: 56px; height: 56px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .2), 0 4px 6px -4px rgba(0, 0, 0, .2); transition: opacity .2s, transform .2s, box-shadow .2s; }
.wa-float:hover, .wa-float:focus-visible { transform: scale(1.1); box-shadow: 0 20px 25px -5px rgba(37, 211, 102, .3), 0 8px 10px -6px rgba(37, 211, 102, .3); }
.wa-float.is-hidden { transform: translateY(12px); }
.wa-ping { position: absolute; inset: 0; border-radius: 50%; background: #25d366; opacity: .6; animation: wa-ping 2.2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes wa-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.wa-glyph { position: relative; z-index: 1; }
.wa-tip { display: none; }
@media (min-width: 768px) {
  .wa-float { right: 24px; bottom: 24px; }
  .wa-tip { display: inline-block; position: absolute; right: 100%; margin-right: 12px; padding: 6px 12px; border-radius: 999px; background: var(--field-2); color: #fff; font: 600 12px/1.5 var(--fb); white-space: nowrap; opacity: 0; transform: translateX(4px); transition: opacity .2s, transform .2s; pointer-events: none; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .25); }
  .wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-ping { display: none; } }
.reviews + .why { background: var(--white); }

/* insurance section: the photo and the insurers Fidem works with are one unit (a white plate set into the photo's foot) */
.ins-side { position: relative; padding-bottom: 0; }
.ins-side .ins-ph img { aspect-ratio: 5 / 4; }
.ins-logos { position: relative; z-index: 1; margin: -56px 0 0 clamp(-56px, -4vw, -24px); margin-right: 28px; padding: 24px 28px 26px; background: var(--white); }
.ins-logos h3 { font-size: 1.05rem; margin-bottom: 18px; }
.cl-wall.cl-row { justify-content: flex-start; max-width: none; margin: 0; gap: 20px 34px; }
.ins-leak .ins-ph img { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .ins-logos { margin: -36px 14px 0; padding: 20px 20px 22px; } }
@media (max-width: 700px) { .cl-wall.cl-row { gap: 16px 24px; } .ins-logos .cl-wall img { height: calc(var(--h) * .85); } }

/* Stellenbosch page */
.services.town-what { padding: var(--sec) 0; }
.town-local .why-ph img { aspect-ratio: 4 / 5; }
.town-areas { margin-top: 38px; }
.town-areas h3 { margin-bottom: 10px; }
.town-areas .town-list { font-size: 1.05rem; gap: 6px 28px; margin-bottom: 12px; }
.town-areas p { color: var(--muted); font-size: 15.5px; margin: 0; }
.town-local + .jobs { padding-top: var(--sec); }
.jobs:has(+ .ins) { padding-bottom: var(--sec); }

/* home recent projects: the see-all link sits under the heading text, not under the photos */
.recent .sec-head:has(+ .see-top) { margin-bottom: 14px; }
.see-top { margin: 0; padding-bottom: 36px; }
.recent:has(+ .faq) { padding-bottom: 0; }

/* renovations page: the bathroom and kitchen cards on the dark navy field (user, 25 Nov 2026) */
.tile-wide { background: var(--field); overflow: hidden; }
.tile-wide h3 a { color: #fff; }
.tile-wide p { color: rgba(255, 255, 255, .74); }
.tile-wide:hover h3 a, .tile-wide:focus-within h3 a { color: #fff; }

/* about: registrations and commitments on the navy field, the four marks on one white plate (user, 25 Nov 2026) */
.regs { background: var(--field); color: #fff; }
.regs-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.regs-ticks { margin-top: 28px; }
.regs-ticks li { color: rgba(255, 255, 255, .88); font-size: 17px; padding: 9px 0 9px 28px; }
.regs-ticks li::before { top: 19px; }
.reg-plate { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 40px; background: #fff; padding: clamp(28px, 4vw, 48px); margin: 0; list-style: none; }
.reg-plate .reg-mark { height: 64px; display: flex; align-items: center; margin-bottom: 16px; }
.reg-plate .reg-logo { height: auto; width: auto; max-height: 64px; max-width: 170px; margin: 0; }
.reg-plate p { color: var(--muted); font-size: 15px; margin: 0; }
.reg-plate p b { display: block; color: var(--navy); font: 600 15.5px/1.35 var(--fh); margin-bottom: 3px; }
.reg-plate .bb-big { min-height: 0; margin: 0 !important; align-items: baseline; gap: 8px; font-size: 17px; color: var(--navy); }
.reg-plate .bb-big b { display: inline; font-size: 34px; margin: 0; color: var(--navy); }
@media (max-width: 900px) { .regs-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .reg-plate { gap: 30px 20px; padding: 24px 20px; } .reg-plate .reg-mark { height: 50px; } .reg-plate .reg-logo { max-height: 50px; max-width: 120px; } .reg-plate .bb-big b { font-size: 26px; } }

/* about: Fidem Gives Back on the soft light field, so it doesn't run into the navy reviews band (25 Nov 2026) */
.gives { background: var(--soft); color: var(--ink, inherit); }
.gives p { color: var(--muted); }
.gives a { color: var(--navy); }
.gv-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.gv-grid > div { max-width: none; }
.gv-txt > p { max-width: 56ch; font-size: 17px; }
.gv-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 32px; margin: 36px 0 0; padding: 0; list-style: none; }
.gv-facts li { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.gv-facts b { display: block; font: 600 clamp(26px, 2.6vw, 34px)/1.1 var(--fh); color: var(--navy); margin-bottom: 8px; white-space: nowrap; }
.gv-plate { background: #fff; padding: clamp(26px, 3.4vw, 44px); }
.gv-plate h3 { margin-bottom: 8px; }
.gv-plate p { margin: 0 0 10px; }
.gv-plate .ticks { margin-bottom: 26px; }
.gives .gv-plate .btn { color: var(--field); }
@media (max-width: 900px) { .gv-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .gv-facts { grid-template-columns: 1fr; gap: 18px; } }

/* reviews on phones: "22 Google reviews" on its own line under the rating, so it doesn't wrap beside the stars (user, 25 Nov 2026) */
@media (max-width: 700px) {
  .rv-link { flex-wrap: wrap; row-gap: 8px; }
  .rv-link span { flex: 0 0 100%; white-space: nowrap; }
}

/* ---- audit round, 25 Nov 2026 ---- */
/* process: plain numerals, no line over each step */
.steps .num { font-size: 1.5rem; letter-spacing: 0; }
/* about: Cabin Heyns photo on the right (the story photo above is on the left) */
@media (min-width: 901px) { .ft-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } .ft-grid .ft-ph { order: 2; } }
/* about, phones: the B-BBEE mark stays on one line each, stacked */
.reg-plate .bb-big, .reg-plate .bb-big b { white-space: nowrap; }
@media (max-width: 480px) { .reg-plate .bb-big { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 14px; } }
/* renovations, phones: a shorter hero slider so the hero fits the screen */
@media (max-width: 700px) { .hero-ba .ba-hero { aspect-ratio: 4 / 3; } }
/* five-item lists: three columns (3 + 2), not four with one left over */
@media (min-width: 1001px) { .cov-grid:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(3, 1fr); } }
/* related tiles, phones: the third tile runs full width instead of sitting alone */
@media (max-width: 700px) { .rel-grid > li:nth-child(3):last-child { grid-column: 1 / -1; } .rel-grid > li:nth-child(3):last-child img { aspect-ratio: 2 / 1; } }
/* client logos, phones: rows of 2, 3 and 2 */
@media (max-width: 560px) {
  .clients .cl-wall:has(> li:nth-child(7):last-child) { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px 14px; }
  .clients .cl-wall:has(> li:nth-child(7):last-child) li { grid-column: span 2; justify-content: center; }
  .clients .cl-wall:has(> li:nth-child(7):last-child) li:nth-child(1), .clients .cl-wall:has(> li:nth-child(7):last-child) li:nth-child(2),
  .clients .cl-wall:has(> li:nth-child(7):last-child) li:nth-child(6), .clients .cl-wall:has(> li:nth-child(7):last-child) li:nth-child(7) { grid-column: span 3; }
  .clients .cl-wall img { max-width: 100%; }
}
/* home insurance, phones: text, list, photo with the insurer plate, then the button */
@media (max-width: 900px) {
  #insurance .ins-txt { display: contents; }
  #insurance .ins-txt > * { margin-bottom: 0; }
  #insurance .ins-side { order: 1; }
  #insurance .ins-txt > .btn { order: 2; justify-self: start; }
}
/* job cards with one photo (bathroom and kitchen pages) */
.jc-ph .ph:only-child { grid-row: 1 / -1; }
/* projects hero: a photo beside the text, the jump links as one row under it */
.hero-pj .jump { margin-top: clamp(28px, 4vw, 48px); }
.hero-pj .jump ul { justify-content: flex-start; }
.hero-pj .hero-ph img { aspect-ratio: 4 / 3; }
.hero-pj .hero-ph { width: min(100%, 560px); justify-self: end; }
@media (max-width: 900px) { .hero-pj .hero-ph { justify-self: start; } }
/* about: the Gives Back panel on the left, so the sides alternate (Cabin Heyns photo right, panel left, form right) */
@media (min-width: 901px) { .gv-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } .gv-grid .gv-plate { order: -1; } }
/* phones: the home before/after sliders one per row, wide enough to drag and to read the labels (user, 25 Nov 2026) */
@media (max-width: 700px) {
  .ba-band .ba-grid { grid-template-columns: 1fr; gap: 16px; }
  .ba-band .ba-panels { aspect-ratio: 4 / 3; }
  .hero-pj .hero-ph { width: 100%; margin-left: 0; }
}
/* phones: shorter photo in the why sections, and less white space above the home before/after heading */
@media (max-width: 700px) {
  .why-ph img, .town-local .why-ph img { aspect-ratio: 4 / 3; }
  .services + .ba-band { padding-top: 0; }
}
/* about plate: one line under each mark (what it covers), not the name the logo already shows (user, 25 Nov 2026) */
.reg-plate p b { margin-bottom: 0; }
.reg-plate .bb-big b { font-size: 30px; letter-spacing: .01em; }
.reg-plate { align-items: start; }
