/* ============================================================
   D1 CONSTRUCTION GROUP — design system
   Brand red on Twin Cities navy. Dark is dusk; light is daytime.
   Every colour is a token — see :root and [data-theme="light"].
   ============================================================ */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('../assets/fonts/Archivo-var.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../assets/fonts/Archivo-Italic-var.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../assets/fonts/PlexMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../assets/fonts/PlexMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #071426;
  --bg-rgb: 7, 20, 38;
  --bg2: #0a1c33;
  --panel: #0d2440;
  --panel-2: #10294a;
  --line: rgba(158, 186, 255, 0.14);
  --line-strong: rgba(158, 186, 255, 0.26);
  --ink: #edf3ff;
  --muted: #a3b4d6;
  --faint: #6e7fa6;

  --brand: #c93a34;
  --brand-2: #e15b54;
  --brand-deep: #8e1f1c;
  --accent-text: #e8695f;
  --on-brand: #ffffff;

  --blue: #7fb0de;
  --teal: #3ecfae;
  --red: #ff6b57;

  --sky-a: #04091a;
  --sky-b: #0a1730;
  --sky-c: #16294c;
  --city: #071021;
  --city-far: #0d1b36;
  --steel: #38507c;
  --wire: #5f7ab8;
  --win-off: rgba(160, 185, 235, 0.13);
  --win-on: #ffd463;

  --mark-red: #b22222;
  --mark-2: #ffffff;
  --mark-shadow: drop-shadow(0 0 52px rgba(178, 34, 34, 0.32));

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 10px 30px rgba(2, 8, 22, 0.45);
  --glow-brand: 0 6px 26px rgba(201, 58, 52, 0.30);

  --font-d: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-m: 'Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --nav-h: 76px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 0.9, 0.28, 1);
}

[data-theme="light"] {
  --bg: #f7f5ef;
  --bg-rgb: 247, 245, 239;
  --bg2: #efece3;
  --panel: #ffffff;
  --panel-2: #faf8f3;
  --line: rgba(14, 60, 96, 0.14);
  --line-strong: rgba(14, 60, 96, 0.26);
  --ink: #0e2439;
  --muted: #4d5f84;
  --faint: #8492b0;

  --brand: #b22222;
  --brand-2: #c6362e;
  --brand-deep: #8c1a1a;
  --accent-text: #a51f1f;
  --on-brand: #ffffff;

  --blue: #0e3c60;

  --sky-a: #dbe9fb;
  --sky-b: #eef0ee;
  --sky-c: #f7f0e0;
  --city: #3d5a80;
  --city-far: #a8bcd8;
  --steel: #7e93b5;
  --wire: #46598a;
  --win-off: rgba(12, 27, 58, 0.30);
  --win-on: rgba(12, 27, 58, 0.30);

  --mark-red: #b22222;
  --mark-2: #103c5f;
  --mark-shadow: drop-shadow(0 18px 34px rgba(23, 40, 78, 0.18));

  --shadow-1: 0 12px 30px rgba(35, 48, 84, 0.10);
  --glow-brand: 0 6px 22px rgba(178, 34, 34, 0.28);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-d);
  font-size: 17px;
  line-height: 1.65;
  font-variation-settings: 'wdth' 100;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color 0.45s ease, color 0.45s ease;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--brand); color: var(--on-brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
section { scroll-margin-top: calc(var(--nav-h) + 8px); }

.mono {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: fixed; top: -60px; left: 18px; z-index: 300;
  background: var(--brand); color: var(--on-brand);
  padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transition: top 0.25s ease;
}
.skip-link:focus-visible { top: 14px; }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 220;
  pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-2));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 750; font-variation-settings: 'wdth' 106;
  border-radius: var(--radius-sm);
  padding: 13px 24px; font-size: 15.5px; letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease,
              background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  will-change: transform;
  white-space: nowrap;
}
.btn-solid {
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  color: var(--on-brand);
  box-shadow: var(--glow-brand);
}
.btn-solid:hover { box-shadow: 0 10px 34px var(--brand); }
[data-theme="light"] .btn-solid:hover { box-shadow: 0 10px 30px rgba(217, 149, 0, 0.42); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--ink); }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); display: inline-block; flex: none;
  box-shadow: 0 0 0 0 rgba(62, 207, 174, 0.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 207, 174, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(62, 207, 174, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 207, 174, 0); }
}

.stars { color: var(--brand); letter-spacing: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(1320px, calc(100% - 40px));
  margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 26px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; font-style: italic; text-transform: uppercase; }
.brand-name b { font-weight: 870; font-variation-settings: 'wdth' 122; font-size: 17px; letter-spacing: 0.02em; }
.brand-name i { font-weight: 700; font-variation-settings: 'wdth' 112; font-size: 9px; letter-spacing: 0.19em; color: var(--accent-text); margin-top: 3px; }

.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a {
  font-size: 15px; font-weight: 560; color: var(--muted);
  transition: color 0.2s ease;
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--brand); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-phone { display: flex; align-items: center; gap: 9px; }
.nav-phone-text { display: flex; flex-direction: column; line-height: 1.15; font-weight: 740; font-size: 15px; font-variant-numeric: tabular-nums; }
.nav-phone-text small { font-family: var(--font-m); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* Theme switch — a tiny wall switch */
.theme-switch { display: flex; align-items: center; gap: 8px; position: relative; }
.switch-plate {
  width: 46px; height: 26px; border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--bg2);
  display: inline-flex; align-items: center; padding: 3px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.switch-rocker {
  width: 18px; height: 18px; border-radius: 5px;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transform: translateX(0);
  transition: transform 0.32s var(--ease);
}
[data-theme="light"] .switch-rocker { transform: translateX(20px); }
.switch-text { font-family: var(--font-m); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.theme-switch:hover .switch-plate { border-color: var(--brand); }

.nav-burger { display: none; width: 40px; height: 40px; position: relative; }
.nav-burger span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 23px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 18px 24px 26px;
}
.mobile-menu.openm { display: block; }
.mobile-menu > a {
  display: block; padding: 13px 2px; font-size: 18px; font-weight: 650;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-cta { display: grid; gap: 12px; margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-sky {
  position: absolute; inset: 0; z-index: -5;
  background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 58%, var(--sky-c) 100%);
  transition: background 0.5s ease;
}
[data-theme="light"] .hero-sky::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 460px at 76% 16%, rgba(255, 206, 140, 0.45), transparent 72%);
}
#fxCanvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }

/* Daylight only: a soft pool of background colour behind the copy so the stats
   and chips stay readable where they cross the city. Radial and full-bleed, so
   every falloff is gradual — a rectangle shows its seams, which is exactly what
   an earlier version of this did. */
[data-theme="light"] .hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(66% 58% at 10% 64%,
    rgba(var(--bg-rgb), 0.86) 0%,
    rgba(var(--bg-rgb), 0.54) 38%,
    rgba(var(--bg-rgb), 0) 72%);
}
@media (max-width: 900px) {
  [data-theme="light"] .hero::before {
    background: radial-gradient(122% 60% at 42% 62%,
      rgba(var(--bg-rgb), 0.88) 0%,
      rgba(var(--bg-rgb), 0.58) 42%,
      rgba(var(--bg-rgb), 0) 76%);
  }
}

.skyline {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -3;
  height: clamp(190px, 30vh, 380px);
  pointer-events: none;
}
.skyline-svg { width: 100%; height: 100%; display: block; }
.bld { fill: var(--city); }
.bfar { fill: var(--city-far); opacity: 0.55; }
[data-theme="light"] .bfar { opacity: 0.8; }
.mast { stroke: var(--city); stroke-width: 3.4; fill: none; stroke-linecap: round; }
.stl { stroke: var(--steel); stroke-width: 1.1; fill: none; opacity: 0.85; }
.beacon { fill: var(--red); opacity: 0.35; }
.skyline.live .beacon { animation: beacon 2.6s ease-in-out infinite; }
@keyframes beacon { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

.win { fill: var(--win-off); }
.skyline .win.lit {
  fill: var(--win-on);
  transition: fill 0.5s ease var(--d, 0s);
}
html.js .skyline:not(.live) .win.lit { fill: var(--win-off); }

/* wire pulse once the city is live (dark mode only — daytime wires stay quiet) */

.hero-haze {
  position: absolute; left: 0; right: 0; bottom: 0; height: clamp(110px, 17vh, 220px); z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(7, 20, 38, 0.55) 46%, var(--bg) 92%);
}

html.js 

