/* ==========================================================================
   UPMOTO — "Studio" theme
   Warm paper background, ink typography (Manrope display, JetBrains Mono for
   data), hairline rules, oversized numerals, orange used only as a signal.
   Covers the UPMOTO templates (topbar, opener, mrows, tiles, split, …) and the
   shared engine pages that still use the generic classes (section, page-hero,
   card-grid, locator, cmp-*, prose …).
   ========================================================================== */

/* ---- fonts + tokens ----------------------------------------------------- */

@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-ext-800.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--paper: #f4f2ee;
	--paper-2: #ebe8e2;
	--plate: #e6e3dc;
	--white: #fff;
	--ink: #111110;
	--ink-2: #3d3c39;
	--muted: #7a7873;
	--rule: #d9d5cd;
	--rule-2: #c4bfb5;
	--accent: #ff4c2e;
	--accent-ink: #d9361b;
	--green: #1f8a4c;
	--dark: #111110;
	--dark-2: #1c1b19;

	/* aliases for the shared engine markup */
	--blue: var(--accent-ink); --blue-dark: var(--accent); --blue-soft: #fbe6e1; --navy: var(--dark); --navy-2: var(--dark-2);
	--bg: var(--paper-2); --line: var(--rule); --red: var(--accent);

	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--font-head: var(--font);

	--r: 6px;
	--r-lg: 14px;
	--header-h: 64px;
	--tabbar-h: 62px;
	--gutter: 20px;
	--wrap: 1360px;
	--safe-b: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 900px) { :root { --header-h: 76px; --gutter: 40px; } }

/* ---- base ----------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 60px); }
html, body { overflow-x: clip; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); }
@media (min-width: 900px) { body { padding-bottom: 0; } }
body.no-scroll { overflow: hidden; }
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1; margin: 0 0 .5em; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 7vw, 4.8rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.35rem); letter-spacing: -.02em; line-height: 1.15; }
.display { font-size: clamp(2.6rem, 8.5vw, 6.4rem); letter-spacing: -.045em; line-height: .95; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.icon.flip { transform: scaleX(-1); }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0; font-feature-settings: "zero"; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }
::selection { background: var(--ink); color: var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---- layout ----------------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }
.block, .section { padding: clamp(52px, 9vw, 120px) 0; }
.block-tight, .section-tight { padding: clamp(28px, 5vw, 56px) 0; }
.block-alt, .section-alt { background: var(--paper-2); }
.block-dark, .section-dark { background: var(--dark); color: var(--paper); }
.block-head, .section-head { margin-bottom: clamp(22px, 4vw, 44px); }
.block-head h2, .section-head h2 { margin: 0; }
.block-head-row, .section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; }
.block-foot { margin: clamp(22px, 4vw, 40px) 0 0; }
.section-lead, .lede { margin: 14px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 60ch; line-height: 1.5; }
.block-dark .lede, .section-dark .lede { color: #c9c5bc; }
.kicker, .eyebrow { display: block; margin: 0 0 14px; font: 500 .76rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kicker a { text-decoration: none; }
.kicker a:hover { color: var(--ink); }
.block-dark .kicker, .section-dark .eyebrow, .block-dark .eyebrow { color: #9a968e; }
.eyebrow-promo { color: var(--accent-ink); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--rule-2); padding-bottom: 2px; }
.link-more:hover { border-color: var(--ink); }
.intro { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; letter-spacing: -.01em; color: var(--ink-2); }
.empty { padding: 36px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--rule-2); border-radius: var(--r-lg); }
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

/* ---- buttons + forms ---------------------------------------------------------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; border: 1px solid var(--ink); border-radius: var(--r); font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1.2; transition: background .15s, color .15s, border-color .15s, transform .15s; letter-spacing: -.01em; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 12px 26px; font-size: 1rem; }
.btn-dark, .btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark:hover, .btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-line, .btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-line:hover, .btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.block-dark .btn-line:hover, .section-dark .btn-ghost:hover, .closer .btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-2); color: var(--ink); background: transparent; }
.btn-icon:hover { border-color: var(--ink); }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: none; cursor: pointer; }
.linklike:hover { text-decoration: underline; }

.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font: 500 .74rem/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--rule-2); border-radius: 0; background: transparent; color: var(--ink); font-size: 16px; }
.field select { padding-right: 24px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23111' stroke-width='1.8'/%3E%3C/svg%3E") right center / 18px no-repeat; appearance: none; -webkit-appearance: none; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field .is-invalid { border-bottom-color: var(--accent); }
.check .is-invalid + span { color: var(--accent-ink); }
.field-row { display: grid; gap: 0 24px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0 20px; font-size: .92rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 12px 14px; border-left: 3px solid var(--accent); background: #fbe6e1; color: #8a2412; font-weight: 500; }

.chips { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 10px; font: 500 .74rem/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span, .chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--rule-2); border-radius: var(--r); background: transparent; font-weight: 500; font-size: .92rem; color: var(--ink); text-decoration: none; white-space: nowrap; transition: all .15s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.chip:hover, .chip.is-active { border-color: var(--ink); }
.chip-cta { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---- top bar + menu -------------------------------------------------------------- */

