/* =============================================================================
   MERIDIAN MOTOR HOUSE — website stylesheet
   Studio night + ivory showroom floor, one amber signal colour.
   Font: Archivo (variable width + weight), SIL Open Font License.
   ============================================================================= */

:root {
  --night: #0e1a1f; --night-2: #132228; --night-3: #1b2d34; --night-4: #24393f;
  --ivory: #f2efe8; --paper: #fbfaf7; --sand: #e7e2d7;
  --ink: #10181c; --ink-2: #39464c; --steel: #5b686e;
  --chrome: #a9b6bc; --chrome-2: #d5dde0;
  --accent: #e9b44c; --accent-ink: #1b1306; --accent-soft: rgba(233, 180, 76, .16);
  --red: #c2273a; --green: #2c8a5a; --blue: #2f6fb3;
  --line: #ddd6c9; --line-2: #cfc7b8; --line-dark: rgba(213, 221, 224, .14);
  --r-xs: 4px; --r-sm: 6px; --r: 12px; --r-lg: 18px;
  --shadow: 0 1px 2px rgba(16, 24, 28, .06), 0 10px 30px -12px rgba(16, 24, 28, .22);
  --shadow-lg: 0 30px 70px -20px rgba(8, 14, 17, .45);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --head-h: 72px;
  --wrap: min(1320px, 100% - 48px);
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: clip; font-variant-numeric: tabular-nums; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .45em; line-height: 1.05; font-stretch: 125%; font-weight: 750; letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 1.4rem + 4.8vw, 5.25rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem); }
h3 { font-size: 1.3125rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 500; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.dark { background: var(--night); color: var(--ivory); }
.muted { color: var(--steel); }
.dark .muted { color: var(--chrome); }
.small { font-size: .9375rem; }
.tiny { font-size: .8125rem; }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: var(--paper); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: var(--r-sm); border: 1.5px solid var(--bg); background: var(--bg); color: var(--fg); font-weight: 650; font-size: .9375rem; text-decoration: none; letter-spacing: .005em; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate; transition: transform .2s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-accent { --bg: var(--accent); --fg: var(--accent-ink); }
.btn-accent:hover { box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.dark .btn-ghost, .btn-ghost.on-dark { --fg: var(--ivory); border-color: rgba(242, 239, 232, .32); }
.dark .btn-ghost:hover, .btn-ghost.on-dark:hover { border-color: var(--ivory); }
.btn-light { --bg: var(--paper); --fg: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .25em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); display: inline-grid; place-items: center; color: var(--ink); transition: border-color .2s, background-color .2s, transform .2s var(--ease); position: relative; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.icon-btn .count:empty, .icon-btn .count[data-n="0"] { display: none; }

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--head-h); color: var(--ivory); transition: background-color .35s, box-shadow .35s, transform .4s var(--ease); }
.site-head.solid, body:not(.has-hero) .site-head { background: rgba(14, 26, 31, .94); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 1px 0 var(--line-dark); }
.site-head .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-stretch: 125%; font-weight: 800; font-size: 1.12rem; letter-spacing: .04em; text-transform: uppercase; }
.brand-word span { font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--chrome); margin-top: 5px; font-weight: 600; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { position: relative; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--chrome-2); border-radius: 6px; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.site-head .icon-btn { background: transparent; border-color: rgba(242, 239, 232, .22); color: var(--ivory); }
.site-head .icon-btn:hover { border-color: var(--ivory); }
.menu-btn { display: none; }
.mnav { position: fixed; inset: var(--head-h) 0 0; z-index: 99; background: var(--night); color: var(--ivory); padding: 24px; display: flex; flex-direction: column; gap: 4px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
body.menu-open .mnav { opacity: 1; transform: none; visibility: visible; }
.mnav a { font-stretch: 125%; font-weight: 750; font-size: 1.9rem; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line-dark); letter-spacing: -.01em; }
.mnav .btn { margin-top: 20px; }

