/* FB Construction design system. Brand colors from the client logo: electric blue, chrome silver, black. */

@property --orbit { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --mx { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --my { syntax: '<percentage>'; inherits: true; initial-value: 40%; }

:root {
  --bg: #0d0f12;
  --bg-2: #14171c;
  --bg-3: #1b1f26;
  --paper: #eef1f4;
  --paper-2: #e1e6ec;
  --ink: #f3f5f8;
  --ink-2: #d5dae1;
  --ink-3: #a7afba;
  --line: rgba(243, 245, 248, 0.14);
  --line-2: rgba(243, 245, 248, 0.08);
  --dk: #0d0f12;
  --dk-2: #3d4651;
  --dk-line: rgba(13, 15, 18, 0.16);
  --blue: #2f86ff;
  --blue-hi: #6aa8ff;
  --blue-deep: #0a55d0;
  --blue-band: #0a4fd1;
  --silver: #c9ced6;
  --err: #ff8a80;
  --err-dk: #b3261e;
  --gutter: clamp(20px, 4.5vw, 72px);
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'DM Mono', SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-h) + 16px); scroll-padding-bottom: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a, button, input, select, textarea, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(47, 134, 255, 0.25); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--dk); padding: 12px 18px; font-weight: 700; transition: top 0.2s; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */

.display, .s-title, .phero__title {
  overflow-wrap: break-word;
  hyphens: auto;
  font-family: var(--sans);
  font-stretch: 118%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
}
.s-title { font-size: clamp(2.1rem, 4.6vw, 4.4rem); max-width: 18ch; text-wrap: balance; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-hi);
  margin-bottom: 18px;
}
.s-head { margin-bottom: clamp(36px, 5vw, 64px); }
.s-intro { margin-top: 22px; max-width: 46ch; color: var(--ink-2); font-size: 1.12rem; }
.more-link { margin-top: 48px; }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 3px;
  font: 600 0.95rem/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.86rem; }
.ico { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn .ico { transition: transform 0.22s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

/* Primary CTA: a light that orbits the button continuously; stronger on hover. */
.btn--orbit {
  color: #fff;
  isolation: isolate;
  background: conic-gradient(from var(--orbit), #1458d6 0deg, #8cc2ff 30deg, #ffffff 48deg, #1458d6 92deg, #1458d6 180deg, #c9ced6 214deg, #1458d6 262deg, #1458d6 360deg);
  animation: orbit 4s linear infinite;
}
.btn--orbit::after { content: ''; position: absolute; inset: 2px; z-index: -1; border-radius: 2px; background: #0b5ae0; transition: background-color 0.22s var(--ease); }
.btn--orbit::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: 6px;
  background: conic-gradient(from var(--orbit), transparent 0deg, #6aa8ff 36deg, transparent 96deg, transparent 180deg, #c9ced6 216deg, transparent 276deg);
  filter: blur(9px);
  opacity: 0.6;
  animation: orbit 4s linear infinite;
  transition: opacity 0.22s var(--ease), filter 0.22s var(--ease), inset 0.22s var(--ease);
}
.btn--orbit:hover { transform: translateY(-2px); }
.btn--orbit:hover::before { opacity: 1; inset: -7px; filter: blur(16px); }
.btn--orbit:hover::after { background: #0a4fd1; }
@keyframes orbit { to { --orbit: 360deg; } }

.btn--ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px rgba(243, 245, 248, 0.5); }
.btn--ghost:hover { background: var(--ink); color: var(--dk); }
.section--paper .btn--ghost { color: var(--dk); box-shadow: inset 0 0 0 1px rgba(13, 15, 18, 0.55); }
.section--paper .btn--ghost:hover { background: var(--dk); color: var(--paper); }
.btn--plain { color: var(--ink); background: var(--bg-3); box-shadow: inset 0 0 0 1px rgba(243, 245, 248, 0.4); }
.btn--plain:hover { background: #262b34; }

.phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; white-space: nowrap; min-height: 44px; }
.phone .ico { width: 16px; height: 16px; color: var(--blue-hi); }
.phone:hover span { text-decoration: underline; text-underline-offset: 4px; }
.phone--lg { font-size: 1.15rem; }
.linkish { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 24px; }

/* ---------- Loading curtain (CSS only, leaves on its own) + page transitions ---------- */

.curtain {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: var(--bg);
  pointer-events: none;
  animation: curtain-out 0.7s var(--ease) 0.85s both;
}
.curtain img { width: min(240px, 52vw); }
.curtain.is-in { animation: curtain-in 0.5s var(--ease) both; }
@keyframes curtain-out { from { transform: translateY(0); } to { transform: translateY(-101%); visibility: hidden; } }
@keyframes curtain-in { from { transform: translateY(101%); visibility: visible; } to { transform: translateY(0); visibility: visible; } }
@media (prefers-reduced-motion: reduce) { .curtain { display: none; } }

/* ---------- Reveal (only hides once the script is running) ---------- */

html.reveal-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.reveal-ready .reveal.is-in { opacity: 1; transform: none; }
html.reveal-ready .reveal .drawing .ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) 0.2s; }
html.reveal-ready .reveal.is-in .drawing .ln { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
  html.reveal-ready .reveal .drawing .ln { stroke-dashoffset: 0; transition: none; }
}

/* Paused motion (user control, remembered on the device) */
html.motion-paused *, html.motion-paused *::before, html.motion-paused *::after { animation-play-state: paused !important; }
/* One-shot entrances must still finish, or a paused visitor is left behind the curtain with a blank hero */
html.motion-paused .curtain, html.motion-paused .hero__intro > *, html.motion-paused .vhero__in > *,
html.motion-paused .explore__house, html.motion-paused .ba { animation-play-state: running !important; }
@media (prefers-reduced-motion: reduce) {
  .btn--orbit, .btn--orbit::before { animation: none; }
}

/* ---------- Mouse-reactive blueprint light ---------- */

.grid-light { position: relative; isolation: isolate; overflow: hidden; }
.grid-light::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(47, 134, 255, 0.2), transparent 62%),
    linear-gradient(var(--grid-c, rgba(243, 245, 248, 0.05)) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--grid-c, rgba(243, 245, 248, 0.05)) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(700px circle at var(--mx) var(--my), #000 10%, rgba(0, 0, 0, 0.35) 70%);
  mask-image: radial-gradient(700px circle at var(--mx) var(--my), #000 10%, rgba(0, 0, 0, 0.35) 70%);
}
.section--paper.grid-light { --grid-c: rgba(10, 85, 208, 0.09); }
.section--paper.grid-light::before { background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(47, 134, 255, 0.14), transparent 62%),
    linear-gradient(var(--grid-c) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--grid-c) 1px, transparent 1px) 0 0 / 48px 48px; }
