/* =====================================================================
   CONTRACTOR: construction & building companies template
   Colours live in the style blocks below. Everything else uses them.
   ===================================================================== */
@property --r { syntax: "<length>"; inherits: true; initial-value: 0px; }

/* White & grey: clean, professional, luxury (the default) */
:root, [data-style="white"] {
  --bg: #ffffff; --bg2: #f5f5f3; --panel: #fafaf9; --panel2: #f0f0ee;
  --ink: #16171a; --mute: #6b6e74; --line: rgba(22,23,26,.09); --line2: rgba(22,23,26,.2);
  --acc: #4d5056; --acc-rgb: 77,80,86; --acc-ink: #ffffff; --em: #9a9da3; --hi: #4d5056; --tape-ink: #ffffff;
  --t-line: 52,54,58; --t-glass: 168,182,196; --t-accent: 110,113,119; --t-slab: 238,238,236; --t-lit: 255,255,255; --t-glow: 190,194,200; --t-crane: 132,136,142;
  --shadow: 0 24px 60px rgba(20,22,30,.08);
  color-scheme: light;
}
[data-style="night"] {
  --bg: #0a0b0d; --bg2: #101216; --panel: #14171b; --panel2: #1a1e23;
  --ink: #efece6; --mute: #8d9299; --line: rgba(239,236,230,.1); --line2: rgba(239,236,230,.22);
  --acc: #ff5b14; --acc-rgb: 255,91,20; --acc-ink: #0a0b0d; --hi: #ffc21a; --tape-ink: #0a0b0d;
  --t-line: 239,236,230; --t-glass: 72,118,165; --t-accent: 255,91,20; --t-slab: 28,31,36; --t-lit: 255,190,110; --t-glow: 255,110,40; --t-crane: 255,194,26;
  --shadow: 0 30px 80px rgba(0,0,0,.55);
  color-scheme: dark;
}
[data-style="blueprint"] {
  --bg: #061531; --bg2: #0a1d40; --panel: #0d2550; --panel2: #112d5e;
  --ink: #eaf1ff; --mute: #8ea6cc; --line: rgba(200,220,255,.12); --line2: rgba(200,220,255,.26);
  --acc: #ffd23f; --acc-rgb: 255,210,63; --acc-ink: #061531; --hi: #ffd23f; --tape-ink: #061531;
  --t-line: 220,232,255; --t-glass: 70,140,225; --t-accent: 255,210,63; --t-slab: 13,38,80; --t-lit: 255,214,120; --t-glow: 80,150,255; --t-crane: 255,210,63;
  --shadow: 0 30px 80px rgba(0,8,30,.6);
  color-scheme: dark;
}
[data-style="concrete"] {
  --bg: #e7e4de; --bg2: #ddd9d1; --panel: #f2f0eb; --panel2: #ebe8e2;
  --ink: #121315; --mute: #5d6168; --line: rgba(18,19,21,.12); --line2: rgba(18,19,21,.26);
  --acc: #ff4f0f; --acc-rgb: 255,79,15; --acc-ink: #fff; --hi: #ffc21a; --tape-ink: #121315;
  --t-line: 30,32,36; --t-glass: 70,110,150; --t-accent: 255,79,15; --t-slab: 196,191,182; --t-lit: 255,170,60; --t-glow: 255,140,60; --t-crane: 226,150,0;
  --shadow: 0 30px 70px rgba(40,30,20,.18);
  color-scheme: light;
}
:root {
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gut: clamp(20px, 4vw, 56px);
  --hh: 78px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-io: cubic-bezier(.77,0,.18,1);
  --notch: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; }
h1 { font-size: clamp(3.4rem, 9.2vw, 9.4rem); line-height: .84; }
h2 { font-size: clamp(2.6rem, 6.2vw, 5.8rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: .95; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--em, var(--acc)); }
h1 em { color: transparent; -webkit-text-stroke: 2px var(--acc); }