/* ---------- intro shutter ---------- */
.shutter { position: fixed; inset: 0; z-index: 400; background: var(--night); display: grid; place-items: center; transition: transform 1.15s var(--ease-out); }
.shutter::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 46px), linear-gradient(180deg, #13232a, #0b1519); }
.shutter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: linear-gradient(90deg, #2a3c42, #3a5057, #2a3c42); box-shadow: 0 -1px 0 rgba(255, 255, 255, .08); }
.shutter-in { position: relative; text-align: center; color: var(--ivory); }
.shutter-in .brand-mark { width: 64px; height: 64px; margin: 0 auto 18px; }
.shutter-in b { display: block; font-stretch: 125%; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 1.35rem; }
.shutter-bar { width: 180px; height: 2px; background: rgba(255, 255, 255, .12); margin: 22px auto 0; overflow: hidden; border-radius: 2px; }
.shutter-bar i { display: block; height: 100%; width: 40%; background: var(--accent); animation: load 1.1s ease-in-out infinite; }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.shutter.open { transform: translateY(-101%); }
.shutter.gone { display: none; }

/* ---------- hero (3D showroom) ---------- */
.hero { position: relative; min-height: max(640px, 100svh); background: radial-gradient(70% 60% at 62% 42%, #24363e 0%, rgba(20, 34, 40, .6) 45%, transparent 75%), linear-gradient(180deg, #0f1c21 0%, #0c171b 62%, #0a1316 100%); color: var(--ivory); overflow: hidden; isolation: isolate; }
.hero::before { /* showroom ceiling light strips */ content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 120px; z-index: -1; background: repeating-linear-gradient(90deg, transparent 0 7%, rgba(220, 235, 240, .16) 7% 7.6%, transparent 7.6% 14%); filter: blur(10px); mask-image: linear-gradient(#000, transparent); -webkit-mask-image: linear-gradient(#000, transparent); }
.hero::after { /* floor sheen */ content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48%; z-index: -1; background: radial-gradient(55% 60% at 62% 40%, rgba(233, 180, 76, .06), transparent 70%), linear-gradient(180deg, transparent, rgba(0, 0, 0, .35)); }
.hero-stage { position: absolute; inset: 0; }
.hero-stage canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; outline: none; }
.hero-stage canvas:active { cursor: grabbing; }
.hero-fallback { position: absolute; left: 50%; top: 54%; width: min(900px, 64%); transform: translate(-16%, -50%); opacity: 0; transition: opacity .8s; pointer-events: none; }
.hero.no-3d .hero-fallback { opacity: 1; }
.hero.no-3d canvas { display: none; }
.hero.photo-mode .hero-stage { background: center / cover no-repeat var(--hero-photo); }
.hero.photo-mode .hero-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 19, 22, .85) 0%, rgba(10, 19, 22, .35) 60%, rgba(10, 19, 22, .2) 100%), linear-gradient(0deg, rgba(10, 19, 22, .85), transparent 45%); }
.hero-copy { position: relative; z-index: 2; padding-top: calc(var(--head-h) + clamp(24px, 6vh, 72px)); pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero-title { max-width: 9.5em; margin-bottom: 22px; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 70ms + 150ms); }
.hero.go .hero-title .w > span { transform: none; }
.hero-text { max-width: 28em; color: var(--chrome-2); font-size: 1.125rem; opacity: 0; transform: translateY(10px); transition: opacity .9s .55s, transform .9s .55s var(--ease-out); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; opacity: 0; transform: translateY(10px); transition: opacity .9s .7s, transform .9s .7s var(--ease-out); }
.hero.go .hero-text, .hero.go .hero-ctas { opacity: 1; transform: none; }
.hero-bar { position: absolute; left: 0; right: 0; bottom: clamp(18px, 4vh, 36px); z-index: 3; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: end; opacity: 0; transform: translateY(16px); transition: opacity .9s 1s, transform .9s 1s var(--ease-out); }
.hero.go .hero-bar { opacity: 1; transform: none; }
.finish { display: grid; gap: 10px; }
.finish-label { font-size: .8125rem; color: var(--chrome); display: flex; gap: 8px; align-items: center; }
.finish-label b { color: var(--ivory); font-weight: 650; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 0 var(--accent); position: relative; transition: transform .25s var(--ease), box-shadow .25s; }
.swatch::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(140deg, rgba(255, 255, 255, .55), transparent 45%, rgba(0, 0, 0, .3)); }
.swatch:hover { transform: translateY(-2px); }
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 2px var(--night), 0 0 0 4px var(--accent); }
.drag-hint { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--chrome); margin-left: 6px; }
.drag-hint svg { width: 18px; height: 18px; animation: sway 2.4s ease-in-out infinite; }
@keyframes sway { 50% { transform: translateX(5px); } }
.quick { justify-self: end; display: grid; grid-template-columns: repeat(3, minmax(130px, 170px)) auto; gap: 1px; background: rgba(213, 221, 224, .14); border: 1px solid rgba(213, 221, 224, .16); border-radius: var(--r); overflow: hidden; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); }
.quick label { display: grid; gap: 2px; padding: 10px 14px; background: rgba(14, 26, 31, .82); cursor: pointer; }
.quick label span { font-size: .72rem; color: var(--chrome); font-weight: 600; letter-spacing: .02em; }
.quick select { border: 0; background: transparent; color: var(--ivory); font-weight: 650; padding: 0; appearance: none; -webkit-appearance: none; cursor: pointer; font-size: .95rem; }
.quick select option { color: var(--ink); }
.quick select:focus { outline: none; }
.quick label:focus-within { background: rgba(27, 45, 52, .95); }
.quick .btn { border-radius: 0; min-height: 100%; padding: 0 22px; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.sec-head h2 { margin: 0 0 10px; }
.sec-head p { margin: 0; max-width: 34em; color: var(--steel); }
.dark .sec-head p { color: var(--chrome); }
.sec-tools { display: flex; gap: 10px; align-items: center; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- vehicle card ---------- */
.vcard { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.vcard:hover { box-shadow: 0 0 0 1px var(--line-2), var(--shadow); transform: translateY(-3px); }
.vmedia { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #d9d3c6; }
.vmedia img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .55s var(--ease), transform 1.2s var(--ease); }
.vmedia img.alt { opacity: 0; }
.vcard:hover .vmedia img.alt.ok { opacity: 1; }
.vcard:hover .vmedia img { transform: scale(1.035); }
.vmedia::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(0, 0, 0, .25)); pointer-events: none; }
.badges { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 70px); }
.badge { height: 26px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; background: rgba(251, 250, 247, .94); color: var(--ink); letter-spacing: .01em; backdrop-filter: blur(6px); }
.badge.new { background: var(--accent); color: var(--accent-ink); }
.badge.drop { background: var(--red); color: #fff; }
.badge.res { background: var(--blue); color: #fff; }
.badge.sold { background: var(--ink); color: #fff; }
.fav { position: absolute; right: 12px; top: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(251, 250, 247, .94); display: grid; place-items: center; color: var(--ink); transition: transform .25s var(--ease), color .2s; }
.fav svg { width: 19px; height: 19px; }
.fav:hover { transform: scale(1.08); }
.fav[aria-pressed="true"] { color: var(--red); }
.fav[aria-pressed="true"] svg path { fill: currentColor; }
.fav.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.3); } }
.vbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vtitle { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.vtitle h3 { margin: 0; font-size: 1.125rem; line-height: 1.2; }
.vtitle h3 a { text-decoration: none; }
.vtitle h3 a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.vtitle .yr { font-weight: 650; color: var(--steel); font-size: .9375rem; flex: none; }
.vtrim { margin: -6px 0 0; color: var(--steel); font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.specs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.specs li { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--ivory); font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.specs svg { width: 14px; height: 14px; color: var(--steel); }
.vfoot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-stretch: 112%; font-weight: 800; font-size: 1.4rem; letter-spacing: -.01em; }
.price s { color: var(--steel); font-size: .9rem; }
.permo { font-size: .8125rem; color: var(--steel); }
.permo b { color: var(--ink); }
.cmp { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 650; color: var(--ink-2); cursor: pointer; user-select: none; }
.cmp input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2); margin: 0; display: grid; place-items: center; transition: background-color .2s, border-color .2s; background: var(--paper); }
.cmp input:checked { background: var(--ink); border-color: var(--ink); }
.cmp input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.vcard.is-sold .vmedia img, .vcard.is-reserved .vmedia img { filter: saturate(.75); }
.vcard.is-sold .price strong { color: var(--steel); text-decoration: line-through; text-decoration-thickness: 2px; }

