/* ============================================================
   Carba Home Improvement — design tokens + global styles
   Type:  Space Grotesk (display) · Manrope (body) · JetBrains Mono (labels)
   Color: ink / grays / gold accent
   ============================================================ */

:root {
  /* neutrals — slightly cool grays */
  --ink:        #101113;
  --ink-soft:   #1a1c1f;
  --ink-2:      #2a2d31;
  --paper:      #ffffff;
  --mist:       #f5f6f7;
  --mist-2:     #eceef1;
  --line:       #e4e6e9;
  --line-strong:#d4d7db;
  --slate:      #6b7077;
  --slate-2:    #9a9fa6;

  /* accent — gold (swappable via Tweaks) */
  --accent:      #c4a24c;
  --accent-deep: #8a6c21;
  --accent-ink:  #2a2106;
  --accent-soft: rgba(196,162,76,0.12);
  --accent-line: rgba(196,162,76,0.40);

  --radius:  14px;
  --radius-s: 9px;
  --radius-l: 22px;

  --ff-display: "Space Grotesk", system-ui, sans-serif;
  --ff-body:    "Manrope", system-ui, sans-serif;
  --ff-mono:    "JetBrains Mono", ui-monospace, monospace;

  --shadow-sm: 0 1px 2px rgba(16,17,19,.05), 0 2px 8px rgba(16,17,19,.04);
  --shadow-md: 0 6px 24px rgba(16,17,19,.08), 0 2px 6px rgba(16,17,19,.05);
  --shadow-lg: 0 30px 70px rgba(16,17,19,.18), 0 8px 24px rgba(16,17,19,.10);

  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* mono eyebrow label */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1.5px;
  background: var(--accent);
}
.eyebrow.no-dash::before { display: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--ink-soft); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-gold {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-gold:hover { box-shadow: 0 8px 24px var(--accent-soft); transform: translateY(-1px); filter: brightness(1.04); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
  padding: 12px 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.brand .mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--ink);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}
.brand .mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 48%, var(--accent) 48% 52%, transparent 52%);
}
.brand .mark::after {
  content: "";
  width: 11px; height: 11px;
  border: 2px solid var(--paper);
  border-bottom: none; border-right: none;
  transform: translateY(2px) rotate(45deg);
  z-index: 1;
}
.brand small {
  display: block;
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--slate);
  margin-top: -3px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: var(--accent-deep); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-call { display: none; }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-schedule { display: none; }
  .nav-call { display: inline-flex; }
}

/* ---------- placeholder image ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      rgba(16,17,19,.045) 0 2px,
      transparent 2px 11px),
    var(--mist);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ph .ph-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--slate);
  background: rgba(255,255,255,.78);
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 168px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% -10%, var(--accent-soft) 0%, transparent 55%),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.hero h1 {
  font-size: clamp(40px, 6.6vw, 84px);
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.hero h1 .gold { color: var(--accent-deep); }
.hero-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--slate);
  max-width: 46ch;
  margin-top: 26px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 54px;
  flex-wrap: wrap;
}
.hero-stat .n {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -0.03em;
}
.hero-stat .l {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--slate);
  text-transform: uppercase;
  margin-top: 2px;
}
.hero-scrollcue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.hero-scrollcue .line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scrollcue .line::after {
  content:"";
  position:absolute; top:-12px; left:0;
  width:1px; height:12px; background: var(--accent);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%{top:-12px} 70%,100%{top:34px} }

/* ============================================================
   IMMERSIVE ROOM WALKTHROUGH  (first-person, scroll-driven camera)
   ============================================================ */
.world { position: relative; }
.world-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 38%, #0d0f13 0%, #050608 72%);
}

/* top progress */
.world-progress {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; z-index: 6;
  background: rgba(255,255,255,.08);
}
.world-progress i {
  display: block; height: 100%;
  background: var(--accent);
  transform-origin: left; transform: scaleX(0);
}

/* ============================================================
   FULL-SCREEN HOLOGRAPHIC ROOM TURN
   ============================================================ */
.holo {
  position: absolute; inset: 0;
  perspective: var(--fov, 1500px);
  perspective-origin: 50% 50%;
  z-index: 1;
}
.holo-stack { position: absolute; inset: 0; transform-style: preserve-3d; }