@media (hover: none), (pointer: coarse) {
  .grid-light { animation: drift 16s ease-in-out infinite alternate; }
}
@keyframes drift { 0% { --mx: 20%; --my: 30%; } 50% { --mx: 70%; --my: 60%; } 100% { --mx: 40%; --my: 20%; } }
@media (prefers-reduced-motion: reduce) { .grid-light { animation: none; } }

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.section--dark { background: var(--bg); }
.section--dark-2 { background: var(--bg-2); }
.section--paper { background: var(--paper); color: var(--dk); color-scheme: light; }
.section--paper .eyebrow { color: var(--blue-deep); }
.section--paper .s-intro { color: var(--dk-2); }
.section--blue { background: var(--blue-band); color: #fff; }
.section--blue .eyebrow { color: #dce9ff; }
.section--blue .s-intro { color: #e6eeff; }

/* ---------- Nav ---------- */

.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease); background: rgba(13, 15, 18, 0.92); box-shadow: 0 1px 0 var(--line-2); }
.nav--overlay:not(.is-scrolled) { background: transparent; box-shadow: none; }
@supports (backdrop-filter: blur(10px)) { .nav { backdrop-filter: blur(12px); background: rgba(13, 15, 18, 0.9); } }
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); max-width: 1500px; margin: 0 auto; }
.nav__logo img { width: 112px; height: auto; }
.nav__links { margin-left: auto; }
.nav__links ul { display: flex; gap: 6px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 500; font-size: 0.95rem; text-decoration: none; color: var(--ink-2); transition: color 0.2s; }
.nav__links a:hover, .nav__links a[aria-current='page'] { color: #fff; }
.nav__links a[aria-current='page'] { box-shadow: inset 0 -2px 0 var(--blue); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: var(--ink); cursor: pointer; position: relative; }
.nav__toggle i, .nav__toggle i::before, .nav__toggle i::after { position: absolute; left: 13px; width: 22px; height: 2px; background: currentColor; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav__toggle i { top: 23px; }
.nav__toggle i::before, .nav__toggle i::after { content: ''; left: 0; }
.nav__toggle i::before { top: -7px; }
.nav__toggle i::after { top: 7px; }
.nav__toggle[aria-expanded='true'] i { background: transparent; }
.nav__toggle[aria-expanded='true'] i::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] i::after { transform: translateY(-7px) rotate(-45deg); }
.menu { position: fixed; inset: var(--nav-h) 0 0; background: var(--bg); padding: 24px var(--gutter) 40px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu ul a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 8vw, 2.6rem); }
.menu ul a span { font: 500 0.75rem var(--mono); color: var(--blue-hi); }
.menu__foot { display: grid; gap: 16px; justify-items: start; margin-top: 32px; }
@media (max-width: 1080px) { .phone--nav { display: none; } }
@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__actions { margin-left: auto; }
}

/* ---------- Page hero (inner pages) ---------- */

.phero { padding: calc(var(--nav-h) + clamp(56px, 8vw, 110px)) 0 clamp(64px, 8vw, 110px); background: var(--bg); }
.phero__label { font: 500 0.82rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-hi); margin: 28px 0 18px; }
.phero__title { font-size: clamp(2.6rem, 7vw, 6.4rem); max-width: 14ch; }
.phero__answer { margin-top: 30px; max-width: 58ch; font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--ink-2); }
.phero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.phero__art { border: 1px solid var(--line); padding: 18px; background: rgba(20, 23, 28, 0.6); }
@media (max-width: 900px) { .phero__grid { grid-template-columns: minmax(0, 1fr); } }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; padding: 0; font: 0.8rem var(--mono); color: var(--ink-3); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-underline-offset: 3px; }

/* ---------- Drawings ---------- */