/* image fallback — shown if a photo can't load */
.noimg { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; background: radial-gradient(80% 70% at 50% 40%, #233740, #101d22); color: var(--chrome); padding: 14px; }
.noimg svg { width: min(70%, 260px); height: auto; color: rgba(213, 221, 224, .5); }
.noimg span { font-size: .8125rem; font-weight: 650; letter-spacing: .02em; }

/* ---------- rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 340px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 22px; scrollbar-width: none; scroll-padding-inline: 2px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-btn[disabled] { opacity: .35; pointer-events: none; }

/* ---------- body styles ---------- */
.bodies { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.btile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 18px 18px 16px; min-height: 168px; border-radius: var(--r); background: var(--paper); box-shadow: 0 0 0 1px var(--line); text-decoration: none; overflow: hidden; transition: box-shadow .3s, background-color .3s; }
.btile svg { width: 100%; height: 64px; color: var(--ink-2); transition: transform .6s var(--ease-out), color .3s; }
.btile:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.btile:hover svg { transform: translateX(10px); color: var(--ink); }
.btile b { font-stretch: 112%; font-weight: 750; font-size: 1.0625rem; }
.btile span { display: block; font-size: .8125rem; color: var(--steel); font-weight: 600; }
.btile.empty { opacity: .5; }

/* ---------- promise ---------- */
.promise { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.promise-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.3; background: radial-gradient(90% 70% at 50% 30%, #2a3e46, #0e1a1f); box-shadow: var(--shadow-lg); }
.promise-media img { width: 100%; height: 100%; object-fit: cover; }
.promise-media .studio { position: absolute; left: 6%; right: 6%; bottom: 10%; width: 88%; }
.promise-media figcaption { position: absolute; left: 20px; bottom: 18px; right: 20px; color: var(--ivory); font-size: .875rem; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.plist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.plist li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.plist li:last-child { border-bottom: 1px solid var(--line); }
.plist .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--night); color: var(--accent); display: grid; place-items: center; }
.plist .ic svg { width: 22px; height: 22px; }
.plist h3 { margin: 2px 0 4px; font-size: 1.125rem; }
.plist p { margin: 0; color: var(--steel); }

/* ---------- finance calculator ---------- */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.calc-in { display: grid; gap: 26px; }
.rng { display: grid; gap: 10px; }
.rng-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rng-top label { font-weight: 650; }
.rng-top output { font-stretch: 112%; font-weight: 800; font-size: 1.25rem; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(213, 221, 224, .2) var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(213, 221, 224, .2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--paper); border: 0; box-shadow: 0 0 0 5px var(--accent-soft), 0 2px 8px rgba(0, 0, 0, .4); transition: box-shadow .2s; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 0; box-shadow: 0 0 0 5px var(--accent-soft), 0 2px 8px rgba(0, 0, 0, .4); }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 45%, transparent); }
.light-rng input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--ink) var(--p), var(--sand) var(--p)); }
.light-rng input[type="range"]::-moz-range-track { background: var(--sand); }
.light-rng input[type="range"]::-moz-range-progress { background: var(--ink); }
.light-rng input[type="range"]::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(16, 24, 28, .12), 0 2px 6px rgba(0, 0, 0, .25); }
.terms { display: flex; gap: 8px; flex-wrap: wrap; }
.term { height: 42px; min-width: 64px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(213, 221, 224, .25); background: transparent; color: inherit; font-weight: 650; transition: background-color .2s, color .2s, border-color .2s; }
.term:hover { border-color: currentColor; }
.term[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.light-rng .term { border-color: var(--line-2); }
.light-rng .term[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.calc-out { border-radius: var(--r-lg); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line-dark); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.calc-out::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -170px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.calc-out .big { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; font-stretch: 125%; font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); line-height: 1; letter-spacing: -.03em; position: relative; }
.calc-out .big small { font-size: 1rem; font-weight: 600; color: var(--chrome); letter-spacing: 0; font-stretch: 100%; }
.calc-rows { display: grid; gap: 8px; margin: 6px 0 4px; position: relative; }
.calc-rows div { display: flex; justify-content: space-between; font-size: .9375rem; color: var(--chrome); }
.calc-rows b { color: var(--ivory); font-weight: 650; }
.calc-out .tiny { color: var(--chrome); margin: auto 0 0; position: relative; }
.light-calc .calc-out { background: var(--night); color: var(--ivory); }
.vd-block .calc-out .big { font-size: clamp(2.3rem, 1.5rem + 2vw, 3.3rem); }
.vd-block .calc { gap: 28px; }

/* ---------- sell / forms ---------- */
.sell { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 650; }
.field label small { font-weight: 500; color: var(--steel); }
.input { width: 100%; height: 50px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--paper); padding: 0 14px; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
textarea.input { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 38px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310181c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(16, 24, 28, .08); }
.dark .input { background: var(--night-2); border-color: rgba(213, 221, 224, .2); color: var(--ivory); }
.dark .input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.dark select.input { background: var(--night-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d5dde0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.dark .input::placeholder { color: rgba(213, 221, 224, .45); }
.field .err { display: none; font-size: .8125rem; font-weight: 600; color: var(--red); }
.dark .field .err { color: #ff9a8a; }
.field.bad .input { border-color: var(--red); }
.field.bad .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { display: none; grid-column: 1 / -1; padding: 16px 18px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--green) 14%, transparent); border: 1px solid color-mix(in srgb, var(--green) 40%, transparent); font-size: .9375rem; }
.form-ok.show { display: block; animation: rise .5s var(--ease-out); }
.form-ok small { display: block; margin-top: 4px; opacity: .8; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.visit-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 11; background: radial-gradient(90% 70% at 50% 30%, #2a3e46, #0e1a1f); }
.visit-media img { width: 100%; height: 100%; object-fit: cover; }
.hours { width: 100%; border-collapse: collapse; margin: 18px 0 24px; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line-dark); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-weight: 650; }
.hours tr.today th, .hours tr.today td { color: var(--accent); }
.contact-list { display: grid; gap: 10px; margin-bottom: 24px; }
.contact-list a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 650; }
.contact-list svg { width: 18px; height: 18px; color: var(--accent); }

/* ---------- page head ---------- */
.page-head { background: var(--night); color: var(--ivory); padding: calc(var(--head-h) + clamp(28px, 5vw, 56px)) 0 clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(233, 180, 76, .09), transparent); pointer-events: none; }
.page-head h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.75rem); margin-bottom: 8px; }
.page-head p { color: var(--chrome); margin: 0; max-width: 40em; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .8125rem; color: var(--chrome); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 12px; height: 12px; }