.holo-slide {
  position: absolute; inset: 0;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  overflow: hidden;
  will-change: transform, opacity, filter;
  /* transform / opacity / filter / z-index driven by JS */
}
.holo-ph {           /* placeholder shown if a photo fails */
  position: absolute; inset: 0; z-index: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 16px),
    color-mix(in oklab, var(--wamb, #cdcdcd) 42%, #1b1d22);
  display: grid; place-items: center;
}
.holo-ph .ph-label {
  font-family: var(--ff-mono); font-size: 13px;
  background: rgba(255,255,255,.82); color: var(--slate);
  padding: 6px 12px; border-radius: 7px;
}
.holo-img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: holoFloat 11s ease-in-out infinite;
}
@keyframes holoFloat {
  0%,100% { transform: scale(1.07) translate3d(0,0,0); }
  50%     { transform: scale(1.12) translate3d(-1.4%, -1.1%, 0); }
}
.holo-tint {         /* per-room color grade */
  position: absolute; inset: 0; z-index: 2;
  mix-blend-mode: soft-light; opacity: .6; pointer-events: none;
}
.holo-slide::after { /* cinematic framing per room */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(135% 95% at 50% 44%, transparent 52%, rgba(4,5,7,.7) 100%),
    linear-gradient(180deg, rgba(4,5,7,.36), transparent 20% 70%, rgba(4,5,7,.66));
}

