/* Van der Heijden bouw en ontwikkeling, homepage proposal by Molt Studio */

@font-face {
  font-family: 'Archivo';
  src: url(fonts/archivo.woff2) format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand: the red and slate of the logo */
  --red: #d0333a;
  --red-600: #bb2b32;
  --red-700: #9f2329;
  --slate: #7897ab;
  --slate-300: #b6c7d3;
  --slate-600: #5f7f93;
  --slate-700: #4f6b7d;

  --ink: #10161b;
  --ink-2: #172028;
  --ink-3: #222d36;
  --text: #1f282f;
  --muted: #5a6772;
  --paper: #f3f1ec;
  --paper-2: #e9e5dd;
  --white: #fff;
  --line: #dfd9cf;
  --line-2: #c8c1b4;
  --error: #b3261e;

  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(80px, 9vw, 136px);
  --bar-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wide: 112%;
}
@media (min-width: 1180px) {
  :root { --bar-h: 84px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 20px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
@media (max-width: 699px) { body { font-size: 16px; } }
[hidden] { display: none !important; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure, blockquote, address { margin: 0; }
address { font-style: normal; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 3px; font-weight: 650;
  transition: top .2s;
}
.skip:focus { top: 12px; }
.wrap { max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.nb { white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--f); font-weight: 720; font-stretch: var(--wide);
  color: var(--ink); letter-spacing: -.022em; line-height: 1.04; text-wrap: balance;
}
h2 { font-size: clamp(34px, 4.3vw, 60px); line-height: 1.02; letter-spacing: -.026em; }
.lt { font-weight: 300; letter-spacing: -.03em; }
/* The eyebrow carries the brand mark in miniature: a red and a slate bar at the 60 degree angle of the logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 600 12px/1.35 var(--f); font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase;
  color: var(--slate-700); text-wrap: balance;
}
.eyebrow::before {
  content: ""; flex: none; width: 7px; height: 13px; margin: 0 7px 0 3px;
  background: var(--red); box-shadow: 6px 0 0 var(--slate); transform: skewX(-30deg);
}
.eyebrow-light { color: var(--slate-300); }
.lead-txt { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--muted); max-width: 52ch; text-wrap: pretty; }

/* ---------- Buttons and links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 22px; border-radius: 3px;
  font: 650 15.5px/1.2 var(--f); letter-spacing: .005em; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
/* Primary button: the red block with the slanted slate end of the brand's own buttons */
.btn-primary { background: var(--red); color: #fff; padding-right: 0; overflow: hidden; isolation: isolate; }
.btn-tip { position: relative; align-self: stretch; width: 54px; margin-left: 2px; display: grid; place-items: center; padding-left: 12px; }
.btn-tip::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: -40px; z-index: -1;
  background: var(--slate-600); transform: skewX(-30deg); transform-origin: 0 100%;
  transition: background-color .25s, transform .35s var(--ease);
}
.btn-primary:hover { background: var(--red-600); }
.btn-primary:hover .btn-tip::before { background: var(--slate-700); }
.btn:hover .i { transform: translateX(3px); }
.btn-lg { min-height: 58px; padding-left: 26px; font-size: 16.5px; }
.btn-lg.btn-primary { padding-right: 0; }
.btn-lg .btn-tip { width: 60px; }
.btn-sm { min-height: 44px; padding-left: 18px; font-size: 14.5px; }
.btn-sm .btn-tip { width: 46px; padding-left: 10px; }
.btn-sm .btn-tip .i { width: 16px; height: 16px; }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px #fff; }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-line:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--red-700); }
.tlink .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.tlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.tlink:hover .i { transform: translateX(3px); }
.tlink-light { color: #fff; }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 11.5px/1.3 var(--f); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-700);
}

/* ---------- Header ---------- */
/* It lies over the hero at the top of the page. It is not sticky: it scrolls away with the page and slides
   back in, pinned and solid, after a scroll up of about 300px (site.js). */
.hdr {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50; color: #fff;
  --lg-ws: #fff; --lg-wr: #fff;
}
.hdr.is-pinned { position: fixed; animation: hdr-in .38s var(--ease); }
.hdr.is-pinned.no-anim { animation: none; }
.hdr.is-leaving { animation: hdr-out .3s var(--ease) forwards; }
.hdr.is-leaving .mega { visibility: hidden; }
@keyframes hdr-in { from { transform: translateY(-100%); } }
@keyframes hdr-out { to { transform: translateY(-100%); } }
.hdr.is-pinned, .hdr.is-solid { color: var(--ink); --lg-ws: var(--slate); --lg-wr: var(--red); }
.bar { position: relative; transition: background-color .25s, box-shadow .25s; }
.hdr.is-pinned .bar, .hdr.is-solid .bar { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.hdr.is-pinned .bar { box-shadow: 0 1px 0 var(--line), 0 16px 32px -28px rgba(16, 22, 27, .5); }
.bar-in { display: flex; align-items: center; gap: 18px; height: var(--bar-h); }
.logo { display: inline-flex; flex: none; align-items: center; }
.logo-svg { width: auto; height: 40px; aspect-ratio: 459.94 / 127.81; }
@media (min-width: 1180px) { .hdr .logo-svg { height: 50px; } }

.nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-a, .nav-t {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  height: 44px; padding: 0 14px; border-radius: 3px;
  font: 600 15px/1 var(--f); color: inherit; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav-a:hover, .nav-t:hover { background: rgba(255, 255, 255, .12); }
.hdr.is-pinned :is(.nav-a, .nav-t):hover, .hdr.is-solid :is(.nav-a, .nav-t):hover { background: var(--paper-2); }
.nav-t .chev { width: 16px; height: 16px; opacity: .7; transition: transform .25s var(--ease); }
.nav-t[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-extra { display: none; }
.hdr-tel {
  display: none; align-items: center; justify-content: center; gap: 9px; flex: none;
  min-height: 44px; font-weight: 650; font-size: 15px; color: inherit; white-space: nowrap; border-radius: 3px;
}
.hdr-tel .i { width: 18px; height: 18px; }
.hdr-tel:hover span { text-decoration: underline; text-underline-offset: 4px; }
.hdr-cta { flex: none; display: none; }
.menu-btn {
  margin-left: auto; width: 48px; height: 48px; flex: none; display: grid; place-items: center;
  border-radius: 3px; color: inherit; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4);
  transition: background-color .2s, box-shadow .2s;
}
.hdr.is-pinned .menu-btn, .hdr.is-solid .menu-btn { box-shadow: none; background: var(--paper-2); }
.burger { position: relative; width: 20px; height: 10px; display: block; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 8px; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { top: 4px; transform: rotate(-45deg); }
.hdr :focus-visible { outline-color: currentColor; }
@media (min-width: 700px) and (max-width: 1179px) {
  .hdr-cta { display: inline-flex; margin-left: auto; }
  .hdr-cta + .menu-btn { margin-left: 0; }
}

/* Desktop navigation and mega menus */
@media (min-width: 1180px) {
  .hdr-cta { display: inline-flex; }
  .hdr-tel { display: inline-flex; width: 44px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
  .hdr.is-pinned .hdr-tel, .hdr.is-solid .hdr-tel { box-shadow: inset 0 0 0 1.5px var(--line-2); }
  .hdr-tel span { display: none; }
  .menu-btn { display: none; }
  /* a red rule under the open menu item, on the bottom edge of the bar */
  .nav-t::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: calc((var(--bar-h) - 44px) / -2); height: 3px;
    background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease);
  }
  .nav-t[aria-expanded="true"]::after { transform: scaleX(1); }
  .mega {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 5; color: var(--text);
    background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(10, 14, 18, .5), 0 0 0 100vmax rgba(10, 14, 18, .38);
    clip-path: inset(0 -100vmax -100vmax -100vmax);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .22s, transform .3s var(--ease), visibility 0s .3s;
  }
  .mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .3s var(--ease); }
  .mega-in {
    max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding: 32px var(--gut) 36px;
    display: grid; gap: 40px; align-items: start;
  }
  .mega-in-bouwen { grid-template-columns: minmax(0, 1fr) 360px; }
  .mega-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .mega-h {
    font: 600 11.5px/1.3 var(--f); font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 10px 14px;
  }
  .mega-links { display: grid; gap: 2px; }
  .mega-links a {
    position: relative; display: block; padding: 12px 14px 12px 32px; border-radius: 3px;
    transition: background-color .2s;
  }
  .mega-links a::before {
    content: ""; position: absolute; left: 14px; top: 17px; width: 6px; height: 12px;
    background: var(--line-2); transform: skewX(-30deg); transition: background-color .2s, transform .25s var(--ease);
  }
  .mega-links a:hover, .mega-links a.is-active { background: #fff; }
  .mega-links a:hover::before, .mega-links a.is-active::before { background: var(--red); }
  .mega-links b { display: block; font-weight: 680; font-size: 17px; line-height: 1.3; font-stretch: 106%; color: var(--ink); }
  .mega-links span { display: block; font-size: 14px; line-height: 1.4; color: var(--muted); margin-top: 2px; text-wrap: pretty; }
  /* the preview on the right follows the link you point at */
  .mega-prev { position: relative; aspect-ratio: 4 / 3.9; }
  .mp {
    position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; gap: 14px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
  }
  .mp.is-on { opacity: 1; visibility: visible; transition: opacity .3s; }
  .mp-fig { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: var(--paper-2); }
  .mp-fig img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .8s var(--ease); }
  .mp.is-on .mp-fig img { transform: none; }
  .mp figcaption b { display: block; font-weight: 680; font-size: 16px; color: var(--ink); font-stretch: 106%; }
  .mp figcaption span { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
  .mega-foot { border-top: 1px solid var(--line); background: var(--paper-2); }
  .mega-foot-in {
    max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding: 16px var(--gut);
    display: flex; align-items: center; gap: 24px;
  }
  .mega-foot p { flex: 1; font-size: 15px; color: var(--text); padding-left: 14px; }
  .mega-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 15px; color: var(--ink); white-space: nowrap; }
  .mega-tel .i { width: 18px; height: 18px; color: var(--red); }
  .mega-tel:hover { text-decoration: underline; text-underline-offset: 4px; }

  .mega-in-prj { grid-template-columns: minmax(0, 1fr) 300px; }
  .mega-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .mega-tiles a { display: grid; gap: 4px; align-content: start; }
  .mt-fig { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; margin-bottom: 10px; background: var(--paper-2); }
  .mt-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
  .mega-tiles a:hover .mt-fig img { transform: scale(1.04); }
  .mt-tag { font: 600 11px/1.3 var(--f); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--red-700); }
  .mega-tiles b, .mega-fam b { font-weight: 680; font-size: 17px; line-height: 1.3; font-stretch: 106%; color: var(--ink); }
  .mega-tiles a:hover b { text-decoration: underline; text-underline-offset: 3px; }
  .mt-p { font-size: 14px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }

  .mega-in-over { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
  .mega-links-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
  .mega-fam {
    display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: center;
    padding: 14px; border-radius: 4px; background: #fff; box-shadow: 0 1px 0 var(--line);
    transition: box-shadow .2s;
  }
  .mega-fam:hover { box-shadow: 0 1px 0 var(--line), 0 18px 34px -24px rgba(16, 22, 27, .45); }
  .mf-fig { display: block; aspect-ratio: 3 / 2.2; overflow: hidden; border-radius: 3px; background: var(--paper-2); }
  .mf-fig img { width: 100%; height: 100%; object-fit: cover; }
  .mf-body { display: grid; gap: 6px; }
  .mf-hof { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 13px; line-height: 1.3; color: var(--muted); }
  .mf-hof img { width: 40px; height: 40px; flex: none; }
}
@media (min-width: 1320px) {
  .hdr-tel { width: auto; box-shadow: none !important; padding: 0 6px; }
  .hdr-tel span { display: inline; }
  .nav-a, .nav-t { padding: 0 15px; }
}

/* Mobile and tablet menu */
@media (max-width: 1179px) {
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--bar-h)); bottom: 0; z-index: 40;
    display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
    background: var(--paper); color: var(--ink); padding: 4px var(--gut) calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-i { border-bottom: 1px solid var(--line); }
  .nav-a, .nav-t {
    width: 100%; height: auto; padding: 17px 0; justify-content: space-between; border-radius: 0;
    font: 680 24px/1.15 var(--f); font-stretch: var(--wide); letter-spacing: -.015em; background: none !important;
  }
  .nav-t .chev { width: 22px; height: 22px; }
  .mega { display: none; padding: 0 0 16px; }
  .mega.is-open { display: block; }
  .mega-in { display: block; }
  .mega-groups { display: grid; gap: 14px; }
  .mega-h { font: 600 11px/1.3 var(--f); font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .mega-links span, .mega-prev, .mega-foot, .mega-tiles, .mega-fam, .mega-in-prj > .mega-side > .mega-h { display: none; }
  .mega-links a { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 0 8px 20px; }
  .mega-links a::before { content: ""; position: absolute; left: 2px; width: 6px; height: 12px; background: var(--red); transform: skewX(-30deg); }
  .mega-links b { font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--text); }
  .nav-extra { display: grid; gap: 12px; }
  .nav-call {
    display: grid; gap: 3px; padding: 14px 16px; border-radius: 4px; background: #fff; box-shadow: 0 1px 0 var(--line);
    font: 700 22px/1.2 var(--f); font-stretch: var(--wide); color: var(--ink); white-space: nowrap;
  }
  .nav-call span { font: 500 13.5px/1.35 var(--f); color: var(--muted); white-space: normal; }
  .nav-cta { width: 100%; min-height: 56px; }
  .nav-cta .btn-tip { margin-left: auto; }
  html.menu-open { overflow: hidden; }
}
@media (max-width: 379px) {
  .btn { white-space: normal; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 15, .62) 0, rgba(8, 12, 15, 0) 170px),
    linear-gradient(90deg, rgba(8, 12, 15, .84) 0%, rgba(8, 12, 15, .58) 38%, rgba(8, 12, 15, .08) 72%),
    linear-gradient(0deg, rgba(8, 12, 15, .78) 0%, rgba(8, 12, 15, 0) 52%);
}
.hero-in {
  position: relative; z-index: 1; min-height: clamp(640px, 100svh, 1000px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--bar-h) + 48px); padding-bottom: clamp(36px, 4vw, 56px);
}
.hero-copy { max-width: 900px; }
.hero h1 {
  margin-top: 22px; color: #fff; font-weight: 760;
  font-size: clamp(40px, 6vw, 88px); line-height: .98; letter-spacing: -.03em; max-width: 13.5em;
}
.hero h1 .lt { color: rgba(255, 255, 255, .86); }
.hero-sub { margin-top: 24px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .84); max-width: 50ch; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 32px; }
.hero-tel { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 6px; font-size: 15.5px; color: rgba(255, 255, 255, .84); }
.hero-tel b { font-weight: 650; color: #fff; }
.hero-tel .i { width: 18px; height: 18px; color: var(--slate-300); }
.hero-tel:hover b { text-decoration: underline; text-underline-offset: 4px; }
.hero :focus-visible { outline-color: #fff; }
/* From 700px the header carries "Bespreek je bouwplan", so the hero keeps the second button */
@media (min-width: 700px) { .hero-cta-main { display: none; } }
.hero-cap {
  position: absolute; right: var(--gut); bottom: clamp(36px, 4vw, 56px); display: grid; gap: 2px; text-align: right;
  font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .7);
}
.hero-cap span { color: rgba(255, 255, 255, .5); }
@media (max-width: 1079px) { .hero-cap { display: none; } }

/* Four facts with divider lines */
.facts-band { position: relative; z-index: 1; background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .1); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { display: grid; gap: 6px; align-content: start; padding: 26px 28px 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { font-weight: 720; font-stretch: var(--wide); font-size: clamp(26px, 2.4vw, 36px); line-height: 1; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.facts span { font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .7); max-width: 28ch; text-wrap: pretty; }
@media (min-width: 1080px) {
  .hero { display: flex; flex-direction: column; }
  .hero-top { flex: 1; }
  .facts-band { background: rgba(10, 14, 18, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .hero-in { min-height: calc(clamp(700px, 100svh, 1000px) - 124px); }
}
@media (max-width: 1079px) {
  .hero-top { position: relative; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { padding: 22px 0 22px 20px; }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}
@media (max-width: 699px) {
  .hero-in { min-height: min(100svh, 760px); padding-top: calc(var(--bar-h) + 120px); padding-bottom: 32px; }
  .hero-bg img { object-position: 50% 30%; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(8, 12, 15, .6) 0, rgba(8, 12, 15, 0) 140px),
      linear-gradient(0deg, rgba(8, 12, 15, .95) 0%, rgba(8, 12, 15, .78) 40%, rgba(8, 12, 15, .1) 78%);
  }
  .hero h1 { font-size: clamp(34px, 9.6vw, 46px); line-height: 1.02; margin-top: 16px; }
  .hero-sub { margin-top: 18px; }
  .hero-ctas { margin-top: 26px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-cta-main .btn-tip { margin-left: auto; }
  .hero-tel { display: none; }
  .facts li { padding: 18px 0 20px 16px; }
  .facts b { font-size: 25px; }
  .facts span { font-size: 13.5px; }
}
@media (max-width: 359px) {
  .facts li { padding-left: 12px; }
  .facts b { font-size: 21px; }
  .facts span { font-size: 12.5px; -webkit-hyphens: auto; hyphens: auto; }
}

/* ---------- Clients ---------- */
.clients { background: #fff; border-bottom: 1px solid var(--line); }
.clients-in { display: grid; gap: 22px; padding-block: 34px; }
.clients-h { font: 600 12px/1.35 var(--f); font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; }
.logos li { display: flex; align-items: center; justify-content: center; }
.logos img { opacity: .78; transition: opacity .2s; }
.logos img:hover { opacity: 1; }
@media (min-width: 1180px) {
  .clients-in { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 56px; }
  .clients-h { width: 190px; flex: none; }
}
/* phones: a static grid of two by four */
@media (max-width: 699px) {
  .clients-in { padding-block: 30px; gap: 18px; }
  .logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
  .logos li { height: 76px; border-bottom: 1px solid var(--line); }
  .logos li:nth-child(odd) { border-right: 1px solid var(--line); }
  .logos img { max-width: 70%; transform: scale(.92); }
}
@media (min-width: 700px) and (max-width: 1179px) {
  .logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
}

/* ---------- Section basics ---------- */
.sec { padding: var(--sec) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 4.4vw, 60px); }
.sec-head h2 { margin-top: 18px; }
.sec-head .lead-txt { margin-top: 18px; }
.sec-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.sec-head-row h2 { max-width: 16em; }

/* ---------- What we build ---------- */
.sec-grid { display: grid; gap: 18px; }
.sec-card { display: flex; flex-direction: column; background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.sec-fig { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.sec-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sec-card:hover .sec-fig img { transform: scale(1.04); }
.sec-ref {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  padding: 7px 10px; border-radius: 2px; background: rgba(10, 14, 18, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 12.5px; font-weight: 600; line-height: 1.25; color: #fff;
}
.sec-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 0; }
.sec-body h3 { font-size: 23px; line-height: 1.12; letter-spacing: -.015em; }
.sec-body h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sec-body > p { font-size: 15.5px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.sec-sub { display: flex; flex-wrap: wrap; gap: 6px; }
.sec-sub a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 2px;
  font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .2s, background-color .2s;
}
.sec-sub a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.sec-body .sec-note { font-size: 14px; color: var(--muted); }
.sec-note a { font-weight: 650; color: var(--red-700); text-decoration: underline; text-underline-offset: 3px; }
.sec-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: auto -24px 0; padding: 18px 24px;
  border-top: 1px solid var(--line); font-weight: 650; font-size: 15.5px; color: var(--red-700); text-align: left;
  transition: background-color .2s, color .2s;
}
.sec-cta .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.sec-cta:hover { background: var(--red); color: #fff; }
.sec-cta:hover .i { transform: translateX(3px); }
.sec-body > .sec-cta { margin-top: auto; }
.sec-body > :nth-last-child(2) { margin-bottom: 16px; }
@media (min-width: 700px) { .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1180px) { .sec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .sec-fig { aspect-ratio: 16 / 10; }
  .sec-body { padding: 20px 20px 0; }
  .sec-cta { margin-inline: -20px; padding: 16px 20px; }
}

/* ---------- Why us ---------- */
.why { background: var(--ink); color: rgba(255, 255, 255, .78); }
.why h2, .why h3 { color: #fff; }
.why .lead-txt { color: rgba(255, 255, 255, .72); margin-top: 18px; }
.why h2 { margin-top: 18px; }
.why-in { display: grid; gap: 48px; }
.why-fig { margin-top: 36px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; max-width: 520px; }
.why-fig img { width: 100%; height: 100%; object-fit: cover; }
.why-list { display: grid; }
.why-i { position: relative; display: grid; gap: 12px; padding: 34px 0 36px 80px; border-top: 1px solid rgba(255, 255, 255, .14); }
.why-i:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.why-n {
  position: absolute; left: 0; top: 34px;
  font-weight: 300; font-stretch: 125%; font-size: 30px; line-height: 1; letter-spacing: -.02em; color: var(--slate);
}
.why-i h3 { font-size: clamp(23px, 2vw, 29px); line-height: 1.12; letter-spacing: -.018em; }
.why-i > p { max-width: 58ch; color: rgba(255, 255, 255, .74); text-wrap: pretty; }
.why-q { margin-top: 8px; padding: 2px 0 2px 18px; border-left: 2px solid var(--red); max-width: 60ch; }
.why-q p { font-size: 16px; line-height: 1.55; color: #fff; text-wrap: pretty; }
.why-q footer { margin-top: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.why-proof { margin-top: 8px; padding: 16px 18px; border-radius: 3px; background: var(--ink-3); font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .8); max-width: 60ch; }
.why-proof b { color: #fff; font-weight: 650; }
.why :focus-visible { outline-color: #fff; }
@media (min-width: 1080px) {
  .why-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .why-sticky { position: sticky; top: calc(var(--bar-h) + 32px); }
}
@media (max-width: 1079px) {
  .why-fig { display: none; }
}
@media (max-width: 559px) {
  .why-i { padding: 26px 0 28px; gap: 10px; }
  .why-n { position: static; font-size: 22px; }
}

/* ---------- Projects ---------- */
.feat { display: grid; background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.feat-fig { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.feat-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feat:hover .feat-fig img { transform: scale(1.03); }
.feat-body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(24px, 3vw, 44px); }
.feat-body h3 { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.06; }
.feat-body h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.feat-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-block: 1px solid var(--line); }
.feat-stats div { padding: 14px 16px 14px 0; }
.feat-stats div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.feat-stats dt { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.feat-stats dd { margin-top: 2px; font-weight: 700; font-stretch: var(--wide); font-size: 18px; line-height: 1.25; color: var(--ink); }
.feat-stats div:first-child dd { font-size: 26px; line-height: 1.05; }
.feat-stats dd { white-space: nowrap; }
.feat-stats div + div dd { white-space: normal; }
@media (max-width: 519px) {
  .feat-stats div:first-child dd { font-size: 22px; }
  .feat-stats dd { font-size: 16px; }
}
.feat-q p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--ink); font-weight: 500; text-wrap: pretty; }
.feat-q footer { display: grid; margin-top: 10px; font-size: 14px; color: var(--muted); }
.feat-q footer b { font-weight: 650; color: var(--ink); }
.feat-body .tlink { margin-top: auto; }
@media (min-width: 1080px) {
  .feat { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feat-fig { aspect-ratio: auto; min-height: 100%; }
}
.prj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; margin-top: 28px; }
.prj a { display: grid; gap: 4px; align-content: start; }
.prj-fig { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; margin-bottom: 12px; background: var(--paper-2); }
.prj-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.prj a:hover .prj-fig img { transform: scale(1.04); }
.prj-tag {
  position: absolute; left: 10px; top: 10px; padding: 6px 9px; border-radius: 2px; background: rgba(255, 255, 255, .94);
  font: 600 10.5px/1.2 var(--f); font-stretch: 125%; letter-spacing: .13em; text-transform: uppercase; color: var(--ink);
}
.prj-t { font-weight: 700; font-stretch: var(--wide); font-size: 19px; line-height: 1.2; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.prj a:hover .prj-t { text-decoration: underline; text-underline-offset: 4px; }
.prj-m { font-size: 14px; font-weight: 600; color: var(--slate-700); }
.prj-n { font-size: 14px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
@media (min-width: 1080px) { .prj-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; margin-top: 40px; } }
@media (max-width: 599px) {
  .prj-grid { gap: 24px 12px; }
  .prj-tag { left: 8px; top: 8px; padding: 5px 7px; font-size: 9.5px; letter-spacing: .1em; }
  .prj-t { font-size: 16px; }
  .prj-m, .prj-n { font-size: 13px; }
  .prj-n { display: none; }
}

/* ---------- Big quote ---------- */
.bigq { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.bigq-bg { position: absolute; inset: 0; }
.bigq-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.bigq-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 12, 15, .9) 0%, rgba(8, 12, 15, .7) 46%, rgba(8, 12, 15, .15) 85%), linear-gradient(0deg, rgba(8, 12, 15, .5), rgba(8, 12, 15, 0) 40%);
}
.bigq-in { position: relative; display: flex; align-items: center; min-height: clamp(560px, 46vw, 700px); padding-block: clamp(72px, 8vw, 112px); }
.bigq-fig { max-width: 820px; display: grid; gap: 26px; justify-items: start; }
.bigq-logo { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.bigq blockquote p {
  font-weight: 420; font-stretch: 104%; font-size: clamp(25px, 2.7vw, 40px); line-height: 1.24; letter-spacing: -.016em; color: #fff; text-wrap: pretty;
}
.bigq figcaption { display: grid; gap: 2px; padding-left: 18px; border-left: 2px solid var(--red); }
.bigq figcaption b { font-weight: 650; font-size: 16px; }
.bigq figcaption span { font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.bigq :focus-visible { outline-color: #fff; }
@media (max-width: 699px) {
  .bigq-bg { position: relative; aspect-ratio: 16 / 10; }
  .bigq-bg img { object-position: 78% 60%; }
  .bigq-bg::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(16, 22, 27, 0) 45%); }
  .bigq-in { min-height: 0; padding-block: 8px 72px; }
  .bigq blockquote p { font-size: 23px; line-height: 1.3; }
}

/* ---------- Client quotes ---------- */
.revs { background: var(--paper); }
.rev-ctrl { display: none; gap: 8px; }
.rev-btn {
  width: 48px; height: 48px; border-radius: 3px; display: grid; place-items: center; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .2s, box-shadow .2s, opacity .2s;
}
.rev-btn:not([aria-disabled="true"]):hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.rev-btn[aria-disabled="true"] { opacity: .35; cursor: default; }
.rev-track { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rev { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 4px; box-shadow: 0 1px 0 var(--line); padding: 28px 28px 22px; }
.rev figure { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.rev-tag { font: 600 11px/1.3 var(--f); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-700); }
.rev blockquote { flex: 1; }
.rev blockquote p { position: relative; font-size: 17.5px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.rev figcaption { display: grid; gap: 1px; padding-top: 16px; border-top: 1px solid var(--line); }
.rev figcaption b { font-weight: 650; font-size: 15.5px; color: var(--ink); }
.rev figcaption span { font-size: 14px; color: var(--muted); }
.rev-link { margin-top: 14px; align-self: flex-start; font-weight: 650; font-size: 14.5px; color: var(--red-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(159, 35, 41, .35); }
.rev-link:hover { text-decoration-color: currentColor; }
.rev-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; }
.rev-dots { display: none; gap: 6px; }
.rev-dot { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 2px; }
.rev-dot::before { content: ""; width: 14px; height: 4px; background: var(--line-2); transform: skewX(-30deg); transition: background-color .2s, width .3s var(--ease); }
.rev-dot[aria-current="true"]::before { width: 22px; background: var(--red); }
@media (max-width: 1079px) {
  .is-swipe .rev-ctrl { display: flex; }
  .is-swipe .rev-dots { display: flex; }
  .rev-track {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 6px; scroll-padding-inline: var(--gut);
    scrollbar-width: none;
  }
  .rev-track::-webkit-scrollbar { display: none; }
  .rev { flex: 0 0 min(84%, 420px); scroll-snap-align: start; }
}
@media (max-width: 699px) {
  .rev { padding: 24px 22px 20px; }
  .rev blockquote p { font-size: 16.5px; }
  .rev-foot { justify-content: center; }
  .rev-foot .tlink { width: 100%; justify-content: center; }
  .sec-head-row .rev-ctrl { display: none; }
}

/* ---------- Family business ---------- */
.fam { background: #fff; }
.fam-in { display: grid; gap: 40px; align-items: center; }
.fam-fig { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.fam-fig img { width: 100%; height: 100%; object-fit: cover; }
.fam-body h2 { margin-top: 18px; }
.fam-body .lead-txt { margin-top: 18px; }
.fam-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; border-block: 1px solid var(--line); }
.fam-facts li { display: grid; gap: 4px; align-content: start; padding: 18px 18px 18px 0; }
.fam-facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.fam-facts b { font-weight: 720; font-stretch: var(--wide); font-size: 24px; line-height: 1.1; color: var(--ink); white-space: nowrap; }
.fam-facts span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.fam-hof { grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px !important; }
.fam-hof img { width: 44px; height: 44px; }
.fam-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
@media (min-width: 1080px) { .fam-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
@media (max-width: 559px) {
  .fam-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fam-facts .fam-hof { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Closing: request ---------- */
.req {
  position: relative; color: #fff; padding: var(--sec) 0 calc(var(--sec) + 10px);
  background: radial-gradient(60% 70% at 100% 0%, rgba(120, 151, 171, .16), rgba(120, 151, 171, 0) 70%), var(--ink);
}
.req-in { display: grid; gap: 48px; }
.req h2 { color: #fff; margin-top: 18px; }
.req .lead-txt { color: rgba(255, 255, 255, .74); margin-top: 18px; }
.next { display: grid; margin-top: 36px; counter-reset: s; border-top: 1px solid rgba(255, 255, 255, .14); }
.next li { counter-increment: s; position: relative; display: grid; gap: 3px; padding: 18px 0 18px 54px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.next li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 18px;
  font-weight: 300; font-stretch: 125%; font-size: 22px; line-height: 1.1; color: var(--slate);
}
.next b { font-weight: 650; font-size: 17px; color: #fff; }
.next li span { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .7); max-width: 52ch; }
.req-tel { display: grid; gap: 2px; margin-top: 28px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.req-tel a { font-weight: 720; font-stretch: var(--wide); font-size: 26px; line-height: 1.2; color: #fff; width: fit-content; }
.req-tel a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.req-tel span { font-size: 14px; color: rgba(255, 255, 255, .56); }
.req :focus-visible { outline-color: #fff; }
.req .lead :focus-visible { outline-color: var(--red); }
@media (min-width: 1080px) {
  .req-in { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 32px 80px; align-items: start; }
}

/* Lead form (sits in the closing section, moves into the dialog when a button asks for it) */
.lead { position: relative; background: var(--paper); color: var(--text); border-radius: 4px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.lead.is-pulse { animation: pulse 1.1s var(--ease); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(208, 51, 58, .7), 0 40px 80px -40px rgba(0, 0, 0, .7); }
  100% { box-shadow: 0 0 0 20px rgba(208, 51, 58, 0), 0 40px 80px -40px rgba(0, 0, 0, .7); }
}
.lead-head { padding: 24px 28px 0; }
.lead-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lead-kicker { font: 600 11.5px/1.3 var(--f); font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase; color: var(--red-700); }
.lead-count { font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.lead-prog { margin-top: 14px; height: 4px; background: var(--paper-2); overflow: hidden; }
.lead-prog span { display: block; height: 100%; width: 25%; background: var(--red); transition: width .4s var(--ease); }
.step { padding: 26px 28px 4px; }
.step-h { font: 720 clamp(23px, 2.1vw, 28px)/1.14 var(--f); font-stretch: var(--wide); color: var(--ink); letter-spacing: -.018em; outline: none; text-wrap: balance; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; gap: 12px; height: 100%; min-height: 56px; padding: 12px 16px; border-radius: 3px;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 15.5px; line-height: 1.25; color: var(--ink);
  transition: box-shadow .2s, background-color .2s;
}
.chip span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow .2s, background-color .2s; }
.chip:hover span { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.chip input:checked + span { background: #fdf3f3; box-shadow: inset 0 0 0 2px var(--red); }
.chip input:checked + span::before { background: var(--red); box-shadow: inset 0 0 0 4px #fff, 0 0 0 1.5px var(--red); }
.chip input:focus-visible + span { outline: 2.5px solid var(--red); outline-offset: 2px; }
.chip-wide { grid-column: 1 / -1; }
.err { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--error); }
.step-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.step-note a { font-weight: 650; color: var(--red-700); text-decoration: underline; text-underline-offset: 3px; }
.fld-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.fld { display: grid; gap: 6px; margin-top: 16px; align-content: start; }
.lbl { font-size: 14px; font-weight: 650; color: var(--ink); }
.opt { font-weight: 500; color: var(--muted); }
.inp {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 3px;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 16px; color: var(--ink);
  transition: box-shadow .2s;
}
.inp::placeholder { color: #8d959b; }
.inp:focus { outline: none; box-shadow: inset 0 0 0 2px var(--red); }
textarea.inp { min-height: 80px; resize: vertical; line-height: 1.45; }
.fld.bad .inp { box-shadow: inset 0 0 0 2px var(--error); }
.ferr { font-size: 13.5px; font-weight: 600; color: var(--error); }
.lead-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  margin-top: 22px; padding: 18px 28px 24px; border-top: 1px solid var(--line);
}
.lead-usp { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.lead-usp li { display: inline-flex; align-items: center; gap: 6px; }
.lead-usp .i { width: 16px; height: 16px; color: var(--red); }
.lead-btns { display: flex; gap: 8px; margin-left: auto; }
.btn-back { display: inline-flex; align-items: center; gap: 6px; min-height: 50px; padding: 0 14px; border-radius: 3px; font-weight: 650; color: var(--ink); transition: background-color .2s; }
.btn-back:hover { background: var(--paper-2); }
.btn-back .i { width: 18px; height: 18px; }
.lead-done { display: grid; gap: 14px; justify-items: start; padding: 30px 28px; }
.done-ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; }
.done-ic .i { width: 26px; height: 26px; }
.done-h { font: 720 30px/1.1 var(--f); font-stretch: var(--wide); color: var(--ink); letter-spacing: -.02em; outline: none; }
.done-p { color: var(--text); }
.done-p a { color: var(--red-700); font-weight: 650; white-space: nowrap; }
.done-sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; width: 100%; padding: 16px 18px; border-radius: 3px; background: #fff; font-size: 14.5px; }
.done-sum:empty { display: none; }
.done-sum dt { color: var(--muted); }
.done-sum dd { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.done-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
@media (max-width: 519px) {
  .lead-head { padding: 20px 20px 0; }
  .step { padding: 22px 20px 4px; }
  .lead-foot { padding: 16px 20px 20px; }
  .lead-done { padding: 26px 20px; }
  .fld-row { grid-template-columns: 1fr; }
  .chip span { min-height: 54px; padding: 11px 13px; font-size: 15px; gap: 10px; }
  .lead-usp { display: none; }
  .lead-btns { width: 100%; }
  .lead-btns .btn { flex: 1; justify-content: space-between; }
}
@media (max-width: 419px) {
  .chips { grid-template-columns: 1fr; gap: 8px; }
  .chip-wide { grid-column: auto; }
  .chip span { min-height: 50px; }
}

/* ---------- Footer ---------- */
/* the construction tape of the old site, in the two brand colours at the logo's angle */
.tape { height: 14px; background: repeating-linear-gradient(120deg, var(--red) 0 16px, var(--slate) 16px 32px); }
.ftr { background: #0b1014; color: rgba(255, 255, 255, .7); font-size: 15px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); --lg-ws: #fff; --lg-wr: #fff; }
.ftr > .wrap { padding-top: 64px; }
.ftr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.ftr-brand { grid-column: 1 / -1; }
.ftr .logo-svg { height: 40px; }
.ftr-brand p { margin-top: 18px; max-width: 36ch; line-height: 1.55; }
.ftr-hof { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 13.5px; line-height: 1.35; color: rgba(255, 255, 255, .62); max-width: 30ch; }
.ftr-hof img { width: 48px; height: 48px; flex: none; }
.ftr-h { font: 600 11.5px/1.3 var(--f); font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase; color: var(--slate-300); margin-bottom: 14px; }
.ftr-col li { margin-top: 9px; }
.ftr-col a { color: rgba(255, 255, 255, .82); transition: color .2s; }
.ftr-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr-contact address { line-height: 1.55; color: rgba(255, 255, 255, .82); }
.ftr-contact ul { margin-top: 6px; }
.ftr-contact a { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.ftr-contact a .i { width: 17px; height: 17px; color: var(--slate-300); }
.ftr-sos { display: flex; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 3px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 14px; line-height: 1.45; }
.ftr-sos .i { width: 18px; height: 18px; color: var(--red); margin-top: 1px; }
.ftr-sos a { display: inline; color: #fff; font-weight: 650; white-space: nowrap; }
.ftr-sos a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr :focus-visible { outline-color: #fff; }
.ftr-base {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  margin-top: 56px; padding-top: 24px; font-size: 13.5px; color: rgba(255, 255, 255, .56);
}
.ftr-base::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .1); }
.ftr-social { display: flex; gap: 8px; }
.ftr-social a { width: 44px; height: 44px; border-radius: 3px; display: grid; place-items: center; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background-color .2s; }
.ftr-social a:hover { background: rgba(255, 255, 255, .1); }
.ftr-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ftr-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.credit a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 3px; }
.credit a:hover { color: #fff; }
@media (min-width: 700px) {
  .ftr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .ftr-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 48px; }
  .ftr-brand { grid-column: auto; }
}
@media (max-width: 699px) {
  .ftr-contact { grid-column: 1 / -1; }
  .ftr-base { display: grid; justify-items: start; }
}

/* ---------- Sticky request button on phones ---------- */
.mcta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; gap: 8px; padding: 6px; border-radius: 5px;
  background: rgba(243, 241, 236, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -16px rgba(10, 14, 18, .6), inset 0 0 0 1px var(--line);
  transform: translateY(150%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s .4s;
}
.mcta.is-on { transform: none; visibility: visible; transition: transform .4s var(--ease); }
html.menu-open .mcta, html.dlg-open .mcta { transform: translateY(150%); visibility: hidden; }
.mcta-tel { width: 50px; height: 50px; flex: none; border-radius: 3px; display: grid; place-items: center; background: #fff; color: var(--red); box-shadow: inset 0 0 0 1.5px var(--line); }
.mcta-btn { flex: 1; min-height: 50px; justify-content: space-between; }
@media (min-width: 700px) {
  .mcta { left: auto; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); }
  .mcta-btn { flex: none; }
}
@media (min-width: 1180px) { .mcta { display: none; } }

/* ---------- Dialog ---------- */
.dlg { padding: 0; border: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: transparent; overflow: hidden; }
.dlg::backdrop { background: rgba(10, 14, 18, .6); backdrop-filter: blur(3px); }
.dlg[open] { display: flex; align-items: flex-end; justify-content: center; }
.dlg-sheet {
  width: 100%; max-height: 94vh; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: 8px 8px 0 0;
  transform: translateY(24px); opacity: 0; transition: transform .3s var(--ease), opacity .24s;
}
.dlg.is-in .dlg-sheet { transform: none; opacity: 1; }
.dlg-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 0 28px; background: var(--paper); }
.dlg-h { font: 650 15px/1.3 var(--f); color: var(--ink); }
.dlg-x { width: 44px; height: 44px; border-radius: 3px; display: grid; place-items: center; color: var(--ink); transition: background-color .2s; }
.dlg-x:hover { background: var(--paper-2); }
.dlg-x .i { width: 22px; height: 22px; }
.dlg .lead { box-shadow: none; border-radius: 0; background: transparent; }
html.dlg-open { overflow: hidden; }
@media (min-width: 700px) {
  .dlg[open] { align-items: center; }
  .dlg-sheet { width: min(620px, calc(100% - 48px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); border-radius: 6px; }
}
@media (max-width: 519px) { .dlg-top { padding-left: 20px; } }

/* ---------- Reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.sec-grid .rv:nth-child(4n + 2), .prj-grid .rv:nth-child(3n + 2) { transition-delay: .06s; }
.sec-grid .rv:nth-child(4n + 3), .prj-grid .rv:nth-child(3n) { transition-delay: .12s; }
.sec-grid .rv:nth-child(4n) { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media (forced-colors: active) {
  .btn, .chip span, .inp, .sec-cta, .rev-btn { border: 1px solid; }
  .eyebrow::before, .btn-tip::before, .tape { forced-color-adjust: none; }
}
