/* ==========================================================================
   VELOCITÀ — Supercar Atelier
   1 tokens · 2 base · 3 components · 4 header · 5 hero · 6 sections · 7 overlays · 8 responsive
   ========================================================================== */

/* ---------- 1. tokens ---------- */
:root {
  --bg: #08080a; --bg-2: #0c0d10; --panel: #121317; --panel-2: #181a1f;
  --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .18);
  --text: #f4f3ef; --muted: #a3a5ad; --dim: #6d7078;
  --acc: #f5b800; --acc-2: #ffd34d; --ink: #0a0a0b; --red: #ff4438; --ok: #45d483;
  --fd: 'Chakra Petch', 'Be Vietnam Pro', system-ui, sans-serif;
  --fb: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(16px, 4vw, 56px); --max: 1360px; --head: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--fb); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading, body.is-locked { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; border: 0; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--fd); font-weight: 700; line-height: 1.05; text-wrap: balance; }
::selection { background: var(--acc); color: var(--ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--acc); color: var(--ink); padding: 10px 16px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 3. components ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font: italic 700 20px/1 var(--fd); letter-spacing: .16em; }
.logo svg { width: 26px; height: 18px; fill: var(--acc); }
.logo--xl { font-size: clamp(26px, 5vw, 44px); gap: 16px; }
.logo--xl svg { width: clamp(36px, 6vw, 60px); height: auto; }

.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px;
  font: 600 14px/1 var(--fd); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: color .25s, transform .25s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: skewX(-14deg); border: 1px solid var(--line-2); transition: background .25s, border-color .25s, box-shadow .25s; }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--primary { color: var(--ink); }
.btn--primary::before { background: var(--acc); border-color: var(--acc); }
.btn--primary:hover::before { background: var(--acc-2); box-shadow: 0 0 36px rgba(245, 184, 0, .35); }
.btn--ghost:hover::before { border-color: var(--acc); background: rgba(245, 184, 0, .08); }
.btn--ghost:hover { color: var(--acc-2); }
.btn--sm { min-height: 40px; padding: 0 20px; font-size: 12px; }
.btn--block { display: flex; width: calc(100% - 14px); margin-inline: 7px; }
.btn:active { transform: scale(.98); }

.seg { display: inline-flex; border: 1px solid var(--line-2); background: rgba(8, 8, 10, .5); }
.seg button { min-width: 44px; min-height: 34px; padding: 0 12px; font: 600 12px/1 var(--fd); letter-spacing: .08em; color: var(--muted); transition: background .2s, color .2s; }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button:hover { color: var(--text); }
.seg button.is-on { background: var(--acc); color: var(--ink); }
.seg--wide { display: flex; }
.seg--wide button { flex: 1; min-height: 46px; font-size: 13px; text-transform: uppercase; }

.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid var(--line-2); font: 600 13px/1 var(--fd); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.is-on { background: var(--text); border-color: var(--text); color: var(--ink); }
.chip em { font-style: normal; font-size: 11px; min-width: 18px; padding: 3px 5px; background: var(--acc); color: var(--ink); text-align: center; }
.chip--sm { min-height: 34px; padding: 0 12px; font-size: 11px; background: rgba(8, 8, 10, .6); backdrop-filter: blur(8px); }

.tool { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-2); background: rgba(8, 8, 10, .55); backdrop-filter: blur(10px);
  font: 600 12px/1 var(--fd); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: all .2s; }
.tool:hover { color: var(--text); border-color: var(--text); }
.tool.is-on { color: var(--acc); border-color: var(--acc); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 12px/1.4 var(--fd); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.eyebrow__dot { width: 8px; height: 8px; background: var(--acc); box-shadow: 0 0 0 4px rgba(245, 184, 0, .18); transform: rotate(45deg); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(245, 184, 0, 0); } }