/* ---- global holographic overlays (inherit --turn / --sweepx / --amb from sticky) ---- */
.holo-scan {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(180,220,255,.035) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay; opacity: .55;
}
.holo-edge {         /* accent hologram edge glow */
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow:
    inset 0 0 0 1px color-mix(in oklab, var(--accent) 30%, transparent),
    inset 0 0 90px color-mix(in oklab, var(--accent) 26%, transparent);
  opacity: calc(.25 + var(--turn, 0) * .5);
}
.holo-bloom {        /* light bloom that flares at mid-turn */
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(58% 58% at 50% 48%, color-mix(in oklab, var(--amb, #fff) 65%, #fff), transparent 72%);
  mix-blend-mode: screen;
  opacity: calc(var(--turn, 0) * .4);
}
.holo-sweep {        /* light sweep that crosses during the turn */
  position: absolute; inset: -25%; z-index: 4; pointer-events: none;
  background: linear-gradient(102deg,
    transparent 40%,
    color-mix(in oklab, var(--accent) 60%, #fff) 48%,
    rgba(255,255,255,.92) 50%,
    color-mix(in oklab, var(--accent) 60%, #fff) 52%,
    transparent 60%);
  mix-blend-mode: screen;
  filter: blur(3px);
  opacity: calc(var(--turn, 0) * .8);
  transform: translateX(calc((var(--sweepx, 50) - 50) * 2.6%));
}

/* edge darkening */
.vignette {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(125% 80% at 50% 46%, transparent 60%, rgba(3,4,6,.5) 100%);
}

/* ---------- HUD ---------- */
.hud {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  display: flex; align-items: flex-end;
}
.hud-copy {
  position: relative;
  margin: 0 0 8vh 6vw;
  width: min(440px, 78vw);
  min-height: 360px;
  pointer-events: auto;
  color: #fff;
  padding: 30px 32px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(18,19,22,.78), rgba(18,19,22,.62));
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.room-panel {
  position: absolute; inset: 30px 32px;
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.room-panel.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.room-panel.below  { opacity: 0; transform: translateY(26px); }
.room-panel.above  { opacity: 0; transform: translateY(-26px); }
.house-roomnum {
  font-family: var(--ff-mono); font-size: 12px;
  letter-spacing: .1em; color: var(--accent);
  display: flex; align-items: baseline; gap: 9px; text-transform: uppercase;
}
.house-roomnum b { font-family: var(--ff-display); font-size: 14px; color: #fff; }
.hud-copy h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 12px 0 0; color: #fff; }
.hud-copy .tag { color: rgba(255,255,255,.7); font-size: 15.5px; margin-top: 12px; max-width: 36ch; }
.house-checklist { margin-top: 20px; display: grid; gap: 9px; }
.house-checklist li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: rgba(255,255,255,.9); }
.house-checklist .tick {
  flex: none; width: 20px; height: 20px; border-radius: 6px; margin-top: 1px;
  background: rgba(196,162,76,.18); border: 1px solid var(--accent-line);
  display: grid; place-items: center;
}
.house-checklist .tick svg { width: 11px; height: 11px; stroke: var(--accent); }

/* right room nav */
.world-nav {
  position: absolute; right: 4vw; top: 50%; transform: translateY(-50%);
  z-index: 5; display: flex; flex-direction: column; gap: 4px;
}
.world-nav button {
  pointer-events: auto; cursor: pointer;
  background: none; border: none; padding: 9px 0;
  display: flex; align-items: center; gap: 12px;
  justify-content: flex-end;
  color: rgba(255,255,255,.5);
  transition: color .25s; text-align: right;
}
.world-nav button .wn-i { font-family: var(--ff-mono); font-size: 11px; opacity: .7; }
.world-nav button .wn-n { font-family: var(--ff-display); font-weight: 600; font-size: 14px; opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; }
.world-nav button .wn-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; transition: background .25s, transform .25s; }
.world-nav button:hover { color: rgba(255,255,255,.85); }
.world-nav button:hover .wn-n { opacity: .85; transform: translateX(0); }
.world-nav button.on { color: var(--accent); }
.world-nav button.on .wn-n { opacity: 1; transform: translateX(0); }
.world-nav button.on .wn-dot { background: var(--accent); transform: scale(1.25); }

/* walk hint */
.walk-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 5; color: rgba(255,255,255,.75);
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: opacity .4s, transform .4s;
}
.walk-hint.gone { opacity: 0; transform: translate(-50%, 14px); pointer-events: none; }
.walk-hint .wh-arrow { animation: whb 1.7s ease-in-out infinite; }
@keyframes whb { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (max-width: 760px) {
  .holo { perspective: 1050px; }
  .hud-copy { margin: 0 0 4vh 5vw; width: 86vw; min-height: 320px; padding: 22px 22px; }
  .room-panel { inset: 22px; }
  .world-nav { right: 4vw; }
  .world-nav button .wn-n { display: none; }
}

/* ============================================================
   GENERIC SECTION
   ============================================================ */
.section { padding: 110px 0; }
.section.alt { background: var(--mist); }
.section.ink {
  background: var(--ink);
  color: #f3f3f4;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 54px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 50px);
  margin-top: 16px;
  max-width: 18ch;
}
.section-head p {
  color: var(--slate);
  max-width: 40ch;
  font-size: 16px;
}
.section.ink .section-head p { color: var(--slate-2); }
.section.ink .eyebrow { color: var(--accent); }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.about-copy p + p { margin-top: 18px; }
.about-copy .lead {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 22px;
}
.about-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  display: block;
}
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.team .member .ph { aspect-ratio: 1; border-radius: var(--radius); }
.team .member .nm { font-family: var(--ff-display); font-weight:600; font-size: 15px; margin-top: 12px; }
.team .member .rl { font-family: var(--ff-mono); font-size: 11px; color: var(--slate); letter-spacing:.04em; }
.about-badges { display:flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.about-badge { display:flex; flex-direction:column; }
.about-badge .n { font-family: var(--ff-display); font-weight:600; font-size: 30px; color: var(--accent-deep); }
.about-badge .l { font-size: 13px; color: var(--slate); }

/* ---------- founder / owner spotlight ---------- */
.founder { background: var(--mist); overflow: hidden; }
.founder-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
  align-items: center;
}
.founder-photo-wrap { position: relative; }
.founder-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.founder-sig {
  position: absolute;
  left: -14px; bottom: -18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.founder-sig .nm { font-family: var(--ff-display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.founder-sig .rl { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.founder-copy .lead {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 18px 0 22px;
}
.founder-copy p + p { margin-top: 16px; }
.founder-copy .body { color: var(--slate); font-size: 16.5px; }
.founder-exp { margin-top: 30px; }
.founder-exp .lbl {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 13px;
}
.founder-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.founder-chips span {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink-2);
}
.founder-travel {
  display: flex; align-items: flex-start; gap: 13px;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
.founder-travel svg { flex: none; width: 22px; height: 22px; stroke: var(--accent-deep); margin-top: 1px; }
.founder-contact {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 30px;
}
.founder-contact a {
  flex: 1 1 240px;
  display: flex; align-items: center; gap: 13px;
  padding: 14px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  transition: border-color .2s, transform .18s ease, box-shadow .2s;
}
.founder-contact a:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.founder-contact .ic {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
}
.founder-contact .ic svg { width: 17px; height: 17px; stroke: currentColor; fill: none; }
.founder-contact a > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.founder-contact .ct-l { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.founder-contact .ct-v { font-family: var(--ff-display); font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; color: var(--ink); word-break: break-word; }

@media (max-width: 980px) {
  .founder-grid { grid-template-columns: 1fr; gap: 48px; }
  .founder-photo { aspect-ratio: 16/12; }
}

/* ---------- process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.process-step {
  padding: 34px 26px 30px 0;
  border-right: 1px solid rgba(255,255,255,.14);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-step .pn {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .12em;
}
.process-step h3 { font-size: 23px; margin: 26px 0 12px; color:#fff; }
.process-step p { color: var(--slate-2); font-size: 14.5px; }
.process-step .bar { position:absolute; top:-1px; left:0; width: 40px; height: 2px; background: var(--accent); }

/* ---------- technology / drone ---------- */
.tech-stage {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--ink-2);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 16px),
    radial-gradient(120% 120% at 50% 0%, #1c2026 0%, #0c0e11 70%);
  box-shadow: var(--shadow-lg);
}
.tech-stage .ph-label {
  position: absolute; left: 50%; top: 68%; transform: translate(-50%,-50%);
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .06em;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  padding: 6px 12px; border-radius: 7px;
}
.tech-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(196,162,76,.07) 1px, transparent 1px) 0 0 / 100% 11.11%,
    linear-gradient(90deg, rgba(196,162,76,.07) 1px, transparent 1px) 0 0 / 6.25% 100%;
  mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 90%);
}
.tech-reticle {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 138px; height: 138px; pointer-events: none;
}
.tech-reticle::before, .tech-reticle::after {
  content: ""; position: absolute; inset: 0;
}
.tech-reticle::before {
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  clip-path: polygon(0 0,28% 0,28% 6%,6% 6%,6% 28%,0 28%, 0 72%,6% 72%,6% 94%,28% 94%,28% 100%,0 100%, 100% 100%,72% 100%,72% 94%,94% 94%,94% 72%,100% 72%, 100% 28%,94% 28%,94% 6%,72% 6%,72% 0,100% 0);
  opacity: .9;
}
.tech-reticle .cross-h, .tech-reticle .cross-v {
  position: absolute; background: var(--accent); opacity: .55;
}
.tech-reticle .cross-h { left: 42%; right: 42%; top: 50%; height: 1px; }
.tech-reticle .cross-v { top: 42%; bottom: 42%; left: 50%; width: 1px; }
.tech-readout {
  position: absolute; bottom: 16px; left: 18px; right: 18px;
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .06em;
  color: rgba(255,255,255,.55); pointer-events: none; flex-wrap: wrap;
}
.tech-readout .rec { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); }
.tech-readout .rec .blip { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: techBlip 1.6s ease-in-out infinite; }
@keyframes techBlip { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.tech-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 30%;
  background: linear-gradient(180deg, transparent, rgba(196,162,76,.16) 70%, rgba(196,162,76,.4));
  border-bottom: 1px solid rgba(196,162,76,.55);
  pointer-events: none;
  animation: techScan 5.5s linear infinite;
}
@keyframes techScan { 0% { transform: translateY(-100%); } 100% { transform: translateY(333%); } }
.tech-feats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 44px; border-top: 1px solid var(--line);
}
.tech-feat { padding: 30px 28px 6px 0; border-right: 1px solid var(--line); position: relative; }
.tech-feat:last-child { border-right: none; padding-right: 0; }
.tech-feat .bar { position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--accent); }
.tech-feat .fn { font-family: var(--ff-mono); font-size: 12px; color: var(--accent-deep); letter-spacing: .12em; }
.tech-feat h3 { font-size: 21px; margin: 22px 0 11px; }
.tech-feat p { color: var(--slate); font-size: 14.5px; }

@media (max-width: 760px) {
  .tech-feats { grid-template-columns: 1fr; }
  .tech-feat { border-right: none; border-bottom: 1px solid var(--line); padding: 26px 0; }
  .tech-feat:last-child { border-bottom: none; }
  .tech-readout { font-size: 10px; }
}

/* ---------- testimonials ---------- */
.tcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.tcard .stars { display:flex; gap: 3px; color: var(--accent); margin-bottom: 18px; }
.tcard .stars svg { width: 16px; height: 16px; }
.tcard blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  flex: 1;
}
.tcard .who { display:flex; align-items:center; gap: 13px; margin-top: 24px; }
.tcard .who .av { width: 42px; height: 42px; border-radius: 50%; flex:none; }
.tcard .who .nm { font-family: var(--ff-display); font-weight:600; font-size: 15px; }
.tcard .who .mt { font-family: var(--ff-mono); font-size: 11px; color: var(--slate); }

/* ---------- service map ---------- */
.map-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
}
.map-towns { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.map-chip {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink-2);
}
.map-chip.hq { background: var(--ink); color:#fff; border-color: var(--ink); }
.map-stage {
  position: relative;
  aspect-ratio: 16/11;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 60% at 55% 45%, var(--accent-soft), transparent 70%),
    linear-gradient(180deg, #fbfbfc, var(--mist));
}
.map-stage .roads { position:absolute; inset:0; }
.map-pin {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  transform: translate(-50%,-50%);
}
.map-pin.hq {
  width: 22px; height: 22px;
  background: var(--ink);
  z-index: 2;
}
.map-radius {
  position: absolute;
  left: 50%; top: 47%;
  width: 56%; aspect-ratio: 1;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1.5px dashed var(--accent-line);
  background: var(--accent-soft);
}
.map-radius.r2 { width: 34%; opacity:.7; }

/* ---------- CTA / quote ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.quote-copy h2 { font-size: clamp(32px, 4.2vw, 56px); }
.quote-copy .big-phone {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
}
.quote-points { margin-top: 28px; display: grid; gap: 12px; }
.quote-points li { display:flex; gap: 11px; align-items:center; color: var(--slate-2); font-size: 15.5px; }
.quote-points .dot { width:6px;height:6px;border-radius:50%;background:var(--accent);flex:none; }

.form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-l);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
}
.field input, .field select, .field textarea {
  font-family: var(--ff-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--mist);
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 92px; }
.field .err { color: #c0392b; font-size: 12px; font-family: var(--ff-mono); display:none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .err { display: block; }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-success {
  text-align: center;
  padding: 30px 10px;
}
.form-success .ic {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-soft); border:1px solid var(--accent-line);
  display: grid; place-items:center; margin: 0 auto 18px;
}
.form-success .ic svg { width: 26px; height:26px; stroke: var(--accent-deep); }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: var(--slate-2);
  padding: 70px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer .brand { color: #fff; }
.footer .brand small { color: var(--slate-2); }
.footer .f-blurb { margin-top: 18px; max-width: 32ch; font-size: 14.5px; line-height: 1.6; }
.footer h5 { font-family: var(--ff-mono); font-size: 11px; letter-spacing:.12em; text-transform:uppercase; color: var(--slate); margin: 0 0 16px; }
.footer ul { display: grid; gap: 11px; }
.footer ul a { font-size: 14.5px; color: var(--slate-2); transition: color .2s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 50px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--ff-mono); font-size: 12px; color: var(--slate);
  flex-wrap: wrap;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .house-inner { grid-template-columns: 1fr; gap: 8px; }
  .house-copy { min-height: 300px; order: 2; }
  .house-stage { height: 42vh; order: 1; }
  .about-grid, .map-grid, .quote-grid { grid-template-columns: 1fr; gap: 36px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,.14); padding: 28px 0; }
  .tcards { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container, .house-inner { padding: 0 20px; }
  .section { padding: 72px 0; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 70px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene, .plan { transition: none; }
  .hero-scrollcue .line::after { animation: none; }
}

/* ---------- live Google rating badge (testimonials) ---------- */
.gbadge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px; padding: 10px 18px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--shadow-sm);
}
.gbadge-g {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line);
  font-family: var(--ff-display); font-weight: 700; font-size: 15px;
  color: #4285F4;
}
.gbadge-rating { font-family: var(--ff-display); font-weight: 700; font-size: 17px; }
.gbadge-stars  { color: #fbbc04; font-size: 14px; letter-spacing: 2px; }
.gbadge-count  { color: var(--slate); font-size: 13.5px; }

/* ---------- sticky mobile call bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    display: flex; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transition: transform .25s ease, opacity .25s ease;
  }
  .mobile-cta.gone { transform: translateY(110%); opacity: 0; pointer-events: none; }
  .mobile-cta .btn { flex: 1; justify-content: center; padding: 13px 10px; }
  /* keep the footer readable above the bar */
  .footer { padding-bottom: 96px; }
}