/* ---------- inventory ---------- */
.inv { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; padding: 32px 0 96px; }
.filters { position: sticky; top: calc(var(--head-h) + 20px); max-height: calc(100vh - var(--head-h) - 40px); overflow: auto; display: grid; gap: 4px; padding-right: 6px; scrollbar-width: thin; }
.fgroup { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fgroup:first-child { padding-top: 0; }
.fgroup h3 { font-size: .9375rem; font-stretch: 100%; font-weight: 700; margin: 0 0 12px; letter-spacing: 0; display: flex; justify-content: space-between; }
.chk { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: .9375rem; }
.chk input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--line-2); margin: 0; display: grid; place-items: center; background: var(--paper); flex: none; transition: background-color .15s, border-color .15s; }
.chk input:checked { background: var(--ink); border-color: var(--ink); }
.chk input:checked::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.chk .n { margin-left: auto; font-size: .8125rem; color: var(--steel); font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: .875rem; transition: background-color .2s, border-color .2s, color .2s; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dual { position: relative; height: 34px; }
.dual input[type="range"] { position: absolute; inset: 0; pointer-events: none; height: 34px; }
.dual input[type="range"]::-webkit-slider-thumb { pointer-events: auto; }
.dual input[type="range"]::-moz-range-thumb { pointer-events: auto; }
.dual input[type="range"]::-webkit-slider-runnable-track { background: transparent; }
.dual input[type="range"]::-moz-range-track { background: transparent; }
.dual input[type="range"]::-moz-range-progress { background: transparent; }
.dual .track { position: absolute; left: 0; right: 0; top: 14px; height: 6px; border-radius: 6px; background: var(--sand); }
.dual .track i { position: absolute; top: 0; bottom: 0; background: var(--ink); border-radius: 6px; }
.dual input[type="range"]::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(16, 24, 28, .1), 0 2px 6px rgba(0, 0, 0, .3); background: var(--paper); margin-top: -9px; }
.range-vals { display: flex; justify-content: space-between; font-weight: 700; font-size: .9375rem; margin-top: 6px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .count { font-weight: 700; font-size: 1.0625rem; }
.toolbar .count span { color: var(--steel); font-weight: 500; }
.toolbar-r { display: flex; gap: 10px; align-items: center; }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--steel); pointer-events: none; }
.search input { height: 46px; width: min(320px, 100%); border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper); padding: 0 16px 0 42px; }
.search input:focus { outline: none; border-color: var(--ink); }
.sel { height: 46px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310181c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; padding: 0 40px 0 16px; appearance: none; -webkit-appearance: none; font-weight: 600; font-size: .9375rem; }
.sel:focus { outline: none; border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 18px; }
.chips:empty { display: none; }
.chip-x { height: 32px; padding: 0 8px 0 12px; border-radius: 999px; border: 0; background: var(--night); color: var(--ivory); font-size: .8125rem; font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.chip-x svg { width: 14px; height: 14px; opacity: .7; }
.chip-x.clear { background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid.list { grid-template-columns: 1fr; }
.grid.list .vcard { flex-direction: row; }
.grid.list .vmedia { width: 38%; aspect-ratio: auto; min-height: 220px; flex: none; }
.grid .vcard { animation: cardIn .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } }
.empty-state { text-align: center; padding: 70px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--r); grid-column: 1 / -1; }
.empty-state svg { width: 140px; margin: 0 auto 10px; color: var(--steel); }
.filters-btn, .filters-head, .filters-apply { display: none; }
.view-toggle { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; height: 46px; }
.view-toggle button { width: 46px; border: 0; background: var(--paper); display: grid; place-items: center; color: var(--steel); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.view-toggle svg { width: 18px; height: 18px; }

/* compare tray */
.tray { position: fixed; left: 50%; bottom: 20px; z-index: 90; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--night); color: var(--ivory); box-shadow: var(--shadow-lg); transition: transform .5s var(--ease-out); max-width: calc(100% - 24px); }
.tray { visibility: hidden; transition: transform .5s var(--ease-out), visibility 0s .5s; }
.tray.show { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease-out), visibility 0s; }
.tray-thumbs { display: flex; }
.tray-thumbs img, .tray-thumbs .t0 { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--night); margin-left: -10px; background: var(--night-3); }
.tray-thumbs img:first-child { margin-left: 0; }
.tray b { font-size: .9375rem; white-space: nowrap; }