.select { display: inline-flex; align-items: center; gap: 12px; font: 600 12px/1 var(--fd); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
select { appearance: none; -webkit-appearance: none; min-height: 42px; padding: 0 40px 0 14px; border: 1px solid var(--line-2); border-radius: 0; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f5b800' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 12px; color: var(--text); font: 500 14px/1.2 var(--fb); cursor: pointer; }
select option { background: #15161a; color: var(--text); }

.field { display: block; margin-bottom: 18px; }
.field > span, .field__row label, .field__row span { display: block; margin-bottom: 8px; font: 600 11px/1.3 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__row output { font: 700 18px/1 var(--fd); color: var(--acc); }
.field input:not([type=range]), .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 0; background-color: #0b0b0d; color: var(--text); font: 400 15px/1.4 var(--fb); transition: border-color .2s, box-shadow .2s; }
.field select { padding-right: 40px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(245, 184, 0, .16); }
.field input::placeholder { color: var(--dim); }
input[type=date] { color-scheme: dark; }
.field.is-bad input, .check.is-bad input { border-color: var(--red); }
.err { display: none; margin-top: 6px; font: 400 12.5px/1.4 var(--fb); font-style: normal; color: var(--red); }
.is-bad .err { display: block; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; align-items: start; margin: 4px 0 24px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1px solid var(--line-2); background: #0b0b0d; cursor: pointer; }
.check input:checked { background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.500 6.500 12 13 4.500' fill='none' stroke='%230a0a0b' stroke-width='2.2'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--acc); }
.check .err { grid-column: 2; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 30%; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--acc) var(--p), var(--line-2) var(--p)); }
input[type=range]::-moz-range-track { height: 4px; background: var(--line-2); }
input[type=range]::-moz-range-progress { height: 4px; background: var(--acc); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; background: var(--acc); border: 4px solid var(--bg); box-shadow: 0 0 0 1px var(--acc); transform: rotate(45deg); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; background: var(--acc); border: 3px solid var(--bg); border-radius: 0; transform: rotate(45deg); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg); transition: opacity .7s ease, visibility .7s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { width: min(420px, 78vw); }
.preloader__bar { height: 2px; margin: 28px 0 14px; background: var(--line); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 0; background: var(--acc); box-shadow: 0 0 18px var(--acc); transition: width .35s ease; }
.preloader__row { display: flex; justify-content: space-between; font: 600 12px/1 var(--fd); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.preloader__row b { color: var(--acc); }

/* ---------- 4. header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--head); transition: background .35s, border-color .35s, transform .4s var(--ease); border-bottom: 1px solid transparent; }
.header.is-stuck { background: rgba(8, 8, 10, .82); backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--line); }
.header__row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.nav > a { position: relative; padding: 8px 0; font: 600 13px/1 var(--fd); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav > a:hover, .nav > a.is-active { color: var(--text); }
.nav > a:hover::after, .nav > a.is-active::after { transform: scaleX(1); }
.nav__mobile-extra { display: none; }
.header__tools { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; position: relative; border: 1px solid var(--line-2); }
.burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:first-child { top: 16px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded=true] i:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded=true] i:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- 5. hero ---------- */
.hero { position: relative; min-height: max(100svh, 700px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: var(--head); }
.hero__bg { position: absolute; inset: 0; background:
  radial-gradient(52% 46% at 68% 62%, rgba(245, 184, 0, .13), transparent 70%),
  radial-gradient(40% 40% at 12% 12%, rgba(255, 255, 255, .05), transparent 70%),
  linear-gradient(180deg, #0b0b0d 0%, var(--bg) 100%); }
.hero__bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(70% 60% at 66% 70%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 60% at 66% 70%, #000 0%, transparent 75%); opacity: .5; }
.hero__ghost { position: absolute; right: -2vw; top: 46%; transform: translateY(-50%); font: italic 700 clamp(220px, 40vw, 640px)/.8 var(--fd); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); letter-spacing: -.04em; user-select: none; }
.hero__stage { position: absolute; inset: 0; }
.hero__stage canvas { width: 100%; height: 100%; touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity 1s ease; }
.is-ready .hero__stage canvas { opacity: 1; }
.hero__stage canvas.is-grabbing, .atelier__stage canvas.is-grabbing { cursor: grabbing; }
.hero__content { position: relative; z-index: 2; pointer-events: none; padding-bottom: clamp(120px, 16vh, 190px); }
.hero__content > * { pointer-events: auto; }
.hero__title { margin: 22px 0 22px; font: italic 700 clamp(44px, 6.7vw, 116px)/.96 var(--fd); letter-spacing: -.012em; text-transform: uppercase; max-width: 9.5em; }
.hero__title .line { display: block; overflow: hidden; padding-top: .14em; margin-top: -.14em; padding-right: .12em; }
.hero__title .line > span { display: block; transform: translateY(112%); transition: transform 1.1s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .09s; } .hero__title .line:nth-child(3) > span { transition-delay: .18s; }
.is-ready .hero__title .line > span { transform: none; }
.line--accent { color: var(--acc); }
html[lang=vi] .hero__title { font-size: clamp(40px, 6.1vw, 104px); line-height: 1.06; }
html[lang=vi] .hero__title .line { padding-top: .26em; margin-top: -.26em; }
.hero__lead { max-width: 46ch; color: var(--muted); font-size: clamp(15px, 1.2vw, 18px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 34px; padding-left: 7px; }
.eyebrow, .hero__lead, .hero__cta, .hero__hud { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease) .35s, transform .9s var(--ease) .35s; }
.is-ready .eyebrow, .is-ready .hero__lead, .is-ready .hero__cta, .is-ready .hero__hud { opacity: 1; transform: none; }

.hero__hud { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; display: grid; grid-template-columns: minmax(220px, 300px) 1fr auto; align-items: end; gap: clamp(20px, 4vw, 64px); margin-inline: auto; pointer-events: none; }
.hero__hud > * { pointer-events: auto; }
.build__top { display: flex; gap: 12px; justify-content: space-between; font: 600 11px/1 var(--fd); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.build__state { color: var(--acc); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.build__step { flex: none; }
.hero.is-exploded .hero__content > * { opacity: .07 !important; pointer-events: none; transition-delay: 0s; }
.build__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 10px 0 12px; font: 600 clamp(17px, 1.5vw, 22px)/1.2 var(--fd); text-transform: uppercase; letter-spacing: .04em; min-height: 1.2em; }
.build__bar { height: 3px; background: var(--line); }
.build__bar i { display: block; height: 100%; width: 0; background: var(--acc); box-shadow: 0 0 14px rgba(245, 184, 0, .7); transition: width .5s var(--ease); }
.hero__stats { display: flex; gap: clamp(22px, 3.4vw, 60px); }
.hero__stats li { padding-left: 16px; border-left: 1px solid var(--line-2); }
.hero__stats b { display: block; white-space: nowrap; font: italic 700 clamp(26px, 2.8vw, 44px)/1 var(--fd); font-variant-numeric: tabular-nums; }
.hero__stats small { margin-left: 5px; font: 600 .42em/1 var(--fd); font-style: normal; color: var(--acc); letter-spacing: .08em; text-transform: uppercase; }
.hero__stats li > span { display: block; white-space: nowrap; margin-top: 6px; font: 600 11px/1.2 var(--fd); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.hero__tools { display: flex; gap: 8px; }
.hero__hint { position: absolute; right: var(--gut); top: calc(var(--head) + 18px); z-index: 2; display: flex; align-items: center; gap: 8px; margin: 0; font: 600 11px/1 var(--fd); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); opacity: 0; transition: opacity 1s 1.2s; }
.is-ready .hero__hint { opacity: 1; }
.hero__nogl { display: none; position: absolute; right: var(--gut); bottom: 120px; max-width: 30ch; color: var(--dim); font-size: 13px; }
.no-webgl .hero__nogl { display: block; }
.no-webgl .hero__tools, .no-webgl .hero__hint, .no-webgl .build { visibility: hidden; }

.hero__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hl { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.hl::before { content: ''; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; background: var(--acc); transform: rotate(45deg); box-shadow: 0 0 0 4px rgba(245, 184, 0, .2); }
.hl::after { content: ''; position: absolute; left: 0; top: var(--dy, 0px); width: 1px; height: calc(-1 * var(--dy, 0px)); background: rgba(245, 184, 0, .6); }
.hl__box { transform: translateY(var(--dy, 0px)); position: absolute; left: 14px; bottom: 10px; padding: 0 0 8px 34px; white-space: nowrap; border-bottom: 1px solid rgba(245, 184, 0, .7); }
.hl__box::before { content: ''; position: absolute; left: -12px; bottom: -10px; width: 46px; height: 1px; background: rgba(245, 184, 0, .7); transform: rotate(-38deg); transform-origin: left bottom; display: none; }
.hl b { position: absolute; left: 0; bottom: 8px; font: 700 12px/1 var(--fd); color: var(--acc); letter-spacing: .1em; }
.hl span { display: block; font: 600 14px/1.15 var(--fd); letter-spacing: .06em; text-transform: uppercase; }
.hl small { display: block; margin-top: 3px; font: 400 12px/1.2 var(--fb); color: var(--muted); }
.hl.is-left .hl__box { left: auto; right: 14px; padding: 0 34px 8px 0; text-align: right; }
.hl.is-active::before { box-shadow: 0 0 0 6px rgba(245, 184, 0, .35), 0 0 18px var(--acc); }
.hero__labels.is-mini .hl__box, .hero__labels.is-mini .hl.is-left .hl__box { left: 11px; right: auto; bottom: -7px; padding: 0; border: 0; }
.hero__labels.is-mini .hl.is-left .hl__box { left: auto; right: 11px; }
.hero__labels.is-mini .hl span, .hero__labels.is-mini .hl small { display: none; }
.hero__labels.is-mini .hl b { position: static; font-size: 11px; color: var(--muted); }
.hero__labels.is-mini .hl.is-active b { color: var(--acc); font-size: 13px; }
.hl.is-left b { left: auto; right: 0; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--acc); color: var(--ink); }
.marquee__track { display: flex; align-items: center; width: max-content; padding: 16px 0; animation: marquee 34s linear infinite; }
.marquee span { font: italic 700 clamp(15px, 1.5vw, 20px)/1 var(--fd); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.marquee i { width: 34px; height: 2px; margin: 0 28px; background: var(--ink); transform: skewX(-30deg) rotate(-60deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 6. sections ---------- */
.section { position: relative; padding: clamp(76px, 10vw, 150px) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.shead { max-width: 820px; margin-bottom: clamp(34px, 5vw, 64px); }
.shead--tight { margin-bottom: 30px; }
.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font: 600 12px/1 var(--fd); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.kicker b { color: var(--acc); }
.kicker::after { content: ''; width: 56px; height: 1px; background: var(--line-2); }
.shead h2 { font: italic 700 clamp(34px, 5.2vw, 76px)/1.02 var(--fd); text-transform: uppercase; letter-spacing: -.005em; }
html[lang=vi] .shead h2 { line-height: 1.14; font-size: clamp(31px, 4.6vw, 68px); }
.shead__lead { margin-top: 18px; max-width: 58ch; color: var(--muted); font-size: clamp(15px, 1.15vw, 17.5px); }

/* models */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.cars__empty { grid-column: 1 / -1; padding: 60px 20px; border: 1px dashed var(--line-2); text-align: center; color: var(--muted); }
.car { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, transform .45s var(--ease), box-shadow .45s; }
.car:hover { border-color: rgba(245, 184, 0, .55); transform: translateY(-6px); box-shadow: 0 30px 60px -30px #000; }
.car__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; cursor: pointer; width: 100%; display: block;
  background: radial-gradient(60% 70% at 50% 68%, color-mix(in srgb, var(--paint, #f5b800) 34%, transparent), transparent 72%), linear-gradient(180deg, #15161a, #0b0b0d); }
.car__media::after { content: ''; position: absolute; inset: auto 0 0 0; height: 34%; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 34px 34px; transform: perspective(300px) rotateX(58deg); transform-origin: bottom; opacity: .6; -webkit-mask-image: linear-gradient(transparent, #000); mask-image: linear-gradient(transparent, #000); }
.car__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; transition: transform .7s var(--ease); }
.car:hover .car__media img { transform: scale(1.06) translateX(-1.5%); }
.car__ph { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; color: var(--paint, #f5b800); }
.car__ph circle { fill: #0a0a0b; stroke: #2a2b30; stroke-width: 4; }
.car__ph--sm { position: static; max-width: 240px; height: auto; }
.car__badge { position: absolute; left: 0; top: 14px; z-index: 2; padding: 7px 14px 7px 12px; background: var(--acc); color: var(--ink); font: 700 11px/1 var(--fd); letter-spacing: .12em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%); }
.car__badge--pre { background: var(--text); } .car__badge--ltd { background: var(--red); color: #fff; }
.car__heart { position: absolute; right: 10px; top: 10px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); background: rgba(8, 8, 10, .55); border: 1px solid var(--line); backdrop-filter: blur(8px); transition: all .2s; }
.car__heart:hover { color: var(--text); border-color: var(--text); }
.car__heart.is-on { color: var(--red); border-color: var(--red); }
.car__heart.is-on svg { fill: currentColor; }
.car__body { display: flex; flex-direction: column; gap: 16px; padding: 20px clamp(16px, 1.6vw, 24px) 22px; flex: 1; }
.car__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.car__name { font: italic 700 clamp(21px, 1.7vw, 26px)/1.1 var(--fd); text-transform: uppercase; }
.car__meta { margin-top: 6px; font: 500 12px/1.3 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.car__price { text-align: right; white-space: nowrap; }
.car__price small { display: block; font: 600 10px/1 var(--fd); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.car__price b { display: block; margin-top: 6px; font: 700 clamp(17px, 1.4vw, 21px)/1 var(--fd); color: var(--acc); }
.car__specs { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.car__specs li { padding: 12px 0 12px 12px; }
.car__specs li + li { border-left: 1px solid var(--line); }
.car__specs li:first-child { padding-left: 0; }
.car__specs b { display: block; font: 700 17px/1 var(--fd); }
.car__specs span { display: block; margin-top: 5px; font: 500 10.5px/1.2 var(--fd); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.car__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-left: 6px; }
.cmp-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; font: 600 12px/1 var(--fd); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cmp-toggle i { width: 18px; height: 18px; border: 1px solid var(--line-2); transition: all .2s; }
.cmp-toggle.is-on { color: var(--acc); }
.cmp-toggle.is-on i { background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.500 6.500 12 13 4.500' fill='none' stroke='%230a0a0b' stroke-width='2.2'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--acc); }

/* atelier */
.atelier { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.atelier__stage { position: sticky; top: calc(var(--head) + 20px); aspect-ratio: 4 / 3; max-height: calc(100vh - var(--head) - 40px); width: 100%; border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(58% 55% at 50% 62%, rgba(245, 184, 0, .1), transparent 70%), linear-gradient(180deg, #131418, #09090b); }
.atelier__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.atelier__views { position: absolute; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.atelier__doors { position: absolute; right: 14px; top: 14px; min-height: 34px; padding: 0 12px; font-size: 11px; }
.atelier__hint { position: absolute; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 8px; font: 600 10.5px/1 var(--fd); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.opt { margin-bottom: 24px; min-width: 0; }
.opt legend { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; margin-bottom: 12px; font: 600 11px/1.3 var(--fd); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.opt legend b { font-weight: 600; color: var(--text); letter-spacing: .06em; text-align: right; }
.opt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--c); box-shadow: inset 0 -8px 14px rgba(0, 0, 0, .35), inset 0 6px 10px rgba(255, 255, 255, .22); transition: transform .2s var(--ease); }
.swatch:hover { transform: scale(1.08); }
.swatch.is-on::after { content: ''; position: absolute; inset: -6px; border: 2px solid var(--acc); border-radius: 50%; }
.swatches--sm .swatch { width: 36px; height: 36px; }
.summary { margin-top: 8px; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--acc); }
.summary dl > div, .result dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; }
.summary dt, .result dt { font-size: 14px; color: var(--muted); }
.summary dd, .result dd { font: 600 16px/1 var(--fd); font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary__total { margin-top: 8px; padding-top: 16px !important; border-top: 1px solid var(--line); }
.summary__total dt { font: 600 12px/1 var(--fd); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.summary__total dd { font: italic 700 clamp(26px, 2.4vw, 36px)/1 var(--fd); color: var(--acc); }
.summary__cta { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 22px; padding-left: 7px; }

/* engineering */
.bigstats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); margin-bottom: clamp(34px, 5vw, 70px); }
.bigstats li { position: relative; padding: clamp(22px, 3vw, 44px) 0 clamp(22px, 3vw, 40px) clamp(16px, 2.4vw, 36px); }
.bigstats li + li { border-left: 1px solid var(--line); }
.bigstats li:first-child { padding-left: 0; }
.bigstats b { font: italic 700 clamp(44px, 7vw, 112px)/.9 var(--fd); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bigstats small { margin-left: 8px; font: 700 clamp(13px, 1.3vw, 20px)/1 var(--fd); color: var(--acc); letter-spacing: .08em; text-transform: uppercase; }
.bigstats li > span { display: block; margin-top: 14px; font: 600 11.5px/1.2 var(--fd); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.feature { position: relative; padding: 28px 24px 30px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .45s var(--ease), opacity .9s var(--ease); }
.feature:hover { border-color: rgba(245, 184, 0, .5); }
.feature::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.feature:hover::after { transform: scaleX(1); }
.feature__n { position: absolute; right: 18px; top: 14px; font: italic 700 44px/1 var(--fd); color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.feature__ico, .service svg { width: 46px; height: 46px; fill: none; stroke: var(--acc); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 24px 0 10px; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.feature p, .service p { color: var(--muted); font-size: 14.5px; }

/* ownership */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { padding: clamp(24px, 2.6vw, 40px); background: var(--bg-2); transition: background .3s, opacity .9s var(--ease), transform .9s var(--ease); }
.service:hover { background: var(--panel); }
.service h3 { margin: 22px 0 10px; font-size: 19px; text-transform: uppercase; letter-spacing: .03em; }

/* finance */
.finance { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.calc .field { margin-bottom: 26px; }
.result { padding: clamp(24px, 3vw, 44px); background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--acc); }
.result__label { font: 600 11.5px/1.3 var(--fd); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.result__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 12px 0 22px; }
.result__big b { font: italic 700 clamp(38px, 5vw, 68px)/1 var(--fd); color: var(--acc); font-variant-numeric: tabular-nums; }
.result__big span { color: var(--dim); font: 600 13px/1 var(--fd); letter-spacing: .1em; text-transform: uppercase; }
.result dl { margin-bottom: 26px; border-top: 1px solid var(--line); }
.result dl > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.result__note { margin-top: 18px; font-size: 12.5px; line-height: 1.5; color: var(--dim); }

/* booking */
.booking { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.rooms h3 { margin-bottom: 8px; font: 600 12px/1 var(--fd); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.room { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.room b { font: 700 19px/1.1 var(--fd); text-transform: uppercase; letter-spacing: .03em; }
.room p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.room small { display: block; margin-top: 4px; color: var(--dim); font-size: 12.5px; }
.room__links { display: flex; gap: 16px; flex: none; }
.room__links a, .footer a:not(.logo):not(.btn) { color: var(--muted); transition: color .2s; }
.room__links a { min-height: 36px; display: inline-flex; align-items: center; font: 600 12px/1 var(--fd); letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--acc); color: var(--text); }
.room__links a:hover { color: var(--acc); }
.booking__form { padding: clamp(20px, 3vw, 44px); background: var(--panel); border: 1px solid var(--line); }
.booked { text-align: center; padding: 40px 10px; }
.booked svg { width: 72px; height: 72px; margin: 0 auto 22px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.booked h3 { font-size: 28px; text-transform: uppercase; margin-bottom: 12px; }
.booked p { color: var(--muted); max-width: 40ch; margin: 0 auto 26px; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 88px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; display: block; padding: 22px 48px 22px 0; font: 600 clamp(16px, 1.3vw, 19px)/1.35 var(--fd); cursor: pointer; list-style: none; transition: color .2s; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--acc); }
summary::before, summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; background: var(--acc); transition: transform .3s var(--ease); }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0); }
details p { padding: 0 48px 24px 0; color: var(--muted); max-width: 70ch; }

/* footer */
.footer { border-top: 1px solid var(--line); background: #060607; padding-top: clamp(48px, 6vw, 88px); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 64px); padding-bottom: clamp(40px, 5vw, 72px); }
.footer__brand p { margin: 18px 0 26px; max-width: 34ch; color: var(--muted); font-size: 14.5px; }
.footer h4 { margin-bottom: 16px; font: 600 12px/1 var(--fd); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.footer nav a, .footer__grid > div:not(.footer__brand) a { display: block; padding: 6px 0; font-size: 14.5px; }
.footer a:not(.logo):not(.btn):hover { color: var(--acc); }
.news label { display: block; margin-bottom: 10px; font: 600 12px/1 var(--fd); letter-spacing: .16em; text-transform: uppercase; }
.news__row { display: flex; gap: 14px; max-width: 420px; padding-right: 8px; }
.news__row input { flex: 1; min-width: 0; min-height: 40px; padding: 0 14px; background: #0b0b0d; border: 1px solid var(--line-2); border-radius: 0; }
.news__row input:focus { outline: none; border-color: var(--acc); }
.news__msg { min-height: 20px; margin: 10px 0 0 !important; font-size: 13px !important; color: var(--ok) !important; }
.news__msg.is-bad { color: var(--red) !important; }
.footer__credit { padding-bottom: 20px; font-size: 12px; line-height: 1.6; color: var(--dim); }
.footer__credit p + p { margin-top: 4px; }
.footer__credit a { text-decoration: underline; text-underline-offset: 2px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.footer__base div { display: flex; gap: 22px; }

/* ---------- 7. overlays ---------- */
.float { position: fixed; right: 16px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 8px; opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .35s, visibility .35s; }
.is-past-hero .float { opacity: 1; visibility: visible; }
.has-cmp .float { transform: translateY(-76px); }
.float__btn { position: relative; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(18, 19, 23, .9); border: 1px solid var(--line-2); backdrop-filter: blur(10px); color: var(--text); transition: all .25s var(--ease); }
.float__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.float__btn b { font: 700 11px/1 var(--fd); letter-spacing: .02em; }
.float__btn span { position: absolute; right: 58px; top: 50%; transform: translate(8px, -50%); padding: 8px 12px; background: var(--text); color: var(--ink); font: 600 12px/1 var(--fd); letter-spacing: .06em; white-space: nowrap; opacity: 0; pointer-events: none; transition: all .25s var(--ease); }
.float__btn:hover { background: var(--acc); border-color: var(--acc); color: var(--ink); }
.float__btn:hover span, .float__btn:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.float__btn--top { opacity: 0; visibility: hidden; transform: translateY(10px); }
.is-scrolled .float__btn--top { opacity: 1; visibility: visible; transform: none; }

.cmpbar { position: fixed; left: 50%; bottom: 16px; z-index: 95; transform: translateX(-50%); width: min(720px, calc(100vw - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 14px 10px 16px; background: rgba(18, 19, 23, .95); border: 1px solid var(--acc); backdrop-filter: blur(14px); box-shadow: 0 20px 50px -10px #000; }
.cmpbar__items { display: flex; flex-wrap: wrap; gap: 6px 14px; min-width: 0; font: 600 12.5px/1.3 var(--fd); letter-spacing: .06em; text-transform: uppercase; }
.cmpbar__items span { color: var(--dim); }
.cmpbar__actions { display: flex; gap: 14px; flex: none; padding-right: 6px; }

.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; }
.modal__scrim { position: absolute; inset: 0; background: rgba(4, 4, 5, .8); backdrop-filter: blur(8px); animation: fade .3s ease; }
.modal__box { position: relative; width: min(1120px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--panel); border: 1px solid var(--line-2); border-top: 2px solid var(--acc); animation: pop .45s var(--ease); overscroll-behavior: contain; }
.modal__x { position: absolute; right: 12px; top: 12px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; background: rgba(8, 8, 10, .7); border: 1px solid var(--line-2); }
.modal__x svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.modal__x:hover { border-color: var(--acc); color: var(--acc); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.detail__media { position: relative; display: flex; flex-direction: column; background: radial-gradient(60% 60% at 50% 60%, color-mix(in srgb, var(--paint, #f5b800) 30%, transparent), transparent 72%), linear-gradient(180deg, #15161a, #09090b); min-height: 320px; }
.detail__main { flex: 1; display: grid; place-items: center; padding: 20px; }
.detail__main img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }
.detail__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.detail__thumbs button { background: #0c0c0f; padding: 6px; opacity: .55; transition: opacity .2s; }
.detail__thumbs button img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.detail__thumbs button:hover, .detail__thumbs button.is-on { opacity: 1; }
.detail__thumbs button.is-on { box-shadow: inset 0 -2px 0 var(--acc); }
.detail__info { padding: clamp(22px, 3vw, 44px); padding-top: clamp(40px, 4vw, 52px); }
.detail__info h3 { font: italic 700 clamp(28px, 3.2vw, 44px)/1.05 var(--fd); text-transform: uppercase; margin: 10px 0 12px; padding-right: 40px; }
.detail__desc { color: var(--muted); margin-bottom: 20px; }
.detail__price { font: italic 700 clamp(26px, 2.6vw, 36px)/1 var(--fd); color: var(--acc); margin-bottom: 22px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-bottom: 26px; border-top: 1px solid var(--line); }
.specs > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--dim); } .specs dd { font-weight: 500; text-align: right; }
.detail__cta { display: flex; flex-wrap: wrap; gap: 12px 20px; padding-left: 7px; }
.cmp { padding: clamp(22px, 3vw, 40px); }
.cmp h3 { font: italic 700 clamp(26px, 3vw, 40px)/1 var(--fd); text-transform: uppercase; margin-bottom: 22px; }
.cmp__scroll { overflow-x: auto; }
.cmp table { width: 100%; min-width: 560px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: 14.5px; }
.cmp thead th { vertical-align: bottom; border-bottom-color: var(--acc); }
.cmp thead img { width: 100%; max-width: 240px; aspect-ratio: 16 / 10; object-fit: contain; }
.cmp thead b { display: block; font: italic 700 19px/1.1 var(--fd); text-transform: uppercase; }
.cmp tbody th { width: 150px; font: 600 11.5px/1.3 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.cmp td.is-best { color: var(--acc); font-weight: 600; }

.toasts { position: fixed; left: 16px; bottom: 16px; z-index: 160; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { padding: 13px 18px; background: var(--text); color: var(--ink); font: 500 14px/1.3 var(--fb); border-left: 4px solid var(--acc); box-shadow: 0 14px 40px -10px #000; animation: toast .4s var(--ease); max-width: min(360px, calc(100vw - 96px)); }
.toast.is-out { opacity: 0; transform: translateY(10px); transition: all .3s; }
@keyframes toast { from { opacity: 0; transform: translateY(14px); } }
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--acc); transform: scaleX(0); transform-origin: left; }

/* ---------- 8. responsive ---------- */
@media (max-width: 1180px) {
  .cars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header__cta { display: none; }
  .hero__lead { max-width: 36ch; }
  .hero__hud { grid-template-columns: minmax(200px, 280px) 1fr; }
  .hero__tools { grid-column: 1 / -1; order: -1; justify-content: flex-end; }
}
@media (max-width: 1024px) {
  .burger { display: block; }
  .seg--desk { display: none; }
  .nav { position: fixed; inset: var(--head) 0 0 0; z-index: 99; flex-direction: column; gap: 0; padding: 18px var(--gut) 40px; background: rgba(8, 8, 10, .97); backdrop-filter: blur(18px); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: all .35s var(--ease); height: calc(100dvh - var(--head)); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { padding: 18px 0; font: italic 700 clamp(26px, 6vw, 38px)/1.1 var(--fd); letter-spacing: .02em; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav > a::after { display: none; }
  .nav__mobile-extra { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .nav__mobile-extra .seg button { min-height: 44px; min-width: 60px; }
  .header.is-open { background: rgba(8, 8, 10, .97); }
  .atelier, .finance, .booking, .faq { grid-template-columns: minmax(0, 1fr); }
  .atelier__stage { position: relative; top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .detail { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .hero { justify-content: flex-start; min-height: max(100svh, 860px); }
  .hero__content { padding-top: clamp(20px, 5vh, 48px); padding-bottom: 0; }
  .hero__title { margin: 16px 0 14px; }
  .hero__lead { max-width: 40ch; font-size: 14.5px; }
  .hero__cta { margin-top: 22px; }
  .hero__ghost { top: 62%; font-size: 62vw; }
  .hero__hint { display: none; }
  .hero__hud { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "build tools" "stats stats"; gap: 16px 14px; bottom: 18px; }
  .build { grid-area: build; min-width: 0; }
  .hero__stats { grid-area: stats; }
  .build__top { letter-spacing: .1em; font-size: 10.5px; }
  .hero__tools { grid-area: tools; grid-column: auto; order: 0; }
  .hero__stats { justify-content: space-between; gap: 10px; }
  .hero__stats li { padding-left: 10px; flex: 1; }
  .hero__stats li > span { font-size: 9.5px; letter-spacing: .1em; }
  .tool { min-height: 44px; }
  .tool span { display: none; }
  .atelier__doors span, .hl small { display: none; }
  .hl span { font-size: 11.5px; } .hl__box { padding-left: 24px; } .hl.is-left .hl__box { padding-right: 24px; }
  .bigstats { grid-template-columns: 1fr 1fr; }
  .bigstats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .bigstats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --head: 62px; }
  .cars, .features, .services, .grid2, .opt-row { grid-template-columns: minmax(0, 1fr); }
  .toolbar { align-items: stretch; }
  .select { justify-content: space-between; width: 100%; }
  .select select { flex: 1; max-width: 240px; }
  .btn { padding: 0 22px; }
  .hero__cta .btn--ghost { display: none; }
  .summary__cta .btn, .detail__cta .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .room { flex-direction: column; align-items: flex-start; }
  .cmpbar { flex-direction: column; align-items: stretch; }
  .cmpbar__actions { justify-content: flex-end; }
  body { padding-bottom: 56px; }
  .float { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; background: rgba(12, 13, 16, .97); border-top: 1px solid var(--line-2); padding-bottom: env(safe-area-inset-bottom); }
  .has-cmp .float { transform: none; }
  .float__btn { flex: 1 1 0; width: auto; height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; background: none; border: 0; border-right: 1px solid var(--line); backdrop-filter: none; }
  .float__btn span { position: static; transform: none; opacity: 1; padding: 0; background: none; color: inherit; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
  .float__btn:hover span, .float__btn:focus-visible span { transform: none; }
  .float__btn--zalo b { display: none; }
  .float__btn--top { flex: 0 0 56px; border-right: 0; opacity: 1; visibility: visible; transform: none; }
  .cmpbar { bottom: 66px; }
  .toasts { bottom: 72px; }
  .atelier__stage { aspect-ratio: 1 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
