/* =========================================================
   My Car Revive Premium — mcrevive.ae
   ========================================================= */

:root {
  --bg: #060609;
  --bg-2: #0b0b10;
  --card: #101017;
  --card-2: #15151e;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #f3f3f6;
  --muted: #a3a3b0;
  --dim: #6c6c7a;

  --g1: #4f46e5;
  --g2: #a43ad0;
  --g3: #ff4d6d;
  --g4: #ff8a3d;
  --grad: linear-gradient(100deg, var(--g1) 0%, var(--g2) 36%, var(--g3) 68%, var(--g4) 100%);

  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --nav-h: 76px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
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(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--g3); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--grad); }
.hero__eyebrow::before { display: none; }

.h2 {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: .98;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.muted { color: var(--dim); }
.lead { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); max-width: 52ch; }

.grad-text {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: sheen 6s ease-in-out infinite alternate;
}
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, border-color .3s, box-shadow .35s;
}
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--grad { background: var(--grad); background-size: 140% 100%; color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 77, 109, .55); }
.btn--grad:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 40px -12px rgba(255, 77, 109, .75); }
.btn--ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .07); transform: translateY(-2px); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(6, 6, 9, .72); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav__inner { height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 24px -8px rgba(164, 58, 208, .7); }
.brand__word { display: flex; flex-direction: column; line-height: 1.05; }
.brand__word strong { font-size: 14px; font-weight: 700; font-stretch: 125%; letter-spacing: .04em; text-transform: uppercase; }
.brand__word small { font-size: 10px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { position: relative; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { min-height: 42px; padding: 0 20px; font-size: 14px; }

.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(6, 6, 9, .96); backdrop-filter: blur(20px);
  display: flex; align-items: center; padding: calc(var(--nav-h) + 20px) var(--gutter) 40px;
}
.mmenu[hidden] { display: none; }
.mmenu nav { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.mmenu a:not(.btn) { font-size: clamp(30px, 9vw, 44px); font-weight: 700; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mmenu .btn { margin-top: 28px; min-height: 58px; font-size: 17px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; transform-origin: 70% 50%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,6,9,.92) 0%, rgba(6,6,9,.55) 38%, rgba(6,6,9,0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6,6,9,0) 36%),
    linear-gradient(180deg, rgba(6,6,9,.6) 0%, rgba(6,6,9,0) 22%);
}
.hero__sweep {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.10) 49%, rgba(255,210,230,.06) 52%, transparent 58%);
  background-size: 300% 100%;
  animation: sweep 9s var(--ease) infinite;
}
@keyframes sweep { 0% { background-position: 120% 0; } 55%, 100% { background-position: -40% 0; } }

