/* =========================================================
   Qualified Roofing: "Built layer by layer"
   Color system (60 / 30 / 10, split-complementary):
   60  Night navy   : surfaces, sky, depth
   30  Qualified cobalt (from the logo): structure, highlights
   10  Copper amber : the complement of cobalt; used ONLY for actions
   ========================================================= */
:root {
  --ink: #070b1a;
  --ink-2: #0b1129;
  --surface: #111836;
  --surface-2: #172045;
  --line: rgba(173, 186, 255, 0.12);
  --line-strong: rgba(173, 186, 255, 0.22);

  --brand: #3552e4;
  --brand-deep: #2238b8;
  --brand-soft: #8ea0ff;
  --brand-glow: rgba(53, 82, 228, 0.35);

  --accent: #ff8f45;
  --accent-hi: #ffb27a;
  --accent-ink: #1a0d03;
  --copper: #c8743a;

  --text: #eef0f8;
  --muted: #a3abcc;
  --faint: #6c76a0;

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --r: 22px;
  --r-sm: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1 em, h2 em { color: var(--brand-soft); }

.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--sans); letter-spacing: -0.01em;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-accent {
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgba(255, 143, 69, .7), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(255, 143, 69, .85), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost {
  background: #151c3d; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong); 
}
.btn-ghost:hover { background: #1d2550; }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; gap: 18px; justify-items: center;
  background: var(--ink); transition: opacity .8s var(--ease), visibility .8s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-mark { width: 84px; }
.loader-mark path { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linejoin: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.6s var(--ease) forwards; }
.loader-mark .loader-stripe { stroke: var(--accent); animation-delay: .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader-text { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dots::after { content: ""; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.scrolled {
  background: rgba(7, 11, 26, .94); 
  box-shadow: 0 1px 0 var(--line);
  padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: auto; filter: drop-shadow(0 4px 14px var(--brand-glow)); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 400 26px/1 var(--serif); letter-spacing: -0.01em; }
.brand-sub { font: 500 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.nav-links a { padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.07); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.nav-phone svg { width: 16px; fill: var(--accent); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; padding: 96px var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 6px;
  background: #070b1a; 
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.mobile-menu a:not(.btn) { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 20px; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }

/* ---------- 3D build section ---------- */
.build { position: relative; height: 640vh; }
.build-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.sky {
  position: absolute; inset: 0; z-index: -3;
  --warm: 0;
  background:
    radial-gradient(120% 70% at 68% 108%, rgba(255, 143, 69, calc(.10 + var(--warm) * .30)) 0%, transparent 55%),
    radial-gradient(90% 60% at 70% 60%, rgba(53, 82, 228, .32) 0%, transparent 60%),
    linear-gradient(180deg, #050816 0%, #0a1130 45%, #141c4a 78%, #1c2457 100%);
}
.stars {
  position: absolute; inset: 0 0 40% 0; z-index: -2; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 8%, #cfd6ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 26%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 30%, #cfd6ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 9%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 54% 44%, #cfd6ff 50%, transparent 51%),
    radial-gradient(1px 1px at 95% 46%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 52%, #fff 50%, transparent 51%);
}
@keyframes twinkle { to { opacity: .25; } }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.fallback { display: none; position: absolute; inset: 0; z-index: -1; background: url(../images/photo-06.webp) center/cover; opacity: .35; }
.no-webgl .fallback { display: block; }
.vignette { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(90deg, rgba(7,11,26,.82) 0%, rgba(7,11,26,.35) 38%, transparent 60%),
              linear-gradient(0deg, rgba(7,11,26,.9) 0%, transparent 22%); }

.stage-copy {
  position: absolute; z-index: 2;
  left: var(--gutter); top: 50%;
  width: min(560px, 44vw);
  transform: translateY(calc(-50% + 30px));
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .7s var(--ease), transform .9s var(--ease), visibility .7s;
}
.stage-copy.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-50%); }
.stage-copy.is-past { transform: translateY(calc(-50% - 30px)); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px 7px 10px; border-radius: 999px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,143,69,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,143,69,0); } }
.hero-copy { width: min(620px, 46vw); top: calc(50% + 34px); }
.hero-copy h1 { font-size: clamp(40px, min(5.4vw, 8.4vh), 78px); line-height: 1.04; text-wrap: balance; }
.nw { white-space: nowrap; }
.hero-copy em { line-height: 1.1; }
.lede { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); margin: 24px 0 0; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 34px; color: var(--muted); font-size: 14.5px; }
.stars-row { color: var(--accent); letter-spacing: 3px; font-size: 15px; }

.stage { padding: 34px 34px 36px; border-radius: var(--r); width: min(440px, 40vw);
  background: linear-gradient(160deg, rgba(23, 32, 69, .95), rgba(13, 19, 46, .92)); 
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -30px rgba(0,0,0,.6); }
.stage-num { font: 500 13px var(--mono); color: var(--accent); letter-spacing: .1em; }
.stage-num i { color: var(--faint); font-style: normal; }
.stage h2 { font-size: clamp(34px, 3.6vw, 54px); margin-top: 14px; }
.stage p { color: var(--muted); margin: 16px 0 0; }
.finale { top: calc(50% + 34px); }
.finale h2 { font-size: clamp(40px, min(5.4vw, 8.6vh), 84px); }

/* short desktop screens: tighten the hero stack so nothing hides under the nav */
@media (min-width: 821px) and (max-height: 820px) {
  .eyebrow { margin-bottom: 16px; }
  .lede { margin-top: 16px; font-size: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .btn { --h: 50px; }
  .hero-proof { margin-top: 20px; }
  .stage h2 { font-size: clamp(30px, 5vh, 46px); }
}
@media (min-width: 821px) and (max-height: 680px) {
  .hero-proof, .scroll-hint { display: none; }
}
/* phones held sideways and other very short screens */
@media (min-width: 821px) and (max-height: 560px) {
  .nav { padding-block: 8px; }
  .hero-copy, .finale { top: calc(50% + 26px); }
  .hero-copy h1, .finale h2 { font-size: clamp(30px, 9.5vh, 46px); }
  .eyebrow { margin-bottom: 10px; padding-block: 5px; }
  .hero-copy .lede, .finale .lede { display: none; }
  .hero-actions { margin-top: 16px; }
  .hero-actions .btn { --h: 44px; padding: 0 18px; font-size: 15px; }
  .stage { padding: 20px 22px; }
  .stage h2 { font-size: clamp(24px, 7vh, 34px); margin-top: 8px; }
  .stage p { font-size: 14.5px; margin-top: 8px; }
  .rail, .hud { display: none; }
}

.rail { position: absolute; z-index: 2; right: var(--gutter); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.rail li { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); transition: color .4s; }
.rail li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--faint); transition: all .4s var(--ease); }
.rail li:not(:last-child)::before { content: ""; position: absolute; right: 4.5px; top: 17px; width: 1px; height: 24px; background: var(--line-strong); }
.rail li.on { color: var(--text); }
.rail li.on::after { background: var(--accent); box-shadow: 0 0 0 4px rgba(255,143,69,.2); }
.rail li.done::after { background: var(--brand); box-shadow: none; }
.rail li span { opacity: 0; transform: translateX(6px); transition: all .4s var(--ease); }
.rail li.on span, .rail:hover li span { opacity: 1; transform: none; }

.hud { position: absolute; z-index: 2; right: var(--gutter); bottom: 28px; width: 240px; padding: 14px 16px; border-radius: var(--r-sm);
  background: rgba(11, 17, 41, .92);  box-shadow: inset 0 0 0 1px var(--line);
  font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.hud-row { display: flex; justify-content: space-between; gap: 10px; }
.hud-row b { color: var(--text); font-weight: 500; text-align: right; }
.hud-bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); margin: 10px 0; overflow: hidden; }
.hud-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: inherit; }

.scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: opacity .5s; }
.scroll-hint.hide { opacity: 0; }
.mouse { width: 20px; height: 32px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--muted); position: relative; }
.mouse i { position: absolute; left: 50%; top: 7px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: var(--accent); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink-2); padding: 22px 0; }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee span { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.marquee b { color: var(--accent); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2, .claims h2, .contact h2 { font-size: clamp(40px, 5vw, 72px); }
.sec-head > p:not(.kicker) { color: var(--muted); font-size: 18px; margin: 20px 0 0; }
.kicker { font: 500 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.sec-head.center .kicker { justify-content: center; }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 90px; gap: 0; }
.stat { padding: 10px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-size: clamp(52px, 6vw, 84px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; background: linear-gradient(180deg, #fff, #a9b6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat b i { font-style: normal; }
.stat sup { font-size: 28px; color: var(--accent); margin-left: 4px; vertical-align: top; position: relative; top: 8px; }
.stat span { display: block; color: var(--muted); margin-top: 12px; font-size: 15px; }

/* Bento */
.services { padding-block: 60px 130px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 260px; gap: 16px; }
.card { position: relative; overflow: hidden; border-radius: var(--r); grid-column: span 2; display: flex; align-items: flex-end; isolation: isolate;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.card-xl { grid-column: span 4; grid-row: span 2; }
.card-tall { grid-row: span 2; }
.card-media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); filter: saturate(.9); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,11,26,.05) 0%, rgba(7,11,26,.55) 50%, rgba(7,11,26,.95) 100%); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(142,160,255,.18), transparent 50%); }
.card:hover::after { opacity: 1; }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -30px rgba(0,0,0,.7); }
.card:hover .card-media { transform: scale(1.06); }
.card-body { padding: 28px; }
.card h3 { font-size: clamp(24px, 2.1vw, 30px); margin: 12px 0 8px; }
.card-xl h3 { font-size: clamp(30px, 3.2vw, 46px); }
.card p { color: #c3c9e4; margin: 0; font-size: 15.5px; max-width: 44ch; }
.tag { display: inline-block; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(7,11,26,.55); box-shadow: inset 0 0 0 1px var(--line-strong);  color: var(--text); }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; color: var(--accent); }
.card-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .3s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }
.card-solid { background: linear-gradient(155deg, var(--brand) 0%, var(--brand-deep) 60%, #18268a 100%); }
.card-solid::before { background: radial-gradient(80% 60% at 100% 0%, rgba(255,255,255,.18), transparent 60%); }
.card-solid p { color: #dfe4ff; }
.card-solid .tag { background: rgba(255,255,255,.14); }
.card-icon { position: absolute; top: 26px; right: 26px; width: 48px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; opacity: .9; }

/* Claims */
.claims { padding-block: 130px; background:
  radial-gradient(60% 50% at 0% 0%, rgba(53,82,228,.22), transparent 60%),
  linear-gradient(180deg, var(--ink-2), var(--ink)); border-top: 1px solid var(--line); }
.claims-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.claims h2 em { display: block; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps b { font: 500 13px var(--mono); color: var(--accent); padding-top: 4px; }
.steps h4 { font-size: 20px; letter-spacing: -0.02em; }
.steps p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
.claims-quote { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; min-height: 620px; display: flex; align-items: flex-end; box-shadow: inset 0 0 0 1px var(--line), 0 50px 100px -50px rgba(53,82,228,.6); }
.quote-img { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.claims-quote::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 30%, rgba(7,11,26,.92) 75%); }
.claims-quote blockquote { position: relative; z-index: 2; margin: 0; padding: 36px; }
.claims-quote blockquote p { font: 400 clamp(26px, 2.4vw, 34px)/1.2 var(--serif); margin: 14px 0 22px; }
.claims-quote figcaption, .review figcaption { display: flex; align-items: center; gap: 12px; }
.claims-quote figcaption { flex-direction: column; align-items: flex-start; gap: 2px; }
.claims-quote figcaption span { color: var(--muted); font-size: 14px; }

/* Work strip */
.work { padding-block: 130px 100px; overflow: hidden; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.work-head .sec-head { margin-bottom: 44px; }
.work-nav { display: flex; gap: 10px; margin-bottom: 50px; }
.circle-btn { width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--text); display: grid; place-items: center; transition: background .25s, transform .25s; }
.circle-btn:hover { background: var(--brand); transform: scale(1.05); }
.circle-btn svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 20px; scrollbar-width: none; cursor: grab;
  padding-left: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); scroll-padding-left: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); }