/* ---------- brand mark ---------- */
.brand-mark { flex: none; width: 46px; height: auto; }
.mk-red { fill: var(--mark-red, #b22222); }
.mk-2 { fill: var(--mark-2, #ffffff); }

/* ---------- the monument: mark standing on the horizon ----------
   sits behind the skyline (z -4) so the city crosses in front of its feet */
.hero-mark {
  position: absolute; z-index: -4;
  /* capped on both axes so it never outgrows the viewport, and tied to the
     container edge on wide screens so ultrawide keeps the same composition */
  right: max(-2vw, calc((100vw - var(--container)) / 2 - 380px));
  bottom: clamp(104px, 16vh, 190px);
  width: min(52vw, 92vh, 1240px);
  pointer-events: none;
  filter: var(--mark-shadow);
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  will-change: transform;
}
.hero-mark svg { width: 100%; height: auto; display: block; }
html.js .hero-mark { opacity: 0; transform: translate3d(0, 46px, 0) scale(0.965); transform-origin: 50% 100%; }
html.js .hero-mark.go {
  opacity: 1; transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(1);
  transition: opacity 1.15s var(--ease), transform 1.25s var(--ease);
}
@media (max-height: 760px) and (min-width: 1100px) {
  .hero-mark { width: min(46vw, 80vh, 760px); bottom: clamp(80px, 12vh, 140px); }
}
@media (max-width: 900px) {
  .hero-mark { width: min(72vw, 470px); right: -7vw; bottom: clamp(96px, 15vh, 150px); opacity: 0.92; }
}
/* phones: the mark stands behind the skyline, not through the copy.
   at 82vw it overlapped the service chips by ~106px. */
@media (max-width: 620px) {
  .hero-mark { width: min(50vw, 260px); right: -4vw; bottom: 6px; opacity: 0.5; }
}

.hero-inner {
  position: relative; z-index: 2;
  padding: calc(var(--nav-h) + 46px) 0 120px;
  max-width: 720px;
  margin-left: max(calc((100vw - var(--container)) / 2), 24px);
  margin-right: auto;
}
.hero-eyebrow { margin: 0 0 22px; }
.hero-eyebrow .mono { color: var(--accent-text); }

.hero-title {
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2.75rem, 7vw, 8.5rem);
  line-height: 0.96;
  letter-spacing: -0.012em;
  margin-bottom: 26px;
}
.hero-title .line { display: block; overflow: hidden; padding-right: 0.1em; }
.hero-title .w {
  display: inline-block;
  font-variation-settings: 'wdth' 116, 'wght' 800;
}
/* the width axis is NOT animated: going from wdth 68 to 116 re-wrapped the
   headline and grew it by a whole line (~96px), pushing everything below it
   down 78px mid-load. that was the desktop CLS. opacity + transform only. */
html.js .hero-title .w {
  opacity: 0;
  transform: translateY(0.55em);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--wd, 0s);
}
html.js .hero.hero-ready .hero-title .w {
  opacity: 1;
  transform: translateY(0);
  font-variation-settings: 'wdth' 116, 'wght' 800;
}
.brand-i { color: var(--accent-text); }
[data-theme="dark"] .brand-i { text-shadow: 0 0 34px var(--brand); }

.hero-sub { color: var(--muted); font-size: 18px; max-width: 55ch; margin-bottom: 34px; }
html.js .hero-sub, html.js .hero-cta, html.js .hero-stats, html.js .hero-chips,
html.js .hero-tagline, html.js .hero-eyebrow {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
html.js .hero.hero-ready .hero-sub { opacity: 1; transform: none; transition-delay: 0.6s; }
html.js .hero.hero-ready .hero-cta { opacity: 1; transform: none; transition-delay: 0.74s; }
html.js .hero.hero-ready .hero-tagline { opacity: 1; transform: none; transition-delay: 0.48s; }
html.js .hero.hero-ready .hero-stats { opacity: 1; transform: none; transition-delay: 0.85s; }
html.js .hero.hero-ready .hero-chips { opacity: 1; transform: none; transition-delay: 0.95s; }
html.js .hero.hero-ready .hero-eyebrow { opacity: 1; transform: none; transition-delay: 0.1s; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
/* tagline sits between the headline and the paragraph */
.hero-tagline {
  font-style: italic; font-weight: 800; font-variation-settings: 'wdth' 108;
  font-size: clamp(1.05rem, 1.5vw, 1.6rem);
  color: var(--ink); margin-bottom: 16px; letter-spacing: -0.01em;
}

/* four-up proof bar */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px 10px; margin: 0 0 26px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-weight: 830; font-variation-settings: 'wdth' 108;
  font-size: clamp(1.7rem, 2.4vw, 2.7rem); line-height: 1;
  letter-spacing: -0.02em; color: var(--ink);
}
.hero-stats dd { margin: 7px 0 0; font-size: 10px; color: var(--faint); }

/* service chips — a fixed 4-up grid so they never break 6-and-2 */
.hero-chips {
  display: grid; grid-template-columns: repeat(4, max-content);
  gap: 8px; list-style: none; margin: 0; padding: 0;
}
.hero-chips li {
  font-family: var(--font-m); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 6px 13px; white-space: nowrap;
}
@media (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-chips { grid-template-columns: repeat(2, max-content); }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: var(--faint); z-index: 2;
}
.scroll-cue .mono { font-size: 10px; }
.scroll-cue-track {
  width: 22px; height: 34px; border: 1.5px solid var(--line-strong); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-cue-dot { width: 4px; height: 7px; border-radius: 3px; background: var(--brand); animation: cue 1.9s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg2);
  overflow: hidden;
  padding: 15px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 44px;
  width: max-content;
  animation: marquee 34s linear infinite;
  font-family: var(--font-m); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track i {
  display: inline-block; width: 13px; height: 11px; flex: none;
  background: var(--brand);
  clip-path: polygon(50% 0%, 100% 100%, 78% 100%, 50% 42%, 22% 100%, 0% 100%);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections (shared) ---------- */
.section { padding-block: clamp(92px, 11vw, 148px); position: relative; }
.section-head { max-width: 730px; margin-bottom: clamp(44px, 6vw, 70px); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.eyebrow .mono { color: var(--accent-text); }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--brand); flex: none; }
.section-title {
  font-size: clamp(2rem, 4.3vw, 3.35rem);
  font-weight: 820; font-variation-settings: 'wdth' 106;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--accent-text); font-variation-settings: 'wdth' 106; }
.section-sub { color: var(--muted); font-size: 17.5px; max-width: 58ch; }

/* ---------- Services ---------- */
.services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 60px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-2));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.45s var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); background: var(--panel-2); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-icon svg * { stroke-dasharray: 100; stroke-dashoffset: 0; }
.card:hover .card-icon svg * { animation: draw 0.8s var(--ease) forwards; }
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.card h3 { font-size: 18.5px; font-weight: 740; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.card-tag {
  position: absolute; left: 24px; bottom: 20px;
  color: var(--faint); font-size: 10.5px;
  border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px;
}

/* ---------- Why ---------- */
.why { background: var(--bg2); }
.why-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(44px, 6vw, 84px); align-items: start; }
.why-points { display: grid; gap: 22px; }
.why-points li {
  position: relative; padding-left: 38px;
  color: var(--muted); font-size: 16px; line-height: 1.6;
}
.why-points li b { color: var(--ink); font-weight: 720; }
.why-points li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4.5 13.5h6L10 22l9-12h-6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4.5 13.5h6L10 22l9-12h-6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.why-stats {
  position: sticky; top: calc(var(--nav-h) + 30px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr;
}
.stat { padding: 26px 22px; }
.stat:nth-child(1) { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.stat:nth-child(2) { border-bottom: 1px solid var(--line); }
.stat:nth-child(3) { border-right: 1px solid var(--line); }
.stat-num {
  display: block;
  font-style: italic; font-weight: 830; font-variation-settings: 'wdth' 112;
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  color: var(--accent-text);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat .mono { color: var(--faint); font-size: 10.5px; }

/* ---------- Process ---------- */
.process-wrap { position: relative; max-width: 780px; padding-left: 78px; }
.spine { position: absolute; left: 26px; top: 6px; width: 8px; height: calc(100% - 12px); overflow: visible; }
.spine-bg { stroke: var(--line-strong); stroke-width: 2; }
.spine-fill {
  stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px var(--brand));
}
[data-theme="light"] .spine-fill { filter: none; }
.steps { display: grid; gap: clamp(44px, 6vw, 66px); }
.step { position: relative; }
.step-node {
  position: absolute; left: -56px; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--line-strong); background: var(--bg);
  transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}
.step.energized .step-node {
  border-color: var(--brand); background: var(--brand);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 18%, transparent), 0 0 18px var(--brand);
}
[data-theme="light"] .step.energized .step-node { box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 22%, transparent); }
.step-num { color: var(--accent-text); display: inline-block; margin-bottom: 10px; }
.step h3 { font-size: 22px; font-weight: 770; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { color: var(--muted); max-width: 56ch; }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg2); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
/* rating banner + a rail of real reviews; the rail scrolls, so any number fits */
.rating-banner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(18px, 3vw, 40px);
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px clamp(20px, 3vw, 34px);
}
.rating-figure { display: flex; flex-direction: column; gap: 6px; }
.rating-n { font-family: var(--font-d); font-weight: 800; font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 0.9; color: var(--ink); }
.stars-lg { font-size: 19px; }
.rating-copy { min-width: 0; }
.rating-h { margin: 0; font-family: var(--font-d); font-weight: 700; font-size: 1.18rem; color: var(--ink); }
.rating-s { margin: 4px 0 0; }
.rating-s .mono { color: var(--faint); font-size: 11px; }
.rating-cta { white-space: nowrap; }
.rail-label { margin: 30px 0 14px; }
.rail-label .mono { color: var(--accent-text); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.reviews-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 460px);
  gap: 18px; overflow-x: auto; scroll-snap-type: x proximity;
  padding-bottom: 8px; scrollbar-width: thin;
}
.reviews-rail > .review { scroll-snap-align: start; }
.rv-who { display: inline-flex; align-items: center; gap: 9px; }
.rv-src { color: var(--faint); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.reviews-rail:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 4px; }
.rv-avatar {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--on-brand);
  font-family: var(--font-d); font-weight: 700; font-size: 12px;
}
@media (max-width: 760px) {
  .rating-banner { grid-template-columns: 1fr; text-align: left; }
  .rating-cta { justify-self: start; }
}
.review {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.review:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow-1); }
.review .stars { font-size: 15px; }
.review blockquote { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink); }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.review figcaption b { font-weight: 730; font-size: 15px; }
.review figcaption .mono { color: var(--faint); font-size: 10.5px; }


