/* =========================================================
   EPTX MOTORS — design system
   Brand: black #010101, white, red #FF0000 (hover #CC0000), 0px corners, no button shadows.
   Buttons use --red-aa (#E00000): visually the brand red on black, but white text passes WCAG AA (5.0:1);
   pure #FF0000 with white text is 4.0:1. Pure red stays for accents, rules and glows.
   ========================================================= */
:root {
  --bg: #010101;
  --surface: #0a0a0b;
  --surface-2: #121214;
  --surface-3: #1a1a1d;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #ffffff;
  --muted: #a3a3a8;
  --dim: #75757b;
  --red: #ff0000;
  --red-aa: #e00000;
  --red-h: #cc0000;
  --ok: #22c55e;
  --warn: #f5a524;
  --ff: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 72px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  /* z-index scale */
  --z-nav: 40; --z-tray: 45; --z-modal: 60; --z-grain: 70;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--ff); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, 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; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--red-aa); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* fixed film grain (never on scrolling containers) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
.display, h1, h2, h3 { font-family: var(--ff); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: .95; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 6.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 4.2rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.1; }
p { margin: 0; }
.lede { color: var(--muted); font-size: clamp(1.02rem, 1.25vw, 1.2rem); max-width: 56ch; line-height: 1.6; }
.eyebrow { font: 600 12px/1 var(--ff); font-stretch: 112%; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.red { color: var(--red); }
.mono { font-family: var(--ff-mono); font-size: .86em; letter-spacing: .02em; }
.stroke { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.stack > * + * { margin-top: var(--s, 20px); }

/* ---------- buttons: solid red, 0 radius, no shadow ---------- */
.btn {
  --bh: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap;
  min-height: var(--bh); padding: 0 26px; border-radius: 0; box-shadow: none;
  font: 800 14px/1 var(--ff); font-stretch: 115%; letter-spacing: .1em; text-transform: uppercase;
  background: var(--red-aa); color: #fff; border: 1px solid var(--red-aa);
  position: relative; overflow: hidden; isolation: isolate;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease), color .35s var(--ease);
}
.btn::before { /* wipe from the left on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red-h);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { border-color: var(--red-h); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn i { font-size: 18px; transition: transform .4s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn.ghost { background: transparent; border-color: var(--line-2); color: #fff; }
.btn.ghost::before { background: #fff; }
.btn.ghost:hover { color: #010101; border-color: #fff; }
.btn.sm { --bh: 42px; padding: 0 16px; font-size: 12px; }
.btn.block { width: 100%; }
.btn.dark { background: #010101; border-color: #010101; }
.btn.dark::before { background: #222; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--ff); font-stretch: 115%; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--red); padding-bottom: 6px; }
.link-arrow i { transition: transform .4s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav); height: var(--nav-h);
  display: flex; align-items: center; transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(1,1,1,.82); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 6px; font: 900 22px/1 var(--ff); font-stretch: 125%; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.wordmark b { color: var(--red); }
.wordmark small { font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 10px 14px; font: 700 12.5px/1 var(--ff); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.78); position: relative; transition: color .3s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--ff-mono); white-space: nowrap; }
.nav-phone i { color: var(--red); }
.burger { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .45s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }
.mmenu {
  position: fixed; inset: 0; z-index: calc(var(--z-nav) - 1); background: rgba(1,1,1,.94); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 40px; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity .45s var(--ease);
}
.mmenu.open { opacity: 1; pointer-events: auto; }
.mmenu a.big { font: 900 clamp(2.2rem, 10vw, 3.6rem)/1.05 var(--ff); font-stretch: 125%; text-transform: uppercase; transform: translateY(30px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.mmenu.open a.big { transform: none; opacity: 1; }
.mmenu.open a.big:nth-child(2) { transition-delay: .05s; } .mmenu.open a.big:nth-child(3) { transition-delay: .1s; }
.mmenu.open a.big:nth-child(4) { transition-delay: .15s; } .mmenu.open a.big:nth-child(5) { transition-delay: .2s; } .mmenu.open a.big:nth-child(6) { transition-delay: .25s; }
.mmenu .mm-foot { margin-top: 32px; display: grid; gap: 12px; color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100dvh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-media, .hero-media video, .hero-media canvas, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { z-index: -2; }
.hero-media canvas { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-media.gpu canvas { opacity: 1; }
.hero::before { /* legibility scrim, left + bottom */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(1,1,1,.88) 0%, rgba(1,1,1,.55) 38%, rgba(1,1,1,0) 70%), linear-gradient(0deg, #010101 0%, rgba(1,1,1,0) 34%);
}
.hero-inner { padding-bottom: clamp(48px, 9vh, 110px); padding-top: calc(var(--nav-h) + 40px); }
.hero h1 { max-width: 13ch; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; }
.hero .lede { margin-top: 22px; color: rgba(255,255,255,.82); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { position: absolute; right: var(--gutter); bottom: clamp(48px, 9vh, 110px); display: grid; gap: 10px; text-align: right; }
.hero-meta .chip { display: inline-flex; gap: 10px; align-items: center; justify-content: flex-end; font: 600 12px/1 var(--ff); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.hero-meta .chip b { color: #fff; font-family: var(--ff-mono); letter-spacing: 0; font-size: 14px; }
.hero-progress { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--red); width: 0; z-index: 2; }

/* page hero (inner pages) */
.phero { padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.phero .bgimg { position: absolute; inset: 0; z-index: -1; opacity: .38; }
.phero .bgimg img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg), rgba(1,1,1,.4)); }
.phero .lede { margin-top: 18px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { color: var(--dim); }

/* ---------- price quick search ---------- */
.pricebar { border-block: 1px solid var(--line); background: var(--surface); }
.pricebar .wrap { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding-block: 22px; }
.pricebar h2 { font-size: 14px; letter-spacing: .18em; font-stretch: 112%; line-height: 1.2; color: var(--muted); font-weight: 700; }
.price-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.price-chips::-webkit-scrollbar { display: none; }
.price-chip {
  flex: 1 0 auto; scroll-snap-align: start; display: grid; gap: 4px; padding: 14px 18px; border: 1px solid var(--line-2); min-width: 112px;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.price-chip small { font: 600 10.5px/1 var(--ff); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.price-chip b { font: 900 22px/1 var(--ff); font-stretch: 120%; }
.price-chip:hover { border-color: var(--red); background: rgba(255,0,0,.06); transform: translateY(-2px); }
.price-chip.all { background: var(--red-aa); border-color: var(--red-aa); }
.price-chip.all small { color: rgba(255,255,255,.8); }

/* ---------- vehicle card ---------- */
.vcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); transition: border-color .4s var(--ease), transform .5s var(--ease); }
.vcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.vcard .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.vcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.vcard:hover .ph img { transform: scale(1.05); }
.vcard .badge { position: absolute; left: 0; top: 14px; background: var(--red-aa); color: #fff; font: 800 10.5px/1 var(--ff); letter-spacing: .16em; text-transform: uppercase; padding: 7px 10px; }
.vcard .cmp { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; background: rgba(1,1,1,.72); backdrop-filter: blur(6px); padding: 8px 10px; font: 700 11px/1 var(--ff); letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-2); }
.vcard .cmp input { accent-color: var(--red); margin: 0; }
.vcard .body { padding: 18px 18px 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.vcard .yr { font: 600 12px/1 var(--ff-mono); color: var(--muted); }
.vcard h3 { font-size: 1.15rem; line-height: 1.05; }
.vcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.vcard .trim { color: var(--muted); font-size: 14px; margin-top: -4px; }
.vcard .specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13px; color: rgba(255,255,255,.82); margin-top: 4px; }
.vcard .specs span { display: flex; gap: 7px; align-items: center; min-width: 0; }
.vcard .specs span em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vcard .specs i { color: var(--red); font-size: 15px; flex: none; }
.vcard .ids { font: 500 11px/1.5 var(--ff-mono); color: var(--dim); }
.vcard .price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); margin-top: 14px; }
.vcard .price b { font: 900 1.6rem/1 var(--ff); font-stretch: 115%; }
.vcard .price b.call { font-size: 1.1rem; }
.fees { position: relative; z-index: 1; font-size: 11.5px; color: var(--muted); text-decoration: underline dotted; text-underline-offset: 3px; }
.fees:hover { color: #fff; }
.vcard .acts { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.vcard .acts > * { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 8px; font: 700 11px/1.2 var(--ff); letter-spacing: .1em; text-transform: uppercase; text-align: center; transition: background .3s var(--ease), color .3s; }
.vcard .acts > * + * { border-left: 1px solid var(--line); }
.vcard .acts > *:nth-child(3), .vcard .acts > *:nth-child(4) { border-top: 1px solid var(--line); }
.vcard .acts > *:nth-child(3) { border-left: 0; }
.vcard .acts > *:hover { background: var(--surface-3); }
.vcard .acts .primary { background: var(--red-aa); color: #fff; }
.vcard .acts .primary:hover { background: var(--red-h); }
.nophoto { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px; padding: 20px; background: radial-gradient(120% 90% at 50% 100%, rgba(255,0,0,.18), transparent 60%), repeating-linear-gradient(135deg, #0d0d0f 0 14px, #101013 14px 28px); }
.nophoto i { font-size: 38px; color: var(--red); margin-inline: auto; }
.nophoto b { font: 800 13px/1.2 var(--ff); font-stretch: 115%; letter-spacing: .12em; text-transform: uppercase; }
.nophoto small { color: var(--muted); font-size: 12px; }

/* featured rail */
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 340px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: 8px; }
.sq { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s var(--ease), border-color .3s; }
.sq:hover { background: var(--red-aa); border-color: var(--red-aa); }

/* ---------- 360 showcase (home teaser + featured page) ---------- */
.spin { position: relative; height: 100dvh; overflow: hidden; background: #010101; }
.spin-stage { position: absolute; inset: 0; }
.spin-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: opacity, transform; }
.spin-stage img.flip { transform: scaleX(-1); }
.spin-stage img.on { opacity: 1; }
.spin-copy { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 2; max-width: 440px; }
.spin-copy .chapter { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(24px); }
.spin-copy .chapter h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.spin-copy .chapter p { color: var(--muted); margin-top: 14px; max-width: 34ch; }
.spin-hud { position: absolute; right: var(--gutter); bottom: 40px; z-index: 2; display: flex; align-items: center; gap: 16px; font: 600 12px/1 var(--ff-mono); color: var(--muted); }
.spin-dial { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.spin-dial::after { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 26px; margin-left: -1px; background: var(--red); transform-origin: 50% 28px; transform: rotate(var(--deg, 0deg)); }
.spin-deg { font-size: 22px; color: #fff; font-weight: 700; min-width: 4ch; text-align: right; }
.spin::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(1,1,1,.85), rgba(1,1,1,0) 46%); z-index: 1; }
.spin-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); z-index: 2; }
.spin-bar i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* ---------- CTA tiles ---------- */
.tiles { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; }
.tile { position: relative; min-height: clamp(360px, 44vw, 560px); overflow: hidden; display: flex; align-items: end; padding: clamp(24px, 3.4vw, 48px); isolation: isolate; border: 1px solid var(--line); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(1,1,1,.95), rgba(1,1,1,.15) 70%); }
.tile:hover img { transform: scale(1.06); }
.tile h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.tile p { color: rgba(255,255,255,.8); margin: 12px 0 24px; max-width: 40ch; }
.tile .num { position: absolute; top: clamp(24px, 3.4vw, 48px); right: clamp(24px, 3.4vw, 48px); font: 900 14px/1 var(--ff); letter-spacing: .2em; }

/* ---------- intro + stats ---------- */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.intro h2 { max-width: 12ch; }
.intro .copy { display: grid; gap: 22px; color: var(--muted); font-size: 1.08rem; padding-top: 10px; }
.intro .copy p:first-child { color: #fff; font-size: 1.3rem; line-height: 1.5; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 100px); }
.stat { padding: 30px 24px 0 0; display: grid; gap: 8px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { font: 900 clamp(2.6rem, 5vw, 4.6rem)/1 var(--ff); font-stretch: 125%; }
.stat b sup { font-size: .4em; color: var(--red); vertical-align: top; margin-left: 4px; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- how it works (sticky) ---------- */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); }
.how-visual { position: sticky; top: calc(var(--nav-h) + 4vh); height: calc(100dvh - var(--nav-h) - 8vh); display: grid; place-items: center; }
.how-visual figure { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; opacity: 0; transform: scale(.94); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.how-visual figure.on { opacity: 1; transform: none; }
.how-visual img { width: min(100%, 560px); aspect-ratio: 1; object-fit: cover; mix-blend-mode: lighten; }
.how-visual .ring { position: absolute; width: min(90%, 520px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,0,0,.22), transparent 62%); filter: blur(10px); }
.how-steps { display: grid; }
.how-step { min-height: 72vh; display: grid; align-content: center; gap: 16px; border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 44px); position: relative; opacity: .3; transition: opacity .6s var(--ease); }
.how-step.on { opacity: 1; }
.how-step::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease); }
.how-step.on::before { transform: scaleY(1); }
.how-step .k { font: 700 13px/1 var(--ff-mono); color: var(--red); }
.how-step h3 { font-size: clamp(2rem, 4vw, 3.4rem); }
.how-step p { color: var(--muted); max-width: 42ch; }
.how-step img { display: none; }