.hero__content { padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(70px, 12vh, 130px); }
.hero__eyebrow { color: #d6d6de; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g3); box-shadow: 0 0 0 4px rgba(255,77,109,.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255,77,109,0); } }

.hero__title {
  margin: 0 0 26px;
  font-size: clamp(54px, 10.5vw, 158px);
  line-height: .86;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__sub { max-width: 46ch; margin: 0 0 34px; color: #c9c9d3; font-size: clamp(16px, 1.35vw, 19px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__scroll { position: absolute; right: var(--gutter); bottom: 40px; width: 26px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; background: var(--bg); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-size: clamp(18px, 2vw, 26px); font-weight: 700; font-stretch: 125%; text-transform: uppercase; letter-spacing: .01em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.4); }
.marquee__track span:nth-of-type(odd) { color: var(--text); -webkit-text-stroke: 0; }
.marquee__track i { font-style: normal; color: var(--g3); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.intro, .services, .studio, .correction, .process, .work, .visit { padding: clamp(90px, 13vw, 170px) 0; }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.sec-head__aside { max-width: 40ch; color: var(--muted); margin: 0; }

/* ---------- intro ---------- */
.statement {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 60px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.02em;
  max-width: 22ch;
}
.statement .w { display: inline-block; transition: color .2s; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(60px, 8vw, 110px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--bg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.fact__big { font-size: clamp(40px, 5vw, 68px); line-height: 1; font-weight: 800; font-stretch: 125%; letter-spacing: -.03em; }
.fact__big small { font-size: .32em; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-left: 8px; vertical-align: middle; }
.fact__label { color: var(--muted); font-size: 15px; max-width: 30ch; }

/* ---------- services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(340px, auto); gap: 16px; }
.svc {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--line);
  display: flex; align-items: flex-end;
  min-height: 380px;
}
.svc--hero { grid-column: span 2; grid-row: span 2; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.85) brightness(.85); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,6,9,0) 20%, rgba(6,6,9,.72) 55%, rgba(6,6,9,.96) 100%); }
.svc::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s;
}
.svc:hover img { transform: scale(1.06); filter: saturate(1) brightness(.95); }
.svc:hover::after { opacity: 1; }
.svc__body { padding: clamp(22px, 2.4vw, 34px); width: 100%; }
.svc__no { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--muted); margin-bottom: 10px; }
.svc h3 { margin: 0 0 10px; font-size: clamp(22px, 2vw, 28px); line-height: 1.05; font-weight: 700; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; }
.svc--hero h3 { font-size: clamp(30px, 3.6vw, 52px); }
.svc p { margin: 0 0 16px; color: #c3c3cd; font-size: 15px; max-width: 46ch; }
.svc--hero p { font-size: 17px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; }
.tags li { font-size: 12px; font-weight: 500; padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.04); backdrop-filter: blur(6px); color: #dcdce3; }
.svc__link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; }
.svc__link span { transition: transform .35s var(--ease); }
.svc__link:hover span { transform: translateX(5px); }
.svc__link::before { content: ""; position: absolute; inset: 0; } /* whole card clickable */

/* ---------- studio ---------- */
.studio { background: radial-gradient(120% 70% at 30% 40%, #10101a 0%, var(--bg) 60%); }
.studio__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; align-items: stretch; }

.stage {
  position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, #0d0d14 0%, #08080c 100%);
  min-height: 460px;
  container-type: inline-size;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 18px 70px;
  --tint: .5;
  --seam: rgba(0, 0, 0, .38);
  --seam-hi: rgba(255, 255, 255, .22);
}
.stage__glow { position: absolute; left: 50%; top: 46%; width: 90%; height: 70%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(164, 58, 208, .22), rgba(79, 70, 229, .08) 55%, transparent); filter: blur(10px); pointer-events: none; }
.stage__floor {
  position: absolute; left: -10%; right: -10%; bottom: 0; height: 42%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 30px);
  transform: perspective(500px) rotateX(62deg); transform-origin: bottom;
  -webkit-mask: linear-gradient(0deg, #000, transparent); mask: linear-gradient(0deg, #000, transparent);
  pointer-events: none;
}
.stage__word {
  position: absolute; left: 50%; top: 8%; transform: translateX(-50%);
  font-size: clamp(56px, 8vw, 130px); font-size: 13cqw; line-height: 1; font-weight: 800; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: -.03em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
  pointer-events: none; user-select: none;
}
.car { position: relative; width: 100%; max-width: 860px; height: auto; overflow: visible; }

.car .body-paint { transition: filter .5s; }
.car stop { transition: stop-color .6s var(--ease); }
.car .gloss { transition: opacity .5s; }
.car .seams path { stroke: var(--seam); stroke-width: 1.6; }
.car .shoulder { stroke: var(--seam-hi); stroke-width: 1.4; }
.car .handle { fill: var(--seam); }
.car .headlight { fill: #eef4ff; filter: drop-shadow(0 0 6px rgba(200, 225, 255, .9)); }
.car .taillight { fill: #ff2b4a; filter: drop-shadow(0 0 6px rgba(255, 43, 74, .9)); }
.car .glass-base { fill: #95a2b4; }
.car .interior { fill: #2b3038; }
.car .win { fill: rgb(6 8 12 / var(--tint)); transition: fill .6s var(--ease); }
.car .glare { fill: url(#glassGrad); opacity: .55; pointer-events: none; }
.car .reflection { opacity: .9; pointer-events: none; }

.car .panel, .car .ppf-extra {
  fill: url(#ppfGrad); fill-opacity: 0;
  stroke: url(#ppfGrad); stroke-opacity: 0; stroke-width: 2.4;
  transition: fill-opacity .55s var(--ease), stroke-opacity .55s var(--ease);
}
.car .panel.is-on, .car .ppf-extra.is-on { fill-opacity: .3; stroke-opacity: 1; animation: film 2.8s ease-in-out infinite alternate; }
@keyframes film { from { fill-opacity: .2; } to { fill-opacity: .4; } }
.car .ppf, .car .ppf-extra { transition: opacity .5s; }
.stage:not([data-mode="ppf"]) .car .ppf,
.stage:not([data-mode="ppf"]) .car .ppf-extra { opacity: 0; }

.stage[data-finish="matte"] .car .gloss { opacity: .12; }
.stage[data-finish="matte"] .car .body-paint { filter: saturate(.75) brightness(.92); }
.stage[data-finish="matte"] .car .sweep { opacity: 0; }

.stage__hud {
  position: absolute; left: 18px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(10,10,16,.7); backdrop-filter: blur(10px);
  font-size: 13px;
}
.hud__k { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hud__v { color: #d4d4dc; }

.panel-ui {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--card);
  padding: 22px;
  display: flex; flex-direction: column; gap: 18px;
}
.tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 999px; background: #0a0a0f; border: 1px solid var(--line); }
.tabs button { position: relative; z-index: 1; height: 42px; border: 0; background: transparent; border-radius: 999px; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs__ink { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--grad); transition: transform .5s var(--ease); box-shadow: 0 8px 22px -10px rgba(255,77,109,.8); }

.pane { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.pane[hidden] { display: none; }
.pane__lead { margin: 0; color: var(--muted); font-size: 15px; }
.note { margin: 0; color: var(--dim); font-size: 13px; line-height: 1.5; }

.pkgs { display: grid; gap: 10px; }
.pkg { text-align: left; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .3s, background-color .3s; }
.pkg strong { display: block; font-size: 15px; font-weight: 700; font-stretch: 115%; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 3px; }
.pkg span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }
.pkg:hover { border-color: var(--line-2); }
.pkg.is-on { border-color: transparent; background: linear-gradient(var(--card-2), var(--card-2)) padding-box, var(--grad) border-box; border: 1px solid transparent; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 12px; background: #0a0a0f; border: 1px solid var(--line); }
.seg button { height: 38px; border: 0; border-radius: 9px; background: transparent; font-size: 13px; font-weight: 600; color: var(--muted); transition: background-color .3s, color .3s; }
.seg button.is-on { background: #fff; color: #0a0a0f; }

.covered { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.covered li { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); transition: color .3s, border-color .3s, background-color .3s; }
.covered li.is-on { color: #fff; border-color: rgba(255,77,109,.5); background: rgba(255,77,109,.1); }
.covered li.is-on::before { content: "✓ "; color: var(--g3); }

.shades { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.shades button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 13px; font-weight: 600; transition: border-color .3s; }
.shades i { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #b8c4d6, #6c7a90); position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.shades i::after { content: ""; position: absolute; inset: 0; background: rgba(6, 8, 12, var(--a)); }
.shades button.is-on { border-color: var(--g3); box-shadow: 0 0 0 1px var(--g3) inset; }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 12px; font-weight: 500; color: var(--muted); text-align: center; line-height: 1.25; transition: border-color .3s, color .3s; }
.swatch i { width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 -6px 12px rgba(0,0,0,.35), inset 0 4px 8px rgba(255,255,255,.25), 0 0 0 1px rgba(255,255,255,.12); }
.swatch.is-on { color: #fff; border-color: var(--g3); box-shadow: 0 0 0 1px var(--g3) inset; }

/* ---------- before / after ---------- */
.correction__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.correction__copy .h2 { margin-bottom: 22px; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; color: #d0d0d8; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); -webkit-mask: radial-gradient(circle, transparent 5px, #000 5.5px); mask: radial-gradient(circle, transparent 5px, #000 5.5px); }

.ba { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); user-select: none; touch-action: pan-y; background: #000; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before .ba__img { filter: saturate(.55) contrast(.82) brightness(.92); }
.ba__swirls { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; opacity: .9; }
.ba__before::after { content: ""; position: absolute; inset: 0; background: rgba(160, 160, 170, .08); mix-blend-mode: screen; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 20px rgba(255,255,255,.6); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 20px; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__range:focus-visible + .ba__cap { outline: 2px solid var(--g3); }
.ba__tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; background: rgba(6,6,9,.65); backdrop-filter: blur(8px); border: 1px solid var(--line-2); pointer-events: none; }
.ba__tag--l { left: 16px; }
.ba__tag--r { right: 16px; }
.ba__cap { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 5px 12px; border-radius: 999px; font-size: 11px; color: #cfcfd8; background: rgba(6,6,9,.6); backdrop-filter: blur(6px); white-space: nowrap; pointer-events: none; }

/* ---------- process ---------- */
.process { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps__line { position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line-2); }
.steps__line i { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(1); }
.step { position: relative; padding-top: 0; }
.step__no { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; letter-spacing: .06em; margin-bottom: 26px; }
.step__no::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.step h3 { margin: 0 0 10px; font-size: clamp(22px, 2vw, 28px); font-weight: 700; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.g { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-sm); background: var(--card); }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.8) brightness(.85); }
.g:hover img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.g figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: rgba(6,6,9,.6); backdrop-filter: blur(8px); border: 1px solid var(--line-2); }

/* ---------- book ---------- */
.book { padding: clamp(100px, 13vw, 170px) 0; overflow: hidden; isolation: isolate; }
.book__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; }
.book::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,6,9,.95) 0%, rgba(6,6,9,.75) 50%, rgba(6,6,9,.55) 100%), linear-gradient(0deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.book__copy .h2 { margin-bottom: 22px; }

.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: rgba(16,16,23,.78); backdrop-filter: blur(18px); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 8px; }
.field label { margin-bottom: 0; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(6,6,9,.6); color: var(--text);
  font: inherit; font-size: 16px; transition: border-color .3s, box-shadow .3s;
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--g3); box-shadow: 0 0 0 3px rgba(255,77,109,.18); }
.field input.is-invalid { border-color: #ff6b6b; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: #d0d0d8; transition: all .25s; }
.chips input:checked + span { background: var(--grad); border-color: transparent; color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--g3); outline-offset: 2px; }
.form__status { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--muted); }
.form__status.is-ok { color: #7ee2a8; }
.form__status.is-err { color: #ff8a8a; }

/* ---------- visit ---------- */
.visit__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: stretch; }
.visit__card { padding: clamp(26px, 3.4vw, 46px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.visit__card .h2 { margin-bottom: 18px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.visit__actions [hidden] { display: none; }
.family { margin-top: auto; padding-top: 36px; }
.family__label { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.family ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.family a { display: flex; flex-direction: column; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); transition: border-color .3s, background-color .3s; }
.family a:hover { border-color: var(--line-2); background: rgba(255,255,255,.03); }
.family strong { font-size: 15px; font-weight: 700; font-stretch: 115%; text-transform: uppercase; }
.family span { font-size: 13px; color: var(--muted); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--card); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) invert(.92) contrast(.88) brightness(.95); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--bg); }
.footer__grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__tag { margin: 0; font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; }
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__nav a { color: var(--muted); font-size: 14px; transition: color .3s; }
.footer__nav a:hover { color: var(--text); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* ---------- floating book button (mobile) ---------- */
.fab {
  position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80;
  display: none; align-items: center; justify-content: center;
  min-height: 54px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700;
  box-shadow: 0 14px 34px -10px rgba(255,77,109,.8);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.fab.is-shown { transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .studio__grid { grid-template-columns: 1fr; }
  .stage { min-height: 380px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps__line { display: none; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .bento { grid-template-columns: 1fr 1fr; }
  .svc--hero { grid-column: span 2; grid-row: span 1; min-height: 480px; }
  .correction__grid, .book__grid, .visit__grid { grid-template-columns: 1fr; }
  .ba { max-width: 560px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .fab { display: flex; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__img { object-position: 64% 50%; }
  .hero__shade {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(6,6,9,.85) 34%, rgba(6,6,9,.15) 70%, rgba(6,6,9,.5) 100%);
  }
  .hero__content { padding-bottom: 96px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .facts { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .svc, .svc--hero { grid-column: auto; min-height: 420px; }
  .stage { padding: 26px 8px 64px; min-height: 0; }
  .shades { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .shades button { font-size: 12px; padding: 10px 2px; }
  .shades i { width: 28px; height: 28px; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 160px; gap: 10px; }
  .g--wide { grid-column: span 2; }
  .family ul { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 320px; }
  .footer { padding-bottom: 96px; }
}

/* html.motion = preview override via ?motion in the URL */
@media (prefers-reduced-motion: reduce) {
  html:not(.motion) *, html:not(.motion) *::before, html:not(.motion) *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html:not(.motion) .marquee__track { animation: none; }
  html:not(.motion) .hero__sweep { display: none; }
}