.drawing { width: 100%; height: auto; overflow: visible; }
.drawing .ln { fill: none; stroke: var(--draw, #cfe0f7); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.drawing .ln--thin { stroke-width: 1; }
.drawing .ln--thick { stroke-width: 3; }
.drawing .ln--wall { stroke-width: 2.4; }
.drawing .ln--ground { stroke-width: 1; stroke: var(--draw-dim, rgba(207, 224, 247, 0.5)); }
.drawing .ln--new { stroke: var(--blue-hi); }
.drawing .dim { fill: none; stroke: var(--draw-dim, rgba(207, 224, 247, 0.5)); stroke-width: 0.8; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.drawing .dim-t { font: 500 9px var(--mono); letter-spacing: 0.08em; fill: var(--draw-dim-t, #a7afba); }
.section--paper .drawing { --draw: #10233f; --draw-dim: rgba(16, 35, 63, 0.45); --draw-dim-t: #3d4651; }
.section--paper .drawing .ln--new { stroke: var(--blue-deep); }

/* ---------- Cost guide ---------- */

.costs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.cost { border-top: 1px solid var(--dk-line); padding: 26px 0 40px; }
.cost__label { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.01em; }
.cost__value { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 6px; color: var(--blue-deep); font-stretch: 125%; font-weight: 800; font-size: clamp(3rem, 7vw, 6.2rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cost__value small { font-size: 0.3em; font-stretch: 100%; font-weight: 700; color: var(--dk-2); letter-spacing: 0; }
.cost__inc { color: var(--dk-2); max-width: 52ch; }
.cost__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; min-height: 32px; color: var(--blue-deep); font-weight: 600; text-underline-offset: 4px; }
.costs-foot { border-top: 1px solid var(--dk-line); padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; font-weight: 600; }
.section--dark .cost { border-color: var(--line); }
.section--dark .cost__value { color: var(--blue); }
.section--dark .cost__value small, .section--dark .cost__inc { color: var(--ink-3); }
.section--dark .cost__link { color: var(--blue-hi); }
@media (max-width: 760px) { .costs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Jobs ---------- */

.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.job { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line-2); }
.job__art { padding: 22px 22px 8px; background:
    linear-gradient(rgba(243, 245, 248, 0.05) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(243, 245, 248, 0.05) 1px, transparent 1px) 0 0 / 24px 24px, #11141a; border-bottom: 1px solid var(--line-2); }
.job__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.job__id { font: 500 0.78rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-hi); }
.job__title { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: 1.1; }
.job__meta { color: var(--ink-3); font-size: 0.95rem; }
.job__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 6px; padding: 12px 0; border-block: 1px solid var(--line-2); }
.job__dates dt { font: 500 0.72rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.job__dates dd { font-size: 0.92rem; }
.job__final { font-stretch: 125%; font-weight: 800; font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; margin-top: 6px; }
.job__vs { color: var(--ink-3); font-size: 0.92rem; }
.job__bar { height: 4px; background: rgba(243, 245, 248, 0.1); margin: 12px 0 6px; }
.job__bar span { display: block; height: 100%; width: var(--w); background: var(--blue); transform-origin: left; }
html.reveal-ready .job.reveal .job__bar span { transform: scaleX(0); transition: transform 1.4s var(--ease) 0.4s; }
html.reveal-ready .job.reveal.is-in .job__bar span { transform: scaleX(1); }
.job__link { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--blue-hi); font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 1080px) { .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .jobs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Service cards ---------- */

.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--dk-line); border: 1px solid var(--dk-line); }
.svc-card a { display: flex; flex-direction: column; height: 100%; padding: 30px; background: var(--paper); text-decoration: none; transition: background-color 0.25s var(--ease); }
.svc-card a:hover { background: #fff; }
.svc-card__art { margin: -6px -6px 22px; }
.svc-card__from { font: 500 0.8rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-deep); }
.svc-card__name { margin: 8px 0 10px; font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; }
.svc-card__txt { color: var(--dk-2); }
.svc-card__go { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-deep); }
.svc-card a:hover .ico { transform: translateX(4px); }
.svc-card .ico { transition: transform 0.22s var(--ease); }
@media (max-width: 900px) { .svc-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Process timeline (sticky week counter) ---------- */

.timeline { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.timeline__aside { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
.timeline__week { display: flex; align-items: baseline; gap: 10px; margin-top: 40px; font-stretch: 125%; font-weight: 800; line-height: 0.85; }
.timeline__week b { font-size: clamp(5rem, 13vw, 11rem); color: var(--blue); font-variant-numeric: tabular-nums; transition: opacity 0.25s; }
.timeline__week span { font: 500 1rem var(--mono); letter-spacing: 0.12em; color: var(--ink-3); }
.timeline__date { font: 500 0.9rem var(--mono); color: var(--ink-2); margin-top: 12px; letter-spacing: 0.06em; }
.timeline__bar { height: 2px; margin-top: 28px; background: var(--line); }
.timeline__bar i { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); }
.steps { counter-reset: s; }
.step { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); min-height: 38vh; }
.step__t, .step__p { transition: color 0.4s var(--ease); }
html.reveal-ready .step:not(.is-active) .step__t { color: var(--ink-3); }
html.reveal-ready .step:not(.is-active) .step__p { color: #8f97a2; }
.step__wk { font: 500 0.8rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-hi); }
.step__t { margin: 10px 0 12px; font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.05; }
.step__p { color: var(--ink-2); max-width: 46ch; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline__aside { position: relative; top: 0; }
  .step { min-height: 0; }
  html.reveal-ready .step:not(.is-active) .step__t { color: var(--ink); }
  html.reveal-ready .step:not(.is-active) .step__p { color: var(--ink-2); }
}

/* ---------- Warranty ---------- */

.warranty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.warranty__big { font-stretch: 125%; font-weight: 800; font-size: clamp(6rem, 18vw, 15rem); line-height: 0.82; color: var(--blue-deep); letter-spacing: -0.03em; }
.warranty__lbl { font: 500 0.8rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dk-2); margin-bottom: 12px; }
.rows { border-top: 1px solid var(--dk-line); }
.rows div { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--dk-line); font-size: 1.08rem; }
.rows dd { font-stretch: 118%; font-weight: 800; font-size: 1.4rem; color: var(--blue-deep); white-space: nowrap; }
.warranty__copy .s-intro { margin-bottom: 30px; }
@media (max-width: 860px) { .warranty { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Reviews ---------- */

.reviews__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 48px; }
.reviews__top .s-head { margin: 0; }
.g-badge { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: center; gap: 4px 14px; padding: 18px 24px; background: #fff; color: #1f1f1f; text-decoration: none; border-radius: 6px; }
.g-badge .ico--g { width: 34px; height: 34px; grid-row: span 2; }
.g-badge__score { font-stretch: 112%; font-weight: 800; font-size: 1.8rem; line-height: 1; display: inline; }
.g-badge__stars { display: flex; gap: 2px; color: #e8a400; }
.g-badge__stars .ico { width: 16px; height: 16px; }
.g-badge__count { grid-column: 2; font-size: 0.9rem; color: #3c4043; }
.g-badge { grid-template-columns: auto auto auto; }
.g-badge .ico--g { grid-row: span 2; }
.g-badge__count { grid-column: 2 / span 2; }
.reviews__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { padding: 30px; background: var(--bg-2); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 18px; }
.review__stars { display: flex; gap: 3px; color: #f5b400; }
.review__stars .ico { width: 18px; height: 18px; }
.review blockquote p { font-size: 1.15rem; line-height: 1.45; }
.review__by { margin-top: auto; font-weight: 600; }
.review__by span { font-weight: 400; color: var(--ink-3); }
.reviews__more { margin-top: 40px; }
@media (max-width: 960px) { .reviews__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Credentials ---------- */

.creds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.creds--full { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 40px; }
.cred { border-top: 2px solid var(--dk); padding-top: 18px; }
.cred__big { font-stretch: 125%; font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1; color: var(--blue-deep); }
.cred__title { margin-top: 12px; font-weight: 700; }
.cred__detail { color: var(--dk-2); font: 500 0.88rem var(--mono); margin-top: 4px; }
.cred__explain { color: var(--dk-2); margin-top: 12px; }
@media (max-width: 960px) { .creds, .creds--full { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (max-width: 520px) { .creds, .creds--full { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Social ---------- */

.social-band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.social-band .s-title { font-size: clamp(1.9rem, 3.6vw, 3.2rem); max-width: 20ch; }
.socials { display: flex; gap: 12px; }
.social { position: relative; overflow: hidden; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; transition: transform 0.3s cubic-bezier(0.3, 0.7, 0.4, 1.5), box-shadow 0.3s ease; }
.social .ico { width: 22px; height: 22px; }
/* Hover: the logo lifts and tilts, glows in its own color and a light sweeps across it */
.social::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%); transform: translateX(-130%); pointer-events: none; }
.social:focus-visible { transform: translateY(-4px) rotate(-6deg) scale(1.1); }
@media (hover: hover) {
  .social:hover { transform: translateY(-4px) rotate(-6deg) scale(1.1); }
  .social:hover::after { transform: translateX(130%); transition: transform 0.6s ease; }
  .social--ig:hover { box-shadow: 0 12px 26px -8px rgba(214, 36, 159, 0.75); }
  .social--fb:hover { box-shadow: 0 12px 26px -8px rgba(8, 102, 255, 0.8); }
  .section--blue .social--fb:hover { box-shadow: 0 0 0 3px #fff, 0 12px 26px -8px rgba(0, 0, 0, 0.45); }
  .socials--hop .social:hover { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .social:hover, .social:focus-visible { transform: none; } .social::after { display: none; } }
/* The brands' own marks: Instagram's gradient rounded square, Facebook's blue disc */
.social--ig { border-radius: 23%; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social--ig .ico { width: 100%; height: 100%; }
.social--fb { background: none; }
.social--fb .ico { width: 100%; height: 100%; }
.section--blue .social--fb { box-shadow: 0 0 0 3px #fff; }
.socials--big { gap: 20px; }
.socials--big .social { width: 64px; height: 64px; }
/* A little hop now and then, with rings spreading on landing like a drop on water */
.socials--hop li { position: relative; --d: 0.4s; }
.socials--hop li:nth-child(2) { --d: 1s; }
.socials--hop .social { position: relative; z-index: 1; animation: hop 4.2s cubic-bezier(0.3, 0.7, 0.4, 1) var(--d) infinite; }
.socials--hop li::before, .socials--hop li::after { content: ''; position: absolute; left: -20%; bottom: -9px; width: 140%; height: 16px; border: 2px solid rgba(255, 255, 255, 0.8); border-radius: 50%; opacity: 0; pointer-events: none; animation: ripple 4.2s ease-out var(--d) infinite; }
.socials--hop li::after { animation-delay: calc(var(--d) + 0.22s); }
@keyframes hop { 0%, 26%, 100% { transform: none; } 8% { transform: translateY(-14px); } 15% { transform: translateY(0) scale(1.08, 0.9); } 20% { transform: scale(0.97, 1.03); } }
@keyframes ripple { 0%, 14% { opacity: 0; transform: scale(0.3); } 16% { opacity: 0.9; transform: scale(0.4); } 45%, 100% { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .socials--hop .social, .socials--hop li::before, .socials--hop li::after { animation: none; } }

/* ---------- Map ---------- */

.map-sec__in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.towns li { padding: 6px 12px; border: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-2); }
.towns__lbl { margin: -12px 0 10px; font: 500 0.75rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.towns--near { margin-top: 0; }
/* Authenticity seal: every photo and video is the client's own */
.seal { display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 28px; padding: 8px 14px; border: 1px solid var(--line); font: 500 0.78rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.seal .ico { flex: none; width: 18px; height: 18px; color: var(--blue-hi); }
.section--paper .seal { color: var(--dk-2); border-color: rgba(13, 15, 18, 0.18); }
.section--paper .seal .ico { color: var(--blue-deep); }
.footer__seal { margin-top: 10px; font-size: 0.85rem; color: var(--ink-3); }
.towns--near li { border-style: dashed; }
.map-sec__addr { margin-bottom: 24px; line-height: 1.7; color: var(--ink-2); }
.map-sec__addr strong { color: var(--ink); }
.map { position: relative; aspect-ratio: 4 / 3; background: #11141a; border: 1px solid var(--line); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.05); }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__land { fill: #1d2430; stroke: #3c4a5e; stroke-width: 1.2; }
.map__pin { fill: var(--blue); stroke: #fff; stroke-width: 2; }
.map__lbl { font: 600 13px var(--sans); fill: var(--ink); }
.map__lbl--sm { font: 500 10px var(--mono); fill: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; }
.map__cta { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: rgba(13, 15, 18, 0.92); border: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-2); }
.map.is-loaded .map__cta, .map.is-loaded .map__art { display: none; }
/* The whole map opens the Google Business Profile, before and after the embed loads */
.map__link { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: flex-end; padding: 16px; color: #fff; text-decoration: none; }
.map__open { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: rgba(13, 15, 18, 0.88); border: 1px solid var(--line); font-weight: 600; font-size: 0.9rem; transition: background-color 0.2s ease, border-color 0.2s ease; }
.map__open .ico { width: 16px; height: 16px; }
.map__link:hover .map__open, .map__link:focus-visible .map__open { background: var(--blue-deep); border-color: var(--blue-deep); }
.map__link:focus-visible { outline-offset: -4px; }
.map__cta { z-index: 2; }
@media (max-width: 860px) { .map-sec__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Estimate form ---------- */

.estimate__in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 36px 0; }
.kpis div { border-top: 1px solid var(--line); padding-top: 14px; }
.kpis dt { font-stretch: 125%; font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--blue); line-height: 1; }
.kpis dd { font-size: 0.9rem; color: var(--ink-3); margin-top: 6px; }
.estimate__call { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ink-2); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: clamp(24px, 3vw, 40px); background: var(--bg-2); border: 1px solid var(--line); }
.form__title { grid-column: 1 / -1; font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: 1.2rem; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #4a525e;
  border-radius: 3px;
  background: #0f1216;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(-45deg, transparent 50%, var(--ink-2) 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: #0f1216; color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #8b939e; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue-hi); box-shadow: 0 0 0 3px rgba(47, 134, 255, 0.35); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--err); }
.field__err { color: var(--err); font-size: 0.88rem; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.check input { flex: none; width: 24px; height: 24px; accent-color: var(--blue); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.form__note { font-size: 0.88rem; color: var(--ink-3); max-width: 34ch; }
.form__status { padding: 16px; border: 1px solid var(--err); color: var(--ink); }
.form__status a { color: var(--blue-hi); }
.btn[aria-busy='true'] { cursor: progress; }
.btn[aria-busy='true'], .btn[aria-busy='true']::before { animation-play-state: paused; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 960px) { .estimate__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } .kpis { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.faq__item { border-top: 1px solid var(--dk-line); }
.faq__item:last-child { border-bottom: 1px solid var(--dk-line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.2; }
.faq__plus { position: relative; width: 20px; height: 20px; flex: none; }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: currentColor; transition: transform 0.25s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0deg); }
.faq__a { padding: 0 0 26px; max-width: 62ch; color: var(--dk-2); }
.section--dark .faq__item { border-color: var(--line); }
.section--dark .faq__a { color: var(--ink-2); }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA band ---------- */

.cta-band { padding: clamp(56px, 7vw, 96px) 0; }
.cta-band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band__title { font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1; margin-bottom: 10px; }
.cta-band__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.cta-band .phone .ico { color: #fff; }
.cta-band .btn--orbit::after { background: #0d0f12; }
.cta-band .btn--orbit:hover::after { background: #000; }

/* ---------- Service page blocks ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ticks { display: grid; gap: 0; }
.ticks li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--dk-line); font-size: 1.08rem; }
.ticks li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: 9px; background: var(--blue-deep); }
.section--dark .ticks li { border-color: var(--line); }
.section--dark .ticks li::before { background: var(--blue); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Scroll-drawn plan: the drawing completes as the steps scroll past. */
.drawsteps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.drawsteps__fig { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; padding: 22px; border: 1px solid var(--line); background:
    linear-gradient(rgba(243, 245, 248, 0.05) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(243, 245, 248, 0.05) 1px, transparent 1px) 0 0 / 24px 24px, #11141a; }
.drawsteps__fig .drawing .ln { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw-p, 1)); }
.drawsteps__cap { margin-top: 14px; font: 500 0.8rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.drawsteps ol { list-style: none; padding: 0; counter-reset: st; }
.drawsteps li { counter-increment: st; padding: clamp(24px, 4vw, 44px) 0; border-top: 1px solid var(--line); min-height: 30vh; }
.drawsteps li::before { content: '0' counter(st); display: block; font: 500 0.8rem var(--mono); letter-spacing: 0.14em; color: var(--blue-hi); margin-bottom: 10px; }
.drawsteps h3 { font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.05; margin-bottom: 12px; }
.drawsteps p { color: var(--ink-2); max-width: 46ch; }
@media (max-width: 860px) {
  .drawsteps { grid-template-columns: minmax(0, 1fr); }
  .drawsteps__fig { position: relative; top: 0; }
  .drawsteps li { min-height: 0; }
}

/* Running ledger on the projects page */
.ledger-wrap { display: grid; grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.ledger { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; padding: 26px; border: 1px solid var(--line); background: var(--bg-2); }
.ledger dt { font: 500 0.75rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-top: 18px; }
.ledger dt:first-child { margin-top: 0; }
.ledger dd { font-stretch: 118%; font-weight: 800; font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.ledger dd.is-blue { color: var(--blue); }
.ledger p { margin-top: 18px; color: var(--ink-3); font-size: 0.9rem; }
.ledger-wrap .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .ledger-wrap { grid-template-columns: minmax(0, 1fr); } .ledger { position: relative; top: 0; } }
@media (max-width: 680px) { .ledger-wrap .jobs { grid-template-columns: minmax(0, 1fr); } }

/* About: drawn timeline line */
.history { position: relative; padding-left: 40px; }
.history::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--dk-line); }
.history__line { position: absolute; left: 7px; top: 0; width: 2px; height: 100%; background: var(--blue-deep); transform-origin: top; transform: scaleY(var(--line-p, 1)); }
.history li { position: relative; padding: 0 0 48px; }
.history li::before { content: ''; position: absolute; left: -40px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue-deep); }
.history__y { font-stretch: 125%; font-weight: 800; font-size: 2rem; color: var(--blue-deep); line-height: 1; }
.history h3 { margin: 8px 0; font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 1.25rem; }
.history p { color: var(--dk-2); max-width: 54ch; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.values li { border-top: 1px solid var(--line); padding-top: 20px; }
.values h3 { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 1.2rem; margin-bottom: 10px; }
.values p { color: var(--ink-2); }
@media (max-width: 860px) { .values { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Prose (journal + legal) ---------- */

.prose { max-width: 72ch; font-size: 1.1rem; line-height: 1.7; }
.prose h2 { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.1; margin: 52px 0 16px; }
.prose h3 { font-weight: 700; font-size: 1.2rem; margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol { margin-bottom: 18px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--blue-deep); text-underline-offset: 3px; font-weight: 600; }
.section--dark .prose a { color: var(--blue-hi); }
.prose .note { padding: 18px 20px; border-left: 3px solid var(--blue-deep); background: var(--paper-2); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 0.82rem var(--mono); letter-spacing: 0.06em; color: var(--ink-3); margin-top: 22px; }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.post-card a { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 32px; border: 1px solid var(--dk-line); background: #fff; text-decoration: none; transition: border-color 0.2s; }
.post-card a:hover { border-color: var(--blue-deep); }
.post-card time { font: 500 0.8rem var(--mono); color: var(--dk-2); letter-spacing: 0.06em; }
.post-card h2 { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; }
.post-card p { color: var(--dk-2); }
.post-card span { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; color: var(--blue-deep); font-weight: 700; }
@media (max-width: 760px) { .posts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */

.footer { background: #08090b; padding: 80px 0 32px; border-top: 1px solid var(--line-2); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand img { width: 170px; margin-bottom: 18px; }
.footer__brand p { color: var(--ink-3); max-width: 32ch; margin-bottom: 22px; }
.footer__h { font: 500 0.78rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-hi); margin-bottom: 14px; }
.footer__col li { margin-bottom: 4px; color: var(--ink-2); }
.footer__col a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-2); text-decoration: none; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-2); color: var(--ink-3); font-size: 0.88rem; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__legal a, .footer__legal .linkish { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 32px; }
.footer__leader { display: flex; justify-content: center; margin-top: 40px; }
.footer__leader img { width: 150px; height: 40px; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Mobile sticky CTA ---------- */

.mcta { display: none; }
@media (max-width: 760px) {
  .mcta { position: fixed; inset: auto 0 0; z-index: 55; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 9, 11, 0.94); border-top: 1px solid var(--line); transition: transform 0.3s var(--ease); }
  /* With JS it slides in after the hero; without JS it simply stays visible. */
  html.js .mcta:not(.is-shown) { transform: translateY(110%); }
  .mcta__call { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px; border: 1px solid rgba(243, 245, 248, 0.5); border-radius: 3px; text-decoration: none; font-weight: 600; }
  .mcta__call .ico { width: 18px; height: 18px; }
  .mcta__go { width: 100%; }
  body { padding-bottom: 76px; }
}

/* ---------- Cookie consent ---------- */

.cookie { position: fixed; inset: auto 0 0; z-index: 90; background: #08090b; border-top: 1px solid var(--line); padding: 14px var(--gutter); }
.cookie[hidden] { display: none; }
.cookie__in { max-width: 1500px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; font-size: 0.92rem; color: var(--ink-2); }
.cookie__in p { max-width: 80ch; }
.cookie__in a { color: var(--blue-hi); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-dlg { max-width: 560px; width: calc(100% - 32px); padding: 0; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); overscroll-behavior: contain; }
.cookie-dlg::backdrop { background: rgba(0, 0, 0, 0.6); }
.cookie-dlg__in { padding: 28px; display: grid; gap: 16px; }
.cookie-dlg__title { font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: 1.3rem; }
.cookie-opt { display: flex; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); cursor: pointer; }
.cookie-opt input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.cookie-opt strong { display: block; color: var(--ink); }
@media (max-width: 760px) { .cookie { bottom: 0; z-index: 95; } }

/* ---------- 404 / thank you ---------- */

.center-page { min-height: 80svh; display: grid; align-items: center; padding-top: var(--nav-h); }
.center-page .phero__title { max-width: 16ch; }

/* Estimate block on a light section: copy turns dark, the form stays a dark card. */
.form { color: var(--ink); color-scheme: dark; }
.section--paper .kpis div { border-color: var(--dk-line); }
.section--paper .kpis dt { color: var(--blue-deep); }
.section--paper .kpis dd, .section--paper .estimate__call { color: var(--dk-2); }
.section--paper .estimate__call .phone { color: var(--dk); }
.section--paper .estimate__call .phone .ico { color: var(--blue-deep); }

/* Google reviews: empty state until real reviews exist */
.reviews__empty { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.g-card { display: grid; gap: 10px; padding: clamp(24px, 3vw, 36px); background: #fff; color: #1f1f1f; border-radius: 8px; }
.g-card__head { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.25rem; }
.g-card__head .ico--g { width: 32px; height: 32px; }
.g-card__meta { color: #3c4043; }
.g-card__stars { display: flex; gap: 4px; color: #c8cbd0; }
.g-card__stars .ico { width: 22px; height: 22px; }
.g-card__note { font-weight: 600; color: #3c4043; }
.g-card__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.g-card .btn--ghost { color: #1f1f1f; box-shadow: inset 0 0 0 1px rgba(31, 31, 31, 0.5); }
.g-card .btn--ghost:hover { background: #1f1f1f; color: #fff; }
@media (max-width: 860px) { .reviews__empty { grid-template-columns: minmax(0, 1fr); } }

/* Track record numbers */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 40px; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; border-top: 2px solid var(--dk); padding-top: 18px; }
.stat dd { font-stretch: 125%; font-weight: 800; font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 0.95; letter-spacing: -0.02em; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.stat dt { color: var(--dk-2); font-weight: 600; font-size: 1.05rem; }
.section--dark .stat, .section--dark-2 .stat { border-color: var(--line); }
.section--dark .stat dd, .section--dark-2 .stat dd { color: var(--blue); }
.section--dark .stat dt, .section--dark-2 .stat dt { color: var(--ink-2); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } }

/* Project photo gallery (real client photos) */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery--feature .shot:first-child { grid-column: span 2; grid-row: span 2; }
.shot figure { position: relative; height: 100%; overflow: hidden; background: var(--bg-3); }
.shot img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot figcaption { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; background: linear-gradient(to top, rgba(8, 9, 11, 0.92), rgba(8, 9, 11, 0.6) 55%, transparent); color: #fff; font-size: 0.92rem; line-height: 1.35; }
.shot figcaption span { display: block; margin-bottom: 4px; font: 500 0.72rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #a9cbff; }
@media (prefers-reduced-motion: reduce) { .shot img { transition: none; } .shot:hover img { transform: none; } }
@media (max-width: 1100px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gallery { grid-template-columns: minmax(0, 1fr); } .gallery--feature .shot:first-child { grid-column: auto; grid-row: auto; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; transition: background-color 0.2s, color 0.2s; }
.chips a:hover { background: var(--ink); color: var(--dk); }

/* Inner-page hero with a drawing: keep the long service names inside their column. */
.phero__grid .phero__title { font-size: clamp(2.4rem, 5.2vw, 4.8rem); overflow-wrap: anywhere; }

/* Inline project video */
.vid { align-items: center; }
.vid__fig { position: relative; background: #000; border: 1px solid var(--dk-line); }
.vid__fig video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* FAQ titles sit in a narrower column: keep long words like COMMERCIAL inside it. */
.faq .s-title { font-size: clamp(2rem, 3.6vw, 3.4rem); overflow-wrap: anywhere; }

/* Inner-page hero: real job-site photo behind the copy, darkened on the text side for AA contrast. */
.phero { position: relative; isolation: isolate; overflow: hidden; }
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 15, 18, 0.95) 0%, rgba(13, 15, 18, 0.86) 42%, rgba(13, 15, 18, 0.5) 100%),
    linear-gradient(to top, rgba(13, 15, 18, 0.85), transparent 45%);
}
@media (max-width: 860px) { .phero__bg::after { background: rgba(13, 15, 18, 0.82); } }

/* Service cards now lead with a real photo */
.svc-card__art { margin: -30px -30px 22px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.svc-card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.svc-card a:hover .svc-card__art img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .svc-card a:hover .svc-card__art img { transform: none; } }

/* Edge-to-edge strip of aerial photos */
.strip { position: relative; background: var(--bg); }
.strip__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.strip__row img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.strip__label { position: absolute; left: var(--gutter); bottom: 18px; padding: 8px 14px; background: rgba(13, 15, 18, 0.88); font: 500 0.75rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 760px) { .strip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Services ticker: three identical lists, the track moves one list width and loops */
.ticker { overflow: hidden; background: var(--blue-band); color: #fff; padding: clamp(18px, 2.4vw, 30px) 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; flex-shrink: 0; }
.ticker__list li { display: flex; align-items: center; }
.ticker__list a { padding: 0 clamp(20px, 2.6vw, 40px); font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4.4vw, 4rem); line-height: 1.1; letter-spacing: -0.01em; color: #fff; text-decoration: none; white-space: nowrap; transition: color 0.2s ease, -webkit-text-stroke-color 0.2s ease; }
.ticker__list li:nth-child(even) a { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.ticker__list a:hover, .ticker__list a:focus-visible { color: #fff; }
.ticker__list a:focus-visible { outline-color: #fff; }
.ticker__mark { display: grid; color: #9cc3ff; }
.ticker__mark svg { width: clamp(22px, 2.4vw, 34px); height: clamp(22px, 2.4vw, 34px); }
@keyframes ticker { to { transform: translateX(calc(-100% / 3)); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } .ticker { overflow-x: auto; } }

/* Five service cards: three across, then two wider ones. */
.svc-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.svc-card { grid-column: span 2; }
.svc-card:nth-child(n + 4) { grid-column: span 3; }
.svc-card:nth-child(n + 4) .svc-card__art { aspect-ratio: 16 / 9; }
@media (max-width: 1000px) {
  .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-card, .svc-card:nth-child(n + 4) { grid-column: auto; }
  .svc-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .svc-cards { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Explore the house: hotspots → real before/after ---------- */

.explore__stage { position: relative; max-width: 1100px; margin: 0 auto; perspective: 1400px; }
.explore__house { position: relative; box-shadow: 0 30px 60px -30px rgba(13, 15, 18, 0.45); }
.explore__house img { width: 100%; height: auto; display: block; }
.spot { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; text-decoration: none; z-index: 1; }
.spot__dot { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-deep); box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(0, 0, 0, 0.35); transition: transform 0.22s var(--ease); }
.spot__dot::before, .spot__dot::after { content: ''; position: absolute; left: 50%; top: 50%; background: #fff; transform: translate(-50%, -50%); }
.spot__dot::before { width: 12px; height: 2px; }
.spot__dot::after { width: 2px; height: 12px; }
.spot::before { content: ''; position: absolute; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; animation: spot-ping 2.4s ease-out infinite; }
@keyframes spot-ping { 0% { transform: scale(1); opacity: 0.9; } 80%, 100% { transform: scale(2); opacity: 0; } }
.spot__tip { position: absolute; left: calc(100% - 4px); top: 50%; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--dk); font-weight: 700; font-size: 0.85rem; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); opacity: 0; transform: translate(-6px, -50%); pointer-events: none; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); }
.spot:hover .spot__dot, .spot:focus-visible .spot__dot { transform: scale(1.12); }
.spot:hover .spot__tip, .spot:focus-visible .spot__tip { opacity: 1; transform: translate(0, -50%); }
/* Hotspots near the right edge open their label to the left. */
.spot--flip .spot__tip { left: auto; right: calc(100% - 4px); transform: translate(6px, -50%); }
.spot--flip:hover .spot__tip, .spot--flip:focus-visible .spot__tip { transform: translate(0, -50%); }
@media (prefers-reduced-motion: reduce) { .spot::before { animation: none; opacity: 0; } }

/* Cards: listed under the house without JS; with JS one replaces the house at a time. */
.explore__cards { display: grid; gap: 32px; margin-top: 40px; }
html.js .explore__cards { margin-top: 0; }
html.js [data-explore] .ba { display: none; }
html.js [data-explore] .ba.is-open { display: block; }
html.js [data-explore].is-card .explore__house { display: none; }
.ba { background: #0b0c0e; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(13, 15, 18, 0.5); outline: none; }
.ba__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.ba__title { font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.ba__title em { font-family: var(--mono); font-style: normal; font-weight: 500; font-size: 0.78em; color: var(--blue-hi); }
.ba__back { min-height: 40px; padding: 0 16px; border: 1px solid rgba(243, 245, 248, 0.35); border-radius: 3px; background: transparent; color: var(--ink); font: 600 0.78rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.ba__back:hover { background: var(--ink); color: var(--dk); }
html:not(.js) .ba__back { display: none; }
.ba__cap { padding: 16px 22px 20px; color: var(--ink-2); font-size: 0.95rem; }
.ba__cap a { color: var(--blue-hi); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; text-underline-offset: 3px; }
.ba__cap .ico { width: 16px; height: 16px; }

.compare { position: relative; container-type: inline-size; aspect-ratio: var(--ar); width: min(100%, calc(72vh * (var(--ar)))); margin: 0 auto; overflow: hidden; background: #111; --pos: 50%; touch-action: pan-y; }
.compare > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0 auto 0 0; width: var(--pos); overflow: hidden; }
.compare__before img { position: absolute; left: 0; top: 0; width: 100cqw; height: 100%; max-width: none; object-fit: cover; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare__handle::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--dk); font: 700 1rem var(--sans); letter-spacing: 0.1em; transform: translate(-50%, -50%); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__range:focus-visible ~ .compare__handle::after, .compare:focus-within .compare__handle::after { outline: 2px solid var(--blue-hi); outline-offset: 3px; }
.compare__tag { position: absolute; top: 14px; padding: 6px 14px; border-radius: 999px; font: 600 0.72rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; pointer-events: none; }
.compare__tag--before { left: 14px; background: rgba(13, 15, 18, 0.85); color: #fff; }
.compare__tag--after { right: 14px; background: var(--blue-deep); color: #fff; }
.compare__hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgba(13, 15, 18, 0.75); color: #fff; font: italic 500 0.8rem var(--sans); pointer-events: none; }

/* Flip between the house and a card */
.explore__house.is-leaving, .ba.is-leaving { animation: ex-out 0.32s var(--ease) forwards; }
.explore__house.is-entering, .ba.is-entering { animation: ex-in 0.5s var(--ease) both; }
@keyframes ex-out { to { opacity: 0; transform: rotateY(-14deg) rotateX(4deg) scale(0.94); } }
@keyframes ex-in { from { opacity: 0; transform: rotateY(14deg) rotateX(-4deg) scale(0.94); } }
@media (prefers-reduced-motion: reduce) { .explore__house.is-leaving, .ba.is-leaving, .explore__house.is-entering, .ba.is-entering { animation: none; } }
@media (max-width: 640px) {
  .spot__tip { display: none; }
  .ba__head { flex-wrap: wrap; padding: 14px 16px; }
  .compare { width: 100%; }
}
