/* ==========================================================================
   GlossWorks — detailing studio
   Carbon black, graphite and an ice-cyan accent that reads as clear film
   under studio lights. Expanded Archivo for headlines, mono for specs.
   ========================================================================== */

:root {
  --bg: #07080A;
  --bg-2: #0C0E11;
  --panel: #111418;
  --panel-2: #171B20;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #F2F4F7;
  --text-2: #AEB5C0;
  --muted: #6F7784;
  --accent: #6FE3FF;
  --accent-2: #B8F3FF;
  --accent-deep: #1BA9D6;
  --ok: #7CF0B5;
  --danger: #FF7A7A;
  --wa: #25D366;

  --display: 'Archivo', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 72px;
  --r: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html:has(body.is-loading) { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
img { 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; }
[hidden] { display: none !important; }
em { font-style: normal; color: var(--accent); }
.nowrap { white-space: nowrap; }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.btn {
  --h: 52px; position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: var(--r);
  font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn--accent { background: var(--accent); color: #031016; }
.btn--accent::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%);
  transition: transform 0.8s var(--ease);
}
.btn--accent:hover::after { transform: translateX(120%); }
.btn--accent:hover { background: var(--accent-2); }
.btn--accent:disabled { opacity: 0.35; cursor: not-allowed; }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(7, 8, 10, 0.35); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 11.5px; }
.btn--lg { --h: 60px; padding: 0 34px; font-size: 14px; }
.btn--block { width: 100%; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; transition: border-color 0.3s, transform 0.4s var(--ease); }
.icon-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.icon-btn:hover { border-color: var(--accent); transform: rotate(90deg); }

/* Preloader */
.preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--bg); transition: opacity 0.9s var(--ease), visibility 0.9s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__brand { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 300; font-size: 34px; letter-spacing: 0.2em; }
.preloader__brand span { font-weight: 800; }
.preloader__bar { width: 240px; height: 1px; background: var(--line-2); }
.preloader__bar i { display: block; height: 100%; background: var(--accent); box-shadow: 0 0 12px var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 0.3s var(--ease); }
.preloader__pct { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); }

/* Nav */
.nav {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background 0.5s, border-color 0.5s, backdrop-filter 0.5s;
}
.nav::before { content: ''; position: absolute; inset: 0 0 -30px; z-index: -1; background: linear-gradient(rgba(7, 8, 10, 0.7), transparent); pointer-events: none; transition: opacity 0.5s; }
.nav--solid { background: rgba(7, 8, 10, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav--solid::before { opacity: 0; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-stretch: 125%; font-weight: 300; font-size: 18px; letter-spacing: 0.16em; }
.logo b { font-weight: 800; }
.logo__mark { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); transition: color 0.3s; }
.nav__links a:hover { color: var(--accent); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.nav__phone:hover { color: var(--accent); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; height: 600vh; background: #000; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.85) 0%, rgba(7, 8, 10, 0.35) 45%, transparent 70%),
    linear-gradient(0deg, rgba(7, 8, 10, 0.9) 0%, transparent 35%);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 30% 60%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 60%, #000 10%, transparent 70%);
}
.chapter { position: absolute; z-index: 2; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.chapter--intro { left: var(--gutter); bottom: clamp(40px, 11vh, 120px); max-width: 760px; padding-right: var(--gutter); }
.hero__title {
  margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(42px, min(8vw, 12vh), 128px); line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase;
}
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--accent-2); text-shadow: 0 0 40px rgba(111, 227, 255, 0.35); }
.hero__lede { margin: 26px 0 0; max-width: 470px; color: var(--text-2); font-size: 16px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.chapter--hud { top: 50%; margin-top: -130px; width: min(440px, calc(100vw - 2 * var(--gutter))); padding: 26px 28px; background: rgba(12, 14, 17, 0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); }
.chapter--hud::before, .chapter--hud::after { content: ''; position: absolute; width: 16px; height: 16px; border: 1.5px solid var(--accent); }
.chapter--hud::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.chapter--hud::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.chapter--left { left: var(--gutter); }
.chapter--right { right: var(--gutter); }
.hud__tag { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--accent); }
.chapter--hud h2 { margin: 0; font-family: var(--display); font-stretch: 115%; font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; text-transform: uppercase; }
.hud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 22px 0 0; background: var(--line); border: 1px solid var(--line); }
.hud div { padding: 12px; background: var(--bg-2); }
.hud dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hud dd { margin: 4px 0 0; font-family: var(--display); font-stretch: 115%; font-weight: 700; font-size: 20px; color: var(--accent-2); }
.chapter--final { left: 0; right: 0; bottom: clamp(50px, 12vh, 130px); display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; padding: 0 var(--gutter); }
.hero__final { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(36px, min(6vw, 9vh), 92px); line-height: 0.95; text-transform: uppercase; }