/* ---------- vehicle page ---------- */
.vd-top { padding: calc(var(--head-h) + 24px) 0 0; background: var(--night); color: var(--ivory); }
.vd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; }
.vd-head h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); margin: 0; }
.vd-head .trim { color: var(--chrome); font-size: 1.125rem; margin: 6px 0 0; }
.vd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.gallery { position: relative; }
.g-stage { position: relative; }
.g-main { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: #0b1418; cursor: zoom-in; }
.g-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.g-main img.leaving { opacity: 0; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(251, 250, 247, .9); color: var(--ink); display: grid; place-items: center; transition: transform .2s var(--ease), opacity .2s; }
.g-nav:hover { transform: translateY(-50%) scale(1.06); }
.g-nav svg { width: 22px; height: 22px; }
.g-prev { left: 14px; } .g-next { right: 14px; }
.g-count { position: absolute; right: 14px; bottom: 14px; z-index: 3; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(14, 26, 31, .78); color: #fff; font-size: .8125rem; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; backdrop-filter: blur(6px); }
.g-count svg { width: 15px; height: 15px; }
.g-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.g-thumbs button { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-sm); overflow: hidden; border: 0; padding: 0; background: #0b1418; opacity: .55; transition: opacity .25s; }
.g-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }
.g-thumbs button:hover { opacity: 1; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.summary { position: sticky; top: calc(var(--head-h) + 20px); background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), var(--shadow); padding: 24px; color: var(--ink); display: grid; gap: 16px; }
.summary .price strong { font-size: 2.2rem; font-stretch: 118%; }
.status-line { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 650; }
.status-line i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 20%, transparent); }
.status-line.res i { background: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 20%, transparent); }
.status-line.sold i { background: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 20%, transparent); }
.est { padding: 14px; border-radius: var(--r-sm); background: var(--ivory); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .9375rem; }
.est b { font-stretch: 112%; font-size: 1.25rem; }
.sum-actions { display: grid; gap: 10px; }
.sum-row { display: flex; gap: 8px; }
.sum-row .btn { flex: 1; }
.mini-actions { display: flex; justify-content: space-between; gap: 8px; padding-top: 6px; border-top: 1px solid var(--line); }
.mini-actions button { border: 0; background: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .875rem; color: var(--ink-2); padding: 8px 4px; }
.mini-actions button:hover { color: var(--ink); }
.mini-actions svg { width: 17px; height: 17px; }
.mini-actions [aria-pressed="true"] { color: var(--red); }
.mini-actions [aria-pressed="true"] svg path { fill: currentColor; }
.vd-body { padding: 40px 0 90px; }
.vd-block { margin-bottom: 44px; }
.vd-block h2 { font-size: 1.75rem; margin-bottom: 18px; }
.keyspecs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.keyspecs div { background: var(--paper); padding: 16px; display: grid; gap: 4px; }
.keyspecs span { font-size: .8125rem; color: var(--steel); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.keyspecs span svg { width: 15px; height: 15px; }
.keyspecs b { font-weight: 700; font-size: 1rem; }
.feats { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.feats li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.feats svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
.desc { font-size: 1.0625rem; max-width: 46em; color: var(--ink-2); white-space: pre-line; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 11, 13, .96); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.on { opacity: 1; visibility: visible; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; color: var(--ivory); }
.lb-stage { position: relative; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.lb-stage img { max-width: 94vw; max-height: 78vh; object-fit: contain; border-radius: 6px; transition: opacity .35s, transform .45s var(--ease); }
.lb-stage .noimg { position: relative; width: min(90vw, 900px); aspect-ratio: 16 / 10; border-radius: 8px; }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; padding: 14px; overflow-x: auto; }
.lb-thumbs button { width: 74px; height: 50px; border-radius: 6px; overflow: hidden; border: 0; padding: 0; opacity: .5; flex: none; background: #1b2d34; }
.lb-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox .g-nav { background: rgba(251, 250, 247, .14); color: #fff; }
.lightbox .icon-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }

/* ---------- modal & drawer ---------- */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(6, 11, 13, .6); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.overlay.on { opacity: 1; visibility: visible; }
.modal { position: fixed; left: 50%; top: 50%; z-index: 210; width: min(560px, calc(100% - 28px)); max-height: calc(100vh - 40px); overflow: auto; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 34px); transform: translate(-50%, -46%) scale(.98); opacity: 0; visibility: hidden; transition: opacity .3s, transform .45s var(--ease-out), visibility .3s; }
.modal.on { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.modal h2 { font-size: 1.75rem; margin-bottom: 6px; padding-right: 44px; }
.modal .close { position: absolute; right: 16px; top: 16px; }
.modal-car { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--ivory); margin: 14px 0 18px; }
.modal-car .thumb { position: relative; width: 88px; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: #ccc; }
.modal-car .thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-car b { display: block; line-height: 1.25; }
.modal-car span { font-size: .875rem; color: var(--steel); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(430px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease-out), visibility 0s .5s; box-shadow: var(--shadow-lg); }
.drawer.on { transform: none; visibility: visible; transition: transform .5s var(--ease-out), visibility 0s; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 22px; }
.drawer-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.sv { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sv .thumb { position: relative; width: 96px; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: #ccc; }
.sv .thumb img { width: 100%; height: 100%; object-fit: cover; }
.sv a { text-decoration: none; font-weight: 700; line-height: 1.25; display: block; }
.sv span { font-size: .875rem; color: var(--steel); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 450; transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: .9375rem; box-shadow: var(--shadow-lg); pointer-events: none; transition: opacity .3s, transform .45s var(--ease-out); max-width: calc(100% - 28px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.tray.show ~ .toast { bottom: 96px; }

/* ---------- compare ---------- */
.cmp-wrap { padding: 32px 0 96px; }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.cmp-table th, .cmp-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .9375rem; }
.cmp-table thead th { vertical-align: bottom; background: transparent; border-bottom: 0; }
.cmp-table tbody th { color: var(--steel); font-weight: 650; width: 18%; }
.cmp-table td.best { font-weight: 800; }
.cmp-table td.best::after { content: "Best"; margin-left: 8px; font-size: .7rem; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); vertical-align: 2px; }
.cmp-card { display: grid; gap: 10px; }
.cmp-card .thumb { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; background: #ccc; }
.cmp-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cmp-card h3 { font-size: 1.125rem; margin: 0; }
.cmp-card h3 a { text-decoration: none; }
.cmp-card .rm { justify-self: start; border: 0; background: none; padding: 0; font-weight: 650; font-size: .8125rem; color: var(--steel); text-decoration: underline; }
.cmp-add { display: grid; place-items: center; align-content: center; gap: 10px; aspect-ratio: 3 / 2; border-radius: var(--r); border: 1.5px dashed var(--line-2); text-align: center; padding: 12px; }
.table-scroll { overflow-x: auto; }
.yes { color: var(--green); } .no { color: #b9b2a5; }
.yes svg, .no svg { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 28px; height: 28px; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; flex: none; transition: transform .35s var(--ease); font-style: normal; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.faq .a { padding: 0 20px 18px; color: var(--ink-2); }

/* ---------- footer ---------- */
.site-foot { background: #0a1316; color: var(--chrome); padding: clamp(56px, 7vw, 90px) 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-foot .brand { color: var(--ivory); margin-bottom: 16px; }
.site-foot h3 { color: var(--ivory); font-size: .9375rem; font-stretch: 100%; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-foot a { text-decoration: none; font-size: .9375rem; transition: color .2s; }
.site-foot a:hover { color: var(--ivory); }
.site-foot p { font-size: .9375rem; max-width: 30em; }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8125rem; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }


/* ---------- additions: kicker, alt band, media fallbacks, steps, info card ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.kicker::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.hero .kicker { opacity: 0; transform: translateY(8px); transition: opacity .8s .1s, transform .8s .1s var(--ease-out); }
.hero.go .kicker { opacity: 1; transform: none; }
.alt { background: var(--paper); }
.promise-media img:not(.studio), .visit-media img:not(.studio) { position: absolute; inset: 0; z-index: 1; }
.promise-media .studio, .visit-media .studio { position: absolute; left: 6%; right: 6%; bottom: 12%; width: 88%; height: auto; object-fit: contain; }
.promise-media figcaption { z-index: 2; }
.calc-lbl { position: relative; color: var(--chrome); font-size: .9375rem; font-weight: 600; }
.calc-out .btn { position: relative; align-self: flex-start; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; font-weight: 600; }
.steps li::before { content: counter(s); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.steps li span { display: block; font-weight: 500; font-size: .9375rem; color: var(--steel); }
.dark .steps li span { color: var(--chrome); }
.info-card { background: var(--night); color: var(--ivory); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.info-card .visit-media { border-radius: 0; aspect-ratio: 16 / 9; }
.info-card .ic-body { padding: clamp(22px, 3vw, 32px); }
.info-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.info-card .addr { color: var(--chrome-2); margin: 0 0 14px; }
.info-card .hours { margin: 8px 0 18px; }
.sell-copy p { color: var(--steel); }
.dark .sell-copy p { color: var(--chrome); }
.form .btn[type="submit"] { grid-column: 1 / -1; justify-self: start; }
.form-note { grid-column: 1 / -1; margin: -2px 0 0; font-size: .8125rem; color: var(--steel); }
.dark .form-note { color: var(--chrome); }
.fgroup select.input { height: 44px; font-size: .9375rem; }
.head-actions .btn-sm { min-height: 42px; }
body.filters-open { overflow: hidden; }
@media (min-width: 981px) { body.filters-open { overflow: auto; } }

/* page fade */
main { animation: pagein .5s var(--ease-out); }
@keyframes pagein { from { opacity: 0; } }
body.leaving main, body.leaving .site-foot { opacity: 0; transition: opacity .2s; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .bodies { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick { grid-template-columns: repeat(3, minmax(110px, 1fr)) auto; }
  .keyspecs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --head-h: 64px; --wrap: min(1320px, 100% - 32px); }
  .nav, .head-cta { display: none; }
  .menu-btn { display: inline-grid; }
  .head-actions { margin-left: auto; }
  .hero { min-height: auto; display: flex; flex-direction: column; }
  .hero-stage { position: relative; inset: auto; order: 2; height: min(62vw, 420px); margin-top: -10px; }
  .hero-copy { order: 1; padding-top: calc(var(--head-h) + 28px); }
  .hero-fallback { top: 50%; width: 92%; transform: translate(-50%, -50%); }
  .hero-bar { position: relative; order: 3; bottom: auto; grid-template-columns: 1fr; padding-bottom: 28px; }
  .finish { justify-items: center; text-align: center; }
  .quick { justify-self: stretch; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick .btn { grid-column: 1 / -1; min-height: 50px; }
  .promise, .calc, .sell, .visit, .vd-layout { grid-template-columns: 1fr; }
  .summary { position: relative; top: 0; }
  .inv { grid-template-columns: 1fr; padding-top: 20px; }
  .filters { position: fixed; inset: 0 auto 0 0; z-index: 210; width: min(360px, 90vw); max-height: none; background: var(--ivory); padding: 20px; transform: translateX(-100%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s .45s; box-shadow: var(--shadow-lg); align-content: start; }
  body.filters-open .filters { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
  .filters-head h2 { font-size: 1.5rem; margin: 0; }
  .filters-apply { display: flex; position: sticky; bottom: 0; margin-top: 12px; }
  .filters-btn { display: inline-flex; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .promise-media { aspect-ratio: 16 / 11; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-word b { font-size: 1rem; }
  .brand-word span { letter-spacing: .24em; }
  .bodies { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .btile { min-height: 140px; padding: 14px; }
  .grid { grid-template-columns: 1fr; }
  .grid.list .vcard { flex-direction: column; }
  .grid.list .vmedia { width: 100%; aspect-ratio: 3 / 2; min-height: 0; }
  .rail { grid-auto-columns: 84%; }
  .quick { grid-template-columns: 1fr 1fr; }
  .quick label:nth-child(3) { grid-column: 1 / -1; }
  .form { grid-template-columns: 1fr; }
  .keyspecs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feats { columns: 1; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .toolbar-r { width: 100%; }
  .toolbar-r .sel { flex: 1; }
  .search input { width: 100%; }
  .search { flex: 1; }
  .view-toggle { display: none; }
  .g-nav { width: 40px; height: 40px; }
  .cmp-table th, .cmp-table td { padding: 10px; font-size: .8125rem; }
  .tray { border-radius: var(--r); bottom: 12px; }
  .vd-head h1 { font-size: 1.9rem; }
  .kicker { letter-spacing: .14em; font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .site-head, .site-foot, .tray, .mini-actions, .sum-actions, .g-nav { display: none !important; } .vd-top { padding-top: 10px; } }