.strip::-webkit-scrollbar { display: none; }
.strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.strip figure { flex: 0 0 auto; width: clamp(260px, 28vw, 380px); aspect-ratio: 3/4; margin: 0; position: relative; border-radius: var(--r); overflow: hidden; scroll-snap-align: start; box-shadow: inset 0 0 0 1px var(--line); }
.strip figure:nth-child(even) { margin-top: 48px; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; user-select: none; }
.strip figure:hover img { transform: scale(1.05); }
.strip figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 12px; border-radius: 999px; background: rgba(7,11,26,.7);  font-size: 13.5px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Reviews */
.reviews { padding-block: 100px 140px; }
.review-grid { columns: 3; column-gap: 18px; }
.review { break-inside: avoid; margin: 0 0 18px; padding: 30px; border-radius: var(--r); background: linear-gradient(170deg, var(--surface-2), var(--surface)); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, transform .4s var(--ease); }
.review:hover { box-shadow: inset 0 0 0 1px var(--line-strong); transform: translateY(-3px); }
.review blockquote { margin: 16px 0 24px; font-size: 16.5px; color: #d3d8ef; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); }
.review figcaption b { font-size: 15px; }

/* Contact */
.contact { padding-block: 130px; border-top: 1px solid var(--line);
  background: radial-gradient(70% 60% at 100% 100%, rgba(255,143,69,.12), transparent 60%), radial-gradient(60% 60% at 0% 0%, rgba(53,82,228,.2), transparent 60%), var(--ink-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact h2 em { display: block; }
.big-phone { display: block; margin-top: 40px; font-size: clamp(38px, 4.4vw, 62px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; transition: color .25s; }
.big-phone span { display: block; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.big-phone:hover { color: var(--accent); }
.contact-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; color: var(--muted); }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list svg { width: 22px; flex: none; fill: none; stroke: var(--brand-soft); stroke-width: 1.8; stroke-linejoin: round; }
.contact-list a:hover { color: var(--text); }

.form { padding: 36px; border-radius: 26px; background: linear-gradient(170deg, rgba(23,32,69,.9), rgba(17,24,54,.9)); box-shadow: inset 0 0 0 1px var(--line-strong), 0 50px 100px -50px rgba(0,0,0,.8); display: grid; gap: 18px; }
.form-head h3 { font-size: 26px; letter-spacing: -0.03em; }
.form-head p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field span, .chips legend { font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; font: 500 16px var(--sans); color: var(--text); background: rgba(7,11,26,.55); border: 0; border-radius: 12px; padding: 15px 16px; box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .2s; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 4px var(--brand-glow); }
.field.invalid input { box-shadow: inset 0 0 0 2px #ff6b6b; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 10px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 500; background: rgba(7,11,26,.5); box-shadow: inset 0 0 0 1px var(--line-strong); transition: all .2s; }
.chips input:checked + span { background: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-soft); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { margin: 0; text-align: center; color: var(--faint); font-size: 13.5px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-top: 70px; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-note { color: var(--muted); max-width: 40ch; margin: 18px 0 0; font-size: 15px; }
.footer h5 { margin: 0 0 14px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.footer nav a, .footer-grid > div:last-child a { display: block; color: var(--muted); padding: 4px 0; font-size: 15px; }
.footer a:hover { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 24px 30px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }

.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center; background: linear-gradient(180deg, var(--accent-hi), var(--accent)); box-shadow: 0 14px 30px -10px rgba(255,143,69,.8); }
.fab { opacity: 0; transform: scale(.6); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab svg { width: 24px; fill: var(--accent-ink); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .claims-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .claims-quote { min-height: 480px; }
  .review-grid { columns: 2; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav-phone, .nav-cta .btn { display: none; }
  .menu-btn { display: block; }
  .fab { display: grid; }
  .brand-mark { width: 38px; }
  .brand-name { font-size: 23px; }

  .vignette { background: linear-gradient(0deg, rgba(7,11,26,.97) 0%, rgba(7,11,26,.75) 34%, transparent 62%); }
  .stage-copy, .stage { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 96px; transform: translateY(30px); }
  .stage-copy.is-active { transform: none; }
  .stage-copy.is-past { transform: translateY(-30px); }
  .hero-copy { bottom: 40px; }
  .hero-copy h1 { font-size: clamp(38px, 11vw, 56px); }
  .eyebrow { margin-bottom: 16px; font-size: 10.5px; }
  .lede { margin-top: 14px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn { flex: 1 1 auto; --h: 50px; padding: 0 18px; }
  .hero-proof { display: none; }
  .stage { padding: 22px 22px 24px; }
  .stage h2 { font-size: 32px; margin-top: 8px; }
  .stage p { margin-top: 10px; font-size: 15px; }
  .finale { bottom: 48px; }
  .finale h2 { font-size: 44px; }
  .rail { top: 92px; transform: none; flex-direction: row; left: var(--gutter); right: var(--gutter); gap: 6px; }
  .rail li { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); }
  .rail li::after, .rail li::before, .rail li span { display: none; }
  .rail li.done, .rail li.on { background: var(--brand); }
  .rail li.on { background: var(--accent); }
  .hud, .scroll-hint { display: none; }

  .stats { grid-template-columns: repeat(2, 1fr); padding-block: 60px; row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding: 0 20px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .card, .card-xl, .card-tall { grid-column: auto; grid-row: auto; }
  .card-xl { grid-row: span 1; min-height: 380px; }
  .services, .claims, .work, .contact { padding-block: 90px; }
  .reviews { padding-block: 60px 90px; }
  .work-nav { display: none; }
  .strip figure:nth-child(even) { margin-top: 0; }
  .strip figure { width: 76vw; }
  .review-grid { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .stars, .dot { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