/* ---------- figure artwork: isometric rooms and printed documents ----------
   Isometric faces are tokenised so both themes work. Paper documents stay
   light in both themes, because paper is paper. */
.fig-svg {
  --iso-t: #2b4670; --iso-l: #16294a; --iso-r: #1e3559;
  --iso-counter-t: #5d7ea8; --iso-counter-l: #334c72; --iso-counter-r: #3b5981;
  --iso-appl-t: #6f8db4; --iso-appl-l: #2b4267; --iso-appl-r: #334d75;
  --iso-bowl-t: #1d3050; --iso-bowl-s: #16273f;
  --iso-acc-t: #35547f; --iso-acc-l: #1b3253; --iso-acc-r: #24406a;
  --iso-wall: #12233d; --iso-wall-s: #365a86;
  --iso-metal: #b9cde6;
}
[data-theme="light"] .fig-svg {
  --iso-t: #b9cde6; --iso-l: #7e9cc2; --iso-r: #93aed0;
  --iso-counter-t: #d3e0ef; --iso-counter-l: #8fa8c6; --iso-counter-r: #a2b8d2;
  --iso-appl-t: #c6d6e9; --iso-appl-l: #869fbe; --iso-appl-r: #9ab0cb;
  --iso-bowl-t: #7e9cc2; --iso-bowl-s: #6b88ad;
  --iso-acc-t: #a8c1dd; --iso-acc-l: #7793b5; --iso-acc-r: #8ba6c6;
  --iso-wall: #e3ebf4; --iso-wall-s: #9db4ce;
  --iso-metal: #46617f;
}
.fig-svg .iso-floor { fill: rgba(127, 176, 222, 0.05); stroke: var(--steel); stroke-width: 1.2; }
.fig-svg .iso-grout { stroke: rgba(127, 176, 222, 0.14); stroke-width: 1; fill: none; }
.fig-svg .iso-t { fill: var(--iso-t); stroke: var(--steel); stroke-width: 1.1; }
.fig-svg .iso-l { fill: var(--iso-l); stroke: var(--steel); stroke-width: 1; }
.fig-svg .iso-r { fill: var(--iso-r); stroke: var(--steel); stroke-width: 1; }
.fig-svg .iso-t.counter { fill: var(--iso-counter-t); }
.fig-svg .iso-l.counter { fill: var(--iso-counter-l); }
.fig-svg .iso-r.counter { fill: var(--iso-counter-r); }
.fig-svg .iso-t.appl { fill: var(--iso-appl-t); }
.fig-svg .iso-l.appl { fill: var(--iso-appl-l); }
.fig-svg .iso-r.appl { fill: var(--iso-appl-r); }
.fig-svg .iso-t.acc { fill: var(--iso-acc-t); }
.fig-svg .iso-l.acc { fill: var(--iso-acc-l); }
.fig-svg .iso-r.acc { fill: var(--iso-acc-r); }
.fig-svg .iso-t.sinkbowl { fill: var(--iso-bowl-t); }
.fig-svg .iso-l.sinkbowl, .fig-svg .iso-r.sinkbowl { fill: var(--iso-bowl-s); }
.fig-svg .iso-t.toe, .fig-svg .iso-l.toe, .fig-svg .iso-r.toe { fill: var(--iso-l); opacity: 0.75; }
.fig-svg .iso-t.mirror, .fig-svg .iso-l.mirror, .fig-svg .iso-r.mirror {
  fill: rgba(190, 215, 240, 0.24); stroke: var(--blue); stroke-width: 1.3;
}
.fig-svg .iso-wall { fill: var(--iso-wall); stroke: var(--iso-wall-s); stroke-width: 1; }
.fig-svg .iso-tile { fill: rgba(143, 192, 230, 0.07); stroke: rgba(158, 186, 255, 0.18); stroke-width: 0.8; }
.fig-svg .iso-seam { stroke: rgba(10, 20, 38, 0.5); stroke-width: 1.4; fill: none; }
.fig-svg .iso-handle { stroke: var(--iso-metal); stroke-width: 2.6; stroke-linecap: round; fill: none; }
.fig-svg .iso-tap { stroke: var(--iso-metal); stroke-width: 3; fill: none; stroke-linecap: round; }
.fig-svg .iso-burner { fill: var(--iso-bowl-t); stroke: var(--blue); stroke-width: 1.4; }
.fig-svg .iso-node { fill: var(--brand-2); stroke: rgba(255, 217, 213, 0.9); stroke-width: 2; }
.fig-svg .glass { fill: rgba(143, 192, 230, 0.16); stroke: var(--blue); stroke-width: 1.2; }
.fig-svg .f-callbox rect { fill: rgba(127, 176, 222, 0.07); stroke: var(--line-strong); stroke-width: 1.1; }
.fig-svg .f-call-t { font-size: 12px; fill: var(--accent-text); letter-spacing: 0.12em; }
.fig-svg .f-call-v { font-size: 14px; fill: var(--ink); font-family: var(--font-d); font-weight: 600; }
.fig-svg .f-panel-t { font-size: 12px; fill: var(--faint); letter-spacing: 0.16em; }
.fig-svg .f-divider line { stroke: var(--line); stroke-width: 1.2; stroke-dasharray: 6 6; }
.fig-svg .f-spine line { stroke: var(--line-strong); stroke-width: 2; }
.fig-svg .f-station circle { fill: var(--bg); stroke: var(--brand-2); stroke-width: 3; }
.fig-svg .f-station.done circle { fill: var(--brand-2); stroke: rgba(255, 217, 213, 0.9); stroke-width: 2; }
.fig-svg .f-ribbon rect { fill: rgba(143, 192, 230, 0.24); }
.fig-svg .f-ribbon.b rect { fill: rgba(79, 116, 168, 0.55); }
.fig-svg .f-ribbon.c rect { fill: rgba(214, 74, 66, 0.55); }
.fig-svg .f-gantt-t { font-size: 12px; fill: var(--on-brand); font-family: var(--font-d); font-weight: 800; letter-spacing: 0.08em; }
.fig-svg .f-wk-t { font-size: 11px; fill: var(--faint); letter-spacing: 0.12em; }
.fig-svg .f-scorecell rect { fill: #ffffff; stroke: #c8cfd8; stroke-width: 1; }
.fig-svg .f-pen path { fill: none; stroke: #c0392b; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fig-svg .f-pen-t { font-size: 14px; fill: #c0392b; font-family: var(--font-d); font-weight: 700; }
.fig-svg .f-good circle { fill: rgba(90, 190, 140, 0.18); stroke: #5abe8c; stroke-width: 1.6; }
.fig-svg .f-good-t { font-size: 12px; fill: #5abe8c; letter-spacing: 0.16em; }
.fig-svg .f-bad-t { font-size: 12px; fill: var(--brand-2); letter-spacing: 0.16em; }
/* clipboard + paper: light in both themes */
.fig-svg .clip-board rect { fill: #20334f; stroke: #5b7aa8; stroke-width: 1.6; }
.fig-svg .clip-clip rect { fill: #38507c; stroke: #8ea6c8; stroke-width: 1.4; }
.fig-svg .clip-hole circle { fill: #0d1b2f; }
.fig-svg .f-paper rect { fill: #f4f1ea; stroke: #c8cfd8; stroke-width: 1; }
.fig-svg .f-form-h { font-size: 19px; fill: #12263f; font-family: var(--font-d); font-weight: 800; letter-spacing: 0.07em; }
.fig-svg .f-form-t { font-size: 14px; fill: #12263f; font-family: var(--font-d); font-weight: 700; letter-spacing: 0.06em; }
.fig-svg .f-form-s { font-size: 12px; fill: #5c6b7d; font-family: var(--font-d); }
.fig-svg .f-formrule line { stroke: #ccd3dc; stroke-width: 1; }
.fig-svg .f-mx-h { font-size: 11px; fill: #5c6b7d; letter-spacing: 0.13em; }
.fig-svg .f-doc-head rect { fill: #12263f; }
.fig-svg .f-doc-t { font-size: 15px; fill: #ffffff; font-family: var(--font-d); font-weight: 800; letter-spacing: 0.09em; }
.fig-svg .f-doc-s { font-size: 11px; fill: #5c6b7d; letter-spacing: 0.09em; }
.fig-svg .f-doc-l { font-size: 13px; fill: #12263f; font-family: var(--font-d); }
.fig-svg .f-doc-n { font-size: 13px; fill: #12263f; }
.fig-svg .f-doc-total { font-size: 19px; fill: #12263f; font-family: var(--font-d); font-weight: 800; }
.fig-svg .f-doc-total.flag { fill: #c0392b; }
.fig-svg .f-missing rect { fill: rgba(192, 57, 43, 0.12); stroke: #c0392b; stroke-width: 1.2; stroke-dasharray: 5 4; }
.fig-svg .f-miss-t { font-size: 13px; fill: #c0392b; font-family: var(--font-d); font-weight: 700; }
.fig-svg .f-qn { font-size: 12px; fill: #5c6b7d; font-family: var(--font-d); font-style: italic; }

/* ---------- Free-estimate band (always night) ---------- */
.estimate-band {
  position: relative;
  background:
    radial-gradient(760px 320px at 84% 0%, rgba(201, 58, 52, 0.16), transparent 66%),
    linear-gradient(180deg, #0a1c33, #071426);
  border-block: 1px solid rgba(158, 186, 255, 0.16);
  padding: clamp(58px, 7vw, 84px) 0;
  overflow: hidden;
}
.estimate-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.estimate-copy { display: flex; gap: 26px; align-items: flex-start; max-width: 720px; }
.estimate-band .band-mark {
  width: 62px; height: auto; flex: none; margin-top: 6px;
  filter: drop-shadow(0 0 18px rgba(201, 58, 52, 0.45));
}
.estimate-band .band-mark .mk-red { fill: #b22222; }
.estimate-band .band-mark .mk-2 { fill: #ffffff; }
.estimate-band h2 {
  color: #edf3ff;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 820; font-variation-settings: 'wdth' 108;
  letter-spacing: -0.015em; margin-bottom: 12px;
}
.estimate-band h2 em { font-style: italic; color: #e8695f; }
.estimate-band p { color: #a3b4d6; max-width: 60ch; }
.estimate-band .btn-solid { flex: none; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(44px, 6vw, 84px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--nav-h) + 30px); margin-bottom: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 21px 2px;
  font-weight: 660; font-size: 17.5px;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-text); }
.faq-x { position: relative; width: 16px; height: 16px; flex: none; }
.faq-x::before, .faq-x::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--brand); border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-x::before { width: 16px; height: 2px; }
.faq-x::after { width: 2px; height: 16px; }
.faq-item[open] .faq-x::after { transform: rotate(90deg); }
.faq-item .faq-body { overflow: hidden; }
.faq-item p { color: var(--muted); padding: 2px 2px 22px; max-width: 62ch; }

/* ---------- Contact ---------- */
.contact { background: var(--bg2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(44px, 6vw, 84px); align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card {
  display: flex; flex-direction: column; gap: 7px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 19px 20px;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
a.contact-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.contact-card .mono { color: var(--faint); font-size: 10.5px; }
.contact-card b { font-weight: 730; font-size: 15.5px; letter-spacing: -0.005em; overflow-wrap: anywhere; }

.quote-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(26px, 3.4vw, 38px);
  box-shadow: var(--shadow-1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-m); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.field .opt { color: var(--faint); text-transform: none; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--ink);
  padding: 13px 15px;
  font: inherit; font-size: 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e8695f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-note { color: var(--faint); font-size: 13px; margin-top: 14px; }
.quote-form .btn { margin-top: 6px; }
.quote-form.sent .form-row, .quote-form.sent .field,
.quote-form.sent .btn, .quote-form.sent .form-note { display: none; }
.form-success { text-align: left; padding: 14px 4px; }
.form-success h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.form-success h3 span { color: var(--accent-text); font-style: italic; }
.form-success p, .form-success a { color: var(--muted); }
.form-success a { color: var(--accent-text); font-weight: 700; }
.form-error { color: var(--red); font-size: 14.5px; margin-top: 14px; }
.form-error a { color: var(--red); font-weight: 700; text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--bg); border-top: 1px solid var(--line); overflow: hidden; }
.footer-watermark {
  position: absolute; right: -2vw; bottom: -6vw;
  width: min(46vw, 620px);
  opacity: 0.05;
  pointer-events: none; user-select: none;
}
[data-theme="light"] .footer-watermark { opacity: 0.05; }
.footer-grid {
  position: relative;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding: clamp(60px, 8vw, 92px) 0 54px;
}
.footer-brand p { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 34ch; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col .mono { color: var(--accent-text); margin-bottom: 6px; }
.footer-col a { color: var(--muted); font-size: 15px; transition: color 0.2s ease; width: fit-content; }
.footer-col a:hover { color: var(--ink); }
.footer-hours { color: var(--faint); font-size: 13.5px; }
.footer-bottom {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 22px 0 30px;
  display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between;
  color: var(--faint); font-size: 13.5px;
}
.footer-bottom .mono { color: var(--accent-text); font-size: 10.5px; }

/* ---------- Sparks (theme toggle / node bursts) ---------- */
.spark {
  position: fixed; z-index: 500; pointer-events: none;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 8px rgba(225, 91, 84, 0.75);
}

/* ---------- Reveal on scroll ---------- */
html.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html.js .reveal, html.js .hero-sub, html.js .hero-cta, html.js .hero-stats, html.js .hero-chips,
html.js .hero-tagline, html.js .hero-eyebrow { opacity: 1; transform: none; }
  html.js .hero-title .w { opacity: 1; transform: none; font-variation-settings: 'wdth' 116, 'wght' 800; }
  html.js .hero-mark, html.js .hero-mark.go { opacity: 1; transform: none; transition: none; }
  html.js .marquee-track { animation: none; }
  .spine-fill { stroke-dashoffset: 0; }
  .skyline .win.lit, html.js .skyline .win.lit { fill: var(--win-on); }
  .scroll-cue-dot, .live-dot { animation: none; }
}

/* ---------- Responsive ---------- */
@media (min-width: 1800px) { :root { --container: 1360px; } }
@media (min-width: 2300px) { :root { --container: 1520px; } }

@media (max-width: 1240px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding-bottom: 56px; }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .switch-text { display: none; }
  .why-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-stats { position: static; }
  .faq-grid .section-head { position: static; }
  }
@media (max-width: 860px) {
  .nav-phone { display: none; }
  .estimate-inner { flex-direction: column; align-items: flex-start; }
  .hero-inner { padding-top: calc(var(--nav-h) + 26vw); padding-bottom: 150px; max-width: 100%; margin-right: 24px; }
    .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-actions .btn { display: none; }
  .nav-inner { gap: 14px; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-wrap { padding-left: 46px; }
  .spine { left: 8px; }
  .step-node { left: -42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-watermark { font-size: 76vw; bottom: -30vw; }
  .hero-cta .btn { width: 100%; }
  .scroll-cue { display: none; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 40px); }
  .hero-inner { margin-left: 20px; margin-right: 20px; }
  .stat { padding: 20px 16px; }
  .hero-stats { gap: 14px 8px; }
  .hero-chips { gap: 7px; }
}

.footer-watermark svg { width: 100%; height: auto; display: block; }
.footer-watermark .mk-red, .footer-watermark .mk-2 { fill: var(--ink); }

/* review link in section sub-copy */
.sub-link { color: var(--accent-text); font-weight: 620; border-bottom: 1px solid rgba(201, 58, 52, 0.42); }
.sub-link:hover { border-bottom-color: currentColor; }

[data-theme="light"] .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a51f1f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

[data-theme="light"] .hero-haze {
  background: linear-gradient(180deg, transparent, rgba(247, 245, 239, 0.6) 46%, var(--bg) 92%);
}

html.intro-settled .hero-mark,
html.intro-settled .hero-mark.go {
  opacity: 1; transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(1); transition: none;
}


/* ============================================================
   SUBPAGES — page header, team, articles, social icons
   ============================================================ */

/* ---------- page header (a short echo of the hero, not a repeat) ---------- */
.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 46vh; display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 72px) 0 clamp(56px, 8vh, 96px);
  background: linear-gradient(180deg, var(--sky-a), var(--sky-b) 62%, var(--sky-c));
}
.page-head .skyline-lite {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -3;
  height: clamp(112px, 17vh, 200px); pointer-events: none;
}
.page-head .skyline-lite svg { width: 100%; height: 100%; display: block; }
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1;
  height: clamp(90px, 14vh, 170px); pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(var(--bg-rgb), 0.6) 44%, var(--bg) 94%);
}
.page-head .page-mark {
  position: absolute; z-index: -2; pointer-events: none;
  right: max(-2vw, calc((100vw - var(--container)) / 2 - 210px));
  bottom: clamp(56px, 8vh, 110px);
  width: min(30vw, 46vh, 520px);
  opacity: 0.9; filter: var(--mark-shadow);
}
.page-head .page-mark svg { width: 100%; height: auto; display: block; }
.page-head-inner {
  position: relative; z-index: 2;
  max-width: 720px;
  margin-left: max(calc((100vw - var(--container)) / 2), 24px);
  margin-right: auto;
}
.page-title {
  font-style: italic; text-transform: uppercase;
  font-size: clamp(2.2rem, 5.4vw, 5.4rem); line-height: 0.96;
  font-weight: 830; font-variation-settings: 'wdth' 112;
  letter-spacing: -0.015em; margin: 14px 0 18px;
}
.page-title em { font-style: italic; color: var(--accent-text); }
.page-lede { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.16rem); max-width: 58ch; }
.crumb { display: flex; align-items: center; gap: 10px; font-family: var(--font-m);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.crumb a { color: var(--accent-text); }
.crumb a:hover { text-decoration: underline; }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.member {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column;
}
.member-photo { position: relative; aspect-ratio: 420 / 500; overflow: hidden; background: var(--panel-2); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.member-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(var(--bg-rgb), 0.55));
}
.member-body { padding: 22px 24px 26px; }
.member-body h3 { font-size: 1.24rem; font-weight: 800; font-variation-settings: 'wdth' 106; letter-spacing: -0.01em; }
.member-role {
  display: inline-block; margin: 8px 0 12px;
  font-family: var(--font-m); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-text);
}
.member-body p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; max-width: 420px; } }

/* ---------- values ---------- */
.values-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 26px 0 0; }
.values-list li {
  font-family: var(--font-m); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 18px;
}

/* ---------- insights index ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.fig-thumb {
  display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: 12px; margin-bottom: 4px;
}
.fig-thumb svg { width: 100%; height: 100%; object-fit: contain; }
.post-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px 32px;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.post-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.post-meta { font-family: var(--font-m); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint); display: flex; gap: 12px; }
.post-card h3 { font-size: clamp(1.15rem, 1.5vw, 1.42rem); line-height: 1.2; letter-spacing: -0.012em; font-weight: 800; }
.post-card p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.post-more { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-text); display: inline-flex; align-items: center; gap: 8px; }
.post-card:hover .post-more { gap: 13px; }
.post-more span { transition: gap .3s; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- article ---------- */
/* Article pages run a narrower container so the nav, the heading, the body copy
   and the drawings all share one left and right edge. The text is capped to a
   reading measure inside that container; figures simply fill it. No negative
   margins, so nothing can drop out and overflow the way the old breakout did. */
body.page-article { --container: 1080px; }

.article { width: min(var(--container), calc(100vw - 48px)); margin-inline: auto; }
.article > p,
.article > h2,
.article > h3,
.article > ul,
.article > ol,
.article > hr,
.article > .post-meta,
.article > .article-cta { max-width: 68ch; }
.article > .fig,
.article > .next-posts { width: 100%; max-width: none; }
.fig { margin-block: 2.6em; }
.article > * + * { margin-top: 1.15em; }
.article p { color: var(--muted); font-size: 1.06rem; line-height: 1.72; }
.article h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.95rem); letter-spacing: -0.015em; font-weight: 820;
  font-variation-settings: 'wdth' 106; margin-top: 2.1em; color: var(--ink);
}
.article h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 780; margin-top: 1.7em; color: var(--ink); }
.article strong { color: var(--ink); font-weight: 700; }
.article ul, .article ol { padding-left: 1.15em; color: var(--muted); }
.article li { margin-top: 0.55em; line-height: 1.66; font-size: 1.04rem; }
.article li::marker { color: var(--accent-text); }
.article .lead { font-size: 1.16rem; color: var(--ink); font-style: italic; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
/* ready for photography: drop an <img> in and it inherits the frame */
.article figure { margin: 2em 0; }
.article figure img { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.article figcaption { margin-top: 10px; font-family: var(--font-m); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.article-cta {
  margin-top: 3em; padding: 30px 32px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel);
}
.article-cta h3 { margin: 0 0 10px; }
.article-cta p { margin-bottom: 20px; }
.next-posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 26px; }
@media (max-width: 800px) { .next-posts { grid-template-columns: 1fr; } }

/* ---------- social icons ---------- */
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; flex: none;
  border: 1px solid var(--line-strong); color: var(--muted);
  transition: color .25s, border-color .25s, background .25s, transform .25s;
}
.social-btn svg { width: 19px; height: 19px; fill: currentColor; }
.social-btn:hover { color: var(--on-brand); background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.footer-col .social-row { margin-top: 14px; }

.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after { transform: scaleX(1); }


/* ---------- article artwork: technical drawings, themed by tokens ---------- */

.fig-frame {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  padding: clamp(14px, 2vw, 26px); overflow: hidden;
}
.fig-svg { width: 100%; height: auto; display: block; }
.fig figcaption {
  margin-top: 14px; max-width: 78ch; font-family: var(--font-m); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}
/* strokes and fills */
.f-grid line { stroke: rgba(var(--steel-rgb, 158, 186, 255), 0.07); stroke-width: 1; }
.f-wall path { fill: none; stroke: var(--steel); stroke-width: 3; }
.f-hatch rect { fill: var(--steel); opacity: 0.5; }
.f-wet rect { fill: var(--brand-2); opacity: 0.9; }
.f-run rect { fill: rgba(127, 176, 222, 0.06); stroke: var(--steel); stroke-width: 1.4; }
.f-island rect { fill: rgba(127, 176, 222, 0.08); stroke: var(--steel); stroke-width: 1.6; }
.f-fix rect { fill: rgba(127, 176, 222, 0.05); stroke: var(--blue); stroke-width: 2; }
.f-clear rect { fill: rgba(214, 74, 66, 0.05); stroke: var(--brand-2); stroke-width: 1.2; stroke-dasharray: 9 7; opacity: 0.85; }
.f-tri path { fill: rgba(214, 74, 66, 0.14); stroke: var(--brand-2); stroke-width: 2.4; stroke-dasharray: 10 6; stroke-linejoin: round; }
.f-node circle { fill: var(--brand-2); }
.f-node.hot circle { fill: var(--brand-2); }
.f-dim line { stroke: var(--steel); stroke-width: 1.2; }
.f-dimr line { stroke: var(--brand-2); stroke-width: 1.6; }
.f-gate line { stroke: var(--brand-2); stroke-width: 1.8; stroke-dasharray: 11 8; }
.f-card rect { fill: rgba(127, 176, 222, 0.05); stroke: var(--line-strong); stroke-width: 1.2; }
.f-row rect { fill: rgba(127, 176, 222, 0.035); stroke: var(--line); stroke-width: 1; }
.f-key rect { fill: rgba(127, 176, 222, 0.05); stroke: var(--line-strong); stroke-width: 1.2; }
.f-tb rect { fill: rgba(127, 176, 222, 0.07); stroke: var(--line-strong); stroke-width: 1.2; }
.f-tb line { stroke: var(--line-strong); stroke-width: 1; }
.f-flagbox rect { fill: rgba(214, 74, 66, 0.12); stroke: var(--brand-2); stroke-width: 1.4; }
.f-flagbar rect { fill: var(--brand-2); }
.f-bandbar rect { fill: var(--brand-2); }
.f-gatebadge rect { fill: rgba(214, 74, 66, 0.16); stroke: var(--brand-2); stroke-width: 1.3; }
.f-leader path { fill: none; stroke: var(--brand-2); stroke-width: 1.4; stroke-dasharray: 4 4; }
.f-box rect { fill: rgba(127, 176, 222, 0.05); stroke: var(--steel); stroke-width: 1.6; }
.f-check path { fill: none; stroke: var(--brand-2); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.f-gatearrow path { fill: none; stroke: var(--brand-2); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.f-bar { stroke: none; }
.f-bar.lab { fill: #8fc0e6; }
.f-bar.mat { fill: #4f74a8; }
.f-bar.per { fill: var(--brand); }
.f-bar.flag { opacity: 0.45; }
/* type inside the drawings */
.fig-svg text { font-family: var(--font-m); fill: var(--muted); }
.fig-svg .f-h { font-size: 23px; fill: var(--ink); letter-spacing: 0.09em; font-family: var(--font-d); font-weight: 800; }
.fig-svg .f-label text { font-size: 16px; letter-spacing: 0.09em; fill: var(--muted); }
.fig-svg .f-step { font-size: 18px; fill: var(--ink); letter-spacing: 0.06em; font-family: var(--font-d); font-weight: 700; }
.fig-svg .f-step.hot { fill: var(--accent-text); }
.fig-svg .f-sub { font-size: 16px; fill: var(--muted); font-family: var(--font-d); letter-spacing: 0; }
.fig-svg .f-num { font-size: 18px; font-family: var(--font-d); font-weight: 800; fill: var(--on-brand); letter-spacing: 0; }
.fig-svg .f-cbig { font-size: 36px; font-family: var(--font-d); font-weight: 800; fill: var(--brand-2); opacity: 0.7; letter-spacing: 0; }
.fig-svg .f-colh { font-size: 15px; fill: var(--muted); letter-spacing: 0.1em; }
.fig-svg .f-leg text { font-size: 17px; fill: var(--accent-text); letter-spacing: 0.06em; font-family: var(--font-d); font-weight: 800; }
.fig-svg .f-callout { font-size: 15px; fill: var(--accent-text); letter-spacing: 0.09em; }
.fig-svg .f-dimt { font-size: 17px; fill: var(--ink); letter-spacing: 0.07em; }
.fig-svg .f-warn { font-size: 16px; fill: var(--accent-text); letter-spacing: 0.07em; font-family: var(--font-d); font-weight: 800; }
.fig-svg .f-warnsub { font-size: 15px; fill: var(--muted); font-family: var(--font-d); }
.fig-svg .f-total { font-size: 19px; fill: var(--ink); font-family: var(--font-d); font-weight: 800; }
.fig-svg .f-barp { font-size: 15px; fill: #08111f; font-family: var(--font-d); font-weight: 800; }
.fig-svg .f-keyt { font-size: 15px; fill: var(--muted); letter-spacing: 0.07em; }
.fig-svg .f-tbt { font-size: 15px; fill: var(--ink); letter-spacing: 0.11em; }
.fig-svg .f-tbs { font-size: 13px; fill: var(--faint); letter-spacing: 0.09em; }
.fig-svg .f-phase-t { font-size: 16px; fill: var(--accent-text); letter-spacing: 0.11em; }
.fig-svg .f-wett { font-size: 15px; fill: var(--accent-text); letter-spacing: 0.1em; }
.fig-svg .f-gate-t { font-size: 14px; fill: var(--accent-text); letter-spacing: 0.1em; }

/* two-column section head, so a heading with no grid under it is not stranded */
.split-head { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.split-head .section-title { margin-bottom: 0; }
.split-head-body p + p { margin-top: 1.1em; }
.split-head-body p { color: var(--muted); font-size: 1.04rem; line-height: 1.7; }
@media (max-width: 900px) { .split-head { grid-template-columns: 1fr; } }

/* ---------- services + contact ---------- */
.svc-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc-card { display: grid; grid-template-columns: 190px 1fr; gap: 22px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: border-color .2s ease, transform .2s ease; }
.svc-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.svc-card-media { border-radius: 10px; overflow: hidden; background: var(--panel-2);
  aspect-ratio: 1 / 1; display: grid; place-items: center; }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-card-none { color: var(--faint); font-size: 11px; letter-spacing: .1em; }
.svc-card-body h2 { font-size: 1.42rem; margin: 4px 0 8px; color: var(--ink); }
.svc-card-body p { color: var(--muted); font-size: .98rem; line-height: 1.6; margin: 0 0 12px; }
.svc-card-body .mono { color: var(--accent-text); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.svc-min-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; }
.svc-min h3 { font-size: 1.04rem; margin: 0 0 6px; color: var(--ink); }
.svc-min p { color: var(--muted); font-size: .93rem; line-height: 1.6; margin: 0; }
.svc-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.svc-lead { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.svc-lead img { width: 100%; height: auto; display: block; }
.svc-lead--none { display: grid; place-items: center; gap: 8px; text-align: center; min-height: 260px;
  border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 28px; }
.svc-lead--none .mono { color: var(--accent-text); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.svc-lead--none p { color: var(--muted); margin: 0; }
.spec-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-row:first-of-type { padding-top: 6px; }
.spec-row h3 { font-size: 1.08rem; margin: 0 0 5px; color: var(--ink); }
.spec-row p { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 0; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-shot { margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.work-shot img { width: 100%; height: auto; display: block; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.how-step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.how-step .mono { color: var(--accent-text); font-size: 11px; letter-spacing: .1em; }
.how-step h3 { font-size: 1.1rem; margin: 8px 0 6px; color: var(--ink); }
.how-step p { color: var(--muted); font-size: .94rem; line-height: 1.6; margin: 0; }
.svc-read .read-card { display: block; text-decoration: none; background: var(--panel);
  border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 22px 24px; }
.svc-read .read-card:hover { border-color: var(--line-strong); }
.svc-read h3 { margin: 0 0 6px; font-size: 1.2rem; color: var(--ink); }
.svc-read p { margin: 0 0 10px; color: var(--muted); }
.svc-read .mono { color: var(--accent-text); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.cta-band { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px clamp(22px, 3vw, 36px); }
.cta-band h2 { margin: 0 0 6px; font-size: 1.6rem; color: var(--ink); }
.cta-band p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-split { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.section-title.sm { font-size: 1.6rem; margin-bottom: 20px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-file input { padding: 12px; }
.field-file small { display: block; margin-top: 6px; color: var(--faint); font-size: 10.5px; letter-spacing: .08em; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-actions span { color: var(--muted); font-size: .94rem; }
.contact-aside { display: grid; gap: 18px; }
.info-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-phone { display: block; font-family: var(--font-d); font-weight: 800; font-size: 1.72rem; color: var(--ink); text-decoration: none; margin: 10px 0 4px; }
.info-mail { color: var(--muted); text-decoration: none; font-size: .96rem; }
.info-card hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.hours { margin: 0; display: grid; gap: 7px; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; }
.hours dt, .hours dd { margin: 0; font-size: .93rem; }
.hours dt { color: var(--muted); } .hours dd { color: var(--ink); }
.info-note { margin: 16px 0 0; color: var(--faint); font-size: .88rem; }
.area-n { font-family: var(--font-d); font-weight: 800; font-size: 2.1rem; color: var(--ink); margin: 10px 0 2px; line-height: 1; }
.area-sub { margin: 0 0 16px; color: var(--muted); font-size: .95rem; }
.city-list { list-style: none; padding: 0; margin: 0 0 16px; columns: 2; column-gap: 20px; }
.city-list li { color: var(--muted); font-size: .9rem; line-height: 1.85; break-inside: avoid; }
.city-list li.is-base { color: var(--ink); font-weight: 620; }
.city-list li.is-base::before { content: "●"; color: var(--brand); font-size: 8px; vertical-align: middle; margin-right: 6px; }
.area-ask { color: var(--accent-text); font-size: 11px; letter-spacing: .08em; margin: 0; }
@media (max-width: 1080px) {
  .svc-card-grid, .contact-split, .svc-split { grid-template-columns: 1fr; }
  .svc-min-grid, .work-grid, .how-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .svc-card { grid-template-columns: 1fr; }
  .svc-min-grid, .work-grid, .how-grid, .f-row { grid-template-columns: 1fr; }
}

.card h3 .svc-link { color: inherit; text-decoration: none; }
.card h3 .svc-link:hover { color: var(--accent-text); }
.services-more { margin: 26px 0 0; }
.services-more a { color: var(--accent-text); text-decoration: none; font-family: var(--font-m); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.services-more a:hover { text-decoration: underline; }

/* ---------- services dropdown (nav) ---------- */
.nav-links .nav-drop { position: relative; display: flex; align-items: center; gap: 3px; }
.nav-drop-caret {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; padding: 0; border: 0; background: none;
  color: var(--muted); cursor: pointer; border-radius: 6px;
}
.nav-drop-caret svg { transition: transform 0.18s ease; }
.nav-drop:hover .nav-drop-caret, .nav-drop.open .nav-drop-caret, .nav-drop-caret:focus-visible { color: var(--ink); }
.nav-drop:hover .nav-drop-caret svg, .nav-drop.open .nav-drop-caret svg, .nav-drop:focus-within .nav-drop-caret svg { transform: rotate(180deg); }
.nav-drop-panel {
  position: absolute; top: 100%; left: -16px; padding-top: 12px; width: 252px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 70;
}
.nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel, .nav-drop.open .nav-drop-panel {
  opacity: 1; visibility: visible; transform: none;
}
.nav-drop-card {
  background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: 14px; box-shadow: var(--shadow-1); padding: 8px;
}
.nav-links .nav-drop-card a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 560; color: var(--muted);
}
.nav-links .nav-drop-card a::after { display: none; }
.nav-links .nav-drop-card a:hover { background: var(--panel-2); color: var(--ink); }
.nav-links .nav-drop-card a.drop-all { color: var(--ink); font-weight: 720; }
.nav-drop-card a.drop-all span { color: var(--accent-text); transition: transform 0.18s ease; }
.nav-drop-card a.drop-all:hover span { transform: translateX(3px); }
.nav-drop-card hr { border: 0; border-top: 1px solid var(--line); margin: 6px 6px; }

.mobile-sub { display: grid; padding: 6px 0 10px 16px; border-bottom: 1px solid var(--line); }
.mobile-sub a { display: block; padding: 8px 2px; font-size: 15.5px; color: var(--muted); }
.mobile-sub a:active { color: var(--ink); }

/* ---------- dry-out figure additions ---------- */
.fig-svg .f-air path { stroke: var(--blue); stroke-width: 1.6; fill: none; stroke-dasharray: 2 6; stroke-linecap: round; opacity: 0.75; }
.fig-svg .f-stud line { stroke: var(--iso-wall-s); stroke-width: 2; }
.fig-svg .f-cavity path { fill: rgba(4, 9, 26, 0.45); }
[data-theme="light"] .fig-svg .f-cavity path { fill: rgba(16, 44, 74, 0.16); }

.svc-lead--fig { background: var(--panel); }
.svc-lead--fig .fig-svg { display: block; width: 100%; height: auto; padding: 14px 12px 4px; }
.svc-lead--fig figcaption {
  padding: 10px 16px 12px; border-top: 1px dashed var(--line);
  color: var(--faint); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  font-family: var(--font-m);
}
.svc-card-media .fig-svg { width: 100%; height: 100%; display: block; }

/* ---------- service page: checklist ticks + step cards ---------- */
.spec-row h3 { display: flex; align-items: baseline; gap: 10px; }
.spec-row h3::before {
  content: ""; width: 13px; height: 13px; flex: 0 0 13px; transform: translateY(1px);
  background: var(--brand-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.8 6.2 12.8 14 3.4' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.8 6.2 12.8 14 3.4' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.how-step { position: relative; padding: 22px 20px 20px; transition: transform 0.2s ease, border-color 0.2s ease; }
.how-step::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--brand), transparent 72%);
  border-radius: var(--radius) var(--radius) 0 0;
}
.how-step:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.how-step .mono {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 24px; padding: 0 9px; border: 1px solid var(--line-strong);
  border-radius: 999px; background: var(--panel-2);
}
@media (min-width: 1081px) {
  .how-step:not(:last-child)::after {
    content: "\2192"; position: absolute; right: -17px; top: 50%; transform: translateY(-50%);
    color: var(--faint); font-size: 15px;
  }
}
.post-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .post-grid.two { grid-template-columns: 1fr; } }
.work-grid.four { grid-template-columns: repeat(4, 1fr); margin-top: 26px; }
.work-shot figcaption {
  padding: 9px 12px 10px; font-size: 11px; color: var(--faint); border-top: 1px solid var(--line);
  font-family: var(--font-m); letter-spacing: 0.05em; text-transform: uppercase;
}
@media (max-width: 1080px) { .work-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .work-grid.four { grid-template-columns: 1fr; } }

/* ---------- contact: photo upload ---------- */
.field .file-drop {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 11px 12px; margin-top: 2px;
  background: var(--bg2); border: 1px dashed var(--line-strong); border-radius: 11px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field .file-drop input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; padding: 0; border: 0;
}
.file-btn {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
  padding: 8px 16px; border: 1px solid var(--brand); border-radius: 999px;
  color: var(--accent-text); font-weight: 650; font-size: 14px; white-space: nowrap;
  pointer-events: none;
}
.file-btn svg { width: 14px; height: 14px; }
.file-names { color: var(--faint); font-size: 0.9rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.file-names.has { color: var(--ink); }
.field .file-drop:hover { border-color: var(--brand); }
.field .file-drop:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }

/* ---------- our work page ---------- */
.work-bar { display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; align-items: end; margin-bottom: 26px; }
.work-bar-note { color: var(--muted); font-size: 15px; max-width: 44ch; margin: 0; }
.work-filter { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.wf-btn {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 8px 16px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line-strong); color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.wf-btn:hover { color: var(--ink); border-color: var(--steel); }
.wf-btn.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.wf-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.work-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wk-card {
  margin: 0; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.24s var(--ease), border-color 0.24s ease, box-shadow 0.24s ease;
}
.wk-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.wk-card[hidden] { display: none; }
.wk-media { position: relative; overflow: hidden; background: var(--panel-2); }
.wk-media img { width: 100%; height: auto; display: block; transition: transform 0.5s var(--ease); }
.wk-card:hover .wk-media img { transform: scale(1.035); }
.wk-media--fig { display: flex; align-items: center; justify-content: center; padding: 6px; }
.wk-media--fig .fig-svg { width: 100%; height: auto; display: block; }
.wk-tag {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(7, 20, 38, 0.82); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.wk-tag--fig { background: var(--brand); border-color: var(--brand); }
.wk-card figcaption { padding: 17px 19px 20px; border-top: 1px solid var(--line); }
.wk-card figcaption h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -0.01em; }
.wk-card figcaption p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.wk-empty { margin-top: 26px; color: var(--faint); }


@media (max-width: 1080px) {
  .work-gallery { grid-template-columns: repeat(2, 1fr); }
  .work-bar { grid-template-columns: 1fr; align-items: start; gap: 14px; }
}
@media (max-width: 680px) {
  .work-gallery { grid-template-columns: 1fr; }
  .work-filter { gap: 7px; }
  .wf-btn { font-size: 13px; padding: 7px 13px; }
}

/* ---------- lightbox ---------- */
.zoomable { cursor: zoom-in; }
.lb-overlay {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 4vmin;
  background: rgba(3, 9, 20, 0.9); backdrop-filter: blur(8px);
}
.lb-overlay.on { display: flex; }
.lb-figure { margin: 0; max-width: min(1100px, 94vw); max-height: 92vh; display: flex; flex-direction: column; gap: 12px; }
.lb-figure img {
  max-width: 100%; max-height: 78vh; width: auto; height: auto; display: block; margin: 0 auto;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14); background: #0a1526;
}
.lb-cap { color: #dfe7f7; font-size: 14.5px; text-align: center; margin: 0; }
.lb-cap span { display: block; color: #94a6c6; font-family: var(--font-m); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 5px; }
.lb-close {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.16); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08);
  color: #fff; font-size: 20px; line-height: 1;
}
.lb-nav:hover { background: rgba(255, 255, 255, 0.16); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
@media (max-width: 680px) { .lb-nav { display: none; } }

/* ---------- sticky mobile action bar ---------- */
.callbar { display: none; }
@media (max-width: 860px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    border-top: 1px solid var(--line-strong); backdrop-filter: blur(14px);
    transform: translateY(120%); transition: transform 0.32s var(--ease);
  }
  .callbar.up { transform: none; }
  .callbar a { display: block; text-align: center; padding: 13px 10px; border-radius: 11px; font-weight: 680; font-size: 15px; }
  .callbar .cb-call { background: var(--brand); color: #fff; }
  .callbar .cb-quote { border: 1px solid var(--line-strong); color: var(--ink); background: var(--panel); }
  body { padding-bottom: 74px; }
}

/* ---------- photo band ---------- */
.photo-band { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.photo-band img { width: 100%; height: clamp(200px, 30vw, 340px); object-fit: cover; display: block; }
.photo-band figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 22px 16px;
  background: linear-gradient(180deg, transparent, rgba(4, 11, 24, 0.88));
  color: #e9eefb; font-family: var(--font-m); font-size: 11px; letter-spacing: 0.11em; text-transform: uppercase;
}
.photo-band figcaption b { display: block; font-family: var(--font-d); font-size: 17px; letter-spacing: -0.01em; text-transform: none; margin-bottom: 3px; font-weight: 700; }

/* ---------- style reference strip ---------- */
.style-note { color: var(--faint); font-size: 12.5px; margin: -6px 0 18px; }
.style-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.style-grid figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.style-grid img { width: 100%; height: auto; display: block; }
.style-grid figcaption { padding: 13px 16px 15px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
@media (max-width: 680px) { .style-grid { grid-template-columns: 1fr; } }

.wk-tag--ref { background: rgba(7, 20, 38, 0.82); border-color: var(--brand); color: #f4b7b1; }

/* ---------- proof strip on service pages ---------- */
.rev-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px;
  padding: 18px 22px; margin-bottom: 22px;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.rev-strip .rating-figure { display: flex; align-items: baseline; gap: 11px; }
.rev-strip .rating-n { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.rev-strip-copy { margin-right: auto; }
.rev-strip-copy b { display: block; font-weight: 720; font-size: 15.5px; }
.rev-strip-copy .mono { color: var(--faint); font-size: 10.5px; letter-spacing: 0.11em; text-transform: uppercase; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rev-grid .review { padding: 22px 21px; gap: 13px; }
.rev-grid .review blockquote { font-size: 15px; }
@media (max-width: 1080px) { .rev-grid { grid-template-columns: 1fr 1fr; } .rev-grid .review:last-child { display: none; } }
@media (max-width: 680px) {
  .rev-grid { grid-template-columns: 1fr; }
  .rev-grid .review:last-child { display: flex; }
  .rev-strip { flex-direction: column; align-items: flex-start; gap: 14px; }
  .rev-strip .btn { width: 100%; text-align: center; }
}

/* ---------- you might also need ---------- */
.also-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.also-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px 22px 20px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); color: inherit;
  transition: transform 0.22s var(--ease), border-color 0.22s ease, box-shadow 0.22s ease;
}
.also-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.also-card h3 { margin: 0; font-size: 17px; letter-spacing: -0.01em; }
.also-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.also-card .also-go {
  margin-top: 4px; color: var(--accent-text); font-family: var(--font-m);
  font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase;
}
.also-card .also-go span { display: inline-block; transition: transform 0.2s ease; }
.also-card:hover .also-go span { transform: translateX(4px); }
@media (max-width: 1080px) { .also-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .also-grid { grid-template-columns: 1fr; } }

/* ---------- service area list: keep it compact on small screens ---------- */
.city-list { columns: 2; column-gap: 20px; }
.city-list li { line-height: 1.75; }
@media (max-width: 680px) {
  .city-list { columns: 2; column-gap: 16px; }
  .city-list li { font-size: 0.86rem; line-height: 1.72; }
}
@media (max-width: 380px) {
  .city-list li { font-size: 0.82rem; }
}

/* ---------- service area pages ---------- */
.area-lead { max-width: 68ch; margin-bottom: 34px; }
.area-near { color: var(--ink); font-size: 18px; font-weight: 620; margin: 0 0 12px; }
.area-lead p:last-child { color: var(--muted); margin: 0; line-height: 1.72; }
.area-hub, .area-svc { margin-bottom: 12px; }
.area-svc { grid-template-columns: repeat(4, 1fr); }
.area-svc .also-card { gap: 14px; }
.area-rest-head { margin-top: 42px; }
.area-rest { columns: 4; margin-bottom: 10px; }
@media (max-width: 1080px) { .area-svc { grid-template-columns: repeat(2, 1fr); } .area-rest { columns: 3; } }
@media (max-width: 680px) { .area-svc { grid-template-columns: 1fr; } .area-rest { columns: 2; } }
.area-page .spec-row h3 { font-size: 16px; font-weight: 620; }

/* ---------- direct answer block (top of service pages) ---------- */
.svc-answer-wrap { padding: 0 0 4px; }
.svc-answer {
  position: relative; max-width: 74ch;
  padding: 20px 24px 22px 26px;
  background: var(--panel); border: 1px solid var(--line);
  border-left: 3px solid var(--brand); border-radius: 4px var(--radius) var(--radius) 4px;
}
.svc-answer-h {
  margin: 0 0 8px; font-size: 12px; font-weight: 700;
  font-family: var(--font-m); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-text);
}
.svc-answer p { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.62; }
@media (max-width: 680px) {
  .svc-answer { padding: 17px 18px 18px 19px; }
  .svc-answer p { font-size: 15.5px; }
}

/* ---------- pointer: the system cursor is the default everywhere.
   it only changes where the change carries information. ---------- */
.zoomable, .zoomable img { cursor: zoom-in; }
.lb-overlay { cursor: zoom-out; }
.lb-overlay .lb-close, .lb-overlay .lb-nav, .lb-figure { cursor: default; }
.lb-overlay .lb-close, .lb-overlay .lb-nav { cursor: pointer; }
.fig-svg { cursor: crosshair; }
.reviews-rail { cursor: grab; }
.reviews-rail:active { cursor: grabbing; }
.faq-item summary, .nav-drop-caret, .wf-btn, .theme-toggle { cursor: pointer; }
.field .file-drop, .field .file-drop input[type="file"] { cursor: pointer; }
a[href] { cursor: pointer; }
.hp-field { cursor: default; }

/* ---------- brand in the details ---------- */
::selection { background: var(--brand); color: #fff; text-shadow: none; }
::-moz-selection { background: var(--brand); color: #fff; text-shadow: none; }
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .wf-btn:focus-visible { outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 1px;
}
a:focus-visible { outline-offset: 2px; }

/* ---------- hero: mobile spacing + un-clip the headline glow ---------- */
@media (max-width: 860px) {
  .hero-inner { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 96px; }
}
.hero.hero-ready .hero-title .line { overflow: visible; }
@media (max-width: 680px) {
  [data-theme="dark"] .brand-i { text-shadow: 0 0 22px var(--brand); }
}

/* ---------- service-area pages: content is short, so the rhythm is tighter ---------- */
.area-doc .section { padding-block: clamp(52px, 5.5vw, 78px); }
.area-doc .section.area-page { padding-top: clamp(44px, 5vw, 68px); }
.area-doc .svc-cta { padding-top: 4px; }
.area-doc .svc-reviews { padding-bottom: clamp(34px, 4vw, 52px); }
.area-doc .area-rest-head { margin-top: 30px; }
.area-doc .rev-strip { margin-bottom: 0; }
.area-svc .also-card p { margin: 0; }
.area-near-head { margin-top: 30px; }
.area-nearby { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; align-items: center; }
.area-nearby a {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--panel);
  color: var(--muted); font-size: 13.5px; font-weight: 560;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.area-nearby a:hover { color: var(--ink); border-color: var(--steel); }
.area-nearby .area-nearby-all { background: none; border-color: transparent; color: var(--accent-text); }
.area-nearby .area-nearby-all:hover { border-color: var(--brand); }

/* ---------- pages that are block-heavy rather than word-heavy.
   the standard 148px rhythm made these ~40% padding by height. ---------- */
.tight-doc .section { padding-block: clamp(66px, 7vw, 98px); }
.tight-doc .svc-cta { padding-top: 6px; }
.tight-doc .svc-answer-wrap { padding-bottom: 0; }
.tight-doc .svc-reviews { padding-bottom: clamp(40px, 4.5vw, 60px); }
.also-read { margin: 16px 0 0; font-size: 14.5px; }
.also-read a { color: var(--accent-text); }
.also-read a:hover { text-decoration: underline; }

/* counters animate 0 -> target; tabular figures keep every frame the same
   width so the digits never nudge their neighbours. */
.stat-num, .hero-stats dt { font-variant-numeric: tabular-nums; }