/* White style: calmer type, square corners, no busy effects */
[data-style="white"] { --notch: none; }
[data-style="white"] h1, [data-style="white"] h2, [data-style="white"] h3 { font-weight: 600; letter-spacing: .01em; }
[data-style="white"] h1 em { color: var(--em); -webkit-text-stroke: 0; }
[data-style="white"] .grain, [data-style="white"] .elev, [data-style="white"] .tape { display: none; }
[data-style="white"] .hdr { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
[data-style="white"] .promo { background: var(--ink); color: #fff; }
[data-style="white"] .logo-mark { background: var(--ink); color: #fff; clip-path: none; }
[data-style="white"] .mq-3d { transform: none; }
[data-style="white"] .mq.solid { transform: none; box-shadow: none; background: var(--bg2); color: var(--ink); border-block: 1px solid var(--line); }
[data-style="white"] .mq.solid b, [data-style="white"] .mq b { color: var(--em); }
[data-style="white"] .mq span { font-weight: 600; }
[data-style="white"] .mq-zone { padding: 0; }
[data-style="white"] .safety::before { height: 3px; background: var(--ink); }
[data-style="white"] .safety-days { color: var(--ink); text-shadow: none; font-weight: 600; }
[data-style="white"] .hero-bg { background: radial-gradient(55% 65% at 74% 50%, rgba(140,150,165,.12), transparent 70%), var(--bg); }
[data-style="white"] .hero-bg::after { opacity: .7; }
[data-style="white"] .pcard-st { background: rgba(255,255,255,.88); color: var(--ink); }
[data-style="white"] .stat-n, [data-style="white"] .tl-y, [data-style="white"] .svc-t { font-weight: 600; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1380px; margin: 0 auto; padding: 0 var(--gut); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--mute); max-width: 58ch; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 .74rem/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.kicker::before { content: ""; width: 8px; height: 8px; background: var(--acc); flex: none; }
.mono { font-family: var(--mono); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 900; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.bp-grid { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; }

/* ---------- Buttons & links ---------- */
.btn { --b: var(--acc); position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 17px 24px 16px; background: var(--b); color: var(--acc-ink); font: 700 1.06rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; clip-path: var(--notch); isolation: isolate; overflow: hidden; transition: transform .35s var(--ease), color .3s; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--bg); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: rotate(45deg); }
.btn.sm { padding: 13px 18px 12px; font-size: .96rem; }
.btn.lg { padding: 22px 30px 21px; font-size: 1.2rem; }
.btn.wide { width: 100%; justify-content: center; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); clip-path: none; }
.btn.ghost:hover { color: var(--bg); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.roll { display: inline-grid; overflow: hidden; height: 1.05em; line-height: 1.05; vertical-align: top; }
.roll > span { grid-area: 1 / 1; transition: transform .45s var(--ease); }
.roll > span + span { transform: translateY(105%); }
a:hover .roll > span:first-child, button:hover .roll > span:first-child { transform: translateY(-105%); }
a:hover .roll > span + span, button:hover .roll > span + span { transform: none; }
.ulink { display: inline-flex; gap: 8px; align-items: center; font: 600 .95rem var(--display); letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(var(--acc), var(--acc)) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .4s var(--ease), color .3s; }
.ulink:hover { color: var(--acc); background-size: 30% 1px; }

/* ---------- Promo + header ---------- */
.promo { position: relative; z-index: 60; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 9px var(--gut); background: var(--acc); color: var(--acc-ink); font: 600 .74rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.promo-go { display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
a.promo:hover .promo-go { text-decoration-thickness: 2px; }
.promo svg { width: 14px; height: 14px; }
.promo-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.4s infinite; }
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hh); margin-bottom: calc(-1 * var(--hh)); transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.hdr.solid { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; font: 800 1.45rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin-right: auto; }
.logo img { max-height: 44px; width: auto; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--acc); color: var(--acc-ink); clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-90deg); }
.logo-mark svg { width: 22px; height: 22px; }
.nav { display: flex; gap: 30px; }
.nav a { position: relative; font: 600 1.02rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; padding: 8px 0; color: color-mix(in srgb, var(--ink) 78%, transparent); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 5px; height: 5px; background: var(--acc); transform: translateX(-50%); }
.hdr-end { display: flex; align-items: center; gap: 18px; }
.hdr-tel { display: flex; align-items: center; gap: 8px; font: 500 .82rem var(--mono); color: var(--mute); }
.hdr-tel svg { width: 16px; height: 16px; color: var(--acc); }
.hdr-tel:hover { color: var(--ink); }
.burger { display: none; width: 46px; height: 46px; position: relative; border: 1px solid var(--line2); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: calc(var(--hh) + 30px) var(--gut) 30px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0 at calc(100% - 46px) 39px); transition: clip-path .8s var(--ease-io); visibility: hidden; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 46px) 39px); visibility: visible; }
.menu-open { overflow: hidden; }
.menu-grid { position: absolute; inset: 0; z-index: -1; opacity: .6; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; }
.menu-links { display: grid; gap: 4px; }
.menu-links a { display: flex; align-items: baseline; gap: 16px; font: 800 clamp(2.8rem, 12vw, 5rem)/1 var(--display); text-transform: uppercase; opacity: 0; transform: translateY(40px) rotateX(-40deg); transition: opacity .5s, transform .7s var(--ease); transition-delay: calc(var(--i) * 60ms + 200ms); }
.menu-links small { font: 500 .8rem var(--mono); color: var(--acc); }
.menu-open .menu-links a { opacity: 1; transform: none; }
.menu-foot { display: grid; gap: 8px; font: 500 .9rem var(--mono); color: var(--mute); }