.topbar { position: sticky; top: 0; z-index: 100; background: rgba(244, 242, 238, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.has-floating-bar .topbar { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .25s, color .25s, border-color .25s; }
.has-floating-bar .topbar.is-solid { background: rgba(244, 242, 238, .9); color: var(--ink); border-bottom-color: var(--rule); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.wordmark img { filter: brightness(0); }
.has-floating-bar .topbar:not(.is-solid) .wordmark img { filter: none; }
.topbar-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 1 auto; min-width: 0; }
.wordmark img { height: 22px; width: auto; }
@media (min-width: 900px) { .wordmark img { height: 26px; } }
.wordmark-dealer { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding-left: 12px; border-left: 1px solid currentColor; opacity: .8; }
.topnav { display: none; align-items: center; gap: 4px; margin-left: 12px; }
.topnav-link { position: relative; padding: 10px 12px; text-decoration: none; font-weight: 500; font-size: .93rem; letter-spacing: -.01em; opacity: .78; transition: opacity .15s; white-space: nowrap; }
.topnav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.topnav-link:hover, .topnav-link.is-active { opacity: 1; }
.topnav-link:hover::after, .topnav-link.is-active::after { transform: scaleX(1); }
.topbar-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.topbar-cta { display: none; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid currentColor; border-radius: var(--r); text-decoration: none; font-weight: 600; font-size: .9rem; }
.topbar-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.market { position: relative; }
.market summary { list-style: none; display: flex; align-items: center; min-height: 40px; padding: 8px 10px; cursor: pointer; font: 500 .8rem/1 var(--mono); letter-spacing: .06em; }
.market summary::-webkit-details-marker { display: none; }
.market ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; min-width: 200px; background: var(--white); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: 0 20px 50px rgba(0, 0, 0, .12); }
.market a { display: block; padding: 10px 12px; border-radius: 4px; text-decoration: none; }
.market a:hover { background: var(--paper-2); }
.market a[aria-current] { font-weight: 700; }
.burger { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 4px 8px 12px; border: 0; background: transparent; color: inherit; font: 500 .8rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.burger .icon { width: 24px; height: 24px; }
@media (min-width: 1100px) { .topnav { display: flex; } .topbar-cta { display: inline-flex; } .burger { display: none; } }
@media (max-width: 1099px) { .topbar-tools .market { display: none; } }

.drawer { position: fixed; inset: 0; z-index: 200; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; animation: drawer-in .25s ease-out; }
@keyframes drawer-in { from { opacity: 0; transform: translateY(-8px); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--gutter); flex: none; border-bottom: 1px solid var(--rule); }
.drawer-head img { height: 22px; width: auto; filter: brightness(0); }
.drawer-close { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; font: 500 .8rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; min-height: 44px; }
.drawer-close .icon { width: 22px; height: 22px; }
.drawer-body { overflow-y: auto; padding: 24px var(--gutter) calc(30px + var(--safe-b)); -webkit-overflow-scrolling: touch; display: grid; align-content: start; }
.drawer-label { margin: 0 0 8px; }
.drawer-models { list-style: none; margin: 0 0 26px; padding: 0; }
.drawer-models a { display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 12px; padding: 16px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.drawer-models li:last-child a { border-bottom: 1px solid var(--rule); }
.drawer-models span { color: var(--muted); font-size: .78rem; }
.drawer-models strong { font-size: clamp(1.5rem, 6vw, 2.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.drawer-models em { font-style: normal; color: var(--muted); font-size: .8rem; }
.drawer-links { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.drawer-links a { display: block; padding: 10px 0; text-decoration: none; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.drawer-links a[aria-current] { color: var(--accent-ink); }
.drawer-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--rule); }
.drawer-foot > a { text-decoration: none; font-size: .9rem; }
.drawer-markets { display: flex; gap: 6px; }
.drawer-markets a { display: grid; place-items: center; min-width: 50px; min-height: 40px; border: 1px solid var(--rule-2); border-radius: var(--r); text-decoration: none; font: 500 .8rem var(--mono); }
.drawer-markets a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: rgba(244, 242, 238, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--rule); }
.tabbar a { flex: 1; display: grid; place-content: center; justify-items: center; gap: 3px; color: var(--muted); text-decoration: none; font: 500 .66rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.tabbar .icon { width: 22px; height: 22px; }
.tabbar a[aria-current] { color: var(--ink); }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---- opener (home) + page heads ---------------------------------------------------- */

.opener { position: relative; background: var(--dark); color: #fff; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; height: 100svh; min-height: 520px; max-height: 1000px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-slide picture, .hero-slide > video { position: absolute; inset: 0; }
.hero-slide img, .hero-slide video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55) 100%); pointer-events: none; }
.opener-caption { position: relative; z-index: 2; padding-bottom: clamp(56px, 8vw, 90px); }
.opener-index { margin: 0 0 14px; font-size: .76rem; opacity: .75; }
.opener-caption h2 { font-size: clamp(3rem, 11vw, 8.5rem); line-height: .9; letter-spacing: -.05em; margin: 0 0 14px; max-width: 12ch; }
.opener-sub { font-size: clamp(1rem, 2vw, 1.3rem); margin: 0 0 6px; max-width: 46ch; color: rgba(255, 255, 255, .85); }
.opener-caption small { display: block; opacity: .7; font-size: .76rem; }
.opener-caption .btn { margin-top: 22px; }
.hero-dots { position: absolute; z-index: 3; right: var(--gutter); bottom: 24px; display: flex; gap: 6px; }
.hero-dots button { width: 28px; height: 20px; padding: 8px 0; border: 0; background: transparent; }
.hero-dots button::before { content: ""; display: block; height: 2px; background: rgba(255, 255, 255, .35); transition: background .2s; }
.hero-dots button[aria-selected="true"]::before { background: #fff; }

.page-head, .page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--paper); }
.page-head.has-image, .page-hero.has-image { background: var(--dark); color: #fff; border: 0; min-height: clamp(360px, 60vw, 640px); display: flex; align-items: flex-end; }
.page-head-bg, .page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head.has-image::after, .page-hero.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .7)); }
.page-head-inner, .page-hero-inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + clamp(28px, 5vw, 60px)); padding-bottom: clamp(30px, 5vw, 56px); }
.has-floating-bar .page-head-inner { padding-top: calc(var(--header-h) + clamp(28px, 6vw, 80px)); }
.page-head h1, .page-hero h1 { margin: 0; }
.page-head.has-image .kicker, .page-head.has-image .lede { color: rgba(255, 255, 255, .78); }
.page-hero .crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font: 500 .76rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.page-hero.has-image .crumbs { color: rgba(255, 255, 255, .78); }
.crumbs a { text-decoration: none; }
.page-hero-lead { margin: 14px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 60ch; }
.page-hero.has-image .page-hero-lead { color: rgba(255, 255, 255, .8); }
.model-head.has-image { min-height: clamp(420px, 72vw, 760px); }