/* ---------- makes ---------- */
.makes { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.make { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 20px; min-height: 128px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: color .3s; }
.make::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red-aa); transform: translateY(101%); transition: transform .5s var(--ease); }
.make:hover::before { transform: none; }
.make b { font: 900 1.05rem/1 var(--ff); font-stretch: 120%; text-transform: uppercase; }
.make span { display: flex; justify-content: space-between; align-items: center; font: 600 13px/1 var(--ff-mono); color: var(--muted); transition: color .3s; }
.make:hover span { color: #fff; }

/* ---------- reviews marquee ---------- */
.reviews { overflow: hidden; }
.rv-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.rv-score { display: flex; align-items: center; gap: 14px; }
.rv-score b { font: 900 3.2rem/1 var(--ff); font-stretch: 125%; }
.stars { color: var(--red); letter-spacing: 2px; font-size: 15px; }
.marquee { display: flex; gap: 18px; width: max-content; animation: marquee var(--dur, 48s) linear infinite; }
.reviews:hover .marquee, .marquee:focus-within { animation-play-state: paused; }
.rv { width: clamp(300px, 30vw, 420px); padding: 28px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; align-content: space-between; }
.rv q { font-size: 1.12rem; line-height: 1.5; quotes: "\201C" "\201D"; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rv footer { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.rv .av { width: 38px; height: 38px; display: grid; place-items: center; background: var(--red-aa); font: 800 14px/1 var(--ff); }
.rv footer small { display: block; color: var(--muted); font-size: 12px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }

/* ---------- visit / map ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.25fr; border: 1px solid var(--line); }
.visit .info { padding: clamp(28px, 4vw, 56px); display: grid; gap: 28px; align-content: start; background: var(--surface); }
.visit dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0; font-size: 15px; }
.visit dt { color: var(--muted); }
.visit dd { margin: 0; font-family: var(--ff-mono); font-size: 14px; }
.map { min-height: 420px; position: relative; background: var(--surface-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- shader CTA band ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(90px, 12vw, 170px); text-align: left; border-block: 1px solid var(--line); }
.band canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.band .fallback { position: absolute; inset: 0; z-index: -2; background: radial-gradient(80% 120% at 85% 50%, rgba(255,0,0,.45), transparent 60%), radial-gradient(60% 90% at 10% 100%, rgba(204,0,0,.35), transparent 60%), #010101; }
.band h2 { font-size: clamp(2.4rem, 6vw, 5.6rem); max-width: 14ch; }
.band .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- footer + staff login ---------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 110px); background: var(--bg); }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.f-grid h4 { font: 800 12px/1 var(--ff); font-stretch: 112%; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-grid a:hover { color: var(--red); }
.f-brand p { color: var(--muted); margin-top: 16px; max-width: 34ch; font-size: 15px; }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 18px; transition: background .3s, border-color .3s; }
.social a:hover { background: var(--red-aa); border-color: var(--red-aa); color: #fff; }
.staff { border: 1px solid var(--line-2); padding: 22px; display: grid; gap: 12px; background: var(--surface); }
.staff h4 { margin: 0; display: flex; align-items: center; gap: 8px; }
.staff h4 i { color: var(--red); font-size: 16px; }
.staff p { font-size: 13px; color: var(--muted); }
.f-giant { font: 900 clamp(3.4rem, 15.5vw, 15rem)/.8 var(--ff); font-stretch: 125%; letter-spacing: -.03em; text-transform: uppercase; margin-top: clamp(56px, 7vw, 100px); color: #0f0f11; white-space: nowrap; overflow: hidden; user-select: none; }
.f-giant b { color: rgba(255,0,0,.16); font-weight: 900; }
.f-legal { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.f-legal a:hover { color: #fff; }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field label, .lbl { font: 700 11.5px/1.2 var(--ff); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.86); }
.field label .req { color: var(--red); margin-left: 3px; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 14px; border-radius: 0; background: var(--surface-2); color: #fff;
  border: 1px solid var(--line-2); transition: border-color .25s, background .25s; font-size: 15.5px; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select { background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #8b8b92; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--red); background: var(--surface-3); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field .err { font-size: 12.5px; color: #ff6b6b; min-height: 0; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #ff4d4d; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-all { grid-column: 1 / -1; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 13.5px; color: rgba(255,255,255,.82); line-height: 1.55; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); }
.check a { text-decoration: underline; }
.toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.toggle input { appearance: none; width: 46px; height: 26px; background: var(--surface-3); border: 1px solid var(--line-2); position: relative; transition: background .3s; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; transition: transform .35s var(--ease); }
.toggle input:checked { background: var(--red-aa); border-color: var(--red-aa); }
.toggle input:checked::after { transform: translateX(20px); }
.counter { font: 500 12px/1 var(--ff-mono); color: var(--muted); text-align: right; }
.form-card { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3.4vw, 44px); }
.fieldset { border: 0; padding: 0; margin: 0 0 40px; display: grid; gap: 18px; }
.fieldset legend { font: 900 1.25rem/1 var(--ff); font-stretch: 120%; text-transform: uppercase; padding: 0 0 16px; display: flex; align-items: center; gap: 12px; width: 100%; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.fieldset legend i { color: var(--red); }
.legal-text { font-size: 12.5px; line-height: 1.65; color: var(--muted); max-height: 220px; overflow: auto; padding: 16px; border: 1px solid var(--line); background: var(--surface-2); }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.tabs button { padding: 16px 22px; font: 800 13px/1 var(--ff); font-stretch: 115%; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: #fff; border-color: var(--red); }
.tabs button:disabled { opacity: .4; cursor: not-allowed; }
.repeat { display: grid; gap: 18px; padding: 18px; border: 1px dashed var(--line-2); }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line-2); font-size: 15px; }
.notice i { font-size: 22px; flex: none; }
.notice.ok { border-color: rgba(34,197,94,.5); background: rgba(34,197,94,.07); } .notice.ok i { color: var(--ok); }
.notice.bad { border-color: rgba(255,77,77,.55); background: rgba(255,0,0,.07); } .notice.bad i { color: #ff6b6b; }
.ts-slot { min-height: 65px; }

/* ---------- inventory app ---------- */
.inv { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--nav-h) + 16px); max-height: calc(100dvh - var(--nav-h) - 32px); overflow: auto; border: 1px solid var(--line); background: var(--surface); scrollbar-width: thin; }
.filters .fh { display: flex; justify-content: space-between; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.filters .fh b { font: 900 14px/1 var(--ff); font-stretch: 120%; letter-spacing: .1em; text-transform: uppercase; }
.filters details { border-bottom: 1px solid var(--line); }
.filters summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; font: 700 12px/1 var(--ff); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary i { transition: transform .3s var(--ease); color: var(--muted); }
.filters details[open] summary i { transform: rotate(180deg); }
.filters .opts { padding: 0 18px 18px; display: grid; gap: 4px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; color: rgba(255,255,255,.86); }
.opt input { accent-color: var(--red); width: 17px; height: 17px; margin: 0; }
.opt em { margin-left: auto; font: 500 12px/1 var(--ff-mono); color: var(--dim); font-style: normal; }
.range2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range2 select, .opts select { min-height: 42px; padding: 8px 10px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 0; width: 100%; }
.inv-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.inv-bar .count { font: 900 1.4rem/1 var(--ff); font-stretch: 120%; text-transform: uppercase; }
.inv-bar .count small { font: 500 13px/1 var(--ff); color: var(--muted); text-transform: none; letter-spacing: 0; margin-left: 6px; }
.inv-bar .ctl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inv-bar select, .search input { min-height: 44px; background: var(--surface-2); border: 1px solid var(--line-2); padding: 8px 36px 8px 12px; border-radius: 0; font-size: 14px; }
.search { position: relative; flex: 1; min-width: 200px; }
.search input { width: 100%; padding-left: 40px; }
.search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line-2); font-size: 13px; }
.chip button { color: var(--muted); display: grid; } .chip button:hover { color: var(--red); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager button { min-width: 46px; height: 46px; border: 1px solid var(--line-2); font: 700 14px/1 var(--ff-mono); }
.pager button[aria-current="page"] { background: var(--red-aa); border-color: var(--red-aa); }
.pager button:disabled { opacity: .35; cursor: default; }
.empty { text-align: center; padding: 80px 20px; border: 1px dashed var(--line-2); display: grid; gap: 14px; justify-items: center; }
.empty i { font-size: 44px; color: var(--red); }
.filter-toggle { display: none; }
.skel { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-3) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* compare tray */
.tray { position: fixed; left: 50%; bottom: 16px; z-index: var(--z-tray); transform: translate(-50%, 140%); transition: transform .55s var(--ease); width: min(960px, calc(100% - 24px)); background: rgba(10,10,11,.92); backdrop-filter: blur(16px); border: 1px solid var(--line-2); display: flex; align-items: center; gap: 14px; padding: 12px; }
.tray.show { transform: translate(-50%, 0); }
.tray .slots { display: flex; gap: 8px; flex: 1; overflow-x: auto; }
.tray .slot { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border: 1px solid var(--line); font-size: 12.5px; white-space: nowrap; }
.tray .slot img, .tray .slot .ni { width: 54px; height: 40px; object-fit: cover; background: var(--surface-3); }
.tray .slot button { color: var(--muted); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp-table th, .cmp-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table thead th { vertical-align: bottom; }
.cmp-table thead img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 10px; }
.cmp-table tbody th { color: var(--muted); font-weight: 600; width: 140px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.cmp-table .best { color: var(--red); font-weight: 700; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.modal.open { opacity: 1; pointer-events: auto; }
.modal .box { width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--surface); border: 1px solid var(--line-2); border-top: 3px solid var(--red); padding: clamp(22px, 3vw, 36px); transform: translateY(24px) scale(.98); transition: transform .5s var(--ease); position: relative; }
.modal.wide .box { width: min(1100px, 100%); }
.modal.open .box { transform: none; }
.modal .x { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; display: grid; place-items: center; font-size: 20px; }
.modal .x:hover { color: var(--red); }
.modal h3 { font-size: 1.6rem; margin-bottom: 8px; padding-right: 40px; }
.modal .sub { color: var(--muted); margin-bottom: 22px; font-size: 14.5px; }

/* ---------- vehicle detail ---------- */
.vd { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.gallery .main { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; border: 1px solid var(--line); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: rgba(1,1,1,.7); display: grid; place-items: center; font-size: 20px; }
.gallery .nav-btn:hover { background: var(--red-aa); }
.gallery .prev { left: 0; } .gallery .next { right: 0; }
.gallery .count { position: absolute; right: 12px; bottom: 12px; background: rgba(1,1,1,.7); padding: 6px 10px; font: 600 12px/1 var(--ff-mono); }
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 96px; gap: 8px; overflow-x: auto; margin-top: 8px; scrollbar-width: thin; }
.thumbs button { aspect-ratio: 4/3; border: 2px solid transparent; opacity: .6; transition: opacity .3s, border-color .3s; }
.thumbs button[aria-current="true"] { border-color: var(--red); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vd-side { position: sticky; top: calc(var(--nav-h) + 16px); display: grid; gap: 18px; }
.vd-price { padding: 24px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
.vd-price b { font: 900 clamp(2.4rem, 4vw, 3.4rem)/1 var(--ff); font-stretch: 120%; }
.vd-price .btns { display: grid; gap: 8px; }
.speclist { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.speclist div { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.speclist dt { font: 700 11px/1 var(--ff); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.speclist dt i { color: var(--red); font-size: 15px; }
.speclist dd { margin: 0; font-weight: 600; font-size: 15px; word-break: break-word; }
.features { columns: 2; gap: 32px; padding: 0; list-style: none; margin: 0; }
.features li { break-inside: avoid; padding: 8px 0 8px 22px; position: relative; color: rgba(255,255,255,.86); font-size: 14.5px; }
.features li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 2px; background: var(--red); }

/* ---------- prose (privacy etc.) ---------- */
.prose { max-width: 76ch; color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; line-height: 1.15; }
.prose h3 { font-size: 1.1rem; margin: 1.8em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose a { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-grid figure { margin: 0; position: relative; }
.about-grid figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--line); }
.about-grid figure::before { content: ""; position: absolute; left: -14px; top: -14px; width: 40%; height: 40%; border-left: 3px solid var(--red); border-top: 3px solid var(--red); }
.values { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.value { padding: 28px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 14px; align-content: start; }
.value.feature { grid-row: span 2; background: linear-gradient(160deg, rgba(255,0,0,.2), transparent 55%), var(--surface); }
.value i { font-size: 30px; color: var(--red); }
.value p { color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.cinfo { display: grid; gap: 22px; }
.cinfo a.row, .cinfo div.row { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s; }
.cinfo a.row:hover { border-color: var(--red); }
.cinfo .ic { width: 52px; height: 52px; display: grid; place-items: center; background: var(--red-aa); font-size: 22px; }
.cinfo small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.hours { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-family: var(--ff-mono); font-size: 13.5px; }
.hours tr.today td { color: var(--red); font-weight: 700; }

/* ---------- reveal (JS adds .in; no-JS shows everything) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; }
  .makes { grid-template-columns: repeat(4, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .inv { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(360px, 92vw); max-height: none; z-index: var(--z-modal); transform: translateX(-100%); transition: transform .5s var(--ease); }
  .filters.open { transform: none; }
  .filter-toggle { display: inline-flex; }
}
@media (max-width: 860px) {
  .tiles, .intro, .visit, .vd, .about-grid, .contact-grid, .how { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 24px; }
  .how-visual { display: none; }
  .how-step { min-height: 0; padding-block: 36px; opacity: 1; }
  .how-step img { display: block; width: 220px; aspect-ratio: 1; object-fit: cover; mix-blend-mode: lighten; }
  .hero-meta { display: none; }
  .pricebar .wrap { grid-template-columns: 1fr; gap: 14px; }
  .vd-side { position: static; }
  .values { grid-template-columns: 1fr; } .value.feature { grid-row: auto; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .features { columns: 1; }
  .spin-copy { top: auto; bottom: 120px; transform: none; max-width: calc(100% - 2 * var(--gutter)); }
  .spin::after { background: linear-gradient(0deg, rgba(1,1,1,.92), rgba(1,1,1,0) 55%); }
}
@media (max-width: 560px) {
  .makes { grid-template-columns: repeat(2, 1fr); }
  .f-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .span-2, .span-3 { grid-column: auto; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .speclist { grid-template-columns: 1fr; }
  .tray { flex-wrap: wrap; }
  .rail { grid-auto-columns: 84%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
  .hero-media canvas { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav.scrolled, .tray, .modal { backdrop-filter: none; background: #0a0a0b; }
}

/* the shaders runtime writes an inline px size on first mount; the canvas must track its container */
.hero-media canvas, .band canvas { width: 100% !important; height: 100% !important; }
@media (max-width: 560px) { [data-nav-cta] { display: none; } }

/* =========================================================
   Process film + steps strip
   ========================================================= */
.pfilm { position: relative; margin: 0; aspect-ratio: 16 / 9; background: #010101 url(/assets/video/process-poster.jpg) center / cover; border: 1px solid var(--line); overflow: hidden; }
.pfilm video { width: 100%; height: 100%; object-fit: cover; }
.pfilm.compact { max-width: 900px; }
.pf-toggle { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(1,1,1,.7); border: 1px solid var(--line-2); font-size: 20px; backdrop-filter: blur(6px); transition: background .3s var(--ease); }
.pf-toggle:hover { background: var(--red-aa); }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stp { position: relative; padding: 22px 20px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; overflow: hidden; isolation: isolate; }
.stp img { width: 96px; height: 96px; object-fit: cover; mix-blend-mode: lighten; margin: -6px 0 2px -10px; -webkit-mask-image: radial-gradient(circle, #000 50%, transparent 72%); mask-image: radial-gradient(circle, #000 50%, transparent 72%); transition: transform .6s var(--ease); }
.stp:hover img { transform: scale(1.08) rotate(-3deg); }
.stp .k { font: 700 12px/1 var(--ff-mono); color: var(--red); }
.stp h3 { font-size: 1.15rem; }
.stp p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.stp::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.stp:hover::after { transform: scaleX(1); }

/* =========================================================
   Phone action bars (hidden on desktop)
   ========================================================= */
.mbar { display: none; }
@media (max-width: 860px) {
  :root { --mbar-h: 64px; }
  body { padding-bottom: calc(var(--mbar-h) + env(safe-area-inset-bottom)); }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-tray); display: grid; grid-template-columns: repeat(4, 1fr);
    min-height: calc(var(--mbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(10,10,11,.94); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-top: 1px solid var(--line-2);
  }
  .mbar > a, .mbar > button { display: grid; place-content: center; justify-items: center; gap: 4px; font: 700 10.5px/1 var(--ff); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.86); min-height: var(--mbar-h); }
  .mbar i { font-size: 22px; }
  .mbar .hot { background: var(--red-aa); color: #fff; }
  .mbar > *:active { background: var(--surface-3); }
  .mbar.vbar { grid-template-columns: 1fr 64px 1.1fr; align-items: stretch; }
  .vb-price { display: grid; align-content: center; padding-left: 16px; gap: 2px; }
  .vb-price b { font: 900 1.35rem/1 var(--ff); font-stretch: 115%; }
  .vb-price .fees { font-size: 10.5px; text-align: left; }
  .mbar.vbar > a { border-left: 1px solid var(--line); }
  .mbar.vbar .hot { font-size: 13px; letter-spacing: .1em; }
  .tray { bottom: calc(var(--mbar-h) + env(safe-area-inset-bottom) + 10px); transform: translate(-50%, calc(100% + var(--mbar-h) + 40px)); }
  .tray.show { transform: translate(-50%, 0); }
  .toast { bottom: calc(var(--mbar-h) + 16px); }
  [data-nav-cta] { display: none; }
  .nav { --nav-h: 60px; height: 60px; }
  .wordmark { font-size: 19px; }

  /* type + spacing */
  .phero { padding-top: calc(60px + 40px); padding-bottom: 32px; }
  .section { padding-block: 64px; }
  .section-tight { padding-block: 32px; }
  h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .rail-head { margin-bottom: 24px; }

  /* steps strip -> swipeable cards */
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; border: 0; gap: 10px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .stp { scroll-snap-align: start; border: 1px solid var(--line); background: var(--surface); }
  .pfilm { aspect-ratio: 4 / 5; background-image: url(/assets/video/process-vertical-poster.jpg); margin-inline: calc(-1 * var(--gutter)); border-inline: 0; }
  .pfilm.compact { margin-inline: 0; border-inline: 1px solid var(--line); }

  /* 360: show the whole car on a tall screen */
  .spin-stage img { object-fit: contain; object-position: 50% 32%; }
  .spin-copy .chapter p { font-size: 15px; }
  .spin-hud { bottom: 18px; }

  /* cards + forms: thumb-sized */
  .vcard .acts > * { min-height: 48px; font-size: 11.5px; }
  .vcard .price b { font-size: 1.45rem; }
  .field input, .field select, .field textarea, .input, .inv-bar select, .search input, .range2 select { font-size: 16px; min-height: 50px; }
  .opt { padding: 10px 0; font-size: 15px; }
  .opt input { width: 20px; height: 20px; }
  .filters { width: 100vw; }
  .filters .show-results { display: flex; }
  .form-card { padding: 20px 16px; margin-inline: calc(-1 * var(--gutter) / 2); }
  .tabs button { flex: 1; padding: 16px 8px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .gallery { margin-inline: calc(-1 * var(--gutter)); }
  .gallery .main { border-inline: 0; }
  .thumbs { padding-inline: var(--gutter); }
  .crumbs { font-size: 12px; }
}
@media (max-width: 560px) {
  /* modals become bottom sheets */
  .modal { place-items: end stretch; padding: 0; }
  .modal .box { width: 100%; max-height: 88dvh; border-top-width: 3px; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); }
  .modal.open .box { transform: none; }
  .modal .box::before { content: ""; display: block; width: 44px; height: 4px; background: var(--line-2); margin: -8px auto 16px; }
  .grid-cards { grid-template-columns: 1fr; }
}
.filters .show-results { display: none; position: sticky; bottom: 0; padding: 12px; background: var(--surface); border-top: 1px solid var(--line); }
html { -webkit-tap-highlight-color: rgba(255, 0, 0, .15); }
[hidden] { display: none !important; }
/* grid children must be allowed to shrink, or a long thumb strip / VIN widens the whole phone layout */
.vd > *, .inv > *, .contact-grid > *, .about-grid > *, .visit > *, .intro > *, .tiles > *, .how2 .wrap > * { min-width: 0; }
@media (max-width: 860px) {
  .spin-copy { left: var(--gutter); right: var(--gutter); max-width: none; }
  .spin-copy .chapter { right: 0; }
  .spin-copy .chapter h1, .spin-copy .chapter h2 { font-size: clamp(1.9rem, 9vw, 2.6rem) !important; }
}
@media (max-width: 560px) { .btn { max-width: 100%; white-space: normal; line-height: 1.2; text-align: center; padding-block: 12px; } }

/* =========================================================
   Featured showcase (top of home): cutouts on a showroom stage
   ========================================================= */
.fs { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 7vw, 104px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.fs-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(70% 60% at 72% 70%, rgba(224,0,0,.20), transparent 62%), linear-gradient(180deg, #010101 0%, #0b0b0d 55%, #010101 100%); }
.fs-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 64px); align-items: center; }
.fs-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.fs-count { font: 600 13px/1 var(--ff-mono); color: var(--muted); }
.fs-count b { color: #fff; font-size: 18px; }
.fs-copy { display: grid; gap: 16px; }
.fs-year { display: flex; gap: 14px; align-items: center; font: 700 13px/1 var(--ff); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fs-year span:first-child { color: var(--red); font-family: var(--ff-mono); letter-spacing: 0; font-size: 15px; }
.fs-title { font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: .92; }
.fs-make { display: block; font-size: .42em; letter-spacing: .14em; color: var(--muted); margin-bottom: .3em; }
.fs-trim { color: var(--muted); margin-top: -4px; }
.fs-specs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fs-specs li { display: inline-flex; gap: 8px; align-items: center; padding: 9px 12px; border: 1px solid var(--line-2); font-size: 13.5px; background: rgba(255,255,255,.02); }
.fs-specs i { color: var(--red); font-size: 16px; }
.fs-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.fs-price b { font: 900 clamp(2.4rem, 4vw, 3.4rem)/1 var(--ff); font-stretch: 120%; }
.fs-price b.call { font-size: 1.8rem; }
.fs-ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.fs-ctas .link-arrow { margin-left: 8px; }
.fs-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.fs-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; font: 700 11.5px/1 var(--ff); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.8); border: 1px solid var(--line); transition: border-color .3s var(--ease), color .3s; }
.fs-links a:hover { border-color: var(--red); color: #fff; }
.fs-links i { color: var(--red); }
.fs-stage { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: end center; }
.fs-spot { position: absolute; left: 6%; right: 6%; top: 8%; bottom: 0; background: radial-gradient(52% 46% at 50% 74%, rgba(255,24,24,.38), rgba(255,0,0,0) 70%); filter: blur(4px); z-index: -1; }
.fs-word { position: absolute; left: 50%; top: 4%; transform: translateX(-50%); font: 900 clamp(5rem, 15vw, 15rem)/.8 var(--ff); font-stretch: 125%; text-transform: uppercase; letter-spacing: -.03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.12); pointer-events: none; z-index: -1; }
.fs-car { position: absolute; left: 0; right: 0; bottom: 13.6%; display: grid; place-items: end center; }
.fs-car img { width: 100%; max-height: 80%; max-height: min(80%, 560px); object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.65)); }
.fs-car .fs-refl { position: absolute; top: 100%; left: 0; right: 0; transform: scaleY(-1); opacity: .22; filter: blur(1.5px); -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 38%); mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 38%); }
.fs-car:not(.on) { pointer-events: none; }
.fs-floor { position: absolute; left: 0; right: 0; bottom: 13.5%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,0,0,.85) 30%, rgba(255,0,0,.85) 70%, transparent); box-shadow: 0 0 24px 2px rgba(255,0,0,.45); }
.fs-nav { position: absolute; right: 0; bottom: 0; display: flex; gap: 8px; }
.fs-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 8px; margin-top: clamp(20px, 3vw, 36px); overflow-x: auto; scrollbar-width: none; }
.fs-thumbs::-webkit-scrollbar { display: none; }
.fs-thumbs button { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: center; padding: 10px 12px; text-align: left; border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: border-color .3s var(--ease), background .3s; }
.fs-thumbs button[aria-selected="true"] { border-color: var(--line-2); background: var(--surface-2); }
.fs-thumbs img { width: 74px; height: 44px; object-fit: contain; }
.fs-thumbs b { display: block; font: 800 12.5px/1.15 var(--ff); font-stretch: 112%; text-transform: uppercase; }
.fs-thumbs small { color: var(--muted); font: 600 12px/1.4 var(--ff-mono); }
.fs-bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; }
@media (max-width: 860px) {
  .fs { padding-top: 40px; }
  .fs-grid { grid-template-columns: 1fr; gap: 6px; }
  .fs-stage { order: -1; aspect-ratio: 4 / 3; margin-inline: calc(-1 * var(--gutter)); }
  .fs-word { font-size: 28vw; top: 10%; }
  .fs-car { bottom: 16%; left: 2%; right: 2%; }
  .fs-car img { max-height: 78%; }
  .fs-nav { right: var(--gutter); bottom: 10px; }
  .fs-nav .sq { width: 42px; height: 42px; background: rgba(1,1,1,.6); }
  .fs-top { margin-bottom: 12px; }
  .fs-ctas .btn { flex: 1 1 auto; }
  .fs-ctas .link-arrow { margin: 6px 0 0; }
  .fs-thumbs { grid-auto-columns: 62%; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-snap-type: x mandatory; }
  .fs-thumbs button { scroll-snap-align: start; }
}