.gloss { position: absolute; z-index: 3; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 10px; }
.gloss__label, .gloss__val { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--muted); }
.gloss__val b { color: var(--accent); font-weight: 500; font-size: 13px; }
.gloss__bar { position: relative; width: 3px; height: 180px; background: var(--line-2); }
.gloss__bar i { position: absolute; inset: 0; background: linear-gradient(to top, var(--accent-deep), var(--accent-2)); box-shadow: 0 0 14px var(--accent); transform-origin: bottom; transform: scaleY(0.1); }
body:has(.chapter--right.is-live) .gloss { opacity: 0.25; }
.hero__hint { position: absolute; z-index: 3; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-2); }
.hero__hint i { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { opacity: 0; } }

/* Brands */
.brands { display: flex; align-items: center; gap: 30px; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 0 0 0 var(--gutter); }
.brands__label { flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.brands__track { display: flex; width: max-content; animation: slide 30s linear infinite; mask-image: linear-gradient(90deg, transparent, #000 8%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%); }
.brands__track span { padding: 24px 34px; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 22px; letter-spacing: 0.08em; color: #4A515C; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 150px) var(--gutter) 0; scroll-margin-top: var(--nav-h); }
.section__head { margin-bottom: 48px; }
.section__title { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(34px, 4.8vw, 70px); line-height: 0.95; letter-spacing: -0.015em; text-transform: uppercase; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.reveal.is-in-view { opacity: 1; transform: none; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc { display: flex; flex-direction: column; background: var(--bg); position: relative; overflow: hidden; }
.svc__media { aspect-ratio: 16 / 10; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4) brightness(0.8); transition: transform 1.2s var(--ease), filter 0.8s; }
.svc:hover .svc__media img { transform: scale(1.06); filter: none; }
.svc__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 24px; }
.svc__tag { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.14em; }
.svc h3 { margin: 10px 0 10px; font-family: var(--display); font-stretch: 115%; font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.svc p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.svc ul { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 6px; }
.svc li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--text-2); }
.svc li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 1px; background: var(--accent); }
.svc__foot { margin-top: auto; display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.svc__foot b { color: var(--text); font-weight: 500; }
.svc::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--accent); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.svc:hover::after { opacity: 0.5; }

/* Before / after */
.ba { position: relative; aspect-ratio: 16 / 8; overflow: hidden; border: 1px solid var(--line-2); user-select: none; }
.ba__img { position: absolute; inset: 0; background: url('../assets/img/red-studio.webp') center 62% / cover no-repeat; }
.ba__img--before { filter: saturate(0.3) brightness(0.6) contrast(0.72) sepia(0.2) blur(0.4px); }
.ba__swirls {
  position: absolute; inset: 0; mix-blend-mode: screen; opacity: 0.9;
  background:
    repeating-radial-gradient(circle at 30% 42%, transparent 0 5px, rgba(255, 255, 255, 0.22) 5px 6px, transparent 6px 11px),
    repeating-radial-gradient(circle at 68% 36%, transparent 0 7px, rgba(255, 255, 255, 0.18) 7px 8px, transparent 8px 14px),
    radial-gradient(ellipse at 50% 40%, rgba(210, 200, 180, 0.28), transparent 70%),
    linear-gradient(180deg, rgba(200, 190, 170, 0.22), rgba(120, 110, 100, 0.3));
  -webkit-mask-image: linear-gradient(180deg, #000 0 58%, transparent 72%);
  mask-image: linear-gradient(180deg, #000 0 58%, transparent 72%);
}
.ba__tag { position: absolute; top: 18px; z-index: 2; padding: 7px 12px; background: rgba(7, 8, 10, 0.7); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.ba__tag--before { left: 18px; }
.ba__tag--after { right: 18px; color: var(--accent); border-color: rgba(111, 227, 255, 0.4); }
.ba__handle { position: absolute; top: 0; bottom: 0; z-index: 2; width: 2px; margin-left: -1px; background: var(--accent); box-shadow: 0 0 20px var(--accent); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #031016; font-size: 18px; font-weight: 700; }
.ba input { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 1px; border: 1px solid var(--line); border-top: 0; }
.stat { padding: 28px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; color: var(--text); }
.stat span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   Quote builder
   ========================================================================== */
.builder { display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.viz { position: sticky; top: calc(var(--nav-h) + 24px); }
.viz__frame {
  position: relative; padding: 28px 24px 22px; border: 1px solid var(--line-2);
  background: radial-gradient(ellipse at 50% 45%, rgba(111, 227, 255, 0.08), transparent 60%), var(--bg-2);
}
.viz__frame::before { content: 'COVERAGE MAP'; position: absolute; top: 12px; left: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--muted); }
.car { display: block; width: 100%; max-width: 250px; height: auto; margin: 10px auto 0; overflow: visible; }
.car .wheel rect { fill: #1B1F25; stroke: #2A3038; }
.car .panel { fill: #1A1E24; stroke: #3A414B; stroke-width: 1; transition: fill 0.45s var(--ease), stroke 0.45s var(--ease), filter 0.45s; }
.car .panel--light { fill: #262B33; }
.car .panel.on { fill: rgba(111, 227, 255, 0.28); stroke: var(--accent); filter: drop-shadow(0 0 4px rgba(111, 227, 255, 0.55)); }
.car .glass { fill: #0B1015; stroke: #2F3640; transition: fill 0.5s; }
.car.is-tinted .glass { fill: #020304; }
.car .glass.is-filmed { stroke: var(--accent); fill: rgba(111, 227, 255, 0.12); }
.car .sheen { opacity: 0; pointer-events: none; transform-box: fill-box; }
.car.is-coated .sheen { opacity: 1; animation: sheen 3.2s var(--ease) infinite; }
@keyframes sheen { 0% { transform: translate(-60%, -60%); } 60%, 100% { transform: translate(60%, 60%); } }
.viz__legend { display: flex; justify-content: center; gap: 18px; margin-top: 18px; font-family: var(--mono); font-size: 11px; color: var(--text-2); }
.viz__legend span { display: flex; align-items: center; gap: 7px; }
.sw { width: 12px; height: 12px; border: 1px solid; display: inline-block; }
.sw--film { background: rgba(111, 227, 255, 0.3); border-color: var(--accent); }
.sw--paint { background: #1A1E24; border-color: #3A414B; }
.sw--coat { background: linear-gradient(135deg, #1A1E24 40%, #fff 50%, #1A1E24 60%); border-color: #fff; }
.viz__note { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--muted); min-height: 2.6em; }

.steps { display: grid; gap: 30px; }
.step { margin: 0; padding: 0; border: 0; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 0; font-family: var(--display); font-stretch: 115%; font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.step legend span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); font-family: var(--mono); font-size: 12px; }
.options { display: grid; gap: 8px; }
.options--4 { grid-template-columns: repeat(4, 1fr); }
.options--3 { grid-template-columns: repeat(3, 1fr); }
.options--list { grid-template-columns: 1fr; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__card {
  display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 14px 16px;
  background: var(--panel); border: 1px solid var(--line); transition: border-color 0.25s, background 0.25s;
}
.options--list .opt__card { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; }
.options--list .opt__card small { grid-column: 1; }
.options--list .opt__price { grid-column: 2; grid-row: 1 / span 2; }
.opt__card b { font-weight: 600; font-size: 14.5px; }
.opt__card small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.opt__price { font-family: var(--mono); font-style: normal; font-size: 12.5px; color: var(--text-2); }
.opt:hover .opt__card { border-color: var(--line-2); }
.opt input:checked + .opt__card { border-color: var(--accent); background: linear-gradient(135deg, rgba(111, 227, 255, 0.1), transparent 70%), var(--panel); }
.opt input:checked + .opt__card .opt__price { color: var(--accent); }
.opt input:focus-visible + .opt__card { outline: 1px solid var(--accent); outline-offset: 2px; }
.addons { display: grid; gap: 8px; }
.addon { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 14px; padding: 13px 16px; background: var(--panel); border: 1px solid var(--line); cursor: pointer; transition: border-color 0.25s; }
.addon:hover { border-color: var(--line-2); }
.addon input { position: absolute; opacity: 0; pointer-events: none; }
.addon__box { width: 20px; height: 20px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all 0.25s; }
.addon input:checked ~ .addon__box { background: var(--accent); border-color: var(--accent); }
.addon input:checked ~ .addon__box::after { content: ''; width: 10px; height: 5px; border: solid #031016; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.addon input:checked ~ .opt__price { color: var(--accent); }
.addon:has(input:checked) { border-color: rgba(111, 227, 255, 0.5); }
.addon input:focus-visible ~ .addon__box { outline: 1px solid var(--accent); outline-offset: 2px; }
.addon__label { font-size: 14px; }

.summary {
  position: sticky; bottom: 16px; z-index: 20; margin-top: 36px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 18px 20px 18px 26px;
  background: rgba(17, 20, 24, 0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(111, 227, 255, 0.35); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(111, 227, 255, 0.05) inset;
}
.summary__main { display: grid; flex: 1; min-width: 200px; }
.summary__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.summary__price { font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.summary__meta { font-size: 13px; color: var(--text-2); }
.summary__save { padding: 8px 12px; border: 1px solid rgba(124, 240, 181, 0.4); color: var(--ok); font-family: var(--mono); font-size: 12px; }
.quote__fine { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }

/* Process */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.timeline li { padding: 30px 28px 34px; background: var(--bg); position: relative; }
.timeline span { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.timeline h3 { margin: 14px 0 8px; font-family: var(--display); font-stretch: 120%; font-weight: 700; font-size: 24px; text-transform: uppercase; }
.timeline p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.timeline li::after { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--accent); transition: width 1.2s var(--ease) 0.3s; }
.timeline li.is-in-view::after { width: 40px; }

/* Gallery */
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 10px; }
.shot { position: relative; margin: 0; overflow: hidden; background: var(--panel); }
.shot--tall { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; filter: brightness(0.85); }
.shot:hover img { transform: scale(1.05); filter: brightness(1); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; display: grid; background: linear-gradient(transparent, rgba(7, 8, 10, 0.9)); transform: translateY(8px); opacity: 0.9; transition: transform 0.5s var(--ease), opacity 0.5s; }
.shot:hover figcaption { transform: none; opacity: 1; }
.shot b { font-family: var(--display); font-stretch: 115%; font-weight: 700; font-size: 15px; text-transform: uppercase; }
.shot span { font-family: var(--mono); font-size: 11px; color: var(--accent); }

/* Visit */
.visit { margin-top: clamp(80px, 10vw, 150px); position: relative; overflow: hidden; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 80% 100%, rgba(111, 227, 255, 0.12), transparent 60%), var(--bg-2); }
.visit__inner { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter); }
.visit__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 40px 0 0; max-width: 900px; background: var(--line); border: 1px solid var(--line); }
.visit__info div { padding: 18px 20px; background: var(--bg-2); }
.visit__info dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.visit__info dd { margin: 6px 0 0; }
.visit__info a:hover { color: var(--accent); }

.footer { padding: 40px var(--gutter) 110px; display: grid; justify-items: center; gap: 10px; text-align: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer p { margin: 0; }
.footer__small { font-size: 12px; opacity: 0.7; }

.fab-wa { position: fixed; z-index: 35; right: 20px; bottom: 20px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transition: transform 0.4s var(--ease); }
.fab-wa svg { width: 28px; height: 28px; fill: currentColor; }
.fab-wa:hover { transform: scale(1.08); }
body.in-hero .fab-wa { transform: scale(0); }

/* Booking dialog */
.book {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 30px; overflow-y: auto;
  background: var(--bg-2); color: var(--text); border: 1px solid rgba(111, 227, 255, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.book[open] { animation: rise 0.5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.book::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); }
.book__close { position: absolute; top: 16px; right: 16px; margin: 0; }
.book h2 { margin: 0 0 18px; font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; }
.book__summary { list-style: none; margin: 0 0 22px; padding: 0; border: 1px solid var(--line); }
.book__summary li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.book__summary li:first-child { border-top: 0; }
.book__summary b { font-family: var(--mono); font-weight: 500; color: var(--text); white-space: nowrap; }
.book__summary .is-save b { color: var(--ok); }
.book__summary .is-total { background: rgba(111, 227, 255, 0.07); color: var(--text); }
.book__summary .is-total b { color: var(--accent); font-size: 15px; }
#bookingForm { display: grid; gap: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { width: 100%; height: 46px; padding: 0 14px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); outline: none; color-scheme: dark; transition: border-color 0.25s; }
.field input:focus, .field select:focus { border-color: var(--accent); }
.field.is-error input { border-color: var(--danger); }
.book__fine { margin: 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.book__done { display: grid; gap: 14px; text-align: center; justify-items: center; padding: 10px 0; }
.book__done p { margin: 0; color: var(--text-2); }
.book__done b { color: var(--accent); font-weight: 600; }
.done__mark { width: 64px; height: 64px; fill: none; stroke: var(--accent); stroke-width: 1.5; }
.done__mark circle { stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw 1s var(--ease) forwards; }
.done__mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.6s var(--ease) 0.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.toast { position: fixed; z-index: 90; left: 50%; bottom: 100px; padding: 12px 20px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 600; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform 0.4s var(--ease), opacity 0.4s; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links, .nav__phone { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .builder { grid-template-columns: 1fr; }
  .viz { position: static; }
  .car { max-width: 200px; }
  .masonry { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
.hide-sm, .hide-xs { display: inline; }
@media (max-width: 760px) {
  :root { --nav-h: 62px; }
  .hide-sm { display: none; }
  .logo { gap: 8px; font-size: 15px; letter-spacing: 0.12em; }
  .logo__mark { width: 22px; height: 22px; }
  .nav .btn--sm { --h: 38px; padding: 0 14px; font-size: 10.5px; }
  .hero { height: 500vh; }
  .hero__shade { background: linear-gradient(0deg, rgba(7, 8, 10, 0.95) 8%, rgba(7, 8, 10, 0.7) 42%, rgba(7, 8, 10, 0.05) 68%), linear-gradient(rgba(7, 8, 10, 0.55), transparent 22%); }
  .hero__grid { display: none; }
  /* Intro: tighter type so the whole block sits under the nav on any phone */
  .chapter--intro { right: var(--gutter); bottom: 64px; padding-right: 0; }
  .chapter--intro .eyebrow { margin-bottom: 12px; font-size: 10px; letter-spacing: 0.12em; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.95); }
  .hero__title { font-size: clamp(34px, 11.5vw, 60px); }
  .outline { -webkit-text-stroke-width: 1.2px; }
  .hero__lede { margin-top: 16px; font-size: 14px; line-height: 1.5; }
  .chapter--intro .hero__cta { margin-top: 20px; gap: 8px; flex-wrap: nowrap; }
  .chapter--intro .hero__cta .btn { --h: 46px; flex: 1 1 auto; padding: 0 14px; font-size: 11px; }
  /* Spec cards dock to the bottom, compact, clear of the car */
  .chapter--hud { left: var(--gutter); right: var(--gutter); top: auto; bottom: 56px; margin: 0; width: auto; padding: 16px 16px 14px; }
  .hud__tag { margin-bottom: 8px; font-size: 10px; letter-spacing: 0.12em; }
  .chapter--hud h2 { font-size: clamp(19px, 6vw, 24px); }
  .hud { margin-top: 12px; }
  .hud div { padding: 8px 10px; }
  .hud dt { font-size: 9px; letter-spacing: 0.06em; line-height: 1.3; }
  .hud dd { font-size: 15px; white-space: nowrap; }
  .chapter--final { bottom: 60px; gap: 18px; }
  .hero__final { font-size: clamp(26px, 8.4vw, 44px); font-stretch: 112%; }
  .gloss { top: auto; bottom: 22px; transform: none; grid-auto-flow: column; align-items: center; }
  .gloss__bar { width: 80px; height: 3px; }
  .gloss__bar i { transform-origin: left; }
  .hero__hint { display: none; }
  .brands { flex-direction: column; align-items: flex-start; gap: 0; padding: 16px 0 0 var(--gutter); }
  .brands__track span { padding: 14px 22px; font-size: 18px; }
  .services { grid-template-columns: 1fr; }
  .ba { aspect-ratio: 4 / 3.4; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .options--4 { grid-template-columns: 1fr 1fr; }
  .options--3 { grid-template-columns: repeat(3, 1fr); }
  .car { max-width: 150px; }
  .viz__frame { padding: 24px 16px 16px; }
  .summary { bottom: 8px; padding: 12px 12px 12px 16px; gap: 10px; flex-wrap: nowrap; }
  .summary__main { min-width: 0; }
  .summary__label { font-size: 9.5px; letter-spacing: 0.12em; }
  .summary__price { font-size: 22px; white-space: nowrap; }
  .summary__meta { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .summary__save { display: none; }
  .summary .btn { --h: 46px; flex: none; padding: 0 18px; font-size: 11px; }
  body.in-quote .fab-wa { transform: scale(0); }
  .fab-wa { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .timeline { grid-template-columns: 1fr; }
  .masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .visit__info { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .book { padding: 24px 18px; }
}
@media (max-width: 400px) {
  .hide-xs { display: none; }
  .section__title { font-size: clamp(28px, 9.4vw, 34px); }
  .timeline h3 { font-size: 20px; }
  .timeline li { padding: 24px 20px 28px; }
  .opt__card { padding: 12px; }
  .opt__card b { font-size: 13.5px; }
  .shot figcaption { padding: 30px 10px 10px; }
  .shot b { font-size: 12.5px; }
  .shot span { font-size: 10px; }
}
/* Short phones (first-gen SE, small Androids): drop the HUD stats row */
@media (max-width: 760px) and (max-height: 600px) {
  .hud { display: none; }
}
@media (max-height: 620px) and (min-width: 761px) {
  .hero__lede, .hero__hint { display: none; }
  .chapter--hud { margin-top: -100px; padding: 18px; }
  .gloss__bar { height: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