.subnav, .chip-nav { position: sticky; top: 0; z-index: 80; background: rgba(244, 242, 238, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.has-floating-bar .subnav { top: 0; }
.chip-nav.is-sticky { top: var(--header-h); }
.subnav-inner, .chip-nav-inner { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar, .chip-nav-inner::-webkit-scrollbar { display: none; }
.subnav-link { padding: 16px 12px; text-decoration: none; font: 500 .76rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav-link:hover, .subnav-link.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.subnav-cta { margin-left: auto; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 899px) { .subnav-cta { display: none; } }
.chip-nav .chip { border: 0; border-radius: 0; border-bottom: 2px solid transparent; padding: 16px 12px; font: 500 .76rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); min-height: 0; }
.chip-nav .chip:hover, .chip-nav .chip.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.chip-nav .chip-cta { margin-left: auto; background: transparent; color: var(--accent-ink); }

/* ---- model rows (editorial list) --------------------------------------------------- */

.mrows { border-top: 1px solid var(--rule-2); }
.mrow { position: relative; display: grid; grid-template-columns: 36px 1fr auto; grid-template-areas: "n name go" "n img img" "n text text" "n price price"; align-items: center; gap: 6px 12px; padding: 22px 0; border-bottom: 1px solid var(--rule-2); text-decoration: none; transition: background .2s; }
.mrow-n { grid-area: n; align-self: start; color: var(--muted); font-size: .76rem; padding-top: 10px; }
.mrow-name { grid-area: name; font-size: clamp(2rem, 8vw, 4.4rem); font-weight: 800; letter-spacing: -.045em; line-height: .95; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mrow-name .badge { font-size: .62rem; }
.mrow-text { grid-area: text; color: var(--muted); font-size: .92rem; max-width: 44ch; }
.mrow-price { grid-area: price; font-size: .9rem; }
.mrow-price .price strong { font-weight: 500; font-size: 1rem; }
.mrow-img { grid-area: img; width: min(70vw, 300px); margin: 4px 0; }
.mrow-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; transition: transform .35s; }
.mrow-go { grid-area: go; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule-2); border-radius: 50%; transition: background .2s, color .2s, border-color .2s; }
.mrow:hover .mrow-go { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mrow:hover .mrow-img img { transform: scale(1.06) translateX(-4px); }
@media (min-width: 900px) {
	.mrow { grid-template-columns: 60px minmax(0, 1.4fr) minmax(0, 1fr) 160px 240px 56px; grid-template-areas: "n name text price img go"; gap: 24px; padding: 18px 0; }
	.mrow-name { font-size: clamp(2.4rem, 4.6vw, 4rem); }
	.mrow-img { width: 100%; margin: 0; }
	.mrow-price { text-align: right; }
	.mrow-n { align-self: center; padding: 0; }
	.mrow-go { width: 56px; height: 56px; }
}

/* ---- tiles (cards) ----------------------------------------------------------- */

.tiles, .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 24px 20px; }
.tiles-rail, .card-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(76vw, 320px); gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scrollbar-width: thin; scrollbar-color: var(--rule-2) transparent; }
.tiles-rail > *, .card-rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .tiles-rail, .card-rail { grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; } }
.tile, .card { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; min-width: 0; }
.tile-media, .card > img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--plate); overflow: hidden; }
.tile-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .4s; }
.tile-photo img, .post-card > img { object-fit: cover; padding: 0; }
.card > img { object-fit: contain; padding: 8%; }
a.tile:hover .tile-media img, a.card:hover > img { transform: scale(1.05); }
.tile-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; }
.tile-name { font-weight: 800; letter-spacing: -.03em; font-size: 1.15rem; line-height: 1.1; }
.tile-price { font-size: .86rem; white-space: nowrap; color: var(--ink-2); }
.tile-price .price strong { font-weight: 500; font-size: .9rem; }
.tile-text { color: var(--muted); font-size: .9rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile-static .tile-text { -webkit-line-clamp: unset; display: block; color: var(--ink-2); }
.block-dark .tile-media, .chapter.has-image .tile-media { background: var(--dark-2); }
.block-dark .tile-text, .chapter.has-image .tile-text { color: #c9c5bc; }
.card-body { display: flex; flex-direction: column; gap: 4px; }
.card-body .eyebrow { margin: 6px 0 0; font-size: .7rem; }
.card-title { font-weight: 800; letter-spacing: -.03em; font-size: 1.15rem; line-height: 1.1; }
.card-text { color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-dealer { display: flex; align-items: center; gap: 5px; font-size: .86rem; color: var(--ink-2); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.card-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule-2); }
a.card:hover .card-go { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; font-family: var(--mono); }
.price strong { font-weight: 500; }
.price small { color: var(--muted); }
.price s { color: var(--muted); font-size: .85em; }
.price-promo strong { color: var(--accent-ink); }
.price-request { color: var(--muted); }
.badges { position: absolute; z-index: 2; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 4px; background: var(--ink); color: var(--paper); font: 500 .66rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.badge-promo { background: var(--accent); color: #fff; }
.badge-new { background: #fff; color: var(--ink); }
.badge-demo { background: var(--green); color: #fff; }

/* ---- home extras ---------------------------------------------------------------- */

.strip { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.strip h2 { margin: 0 0 4px; font-size: clamp(1.5rem, 4vw, 2.2rem); }
.strip .btn-row { margin: 0; }
.statement { padding: clamp(60px, 10vw, 140px) 0; border-top: 1px solid var(--rule); }
.statement-text { font-size: clamp(1.5rem, 3.6vw, 3rem); line-height: 1.2; letter-spacing: -.03em; font-weight: 500; max-width: 26ch; margin: 0 0 30px; text-wrap: balance; }
.facts { display: grid; gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts article { padding: 28px 26px 30px; background: var(--dark); }
.facts span { display: block; color: #9a968e; font-size: .76rem; margin-bottom: 26px; }
.facts h3 { color: #fff; margin-bottom: 10px; }
.facts p { margin: 0; color: #c9c5bc; font-size: .95rem; }
.event-list { display: grid; }
.event-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "time go" "text go"; gap: 4px 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--rule-2); text-decoration: none; }
.event-row:last-child { border-bottom: 1px solid var(--rule-2); }
.event-row time { grid-area: time; font-size: .76rem; color: var(--muted); }
.event-row > span { grid-area: text; display: grid; }
.event-row strong { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.event-row small { color: var(--muted); }
.event-row > .icon { grid-area: go; width: 22px; height: 22px; }
@media (min-width: 800px) { .event-row { grid-template-columns: 200px 1fr auto; grid-template-areas: "time text go"; } }

/* ---- split model page ------------------------------------------------------------- */

.split { padding: clamp(24px, 4vw, 56px) 0; }
.split-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .split-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 60px; align-items: start; } .split-visual { position: sticky; top: calc(var(--header-h) + 12px); } }
.stage { position: relative; border-radius: var(--r-lg); background: var(--plate); padding: 8% 6% 6%; }
.stage img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; transition: opacity .2s; }
.stage img.is-loading { opacity: .35; }
.stage-meta { margin: 10px 0 0; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.split-title { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -.045em; margin: 0 0 18px; }
.pricebox { padding: 18px 0; border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); margin-bottom: 22px; display: grid; gap: 4px; }
.pricebox s { color: var(--muted); font-size: .85rem; }
.pricebox strong { font: 800 clamp(2rem, 5vw, 2.8rem)/1 var(--font); letter-spacing: -.04em; }
.pricebox small { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.claim { margin: 6px 0 0; color: var(--accent-ink); font-size: .78rem; }
.opt { margin-bottom: 22px; }
.opt-label { margin: 0 0 10px; font: 500 .74rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.opt-label span { color: var(--ink); }
.trim-list { display: grid; gap: 6px; }
@media (min-width: 560px) { .trim-list { grid-template-columns: 1fr 1fr; } }
.trim { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 14px; border: 1px solid var(--rule-2); border-radius: var(--r); text-decoration: none; transition: border-color .15s, background .15s; }
.trim strong { font-weight: 600; font-size: .95rem; }
.trim small { color: var(--muted); font-size: .76rem; white-space: nowrap; }
.trim em { font-style: normal; color: var(--accent-ink); }
.trim:hover { border-color: var(--ink); }
.trim.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.trim.is-active small { color: #bdb9b0; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: block; width: 44px; height: 44px; padding: 3px; border: 1px solid transparent; border-radius: 50%; }
.swatch img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.swatch:hover { border-color: var(--rule-2); }
.swatch.is-active { border-color: var(--ink); }
.split-actions { display: grid; gap: 8px; margin: 26px 0 0; }
@media (min-width: 560px) { .split-actions { grid-template-columns: 1fr 1fr; } }
.compare-add { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 10px 0; border: 0; background: none; font-weight: 600; font-size: .9rem; min-height: 44px; }
.compare-add span { border-bottom: 1px solid var(--rule-2); }
.compare-add:hover span { border-color: var(--ink); }
.compare-add.is-on { color: var(--green); }
.compare-intro { padding-top: 18px; }
.features { display: grid; gap: 22px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--rule-2); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 20px; font-size: .95rem; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--ink); }
.feature-extra { padding: 18px 20px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--rule); }
.feature-extra .ticks li::before { background: var(--accent); width: 10px; height: 2px; }

.overview-grid { display: grid; gap: clamp(24px, 4vw, 60px); }
@media (min-width: 960px) { .overview-grid { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.stats { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.stats dt { font: 800 clamp(1.5rem, 3.4vw, 2.4rem)/1 var(--font); letter-spacing: -.035em; }
.stats dd { margin: 0; color: #9a968e; font-size: .76rem; text-align: right; }

.specs { display: grid; gap: 0; border-top: 1px solid var(--rule-2); }
.spec-group { border-bottom: 1px solid var(--rule-2); }
.spec-group summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; font: 800 clamp(1.15rem, 2.4vw, 1.5rem)/1.1 var(--font); letter-spacing: -.03em; cursor: pointer; list-style: none; }
.spec-group summary::-webkit-details-marker { display: none; }
.spec-group summary .icon { transition: transform .2s; }
.spec-group[open] summary .icon { transform: rotate(180deg); }
.spec-group dl { margin: 0; padding: 0 0 16px; }
.spec-group dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.spec-group dt { color: var(--muted); font-size: .92rem; }
.spec-group dd { margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
@media (min-width: 900px) { .spec-group dl > div { grid-template-columns: 1fr 2fr; } }

.chapter { position: relative; padding: clamp(44px, 8vw, 100px) 0; overflow: hidden; border-top: 1px solid var(--rule); }
.chapter:nth-child(even) { background: var(--paper-2); }
.chapter.has-image { background: var(--dark); color: #fff; border: 0; padding-top: clamp(220px, 40vw, 460px); }
.chapter-bg { position: absolute; left: 0; top: 0; width: 100%; height: clamp(280px, 52vw, 640px); object-fit: cover; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
.chapter .wrap { position: relative; }
.chapter-head { max-width: 780px; margin-bottom: clamp(22px, 3vw, 40px); }
.chapter-head .display { margin-bottom: 10px; }
.chapter.has-image .kicker { color: #9a968e; }
.editorial { display: grid; gap: clamp(30px, 5vw, 60px); margin-top: clamp(30px, 5vw, 60px); }
.editorial-row { display: grid; gap: 18px; align-items: center; }
.editorial-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); }
.editorial-row p { color: var(--ink-2); margin: 0; max-width: 56ch; }
@media (min-width: 900px) { .editorial-row { grid-template-columns: 1fr 1fr; gap: 48px; } .editorial-row:nth-child(even) img { order: 2; } }

.video-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (max-width: 699px) { .video-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82vw; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 14px; } .video-grid > * { scroll-snap-align: start; } }
.video { position: relative; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; background: #000; color: #fff; aspect-ratio: 16 / 9; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); }
.video-play .icon { width: 26px; height: 26px; margin-left: 3px; }
.video strong { position: absolute; left: 14px; right: 14px; bottom: 12px; text-align: left; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.gallery a { display: block; border-radius: var(--r); overflow: hidden; background: var(--plate); }
.gallery a.is-extra { display: none; }
.gallery.is-open a.is-extra { display: block; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery + .center { margin: 20px 0 0; }
.download-list { display: grid; }
.download { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--rule-2); text-decoration: none; }
.download:last-child { border-bottom: 1px solid var(--rule-2); }
.download img { display: none; }
.download span { flex: 1; display: grid; min-width: 0; }
.download small { color: var(--muted); font-size: .74rem; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + var(--safe-b)); background: rgba(244, 242, 238, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--rule); transition: transform .25s; }
.buybar > div { display: grid; min-width: 0; line-height: 1.2; }
.buybar small { color: var(--muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }
.buybar.is-hidden { transform: translateY(110%); }
@media (min-width: 900px) { .buybar { display: none; } }

/* ---- stock lists, dealers, map, lead ------------------------------------------------ */

.filters { margin-bottom: 26px; }
.filters .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 14px; padding: 2px var(--gutter); scrollbar-width: none; }
.filters .chips::-webkit-scrollbar { display: none; }
.filters-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; }
.filters-row .field { flex: 1 1 240px; margin: 0; }
.stock-models { display: grid; gap: 30px; }
.stock-model-head { display: flex; align-items: center; gap: 14px; padding: 0 0 12px; border-bottom: 1px solid var(--ink); }
.stock-model-head img { width: 80px; height: 54px; object-fit: contain; flex: none; }
.stock-model-head h2 { margin: 0; flex: 1; font-size: clamp(1.4rem, 4vw, 2rem); }
.stock-model-head h2 a { text-decoration: none; }
.stock-model-head .link-more { font-size: .86rem; }
@media (max-width: 559px) { .stock-model-head .link-more { display: none; } }
.stock-rows { list-style: none; margin: 0; padding: 0; }
.stock-rows li { display: grid; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 700px) { .stock-rows li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.stock-row-vehicle { display: grid; gap: 1px; }
.stock-row-vehicle a { text-decoration: none; }
.stock-row-vehicle strong { font-weight: 700; letter-spacing: -.01em; }
.stock-row-vehicle > span { color: var(--muted); font-size: .86rem; font-family: var(--mono); }
.stock-row-dealers { display: grid; gap: 2px; }
.stock-row-dealers a { display: flex; align-items: flex-start; gap: 6px; padding: 4px 0; font-weight: 500; text-decoration: none; font-size: .93rem; }
.stock-row-dealers a:hover { text-decoration: underline; }
.stock-row-dealers .icon { margin-top: .2em; width: 1em; height: 1em; flex: none; }
.stock-groups { display: grid; gap: 16px; }
@media (min-width: 900px) { .stock-groups { grid-template-columns: 1fr 1fr; gap: 20px; } }
.stock-group { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--rule-2); align-items: start; }
@media (min-width: 560px) { .stock-group { grid-template-columns: 150px 1fr; gap: 20px; } }
.stock-group-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--plate); border-radius: var(--r); }
.stock-group h3 { margin: 0 0 2px; font-size: 1.1rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.stock-group p { margin: 0 0 8px; color: var(--muted); font-size: .86rem; font-family: var(--mono); }
.stock-group ul { list-style: none; margin: 0; padding: 0; display: grid; }
.stock-group li { display: flex; align-items: center; gap: 6px; min-height: 40px; border-top: 1px solid var(--rule); font-size: .92rem; }
.stock-group li a:not(.stock-call) { font-weight: 500; text-decoration: none; }
.stock-group li a:not(.stock-call):hover { text-decoration: underline; }
.stock-group li small { color: var(--muted); }
.stock-call { margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule-2); flex: none; }

.locator-grid { display: grid; gap: 22px; }
.locator-map { height: 340px; order: -1; }
@media (min-width: 960px) {
	.locator-grid { grid-template-columns: minmax(0, 440px) 1fr; gap: 40px; align-items: start; }
	.locator-map { order: 2; position: sticky; top: calc(var(--header-h) + 20px); height: calc(100vh - var(--header-h) - 40px); min-height: 480px; }
}
.locator-tools { display: grid; gap: 10px; margin-bottom: 14px; }
.locator-tools .field { margin: 0; }
.dealer-list { list-style: none; margin: 0; padding: 0; display: grid; }
.dealer-item { display: flex; align-items: center; gap: 10px; padding: 16px 0; border-top: 1px solid var(--rule-2); transition: background .15s; }
.dealer-item:last-child { border-bottom: 1px solid var(--rule-2); }
.dealer-item.is-active { box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; }
.dealer-item-main { flex: 1; min-width: 0; display: grid; gap: 2px; text-decoration: none; }
.dealer-item-main strong { font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.25; }
.dealer-item-main:hover strong { text-decoration: underline; }
.dealer-item-main > span { color: var(--muted); font-size: .9rem; }
.dealer-item-main small { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: .74rem; font-family: var(--mono); color: var(--ink-2); }
.dealer-stock { color: var(--green); }
.dealer-distance { color: var(--accent-ink); }
.dealer-item-actions { display: flex; gap: 8px; flex: none; }
.map { border-radius: var(--r-lg); overflow: hidden; background: var(--plate); z-index: 1; }
.map .leaflet-tile { filter: grayscale(1) contrast(.95) brightness(1.03); }
.map-single { height: 340px; }
@media (min-width: 900px) { .map-single { height: 460px; } }
.map .leaflet-popup-content-wrapper { border-radius: var(--r); box-shadow: 0 12px 40px rgba(0, 0, 0, .15); }
.map .leaflet-popup-content { font: 400 14px/1.45 var(--font); margin: 14px 18px; }
.map .leaflet-popup-content strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.map-pin { background: var(--ink); border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
.map-pin.is-me { background: var(--accent); border-radius: 50%; }
.dealer-contact { margin-bottom: 22px; }
.dealer-contact h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
.dc-line { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; color: var(--ink-2); }
.dc-line .icon { margin-top: .18em; }
.contact-cards { display: grid; gap: 6px; }
.contact-cards .dealer-contact { padding: 20px 0; border-top: 1px solid var(--rule-2); margin: 0; }

.lead { background: var(--dark); color: var(--paper); padding: clamp(50px, 9vw, 110px) 0; }
.lead-inner { display: grid; gap: 30px; }
@media (min-width: 960px) { .lead-inner { grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; } }
.lead-intro h2 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.045em; }
.lead-intro p { color: #c9c5bc; font-size: 1.1rem; }
.lead-vehicle { display: inline-flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .3); color: #fff !important; font: 400 .8rem/1.4 var(--mono) !important; }
.lead-form, .lead-done { color: var(--paper); }
.lead-form .field label { color: #9a968e; }
.lead-form .field input, .lead-form .field select, .lead-form .field textarea { color: var(--paper); border-bottom-color: rgba(255, 255, 255, .3); }
.lead-form .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E"); }
.lead-form .field select option { color: var(--ink); }
.lead-form .field input:focus, .lead-form .field select:focus, .lead-form .field textarea:focus { border-bottom-color: #fff; box-shadow: 0 1px 0 #fff; }
.lead-form .chips span { border-color: rgba(255, 255, 255, .35); color: var(--paper); }
.lead-form .chips input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.lead-form .check { color: #c9c5bc; }
.lead-form .check input { accent-color: var(--paper); }
.lead-form .btn-primary { width: 100%; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.lead-form .btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.lead-form .form-msg { background: rgba(255, 76, 46, .15); color: #ffb3a3; }
.lead-done { text-align: center; padding: 40px 0; }
.lead-done .icon { width: 56px; height: 56px; padding: 12px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); margin: 0 auto 16px; }

/* ---- compare ------------------------------------------------------------------- */

.compare-tray { position: fixed; z-index: 95; right: 14px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px); display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px; border-radius: var(--r); background: var(--ink); color: var(--paper); font-weight: 600; font-size: .9rem; text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); transition: transform .2s; }
.compare-tray b { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 4px; background: var(--accent); color: #fff; font: 500 .8rem var(--mono); }
.compare-tray.is-bump { transform: scale(1.06); }
.view-model .compare-tray { bottom: calc(76px + var(--safe-b) + 14px); }
@media (min-width: 900px) { .compare-tray, .view-model .compare-tray { right: 24px; bottom: 24px; } }
.compare .cols-1 { --cols: 1; } .compare .cols-2 { --cols: 2; } .compare .cols-3 { --cols: 3; }
.cmp-slots { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .cmp-slots { gap: 24px; } }
.cmp-card { position: relative; display: flex; flex-direction: column; min-width: 0; gap: 6px; }
.cmp-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--plate); border-radius: var(--r-lg); padding: 8%; }
.cmp-card h2 { margin: 8px 0 0; font-size: clamp(.95rem, 3.4vw, 1.5rem); overflow-wrap: anywhere; }
.cmp-card h2 a { text-decoration: none; }
.cmp-meta { margin: 0; color: var(--muted); font: 400 clamp(.66rem, 2.4vw, .78rem)/1.4 var(--mono); }
.cmp-price { margin: 0 0 8px; }
.cmp-price .price strong { font-size: clamp(.85rem, 3vw, 1rem); }
.cmp-cta { margin-top: auto; min-height: 40px; padding: 8px 10px; font-size: clamp(.78rem, 2.6vw, .92rem); }
.cmp-remove { position: absolute; z-index: 2; top: 6px; right: 6px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); color: var(--muted); }
.cmp-remove:hover { color: var(--accent-ink); }
.cmp-remove .icon { width: 16px; height: 16px; }
.cmp-add { margin: 22px 0 0; padding: 18px 0; border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); }
.cmp-add label { display: block; font: 500 .74rem/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cmp-add select { width: 100%; min-height: 50px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--rule-2); background: transparent; font-size: 16px; }
.cmp-add-row { display: flex; gap: 10px; }
.compare .empty { margin-top: 18px; }
.cmp-sticky { position: sticky; top: var(--header-h); z-index: 60; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px; margin: 22px calc(var(--gutter) * -1) 0; padding: 10px var(--gutter); background: rgba(244, 242, 238, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); font: 700 clamp(.8rem, 3vw, 1rem)/1.15 var(--font); letter-spacing: -.01em; }
.cmp-sticky span { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (min-width: 700px) { .cmp-sticky { gap: 24px; margin-left: 0; margin-right: 0; padding: 12px 0; } }
.cmp-block { margin-top: clamp(28px, 5vw, 56px); }
.cmp-block-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-bottom: 14px; }
.cmp-block-head h2 { margin: 0; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9rem; cursor: pointer; min-height: 44px; }
.switch input { width: 20px; height: 20px; accent-color: var(--ink); }
.cmp-high { display: grid; gap: 14px; }
@media (min-width: 760px) { .cmp-high { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 24px; } }
.cmp-high-col { padding-top: 14px; border-top: 1px solid var(--rule-2); }
.cmp-high-col h3 { font-size: 1.05rem; margin-bottom: 10px; }
.cmp-high .ticks { gap: 6px; }
.cmp-high .ticks li.is-extra { font-weight: 600; color: var(--ink); }
.cmp-high .ticks li.is-extra::before { background: var(--accent); width: 10px; height: 2px; }
.cmp-legend { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: var(--muted); font-size: .86rem; }
.cmp-dot { width: 12px; height: 2px; background: var(--accent); flex: none; }
.cmp-none { color: var(--rule-2); }
.cmp-specs { display: grid; border-top: 1px solid var(--rule-2); }
.cmp-rows { padding: 0 0 8px; }
.cmp-row { padding: 10px 0; border-top: 1px solid var(--rule); }
.cmp-label { color: var(--muted); font: 400 .74rem/1.4 var(--mono); margin-bottom: 4px; }
.cmp-vals { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px; font-size: clamp(.86rem, 3vw, .95rem); overflow-wrap: anywhere; }
@media (min-width: 700px) { .cmp-vals { gap: 24px; } }
.compare[data-pns*=","] .cmp-row.is-diff { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
.compare.only-diff .cmp-row.is-same { display: none; }
.cmp-foot { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }

/* ---- events, content, closer, footer, misc ------------------------------------------ */

.event-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.event-card { display: flex; flex-direction: column; gap: 10px; }
.event-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); }
.event-card time { display: block; font: 400 .74rem/1.4 var(--mono); color: var(--muted); }
.event-card h3 { margin-bottom: 6px; }
.event-place { display: flex; gap: 6px; align-items: center; margin: 0 0 4px; color: var(--ink-2); font-size: .9rem; }
.event-card details { margin-top: 6px; }
.event-card summary { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; cursor: pointer; list-style: none; border-bottom: 1px solid var(--rule-2); }
.event-card summary::-webkit-details-marker { display: none; }
.event-grid.is-past .event-card { opacity: .7; }
.more-block { margin-top: 18px; }
.more-block > summary { list-style: none; margin-bottom: 18px; cursor: pointer; }
.more-block > summary::-webkit-details-marker { display: none; }
.more-block[open] > summary { display: none; }

.prose { font-size: 1.05rem; overflow-wrap: break-word; color: var(--ink-2); }
.prose h2, .prose h3, .prose h4 { color: var(--ink); }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose img { border-radius: var(--r-lg); margin: 1.2em 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; }
.prose .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 1.6em 0; border-top: 1px solid var(--ink); }
@media (min-width: 700px) { .prose .stats { grid-template-columns: repeat(4, 1fr); } }
.prose .stat { padding: 22px 12px 22px 0; border-bottom: 1px solid var(--rule-2); }
.prose .stat strong { display: block; font: 800 2.6rem/1 var(--font); letter-spacing: -.04em; color: var(--ink); }
.prose .stat span { font: 400 .72rem/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.prose .timeline { list-style: none; margin: 1.6em 0; padding: 0; border-top: 1px solid var(--ink); }
.prose .timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule-2); }
.prose .timeline strong { font: 800 1.6rem/1 var(--font); letter-spacing: -.03em; color: var(--ink); }
.prose .timeline p { margin: 0; }

.closer { padding: clamp(60px, 10vw, 140px) 0; background: var(--paper-2); border-top: 1px solid var(--rule); }
.closer h2 { font-size: clamp(2.4rem, 7vw, 5.6rem); letter-spacing: -.045em; line-height: .95; max-width: 14ch; margin-bottom: 26px; }
.closer-kicker { margin: 0 0 16px; font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.closer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band { background: var(--paper-2); padding: clamp(30px, 5vw, 54px) 0; border-top: 1px solid var(--rule); }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.foot { background: var(--dark); color: #9a968e; padding: clamp(40px, 6vw, 80px) 0 28px; }
.foot-mark { overflow: hidden; margin-bottom: clamp(30px, 5vw, 60px); }
.foot-mark img { width: min(100%, 720px); height: auto; filter: brightness(0) invert(1); opacity: .95; }
.foot-grid { display: grid; gap: 30px; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.foot-label { margin: 0 0 14px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.foot-list a, .foot-list .linklike { color: #c9c5bc; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.foot-list a:hover, .foot-list .linklike:hover { color: #fff; }
.foot-legal { margin: clamp(30px, 5vw, 50px) 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .72rem; color: #7a7873; }

.consent { position: fixed; z-index: 250; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); max-width: 520px; margin: 0 auto; padding: 20px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 24px 60px rgba(0, 0, 0, .18); border: 1px solid var(--rule); display: grid; gap: 12px; }
.consent p { margin: 4px 0 0; font-size: .9rem; color: var(--ink-2); }
.consent-actions { display: flex; gap: 8px; }
.consent-actions .btn { flex: 1; min-height: 44px; }
@media (min-width: 900px) { .consent { left: auto; right: 24px; bottom: 24px; margin: 0; } }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(17, 17, 16, .97); display: grid; place-items: center; touch-action: pan-y; color: #fff; }
.lightbox img { max-width: 100vw; max-height: 100svh; object-fit: contain; }
.lightbox button { position: absolute; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: transparent; color: #fff; }
.lightbox button:hover { background: #fff; color: var(--ink); }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: .8rem; opacity: .7; }
.e404 { text-align: center; }
.e404-code { font: 800 clamp(5rem, 24vw, 12rem)/.9 var(--font); letter-spacing: -.06em; color: var(--plate); margin: 0; }