/* ---------- Shared bits ---------- */
.soc { display: flex; gap: 8px; }
.soc a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line2); transition: background .3s, color .3s, border-color .3s; }
.soc a:hover { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.soc svg { width: 17px; height: 17px; }
.section { position: relative; padding: clamp(90px, 12vw, 170px) 0; }
.section.tight { padding: clamp(60px, 8vw, 110px) 0; }
.section.alt { background: var(--bg2); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 80px); }
.head > div { display: grid; gap: 18px; max-width: 900px; }
.head > div.chips { display: flex; gap: 8px; }
.head.center { justify-content: center; text-align: center; }
.head.center > div { justify-items: center; }
.sec-no { font: 500 .74rem var(--mono); letter-spacing: .16em; color: var(--mute); }
.sec-no b { color: var(--acc); font-weight: 500; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mute); margin-left: 6px; vertical-align: middle; }
.dot.on { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 11px 16px 10px; border: 1px solid var(--line2); font: 500 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.chip sup { font-size: .62rem; opacity: .6; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }

/* ---------- Reveal animations (3D word flips) ---------- */
.rv { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.stagger.in > * { opacity: 1; transform: none; }
:is([data-split], .ws) .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .02em .08em; margin: -.04em -.02em -.08em; perspective: 600px; }
:is([data-split], .ws) .wi { display: inline-block; transform-origin: 50% 100%; transform: translateY(102%) rotateX(-75deg); opacity: 0; transition: transform 1.1s var(--ease), opacity .6s; transition-delay: calc(var(--i) * 60ms + 80ms); }
:is([data-split], .ws).in .wi { transform: none; opacity: 1; }
.scrub .wi { opacity: .16; transition: opacity .35s, color .35s; }
.scrub .wi.lit { opacity: 1; }
.scrub em .wi.lit { color: var(--acc); }

/* ---------- Home: hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--hh) + 40px) 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 70% at 72% 55%, rgba(var(--acc-rgb), .1), transparent 70%),
  radial-gradient(40% 50% at 15% 100%, rgba(var(--acc-rgb), .06), transparent 70%), var(--bg); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask: radial-gradient(70% 70% at 70% 50%, #000 20%, transparent 75%); -webkit-mask: radial-gradient(70% 70% at 70% 50%, #000 20%, transparent 75%); opacity: .55; }
.hero-stage { position: absolute; inset: 0; z-index: -1; }
.tower { width: 100%; height: 100%; touch-action: pan-y; cursor: grab; --cx: .76; --cy: .47; --zoom: .96; }
.tower.grab { cursor: grabbing; }
.hud { position: absolute; left: 57%; right: 3.5%; top: calc(var(--hh) + 3vh); bottom: 130px; pointer-events: none; font: 500 .72rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.hud > i { position: absolute; width: 26px; height: 26px; border: 0 solid var(--line2); }
.hud > i:nth-of-type(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.hud > i:nth-of-type(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.hud > i:nth-of-type(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.hud > i:nth-of-type(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.hud-tl, .hud-tr, .hud-bl, .hud-br { position: absolute; display: flex; align-items: center; gap: 10px; }
.hud-tl { left: 38px; top: 6px; } .hud-tr { right: 38px; top: 6px; color: var(--ink); }
.hud-bl { left: 38px; bottom: 6px; color: var(--ink); } .hud-br { right: 38px; bottom: 2px; pointer-events: auto; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: blink 1.2s infinite; box-shadow: 0 0 12px #ff3b30; }
.hud button { padding: 8px 12px; border: 1px solid var(--line2); font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink); background: color-mix(in srgb, var(--bg) 60%, transparent); backdrop-filter: blur(8px); transition: border-color .3s, color .3s; }
.hud button:hover { border-color: var(--acc); color: var(--acc); }
.hero-copy { position: relative; pointer-events: none; perspective: 1200px; padding-bottom: 40px; }
.hero-copy a, .hero-copy button { pointer-events: auto; }
.hero-tilt { max-width: min(800px, 62vw); display: grid; gap: 26px; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.hero-tilt h1 { font-size: clamp(3.4rem, 7.4vw, 9.4rem); }
.hero-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(transparent, var(--bg) 85%); pointer-events: none; }
.hero-foot { position: relative; display: flex; align-items: center; gap: 0; border-top: 1px solid var(--line); margin-top: 10px; }
.hero-foot > div { flex: 1; padding: 22px 24px 24px 0; display: grid; gap: 4px; border-right: 1px solid var(--line); margin-right: 24px; }
.hero-foot b { font: 800 1.9rem/1 var(--display); text-transform: uppercase; }
.hero-foot small { font: 500 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.scroll-cue { display: flex; align-items: center; gap: 12px; font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); white-space: nowrap; pointer-events: auto; }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: var(--line2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--acc); animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { to { top: 110%; } }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- 3D marquee ---------- */
.mq-zone { position: relative; padding: clamp(50px, 8vw, 110px) 0; overflow: hidden; perspective: 1000px; background: var(--bg); }
.mq-3d { transform: rotateX(16deg) rotateZ(-4deg) scale(1.08); transform-style: preserve-3d; display: grid; gap: 10px; }
.mq { overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0; background: var(--bg); }
.mq.solid { background: var(--acc); color: var(--acc-ink); border: 0; transform: translateZ(40px); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.mq-track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; }
.mq span { font: 800 clamp(2.8rem, 7.5vw, 7rem)/1 var(--display); text-transform: uppercase; white-space: nowrap; }
.mq b { font-size: clamp(1.4rem, 3vw, 2.8rem); color: var(--acc); }
.mq.solid b { color: var(--acc-ink); }
.mq.outline span { color: transparent; -webkit-text-stroke: 1.4px var(--line2); transition: color .3s; }
.mq.outline span:hover { color: var(--ink); }

/* ---------- Statement + stats ---------- */
.statement { font: 700 clamp(2rem, 4.3vw, 4rem)/1.04 var(--display); text-transform: uppercase; max-width: 22ch; letter-spacing: -.005em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(50px, 7vw, 90px); }
.stat { position: relative; display: grid; gap: 12px; padding: 34px 24px 10px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.stat:last-child { border: 0; margin: 0; }
.stat::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--acc); transition: width .8s var(--ease); }
.stat:hover::before { width: 100%; }
.stat-n { font: 800 clamp(3.2rem, 6.4vw, 6.2rem)/.85 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat-l { display: flex; gap: 10px; font: 500 .74rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.stat-l i { font-style: normal; color: var(--acc); }

/* ---------- Services: interactive rows ---------- */
.svc-list { border-bottom: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.2fr) minmax(0, 1fr) 70px 50px; align-items: center; gap: 24px; padding: 30px 18px; border-top: 1px solid var(--line); isolation: isolate; overflow: hidden; transition: color .45s, padding .45s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--acc); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease-io); }
.svc:hover { color: var(--acc-ink); padding-left: 30px; }
.svc:hover::before { transform: none; }
.svc-n { font: 500 .8rem var(--mono); color: var(--mute); transition: color .4s; }
.svc-t { font: 800 clamp(1.8rem, 3.6vw, 3.3rem)/.95 var(--display); text-transform: uppercase; }
.svc-x { font-size: .98rem; color: var(--mute); line-height: 1.5; transition: color .4s; }
.svc:hover .svc-n, .svc:hover .svc-x { color: color-mix(in srgb, var(--acc-ink) 75%, transparent); }
.svc-ic svg { width: 64px; height: 64px; }
.svc-go { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid currentColor; border-radius: 50%; opacity: .5; transition: transform .45s var(--ease), opacity .3s; }
.svc-go svg { width: 20px; }
.svc:hover .svc-go { transform: rotate(45deg); opacity: 1; }
.draw path, .draw circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
.svc:hover .draw path, .svc:hover .draw circle, .scard:hover .draw path, .scard:hover .draw circle { animation: drawIn 1.1s var(--ease) both; }
@keyframes drawIn { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- Build sequence (sticky 3D) ---------- */
.build { position: relative; height: 420vh; background: var(--bg2); }
.build-sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); overflow: hidden; }
.build-stage { position: relative; border-right: 1px solid var(--line); }
.build-stage .tower { --cx: .5; --cy: .54; --zoom: 1.12; }
.build-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask: radial-gradient(60% 60% at 50% 55%, #000, transparent 80%); -webkit-mask: radial-gradient(60% 60% at 50% 55%, #000, transparent 80%); opacity: .5; pointer-events: none; }
.build-pct { position: absolute; left: 34px; bottom: 26px; pointer-events: none; display: grid; gap: 6px; }
.build-pct b { font: 800 clamp(4rem, 9vw, 8.4rem)/.8 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--line2); font-variant-numeric: tabular-nums; }
.build-pct small, .build-ph { font: 500 .74rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.build-ph { position: absolute; left: 34px; top: calc(var(--hh) + 20px); display: flex; gap: 10px; align-items: center; }
.build-ph::before { content: ""; width: 8px; height: 8px; background: var(--acc); animation: blink 1.2s infinite; }
.build-rail { position: absolute; right: -1px; top: 0; bottom: 0; width: 3px; background: var(--line); }
.build-rail i { position: absolute; inset: 0; background: var(--acc); transform-origin: 50% 0; transform: scaleY(0); }
.build-copy { display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: calc(var(--hh) + 20px) var(--gut) 40px clamp(30px, 4vw, 60px); }
.phases { list-style: none; margin: 0; padding: 0; display: grid; }
.phases li { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); opacity: .35; transition: opacity .5s; }
.phases li.on, .phases li.done { opacity: 1; }
.phases li.done { opacity: .55; }
.ph-n { font: 500 .8rem var(--mono); padding-top: 6px; color: var(--mute); }
.phases li.on .ph-n, .phases li.done .ph-n { color: var(--acc); }
.phases h3 { font-size: clamp(1.4rem, 2.1vw, 1.9rem); }
.phases p { color: var(--mute); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.phases li.on p { max-height: 8em; opacity: 1; margin-top: 10px; }

/* ---------- Project cards: 3D tilt + blueprint lens ---------- */
.tilt { perspective: 1100px; }
.tilt-in { transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }
.rail-wrap { position: relative; }
.rail { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 10px var(--gut) 30px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging .pcard { pointer-events: none; }
.rail .pcard { flex: 0 0 min(600px, 84vw); scroll-snap-align: start; }
.rail-ctl { display: flex; align-items: center; gap: 18px; }
.rail-ctl button { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--line2); transition: background .3s, color .3s; }
.rail-ctl button:hover { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.rail-ctl button svg { width: 20px; }
.rail-ctl button:first-child svg { transform: rotate(180deg); }
.rail-bar { height: 2px; background: var(--line); margin: 0 var(--gut); }
.rail-bar i { display: block; height: 100%; background: var(--acc); transform-origin: 0 50%; transition: transform .2s; }
.pcard { display: block; }
.pcard-img { --r: 0px; --lx: 50%; --ly: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); clip-path: var(--notch); transform: translateZ(0); }
.pcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-img .bp { filter: grayscale(1) contrast(1.6) brightness(1.15) sepia(1) hue-rotate(178deg) saturate(3.2); clip-path: circle(var(--r) at var(--lx) var(--ly)); transition: --r .5s var(--ease), transform 1.2s var(--ease); }
.pcard-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; clip-path: circle(var(--r) at var(--lx) var(--ly)); transition: --r .5s var(--ease);
  background: linear-gradient(rgba(190,220,255,.22) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(190,220,255,.22) 1px, transparent 1px) 0 0 / 22px 22px, rgba(8,40,110,.38); }
.pcard:hover .pcard-img { --r: 140px; }
.pcard-cross { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: linear-gradient(rgba(var(--acc-rgb), .7), rgba(var(--acc-rgb), .7)) var(--lx) 0 / 1px 100% no-repeat, linear-gradient(rgba(var(--acc-rgb), .7), rgba(var(--acc-rgb), .7)) 0 var(--ly) / 100% 1px no-repeat; }
.pcard-cross::after { content: ""; position: absolute; left: var(--lx); top: var(--ly); width: 280px; height: 280px; margin: -140px 0 0 -140px; border: 1px dashed rgba(var(--acc-rgb), .9); border-radius: 50%; }
.pcard:hover .pcard-cross { opacity: 1; }
.pcard-st { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; font: 500 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(10,11,13,.6); backdrop-filter: blur(10px); transform: translateZ(40px); }
.pcard-st i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; animation: blink 1.2s infinite; }
.pcard-no { position: absolute; right: 18px; bottom: 6px; font: 800 4.6rem/1 var(--display); color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.7); }
.pcard-body { padding: 22px 4px 0; display: grid; gap: 8px; transform: translateZ(30px); }
.pcard-meta { display: flex; justify-content: space-between; font: 500 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.pcard h3 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); transition: color .3s; }
.pcard:hover h3 { color: var(--acc); }
.pcard p { color: var(--mute); font-size: .98rem; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 56px 30px; transition: opacity .25s, transform .25s; }
.pgrid.swap { opacity: 0; transform: translateY(14px); }
.empty { color: var(--mute); }

/* ---------- Safety (hazard tape panel) ---------- */
.safety { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.safety::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: repeating-linear-gradient(-45deg, var(--hi) 0 16px, var(--tape-ink) 16px 32px); }
.safety-l { padding: clamp(50px, 6vw, 80px) clamp(26px, 4vw, 60px) clamp(36px, 4vw, 60px); display: grid; gap: 18px; align-content: end; }
.safety-days { font: 800 clamp(5rem, 15vw, 13rem)/.8 var(--display); color: var(--hi); letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-shadow: 0 0 60px rgba(255,194,26,.25); }
[data-style="concrete"] .safety-days { color: var(--acc); text-shadow: none; }
.safety-l h3 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
.safety-r { padding: clamp(50px, 6vw, 80px) clamp(26px, 4vw, 60px) clamp(36px, 4vw, 60px); border-left: 1px solid var(--line); display: grid; gap: 26px; align-content: end; }
.safety-r .big { font: 800 2.6rem/1 var(--display); text-transform: uppercase; }
.safety-r small { font: 500 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 30px; }
.cert { display: grid; gap: 6px; padding: 24px 22px; background: var(--bg); transition: background .3s; }
.cert:hover { background: var(--panel); }
.cert-ic svg { width: 26px; height: 26px; color: var(--acc); }
.cert b { font: 800 1.5rem/1 var(--display); text-transform: uppercase; margin-top: 8px; }
.cert small { color: var(--mute); font-size: .88rem; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.area { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line2); font: 600 1rem var(--display); letter-spacing: .06em; text-transform: uppercase; }
.area svg { width: 16px; height: 16px; color: var(--acc); }

/* ---------- Estimator ---------- */
.est { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.est-ui { padding: clamp(26px, 3.4vw, 46px); display: grid; gap: 34px; align-content: start; }
.est fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
.est legend { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; margin-bottom: 14px; font: 800 1.5rem/1 var(--display); text-transform: uppercase; }
.est legend span { font: 500 .72rem var(--mono); color: var(--acc); letter-spacing: .1em; }
.est legend output { margin-left: auto; font: 800 1.7rem/1 var(--display); color: var(--acc); font-variant-numeric: tabular-nums; }
.est input[type=range] { --k: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; }
.est input[type=range]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(var(--acc), var(--acc)) 0 0 / var(--k) 100% no-repeat, var(--line2); }
.est input[type=range]::-moz-range-track { height: 4px; background: linear-gradient(var(--acc), var(--acc)) 0 0 / var(--k) 100% no-repeat, var(--line2); }
.est input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; background: var(--acc); border: 4px solid var(--panel); box-shadow: 0 0 0 1px var(--acc); transform: rotate(45deg); }
.est input[type=range]::-moz-range-thumb { width: 18px; height: 18px; background: var(--acc); border: 4px solid var(--panel); box-shadow: 0 0 0 1px var(--acc); border-radius: 0; transform: rotate(45deg); }
.scale { display: flex; justify-content: space-between; font: 500 .7rem var(--mono); color: var(--mute); letter-spacing: .08em; }
.est-out { padding: clamp(26px, 3.4vw, 46px); background: var(--bg2); border-left: 1px solid var(--line); display: grid; gap: 22px; align-content: start; }
.plan { position: relative; background: var(--bg); border: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 16px 16px; }
.plan svg { width: 100%; height: auto; }
.plan-tag { position: absolute; right: 10px; top: 8px; font: 500 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.pl-grid { stroke: rgba(var(--acc-rgb), .14); stroke-width: .6; fill: none; }
.pl-room { fill: rgba(var(--acc-rgb), .05); stroke: var(--ink); stroke-width: 1.1; opacity: .75; animation: room .6s var(--ease) both; animation-delay: calc(var(--i) * 40ms); transform-box: fill-box; transform-origin: center; }
.pl-room:hover { fill: rgba(var(--acc-rgb), .25); }
@keyframes room { from { opacity: 0; transform: scale(.85); } }
.pl-wall { fill: none; stroke: var(--ink); stroke-width: 3.2; }
.pl-dim { stroke: var(--acc); stroke-width: 1; fill: none; }
.pl-t { font: 500 9px var(--mono); fill: var(--mute); letter-spacing: .05em; }
.est-nums { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.est-nums > div { background: var(--bg2); padding: 18px; display: grid; gap: 6px; }
.est-nums small { font: 500 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.est-nums strong { font: 800 clamp(1.7rem, 2.6vw, 2.4rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.est-nums > div:first-child strong { color: var(--acc); }
.est-note { font-size: .86rem; color: var(--mute); }

/* ---------- Reviews + FAQ ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { margin: 0; }
.quote .tilt-in { height: 100%; display: grid; gap: 22px; align-content: space-between; padding: 34px; background: var(--panel); border: 1px solid var(--line); }
.q-mark { font: 800 6rem/.6 var(--display); color: var(--acc); height: 40px; transform: translateZ(30px); }
.quote blockquote { margin: 0; font-size: 1.18rem; line-height: 1.5; transform: translateZ(20px); }
.quote figcaption { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 18px; }
.quote b { font: 800 1.2rem var(--display); text-transform: uppercase; }
.quote small { color: var(--mute); }
.rating { display: flex; align-items: center; gap: 12px; }
.stars { font-size: 1.3rem; letter-spacing: 2px; background: linear-gradient(90deg, var(--hi) var(--r), var(--line2) var(--r)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating b { font: 800 2rem/1 var(--display); }
.rating small { font: 500 .74rem var(--mono); color: var(--mute); letter-spacing: .08em; text-transform: uppercase; }
.faqs { border-bottom: 1px solid var(--line); }
.faq { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: grid; grid-template-columns: 60px 1fr 40px; align-items: center; gap: 10px; padding: 26px 0; cursor: pointer; font: 700 clamp(1.25rem, 2vw, 1.7rem)/1.1 var(--display); text-transform: uppercase; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--acc); }
.faq-n { font: 500 .78rem var(--mono); color: var(--acc); }
.faq summary i { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line2); border-radius: 50%; transition: transform .4s var(--ease), background .3s; }
.faq summary i svg { width: 18px; }
.faq[open] summary i { transform: rotate(45deg); background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.faq-a { padding: 0 50px 28px 70px; color: var(--mute); max-width: 80ch; }

/* ---------- Inner page header: 3D runway grid ---------- */
.phead { position: relative; padding: calc(var(--hh) + clamp(70px, 12vw, 150px)) 0 clamp(50px, 7vw, 90px); overflow: hidden; isolation: isolate; perspective: 700px; border-bottom: 1px solid var(--line); }
.phead::before { content: ""; position: absolute; left: -50%; right: -50%; bottom: -10%; height: 90%; z-index: -1; transform: rotateX(70deg); transform-origin: 50% 100%;
  background-image: linear-gradient(var(--line2) 1px, transparent 1px), linear-gradient(90deg, var(--line2) 1px, transparent 1px); background-size: 70px 70px; animation: runway 3s linear infinite;
  mask: linear-gradient(to top, #000 10%, transparent 90%); -webkit-mask: linear-gradient(to top, #000 10%, transparent 90%); }
.phead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 100%, rgba(var(--acc-rgb), .16), transparent 70%); }
@keyframes runway { to { background-position: 0 70px; } }
.phead .wrap { display: grid; gap: 26px; }
.crumb { display: flex; gap: 14px; font: 500 .74rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.crumb a:hover { color: var(--acc); }
.crumb b { color: var(--acc); font-weight: 500; }
.phead h1 { font-size: clamp(3.4rem, 10vw, 10rem); max-width: 14ch; }
.phead .lead { max-width: 62ch; }

/* ---------- Services page ---------- */
.scards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.scard { scroll-margin-top: calc(var(--hh) + 30px); }
.scard .tilt-in { height: 100%; display: grid; gap: 18px; align-content: start; padding: 34px; background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; }
.scard .tilt-in::after { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--acc-rgb), .14), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.scard:hover .tilt-in::after { opacity: 1; }
.scard:target .tilt-in { border-color: var(--acc); }
.scard-top { display: flex; justify-content: space-between; align-items: flex-start; }
.scard-ic svg { width: 70px; height: 70px; color: var(--acc); transform: translateZ(40px); }
.scard-n { font: 500 .74rem var(--mono); color: var(--mute); letter-spacing: .1em; }
.scard h3 { font-size: 2.1rem; transform: translateZ(26px); }
.scard p { color: var(--mute); }
.scard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 18px; }
.scard li { display: flex; gap: 10px; align-items: center; font-size: .98rem; }
.scard li svg { width: 16px; height: 16px; color: var(--acc); flex: none; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; border-top: 1px solid var(--line); }
.steps li { position: relative; padding: 30px 22px 10px 0; display: grid; gap: 12px; align-content: start; }
.steps li::before { counter-increment: s; content: "0" counter(s); font: 800 4rem/.8 var(--display); color: transparent; -webkit-text-stroke: 1.2px var(--acc); }
.steps li::after { content: ""; position: absolute; left: 0; top: -1px; width: 30px; height: 2px; background: var(--acc); }
.steps h3 { font-size: 1.5rem; }
.steps p { color: var(--mute); font-size: .96rem; }

/* ---------- Project page ---------- */
.pmeta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; }
.pmeta > div { background: var(--bg); padding: 20px 22px; display: grid; gap: 8px; }
.pmeta dt { font: 500 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.pmeta dd { margin: 0; font: 800 1.6rem/1 var(--display); text-transform: uppercase; }
.compare { --x: 50%; position: relative; aspect-ratio: 16 / 9; overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; background: var(--panel); clip-path: var(--notch); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .plan-l { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.compare .plan-l img { filter: grayscale(1) contrast(1.6) brightness(1.15) sepia(1) hue-rotate(178deg) saturate(3.2); }.compare .plan-l::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 40px 40px; }
.cmp-h { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--acc); pointer-events: none; }
.cmp-h i { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; background: var(--acc); color: var(--acc-ink); border-radius: 50%; font: 700 1.2rem var(--display); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.cmp-l { position: absolute; top: 20px; padding: 8px 12px; font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); pointer-events: none; }
.cmp-l.l { left: 20px; } .cmp-l.r { right: 20px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.compare:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 4px; }
.scope { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.scope li { display: flex; gap: 22px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font: 700 1.4rem/1.1 var(--display); text-transform: uppercase; }
.scope span { font: 500 .74rem var(--mono); color: var(--acc); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 60px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: var(--notch); }
.nextp { position: relative; display: block; padding: clamp(60px, 9vw, 120px) 0; overflow: hidden; border-top: 1px solid var(--line); isolation: isolate; }
.nextp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transform: scale(1.1); transition: opacity .7s, transform 1.4s var(--ease); }
.nextp::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 20%, color-mix(in srgb, var(--bg) 40%, transparent)); }
.nextp:hover img { opacity: 1; transform: none; }
.nextp .wrap { display: grid; gap: 16px; }
.nextp strong { display: flex; align-items: center; gap: 24px; font: 800 clamp(3rem, 9vw, 8rem)/.85 var(--display); text-transform: uppercase; transition: color .3s; }
.nextp strong svg { width: clamp(40px, 6vw, 90px); flex: none; transition: transform .5s var(--ease); }
.nextp:hover strong { color: var(--acc); }
.nextp:hover strong svg { transform: translateX(16px); }

/* ---------- About ---------- */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.depth { position: relative; perspective: 1200px; }
.depth .frame { position: relative; transform: rotateY(-10deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .8s var(--ease); }
.depth:hover .frame { transform: rotateY(0) rotateX(0); }
.depth .frame img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; clip-path: var(--notch); box-shadow: var(--shadow); }
.depth .frame::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--acc); transform: translateZ(-60px); clip-path: var(--notch); }
.depth .tagline { position: absolute; left: -20px; bottom: 30px; padding: 16px 20px; background: var(--acc); color: var(--acc-ink); font: 800 1.4rem/1 var(--display); text-transform: uppercase; transform: translateZ(80px); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 64px; height: 1px; background: var(--line2); }
.timeline li { position: relative; padding-right: 26px; display: grid; gap: 18px; align-content: start; }
.tl-y { font: 800 3.2rem/1 var(--display); }
.tl-dot { width: 13px; height: 13px; background: var(--acc); transform: rotate(45deg); box-shadow: 0 0 0 6px var(--bg); }
.timeline p { color: var(--mute); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { margin: 0; }
.member-img { position: relative; overflow: hidden; clip-path: var(--notch); background: var(--panel); }
.member-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s, transform 1s var(--ease); }
.member:hover .member-img img { filter: none; transform: scale(1.05); }
.member-img span { position: absolute; right: 14px; top: 10px; font: 800 2.6rem var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.8); }
.member figcaption { display: grid; gap: 4px; padding-top: 16px; transform: translateZ(30px); }
.member b { font: 800 1.5rem/1 var(--display); text-transform: uppercase; }
.member small { color: var(--mute); font: 500 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Quote page ---------- */
.qgrid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: grid; }
.field input, .field select, .field textarea { width: 100%; padding: 26px 16px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 0; outline: none; transition: border-color .3s, background .3s; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 140px; resize: vertical; }
.field label { position: absolute; left: 16px; top: 9px; font: 500 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); pointer-events: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--acc); background: var(--panel2); }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--acc); transition: width .5s var(--ease); }
.field:focus-within::after { width: 100%; }
.form-ok { padding: 16px 18px; border: 1px solid var(--acc); color: var(--ink); font-size: .95rem; }
.contact { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cline { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--bg); transition: background .3s; }
a.cline:hover { background: var(--panel); }
.cline svg { width: 22px; height: 22px; flex: none; color: var(--acc); margin-top: 3px; }
.cline span { display: grid; gap: 4px; font-size: 1rem; }
.cline small { font: 500 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.map { margin-top: 24px; aspect-ratio: 4 / 3; border: 1px solid var(--line); filter: grayscale(1) contrast(1.1); }
[data-style="night"] .map, [data-style="blueprint"] .map { filter: grayscale(1) invert(.92) contrast(.9); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.ftr { position: relative; background: var(--bg); overflow: hidden; }
.tape { background: var(--hi); color: var(--tape-ink); transform: rotate(-1.4deg) scale(1.04); margin: 30px 0 10px; padding: 12px 0; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.tape-in { display: flex; gap: 26px; width: max-content; animation: tape 40s linear infinite; font: 800 1.3rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
@keyframes tape { to { transform: translateX(-50%); } }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 90px); padding-top: clamp(70px, 9vw, 120px); padding-bottom: 60px; }
.ftr-cta { display: grid; gap: 24px; align-content: start; }
.ftr-h { font-size: clamp(3.4rem, 8vw, 7.4rem); }
.ftr-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
.ftr h4 { font: 500 .74rem var(--mono); letter-spacing: .14em; color: var(--mute); margin-bottom: 14px; }
.ftr p { margin-bottom: 12px; }
.hrs, .flinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hrs li { display: flex; justify-content: space-between; gap: 10px; font: 500 .86rem var(--mono); max-width: 240px; }
.hrs li span:first-child { color: var(--mute); }
.flinks a { font: 700 1.25rem var(--display); text-transform: uppercase; letter-spacing: .04em; }
.flinks a:hover { color: var(--acc); }
.ftr-word { padding: 0 var(--gut); }
.ftr-word svg { width: 100%; height: auto; overflow: visible; }
.ftr-word text { font: 800 200px var(--display); fill: transparent; stroke: var(--line2); stroke-width: 1.2; transition: fill .8s var(--ease), stroke .6s; }
.ftr-word:hover text { fill: var(--acc); stroke: var(--acc); }
.ftr-base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 30px; border-top: 1px solid var(--line); font: 500 .74rem var(--mono); letter-spacing: .06em; color: var(--mute); }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.35); transition: transform .4s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Intro loader ---------- */
.intro { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--bg); clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-io); }
.intro.out { clip-path: inset(0 0 100% 0); }
.intro-grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 60px 60px; }
.intro-in { position: relative; width: min(760px, 86vw); display: grid; gap: 18px; }
.intro-top { display: flex; justify-content: space-between; font: 500 .74rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.intro-num { display: flex; align-items: flex-start; font: 800 clamp(7rem, 26vw, 19rem)/.78 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.intro-num small { font-size: .3em; color: var(--acc); margin-left: 8px; }
.intro-bar { height: 3px; background: var(--line); }
.intro-bar i { display: block; height: 100%; background: var(--acc); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Cursor + elevation ruler ---------- */
html.has-cur, html.has-cur * { cursor: none !important; }
html.has-cur input:not([type=range]), html.has-cur textarea { cursor: text !important; }
.cur { position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cur.on { opacity: 1; }
.cur-ring, .cur-dot, .cur-xy { position: absolute; left: 0; top: 0; }
.cur-ring::before { content: ""; position: absolute; left: -19px; top: -19px; width: 38px; height: 38px; border: 1px solid var(--line2); border-radius: 50%; transition: transform .35s var(--ease), background .3s, border-color .3s; }
.cur-ring i { position: absolute; background: var(--ink); opacity: .7; transition: transform .35s var(--ease); }
.cur-ring i:nth-child(1), .cur-ring i:nth-child(3) { width: 1px; height: 8px; left: 0; }
.cur-ring i:nth-child(2), .cur-ring i:nth-child(4) { width: 8px; height: 1px; top: 0; }
.cur-ring i:nth-child(1) { top: -30px; } .cur-ring i:nth-child(3) { top: 22px; }
.cur-ring i:nth-child(2) { left: 22px; } .cur-ring i:nth-child(4) { left: -30px; }
.cur-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--acc); border-radius: 50%; }
.cur-xy { font: 500 .62rem var(--mono); letter-spacing: .08em; color: var(--mute); white-space: pre; transition: opacity .3s; }
.cur.hov .cur-ring::before { transform: scale(1.7); background: rgba(var(--acc-rgb), .12); border-color: var(--acc); }
.cur.hov .cur-ring i:nth-child(1) { transform: translateY(-12px); } .cur.hov .cur-ring i:nth-child(3) { transform: translateY(12px); }
.cur.hov .cur-ring i:nth-child(2) { transform: translateX(12px); } .cur.hov .cur-ring i:nth-child(4) { transform: translateX(-12px); }
.cur.down .cur-ring::before { transform: scale(.8); }
.cur.txt .cur-ring, .cur.txt .cur-xy { opacity: 0; }
.cur.drag .cur-ring::before { transform: scale(2.2); border-style: dashed; border-color: var(--acc); }
.cur.drag .cur-ring::after { content: "⟵ drag ⟶"; position: absolute; left: -32px; top: 50px; font: 500 .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); white-space: nowrap; }
.elev { position: fixed; right: 12px; top: 0; bottom: 0; width: 70px; z-index: 30; pointer-events: none; }
.elev-track { position: absolute; right: 0; top: 70px; bottom: 70px; width: 12px; background: repeating-linear-gradient(to bottom, var(--line2) 0 1px, transparent 1px 10px); mask: linear-gradient(transparent, #000 10%, #000 90%, transparent); -webkit-mask: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.elev-mark { position: absolute; right: 0; top: 70px; display: flex; align-items: center; gap: 6px; font: 500 .62rem var(--mono); color: var(--acc); flex-direction: row-reverse; }
.elev-mark i { width: 18px; height: 2px; background: var(--acc); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .elev { display: none; }
  .hdr-tel { display: none; }
  .svc { grid-template-columns: 50px minmax(0, 1fr) 60px 46px; }
  .svc-x { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  :root { --hh: 70px; }
  .nav { display: none; }
  .burger { display: block; }
  .hdr-end .btn { display: none; }
  /* phone/tablet hero: the 3D tower fills the top, the headline sits below it */
  .hero { justify-content: flex-start; padding-top: max(50svh, 330px); min-height: 0; }
  .hero-stage { position: absolute; left: 0; right: 0; top: 0; bottom: auto; height: max(58svh, 390px); }
  .hero-stage::after { height: 34%; }
  .tower { --cx: .5; --cy: .6; --zoom: .98; }
  .hud { left: var(--gut); right: var(--gut); top: calc(var(--hh) + 6px); bottom: auto; height: 30px; }
  .hud > i:nth-of-type(3), .hud > i:nth-of-type(4), .hud-bl, .hud-br { display: none; }
  .hud-tl, .hud-tr { top: 6px; }
  .hero-copy { padding-bottom: 36px; }
  .hero-tilt { max-width: none; gap: 20px; }
  .hero-tilt h1 { font-size: clamp(3rem, 12.5vw, 5.6rem); }
  .hero-foot { flex-wrap: wrap; }
  .hero-foot > div { flex: 1 1 30%; padding: 18px 12px 18px 0; margin-right: 12px; }
  .hero-foot .scroll-cue { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; margin-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 30px; }
  .build { height: 380vh; }
  .build-sticky { grid-template-columns: 1fr; grid-template-rows: 54svh 1fr; }
  .build-stage { border-right: 0; border-bottom: 1px solid var(--line); }
  .build-copy { padding: 22px var(--gut) 24px; gap: 14px; justify-content: flex-start; }
  .build-copy h2 { font-size: 2.2rem; }
  .build-copy .kicker, .build-copy > .lead { display: none; }
  .phases li { display: none; padding: 12px 0 0; }
  .phases li.on { display: grid; }
  .build-pct { left: 18px; bottom: 14px; } .build-ph { left: 18px; top: calc(var(--hh) + 8px); }
  .build-rail { right: auto; left: 0; top: auto; bottom: -1px; width: 100%; height: 3px; }
  .build-rail i { transform-origin: 0 50%; }
  .safety { grid-template-columns: 1fr; }
  .safety-r { border-left: 0; border-top: 1px solid var(--line); }
  .est { grid-template-columns: 1fr; }
  .est-out { border-left: 0; border-top: 1px solid var(--line); }
  .quotes { grid-template-columns: 1fr; }
  .qgrid, .split2, .ftr-top { grid-template-columns: 1fr; }
  .pmeta { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .svc { grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 14px; padding: 22px 6px; }
  .svc-ic { display: none; } .svc-go { width: 40px; height: 40px; }
  .faq summary { grid-template-columns: 34px 1fr 36px; }
  .faq-a { padding: 0 0 24px 44px; }
  .form .row, .ftr-cols { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .pmeta dd { font-size: 1.3rem; }
  .est-nums { grid-template-columns: 1fr; }
  .promo { font-size: .64rem; letter-spacing: .06em; gap: 8px; }
  .promo-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .promo-go { display: none; }
  .logo { font-size: 1.12rem; gap: 10px; }
  .logo-t { white-space: nowrap; }
  .logo-mark { width: 34px; height: 34px; }
  .hero-foot { display: none; }
  .lead { font-size: 1.04rem; }
  .btns .btn.lg { padding: 16px 18px 15px; font-size: 1rem; }
  .section { padding: 76px 0; }
  .head { margin-bottom: 36px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .rail-ctl button { display: none; }
  .hide-sm { display: none; }
  .rail { gap: 16px; }
  .cert { padding: 18px 16px; }
}
/* never let long words or dropdown options push a column wider than the screen */
.qgrid > *, .split2 > *, .form .row > *, .field, .field select, .pmeta > div { min-width: 0; }
.pmeta dd, .cline span, .ftr p { overflow-wrap: anywhere; min-width: 0; }
body { overflow-x: clip; }
@media (max-width: 620px) {
  .depth .frame::before { inset: 14px -8px -14px 14px; }
  .depth .tagline { left: 12px; bottom: 16px; }
}
@media (max-width: 400px) {
  .pmeta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pmeta > div { padding: 16px 14px; }
  .hdr-in { gap: 12px; }
  .logo { min-width: 0; font-size: 1rem; }
  .logo-t { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .logo-mark { width: 30px; height: 30px; flex: none; }
  .burger { flex: none; width: 42px; height: 42px; }
  .burger span { left: 10px; right: 10px; }
  .burger span:first-child { top: 15px; } .burger span:last-child { top: 24px; }
  .menu-open .burger span:first-child, .menu-open .burger span:last-child { top: 19px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding-right: 12px; margin-right: 12px; }
  .stat-n { font-size: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv, .stagger > *, :is([data-split], .ws) .wi { opacity: 1; transform: none; }
}
