/* RK Auto — trucks, 4x4s, SUVs and performance cars, Phoenix AZ.
   Layout: full-width section bands that alternate white and warm gray so every section has a clear start and end;
   content sits directly on its band (one level of containers at most); one burnt-orange accent marks action. */
:root {
  --bg: #F3F2EF;
  --surface: #FFFFFF;
  --surface-2: #F5F4F1;
  --surface-3: #ECEBE7;
  --surface-3-hover: #E1DFDA;
  --line: #E2E0DB;
  --line-strong: #C9C6BF;
  --ink: #1A1A19;
  --ink-2: #3E3D3A;
  --muted: #64625C;
  --accent: #C94606;
  --accent-hover: #AC3B04;
  --accent-bright: #F26B1D;
  --on-accent: #FFFFFF;
  --link: #B03D05;
  --link-hover: #8C3003;
  --accent-soft: #FFF0E5;
  --accent-ink: #A23905;
  --ok: #2F6B45;
  --ok-soft: #EAF3ED;
  --error: #B42C22;
  --field: #FFFFFF;
  --field-edge: #D6D3CD;
  --field-edge-hover: #AFACA5;
  --dark: #1C1B19;
  --dark-2: #272623;
  --dark-ink: #FFFFFF;
  --dark-muted: #B9B6AF;
  --dark-line: rgba(255, 255, 255, 0.12);
  --footer: #141413;
  --footer-2: #21201E;
  --footer-muted: #A09D96;
  --car: #5D5B57;
  --car-window: #2B2B2A;
  --photo: #E7E6E2;
  --photo-2: #DCDAD5;
  --star: #D9731B;
  --shadow-1: 0 1px 2px rgba(17, 17, 17, 0.05), 0 0 0 1px rgba(17, 17, 17, 0.05);
  --shadow-2: 0 1px 2px rgba(17, 17, 17, 0.05), 0 0 0 1px rgba(17, 17, 17, 0.05), 0 8px 22px rgba(17, 17, 17, 0.06);
  --shadow-3: 0 2px 4px rgba(17, 17, 17, 0.06), 0 0 0 1px rgba(17, 17, 17, 0.06), 0 20px 44px rgba(17, 17, 17, 0.12);
  --scrim: rgba(17, 17, 16, 0.55);
  --glass: rgba(255, 255, 255, 0.9);

  --font-display: "Schibsted Grotesk", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;

  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 10px;
  --hdr-h: 68px;
  --gutter: 24px;
  --band-pad: clamp(48px, 6.5vw, 84px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121211; --surface: #1A1918; --surface-2: #211F1E; --surface-3: #2B2A27; --surface-3-hover: #36342F; --line: #2D2B28; --line-strong: #46433E;
    --ink: #F1EFEB; --ink-2: #D0CDC6; --muted: #A6A39C;
    --accent: #C94606; --accent-hover: #E05612; --accent-bright: #FF7A2E; --on-accent: #FFFFFF; --link: #FF9A5C; --link-hover: #FFBA8E;
    --accent-soft: #33200F; --accent-ink: #FFAE7A; --ok: #8BCFA2; --ok-soft: #1A2A1F; --error: #FF8A80;
    --field: #141413; --field-edge: #3A3835; --field-edge-hover: #57544F;
    --dark: #23221F; --dark-2: #2E2C29; --dark-ink: #FFFFFF; --dark-muted: #B8B5AE; --dark-line: rgba(255,255,255,0.1);
    --footer: #0B0B0A; --footer-2: #1B1A19; --footer-muted: #96938C;
    --car: #8C8983; --car-window: #1A1A19; --photo: #23221F; --photo-2: #2C2A27; --star: #F2913C;
    --shadow-1: 0 1px 2px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06); --shadow-2: 0 1px 2px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06), 0 8px 22px rgba(0,0,0,0.3);
    --shadow-3: 0 2px 4px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.07), 0 20px 44px rgba(0,0,0,0.5);
    --scrim: rgba(0, 0, 0, 0.65); --glass: rgba(26, 25, 24, 0.9);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121211; --surface: #1A1918; --surface-2: #211F1E; --surface-3: #2B2A27; --surface-3-hover: #36342F; --line: #2D2B28; --line-strong: #46433E;
  --ink: #F1EFEB; --ink-2: #D0CDC6; --muted: #A6A39C;
  --accent: #C94606; --accent-hover: #E05612; --accent-bright: #FF7A2E; --on-accent: #FFFFFF; --link: #FF9A5C; --link-hover: #FFBA8E;
  --accent-soft: #33200F; --accent-ink: #FFAE7A; --ok: #8BCFA2; --ok-soft: #1A2A1F; --error: #FF8A80;
  --field: #141413; --field-edge: #3A3835; --field-edge-hover: #57544F;
  --dark: #23221F; --dark-2: #2E2C29; --dark-ink: #FFFFFF; --dark-muted: #B8B5AE; --dark-line: rgba(255,255,255,0.1);
  --footer: #0B0B0A; --footer-2: #1B1A19; --footer-muted: #96938C;
  --car: #8C8983; --car-window: #1A1A19; --photo: #23221F; --photo-2: #2C2A27; --star: #F2913C;
  --shadow-1: 0 1px 2px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06); --shadow-2: 0 1px 2px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06), 0 8px 22px rgba(0,0,0,0.3);
  --shadow-3: 0 2px 4px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.07), 0 20px 44px rgba(0,0,0,0.5);
  --scrim: rgba(0, 0, 0, 0.65); --glass: rgba(26, 25, 24, 0.9);
  color-scheme: dark;
}

@view-transition { navigation: auto; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--ink); text-wrap: balance; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
/* thin accent scrollbars everywhere */
* { scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
html { scrollbar-color: var(--accent) var(--surface-2); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }
::-webkit-scrollbar-corner { background: transparent; }
::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--on-accent); }
main { animation: page-in .35s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}

/* Interaction language, used everywhere:
   pointer cursor = it does something · orange = the action · a card that lifts and turns its title orange = a link to a page
   a field darkens its edge on hover and gets an orange ring when you type */
a, button, summary, label[for], .check, .fcheck, .chip, .choice, [data-scroll], [data-quick] { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input:not([type]), textarea { cursor: text; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(1232px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: calc(860px + var(--gutter) * 2); }
.band { padding-block: var(--band-pad); position: relative; }
.band-white { background: var(--surface); }
.band-gray { background: var(--bg); }
.band-dark { background: var(--dark); color: var(--dark-ink); }
.band-dark h2, .band-dark h3 { color: var(--dark-ink); }
.band-dark .muted, .band-dark .lead { color: var(--dark-muted); }
.band + .band { box-shadow: inset 0 1px 0 var(--line); }
.band-dark + .band, .band + .band-dark { box-shadow: none; }
.band-slim { padding-block: 28px; }
.band-tight-top { padding-top: 24px; }
.band-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(22px, 3vw, 32px); }
.band-head > div { display: flex; flex-direction: column; gap: 8px; max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent-ink); }
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--accent); }
.band-dark .eyebrow { color: var(--accent-bright); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.g-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 22px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { :root { --gutter: 16px; --hdr-h: 62px; } }

/* ---------- type ---------- */
.display { font-weight: 700; font-size: clamp(36px, 4.8vw, 58px); line-height: 1.04; letter-spacing: -0.03em; }
.h1 { font-weight: 700; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.06; letter-spacing: -0.025em; }
.h2 { font-weight: 700; font-size: clamp(25px, 2.8vw, 34px); }
.h3 { font-weight: 700; font-size: clamp(20px, 2vw, 24px); }
.h4 { font-family: var(--font-body); font-weight: 700; font-size: 17px; letter-spacing: 0; line-height: 1.3; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--link); }
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover { color: var(--link-hover); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--r-sm); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap; position: relative; transition: background-color .15s ease, box-shadow .15s ease, color .15s ease, transform .1s ease; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-secondary:hover { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-2); }
.btn-ghost-dark { background: transparent; color: var(--dark-ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); color: var(--dark-ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7); }
.btn-quiet { background: transparent; color: var(--ink); padding: 0 10px; }
.btn-quiet:hover { background: var(--surface-2); color: var(--ink); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; min-height: 44px; padding: 0; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--on-accent); border-right-color: transparent; border-bottom-color: transparent; animation: spin .7s linear infinite; }
.btn-secondary.is-loading::after { border-color: var(--ink) transparent transparent var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- chips & tags ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border: 0; border-radius: var(--r-sm); background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 600; font-size: 15px; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); box-shadow: none; }
.chip-remove { background: var(--accent-soft); color: var(--accent-ink); box-shadow: none; min-height: 34px; padding: 0 8px 0 12px; font-size: 14px; }
.chip-remove:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 4px; font-size: 13px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.tag-accent { background: var(--accent-soft); color: var(--accent-ink); box-shadow: none; }

/* ---------- progress rail & section indicator ---------- */
.rail { position: fixed; left: 0; right: 0; top: 0; z-index: 70; overflow-x: clip; height: 3px; background: color-mix(in srgb, var(--line) 70%, transparent); }
.rail-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.rail-tick { position: absolute; top: -4px; width: 14px; height: 14px; margin-left: -7px; padding: 0; border: 0; background: transparent; }
.rail-tick::after { content: ""; position: absolute; left: 6px; top: 4px; width: 2px; height: 6px; background: var(--line-strong); transition: background-color .2s ease, height .2s ease; }
.rail-tick.done::after { background: color-mix(in srgb, var(--on-accent) 85%, transparent); }
.rail-tick:hover::after { height: 10px; background: var(--ink); }
.sec-pill { position: fixed; right: var(--gutter); top: calc(var(--hdr-h) + 12px); z-index: 39; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px 0 14px; border: 0; border-radius: var(--r-sm); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); box-shadow: var(--shadow-2); font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.sec-pill.show { opacity: 1; transform: none; pointer-events: auto; }
.sec-pill .count { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.sec-pill svg { color: var(--muted); }
.sec-menu { position: fixed; right: var(--gutter); top: calc(var(--hdr-h) + 58px); z-index: 39; width: min(300px, calc(100% - 32px)); background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-3); padding: 6px; animation: sel-in .14s ease both; }
.sec-menu button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 0 12px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink); font-size: 15px; text-align: left; }
.sec-menu button:hover { background: var(--surface-2); }
.sec-menu button[aria-current="true"] { color: var(--accent-ink); font-weight: 600; }
.sec-menu .n { width: 20px; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
@media (max-width: 640px) { .sec-pill { top: calc(var(--hdr-h) + 8px); min-height: 36px; font-size: 13px; } }

/* ---------- header ---------- */
#site-header { min-height: var(--hdr-h); }
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--glass); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--hdr-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; flex: none; }
.logo:hover { color: var(--ink); }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.015em; }
.nav { display: flex; gap: 2px; flex: 1 1 auto; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; transition: color .15s ease; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.hdr-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hdr-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; font-variant-numeric: tabular-nums; }
.hdr-phone svg { color: var(--accent); }
.hdr-phone:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink); text-decoration: none; transition: background-color .15s ease; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.saved-count { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; }
@media (max-width: 1060px) { .nav, .hdr-cta { display: none; } .menu-btn { display: inline-flex; } }
@media (max-width: 640px) {
  .hdr-phone, .hdr-theme { display: none; }
  .logo-word { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .logo { flex: 0 1 auto; min-width: 0; }
  .icon-btn { width: 42px; }
  .hdr .wrap { gap: 6px; }
  .hdr-actions { gap: 0; }
}

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 80; background: var(--surface); display: flex; flex-direction: column; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease; }
.mmenu.is-open { opacity: 1; transform: none; }
.mmenu-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--hdr-h); padding-inline: var(--gutter); box-shadow: 0 1px 0 var(--line); }
.mmenu nav { display: flex; flex-direction: column; padding: 10px var(--gutter); overflow-y: auto; }
.mmenu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 4px; box-shadow: 0 1px 0 var(--line); font-weight: 600; font-size: 17px; color: var(--ink); text-decoration: none; transition: color .15s ease; }
.mmenu nav a svg { width: 18px; height: 18px; color: var(--muted); transition: transform .2s ease, color .15s ease; }
.mmenu nav a:hover, .mmenu nav a[aria-current="page"] { color: var(--accent-ink); }
.mmenu nav a:hover svg, .mmenu nav a[aria-current="page"] svg { color: var(--accent); transform: translateX(2px); }
.mmenu-foot { margin-top: auto; padding: 16px var(--gutter) 24px; display: grid; gap: 10px; }

/* mobile action bar (hides while a field is being filled in) */
.mbar { display: none; }
@media (max-width: 1023px) {
  .mbar { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgba(17, 17, 17, 0.08); transition: transform .25s ease; }
  .mbar.mbar-vehicle { grid-template-columns: 1fr 52px 52px; }
  .mbar .btn { min-height: 48px; padding: 0 10px; }
  body.has-mbar { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  body.is-typing .mbar { transform: translateY(110%); }
}

/* ---------- breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- vehicle illustration ---------- */
.photo { position: relative; aspect-ratio: 4 / 3; max-width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(180deg, var(--photo) 0%, var(--photo) 62%, var(--photo-2) 62%, var(--photo-2) 100%); }
.photo-32 { aspect-ratio: 3 / 2; }
.photo .car { width: 76%; height: auto; display: block; }
.photo-int { background: #1B1A18; }

/* ---------- vehicle card ---------- */
.vcard { position: relative; background: var(--surface); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.vcard > a { display: flex; flex-direction: column; flex: 1 1 auto; color: var(--ink); text-decoration: none; }
.vcard > a:focus-visible { outline-offset: -2px; border-radius: var(--r-md); }
.vcard .photo .car { transition: transform .35s ease; }
.vcard:hover .photo .car { transform: scale(1.04); }
.vcard-count { position: absolute; bottom: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 4px; background: rgba(17, 17, 17, 0.72); color: #FFFFFF; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.vcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; }
.vcard-title { font-weight: 700; font-size: 17px; line-height: 1.3; transition: color .15s ease; }
.vcard:hover .vcard-title { color: var(--accent-ink); }
.vcard-trim { color: var(--muted); font-size: 14px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; margin-top: 8px; }
.vcard-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.vcard-specs span { padding: 3px 8px; border-radius: 4px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.vcard-why { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.heart { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: var(--r-sm); border: 0; background: var(--glass); color: var(--ink); box-shadow: var(--shadow-1); display: inline-flex; align-items: center; justify-content: center; transition: transform .15s ease, color .15s ease; }
.heart:hover { transform: scale(1.06); color: var(--accent); }
.heart[aria-pressed="true"] { color: var(--accent); }
.heart[aria-pressed="true"] svg { fill: currentColor; animation: pop .3s ease; }
@keyframes pop { 50% { transform: scale(1.3); } }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.span-all { grid-column: 1 / -1; }
.form-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .form-2 { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span, .legend { font-weight: 600; font-size: 14px; color: var(--ink); }
.field .opt { color: var(--muted); font-weight: 500; }
.input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--field-edge); background: var(--field); color: var(--ink); font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease; }
.input:hover { border-color: var(--field-edge-hover); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
textarea.input { padding: 11px 14px; min-height: 84px; line-height: 1.5; resize: vertical; }
.field.invalid .input { border-color: var(--error); box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 15%, transparent); }
.field-error { display: none; font-size: 13px; font-weight: 600; color: var(--error); }
.field.invalid .field-error { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { accent-color: var(--accent); width: 18px; height: 18px; margin: 1px 0 0; flex: none; }
.check.invalid span { color: var(--error); }
.check a { color: inherit; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: var(--r-md); background: var(--surface-3); }
.seg button { min-height: 42px; border: 0; border-radius: var(--r-sm); background: transparent; font-weight: 600; color: var(--ink-2); transition: background-color .15s ease, color .15s ease; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.choice { text-align: left; padding: 16px; border-radius: var(--r-md); border: 0; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); display: flex; flex-direction: column; gap: 4px; transition: box-shadow .15s ease, background-color .15s ease; }
.choice:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }
.choice[aria-pressed="true"] { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.choice span { color: var(--muted); font-size: 14px; }
.success { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; animation: page-in .4s ease both; }
.success-icon { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--ok-soft); color: var(--ok); display: inline-flex; align-items: center; justify-content: center; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.form-foot .check { flex: 1 1 260px; }
.progress { height: 4px; border-radius: 2px; background: var(--surface-3); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); transition: width .35s ease; }
.step-labels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.step-labels .on { color: var(--ink); }
.step-pane { animation: page-in .3s ease both; }

/* ---------- custom select ---------- */
.sel { position: relative; width: 100%; min-width: 0; }
.sel select { display: none; }
.sel-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; font-weight: 500; cursor: pointer; }
.sel-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sel-btn svg { flex: none; color: var(--muted); transition: transform .2s ease, color .15s ease; }
.sel-btn:hover svg { color: var(--ink); }
.sel.is-open .sel-btn { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.sel.is-open .sel-btn svg { transform: rotate(180deg); color: var(--accent); }
.sel-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 45; margin: 0; padding: 4px; list-style: none; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-3); max-height: 288px; overflow-y: auto; overscroll-behavior: contain; min-width: 170px; animation: sel-in .14s ease both; }
.sel.up .sel-list { top: auto; bottom: calc(100% + 6px); }
@keyframes sel-in { from { opacity: 0; transform: translateY(-4px); } }
.sel-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; min-height: 42px; border-radius: var(--r-sm); cursor: pointer; font-size: 15px; color: var(--ink); }
.sel-opt.is-active { background: var(--surface-2); }
.sel-opt[aria-selected="true"] { color: var(--accent-ink); font-weight: 600; }
.sel-opt svg { flex: none; visibility: hidden; color: var(--accent); }
.sel-opt[aria-selected="true"] svg { visibility: visible; }
.field.invalid .sel-btn { border-color: var(--error); }

/* ---------- accordion ---------- */
.acc { display: flex; flex-direction: column; }
.acc details { box-shadow: 0 1px 0 var(--line); }
.acc details:first-child { box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 8px 0; font-weight: 600; font-size: 17px; transition: color .15s ease; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { flex: none; color: var(--muted); transition: transform .2s ease, color .15s ease; }
.acc summary:hover { color: var(--accent-ink); }
.acc summary:hover svg { color: var(--accent); }
.acc details[open] summary svg { transform: rotate(180deg); }
.acc .acc-body { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }
.acc details[open] .acc-body { animation: page-in .25s ease both; }
.acc-group { margin: 28px 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.acc-group:first-child { margin-top: 0; }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-search { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; padding: 14px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-3); }
.hero-search .field > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.hero-art { position: relative; display: block; text-decoration: none; color: var(--ink); }
.hero-art .photo { border-radius: var(--r-lg); aspect-ratio: 5 / 4; }
.hero-art .photo .car { width: 84%; transition: transform .4s ease; }
.hero-art:hover .photo .car { transform: scale(1.03); }
.hero-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-2); }
.hero-cap strong { display: block; font-size: 16px; }
.hero-cap .price { margin: 0; font-size: 20px; }
.hero-art:hover .hero-cap strong { color: var(--accent-ink); }
@media (max-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr); } .hero-art { order: -1; } .hero-art .photo { aspect-ratio: 16 / 10; } .hero-cap { position: static; margin-top: 10px; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; } }
@media (max-width: 640px) { .vcard .photo { aspect-ratio: 16 / 10; } .vcard .photo .car { width: 70%; } }
@media (max-width: 720px) { .hero-search { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-search .field:nth-child(2) { display: none; } .hero-search .btn { grid-column: 1 / -1; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts > div { display: flex; gap: 14px; align-items: flex-start; padding: 4px 24px; box-shadow: -1px 0 0 var(--line); }
.facts > div:first-child { padding-left: 0; box-shadow: none; }
.facts svg { flex: none; color: var(--accent); margin-top: 2px; }
.facts strong { display: block; font-size: 16px; }
.facts span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; } .facts > div:nth-child(3) { padding-left: 0; box-shadow: none; } }
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr); } .facts > div { padding-left: 0; box-shadow: none; } }
.spotlight { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); margin-bottom: 22px; }
.spotlight > a.photo { aspect-ratio: auto; min-height: 320px; }
.spotlight > a.photo .car { width: 80%; transition: transform .4s ease; }
.spotlight > a.photo:hover .car { transform: scale(1.03); }
.spot-body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.spot-body h3 a { color: var(--ink); text-decoration: none; }
.spot-body h3 a:hover { color: var(--accent-ink); }
.spot-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 4px 0 0; }
.spot-specs div { display: flex; flex-direction: column; padding: 10px 0; box-shadow: 0 1px 0 var(--line); }
.spot-specs dt { font-size: 13px; color: var(--muted); }
.spot-specs dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .spotlight { grid-template-columns: minmax(0, 1fr); } .spotlight > a.photo { min-height: 0; aspect-ratio: 16 / 10; } }
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.type { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.type .photo { border-radius: var(--r-md); aspect-ratio: 16 / 10; transition: box-shadow .2s ease; }
.type .photo .car { width: 70%; transition: transform .35s ease; }
.type:hover .photo { box-shadow: var(--shadow-3); }
.type:hover .photo .car { transform: scale(1.05) translateX(2%); }
.type-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; }
.type-meta strong { font-family: var(--font-display); font-size: 21px; transition: color .15s ease; }
.type:hover .type-meta strong { color: var(--accent-ink); }
.type-meta svg { color: var(--muted); transition: transform .2s ease, color .2s ease; }
.type:hover .type-meta svg { color: var(--accent); transform: translateX(3px); }
@media (max-width: 760px) { .types { grid-template-columns: minmax(0, 1fr); } }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.cta-row > div:first-child { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.path { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; position: relative; counter-reset: p; }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 2px; background: var(--line); }
.path li { position: relative; padding-top: 48px; display: flex; flex-direction: column; gap: 6px; }
.path li::before { counter-increment: p; content: counter(p); position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.path li:last-child::before { background: var(--accent); color: var(--on-accent); }
.path strong { font-size: 17px; }
.path span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .path { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .path::before { left: 15px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .path li { padding: 4px 0 26px 52px; }
}
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quotes figure { margin: 0; padding: 4px 28px; box-shadow: -1px 0 0 var(--line); display: flex; flex-direction: column; gap: 14px; }
.quotes figure:first-child { padding-left: 0; box-shadow: none; }
.quotes blockquote { margin: 0; font-family: var(--font-display); font-size: 19px; line-height: 1.45; letter-spacing: -0.01em; }
.quotes figcaption { margin-top: auto; font-size: 14px; color: var(--muted); }
.quotes figcaption strong { color: var(--ink); }
.stars { display: flex; gap: 2px; color: var(--star); }
@media (max-width: 860px) { .quotes { grid-template-columns: minmax(0, 1fr); gap: 28px; } .quotes figure { padding: 0; box-shadow: none; } }

/* ---------- talk (embedded contact) ---------- */
.talk { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.talk-copy { display: flex; flex-direction: column; gap: 14px; }
.talk-lines { display: flex; flex-direction: column; margin-top: 6px; }
.talk-lines a, .talk-lines div { display: flex; align-items: center; gap: 12px; min-height: 48px; box-shadow: 0 1px 0 var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.talk-lines a:first-child { box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
.talk-lines svg { color: var(--accent); flex: none; }
.talk-lines small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 13px; }
.talk-lines a:hover { color: var(--accent-ink); }
.talk-lines div { font-weight: 500; color: var(--muted); font-size: 14px; }
.talk form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .talk { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .talk form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- inventory ---------- */
.inv-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.searchbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.search-input { flex: 1 1 340px; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border-radius: var(--r-sm); background: var(--field); border: 1px solid var(--field-edge); color: var(--muted); transition: border-color .15s ease, box-shadow .15s ease; }
.search-input:hover { border-color: var(--field-edge-hover); }
.search-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.search-input input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font-size: 16px; color: var(--ink); min-height: 46px; }
.search-input input:focus { outline: none; }
.quick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.inv-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--hdr-h) + 16px); max-height: calc(100vh - var(--hdr-h) - 32px); display: flex; flex-direction: column; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; }
.filters-body { overflow-y: auto; display: flex; flex-direction: column; overscroll-behavior: contain; padding-right: 4px; }
.filters-foot { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 12px; }
.fgroup { box-shadow: 0 1px 0 var(--line); }
.fgroup:first-of-type { box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
.fgroup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 50px; font-weight: 600; transition: color .15s ease; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary svg { color: var(--muted); transition: transform .2s ease; }
.fgroup summary:hover { color: var(--accent-ink); }
.fgroup[open] summary svg { transform: rotate(180deg); }
.fgroup-body { padding: 0 0 16px; display: flex; flex-direction: column; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.fcheck { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15px; transition: color .15s ease; }
.fcheck:hover { color: var(--accent-ink); }
.fcheck input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex: none; }
.fcheck span:nth-child(2) { flex: 1 1 auto; }
.fcheck .count { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 14px; }
.fcheck.is-zero { opacity: .45; }
.range-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.range-pair .field > span { font-size: 13px; color: var(--muted); }
.range-pair .sel-btn { min-height: 44px; font-size: 15px; padding: 0 10px; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.sort { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.sort .sel { width: auto; min-width: 200px; }
.sort .sel-btn { min-height: 44px; font-size: 15px; }
.filter-toggle { display: none; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.help-card { grid-column: 1 / -1; background: var(--dark); color: var(--dark-ink); border-radius: var(--r-lg); padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.help-card h2 { color: var(--dark-ink); }
.help-card p { color: var(--dark-muted); }
.empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 32px; }
.pager button { min-width: 44px; height: 44px; padding: 0 14px; border: 0; border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px var(--line-strong); display: inline-flex; align-items: center; gap: 6px; }
.pager button:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ink-2); }
.pager button[aria-current="page"] { background: var(--ink); color: var(--surface); box-shadow: none; }
.filters-close { display: none; }
@media (max-width: 1023px) {
  .inv-layout { grid-template-columns: minmax(0, 1fr); }
  .filter-toggle { display: inline-flex; }
  .filters-close { display: inline-flex; }
  .filters { position: fixed; inset: 0; max-height: none; z-index: 75; background: var(--surface); transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); visibility: hidden; padding-top: env(safe-area-inset-top, 0px); }
  .filters.is-open { transform: none; visibility: visible; }
  .filters-head { padding: 12px var(--gutter); box-shadow: 0 1px 0 var(--line); }
  .filters-body { padding: 12px var(--gutter) 24px; flex: 1 1 auto; }
  .filters-foot { display: block; padding: 12px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -1px 0 var(--line); }
}

/* ---------- vehicle detail ---------- */
.vd-top { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.vd-aside { position: sticky; top: calc(var(--hdr-h) + 20px); display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 1023px) { .vd-top { grid-template-columns: minmax(0, 1fr); gap: 24px; } .vd-aside { position: static; } .vd-desktop-only { display: none !important; } }
.gal-main { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; touch-action: pan-y; user-select: none; outline-offset: 3px; }
.gal-main .frame { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: opacity .3s ease; }
.gal-main .car { width: 74%; }
.gal-caption { position: absolute; left: 14px; bottom: 14px; padding: 5px 10px; border-radius: 4px; background: rgba(17, 17, 17, 0.75); color: #FFFFFF; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.gal-full { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: var(--glass); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-1); }
.gal-full:hover { color: var(--accent); }
.gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: var(--r-sm); background: var(--glass); color: var(--ink); box-shadow: var(--shadow-1); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s ease, color .15s ease; }
.gal-main:hover .gal-arrow, .gal-arrow:focus-visible { opacity: 1; }
.gal-arrow:hover { color: var(--accent); }
.gal-prev { left: 14px; } .gal-next { right: 14px; }
@media (hover: none) { .gal-arrow { opacity: 1; width: 42px; height: 42px; } .gal-arrow svg { width: 20px; height: 20px; } }
.gal-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.gal-thumbs button { scroll-snap-align: start; }
.gal-thumbs button { flex: none; width: 96px; aspect-ratio: 4 / 3; border-radius: var(--r-sm); border: 0; padding: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; opacity: .7; transition: opacity .15s ease, box-shadow .15s ease; }
.gal-thumbs button:hover { opacity: 1; }
.gal-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }
.gal-thumbs .car { width: 84%; pointer-events: none; }
.vd-title { display: flex; flex-direction: column; gap: 6px; }
.vd-sub { color: var(--muted); font-size: 16px; }
.price-big { font-family: var(--font-display); font-weight: 700; font-size: 42px; line-height: 1; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.price-note { font-size: 14px; color: var(--muted); }
.act-grid { display: flex; flex-direction: column; gap: 10px; }
.act-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vd-small-actions { display: flex; gap: 4px; flex-wrap: wrap; }
.heart-inline[aria-pressed="true"] { color: var(--accent); }
.heart-inline[aria-pressed="true"] svg { fill: currentColor; }
.id-list { margin: 0; display: flex; flex-direction: column; font-size: 14px; }
.id-list div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; box-shadow: 0 1px 0 var(--line); }
.id-list div:first-child { box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
.id-list dt { color: var(--muted); }
.id-list dd { margin: 0; display: flex; align-items: center; gap: 6px; font-weight: 600; font-variant-numeric: tabular-nums; }
.id-list button { min-height: 36px; padding: 0 10px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--link); font-weight: 600; font-size: 14px; }
.id-list button:hover { background: var(--accent-soft); }
.spec-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .spec-cols { grid-template-columns: minmax(0, 1fr); } }
.spec-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.spec-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; box-shadow: 0 1px 0 var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.spec-list dd.tbc { color: var(--muted); font-weight: 500; font-style: italic; }
@media (max-width: 600px) { .spec-list { grid-template-columns: minmax(0, 1fr); } }
.feat-list { list-style: none; display: flex; flex-direction: column; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; box-shadow: 0 1px 0 var(--line); }
.feat-list svg { flex: none; color: var(--accent); margin-top: 2px; }
.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 66ch; display: flex; flex-direction: column; gap: 14px; }
.inq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.inq form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .inq { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .inq form { grid-template-columns: minmax(0, 1fr); } }
.recent-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.recent-item { display: flex; align-items: center; gap: 14px; padding: 8px; background: var(--surface); border-radius: var(--r-md); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); transition: transform .15s ease, box-shadow .15s ease; }
.recent-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); color: var(--ink); }
.recent-item:hover strong { color: var(--accent-ink); }
.recent-item .photo { flex: none; width: 88px; border-radius: var(--r-sm); }

/* buy page */
.buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.buy-sum { position: sticky; top: calc(var(--hdr-h) + 20px); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; }
@media (max-width: 1023px) { .buy-grid { grid-template-columns: minmax(0, 1fr); } .buy-sum { position: static; order: -1; } }
.next-steps { list-style: none; counter-reset: n; display: flex; flex-direction: column; width: 100%; }
.next-steps li { counter-increment: n; display: flex; gap: 14px; align-items: baseline; padding: 12px 0; box-shadow: 0 1px 0 var(--line); }
.next-steps li::before { content: counter(n); font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; width: 18px; flex: none; }

/* delivery */
.transit { margin: 0; display: flex; flex-direction: column; }
.transit div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; box-shadow: 0 1px 0 var(--line); }
.transit div:first-child { box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
.transit dt { color: var(--ink-2); }
.transit dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.options > div { padding: 4px 28px 0; box-shadow: -1px 0 0 var(--line); display: flex; flex-direction: column; gap: 10px; }
.options > div:first-child { padding-left: 0; box-shadow: none; }
.options .cost { font-family: var(--font-display); font-weight: 700; font-size: 24px; font-variant-numeric: tabular-nums; }
.options .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 860px) { .options { grid-template-columns: minmax(0, 1fr); gap: 28px; } .options > div { padding: 0; box-shadow: none; } }

/* about */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.team figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.team .photo { border-radius: var(--r-md); aspect-ratio: 1 / 1; background: var(--surface-3); }
.team figcaption strong { display: block; font-size: 17px; }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.checks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.checks h3 { font-family: var(--font-body); font-size: 16px; letter-spacing: 0; padding-bottom: 10px; box-shadow: 0 2px 0 var(--accent); margin-bottom: 12px; }
.checks ul { list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 15px; }
.checks li { display: flex; gap: 8px; }
.checks li::before { content: ""; width: 5px; height: 5px; margin-top: 9px; background: var(--muted); flex: none; }
@media (max-width: 860px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .checks { grid-template-columns: minmax(0, 1fr); } }
.promises { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.promises li { display: flex; gap: 14px; padding: 16px 0; box-shadow: 0 1px 0 var(--line); }
.promises svg { flex: none; color: var(--accent); margin-top: 2px; }
.promises strong { display: block; }
.promises span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .promises { grid-template-columns: minmax(0, 1fr); } }

/* contact */
.methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
.methods a { display: flex; gap: 14px; align-items: center; padding: 6px 24px; box-shadow: -1px 0 0 var(--line); text-decoration: none; color: var(--ink); min-width: 0; }
.methods a:first-child { padding-left: 0; box-shadow: none; }
.methods svg { flex: none; color: var(--accent); }
.methods small { display: block; color: var(--muted); font-size: 13px; }
.methods strong { font-size: 19px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; transition: color .15s ease; }
.methods a:hover strong { color: var(--accent-ink); }
@media (max-width: 860px) { .methods { grid-template-columns: minmax(0, 1fr); gap: 14px; } .methods a { padding: 0; box-shadow: none; } }
.map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-md); background: var(--surface-3); overflow: hidden; }
.map i { position: absolute; background: var(--surface); }
.map .pin { position: absolute; left: 50%; top: 42%; width: 40px; height: 40px; border-radius: 50% 50% 50% 3px; background: var(--accent); transform: translate(-50%, -100%) rotate(-45deg); box-shadow: 0 6px 16px rgba(17, 17, 17, 0.3); }
.map .pin::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--surface); }
.hours { margin: 0; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; box-shadow: 0 1px 0 var(--line); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; }
.note { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.note svg { flex: none; color: var(--accent); margin-top: 2px; }

/* resources */
.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.guide { display: flex; gap: 16px; align-items: flex-start; text-align: left; padding: 18px 0; border: 0; background: none; box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.guide .gn { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; padding-top: 2px; }
.guide strong { display: block; font-size: 18px; line-height: 1.3; transition: color .15s ease; }
.guide span { color: var(--muted); font-size: 15px; }
.guide svg { margin-left: auto; flex: none; color: var(--muted); transition: transform .2s ease, color .15s ease; margin-top: 2px; }
.guide:hover strong { color: var(--accent-ink); }
.guide:hover svg { color: var(--accent); transform: translateX(3px); }
@media (max-width: 760px) { .guides { grid-template-columns: minmax(0, 1fr); } }

/* legal */
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--hdr-h) + 24px); display: flex; flex-direction: column; }
.toc a { padding: 8px 0 8px 12px; color: var(--muted); text-decoration: none; font-size: 15px; box-shadow: inset 2px 0 0 var(--line); }
.toc a:hover { color: var(--ink); box-shadow: inset 2px 0 0 var(--accent); }
.legal-body { max-width: 70ch; display: flex; flex-direction: column; gap: 32px; }
.legal-body section { display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.legal-body h2 { font-size: 22px; }
@media (max-width: 900px) { .legal { grid-template-columns: minmax(0, 1fr); } .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; } .toc a { box-shadow: none; padding: 4px 0; } }

/* ---------- overlays ---------- */
dialog.modal { border: 0; padding: 0; border-radius: var(--r-lg); width: min(620px, calc(100% - 32px)); max-height: calc(100% - 48px); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-3); }
dialog.modal::backdrop { background: var(--scrim); }
dialog.modal[open] { animation: page-in .25s ease both; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 22px 6px; }
.modal-body { padding: 10px 22px 24px; }
.modal-body form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .modal-body form { grid-template-columns: minmax(0, 1fr); } }
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(10, 10, 10, 0.95); display: flex; flex-direction: column; opacity: 0; transition: opacity .25s ease; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
.lb.is-open { opacity: 1; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.lb-top button, .lb-nav { border: 0; background: rgba(255, 255, 255, 0.12); color: #FFFFFF; width: 48px; height: 48px; border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; }
.lb-top button:hover, .lb-nav:hover { background: rgba(255, 255, 255, 0.24); }
.lb-stage { flex: 1 1 auto; position: relative; display: flex; align-items: center; justify-content: center; padding: 16px 76px; touch-action: pan-y; }
.lb-stage .frame { width: min(1100px, 100%); aspect-ratio: 3 / 2; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lb-stage .car { width: 74%; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
@media (max-width: 640px) { .lb-stage { padding: 16px; } .lb-nav { width: 42px; height: 42px; } .lb-prev { left: 6px; } .lb-next { right: 6px; } }
.toasts { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
@media (max-width: 1023px) { .toasts { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); } }
.toast { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-md); background: var(--ink); color: var(--surface); font-weight: 600; font-size: 15px; box-shadow: var(--shadow-3); animation: toast-in .3s cubic-bezier(.2, .8, .2, 1) both; }
.toast.out { animation: toast-out .25s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

/* ---------- footer ---------- */
.ftr { background: var(--footer); color: #DDDAD4; }
.ftr .wrap { padding-block: 56px 28px; }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px 48px; }
@media (max-width: 960px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ftr-grid { grid-template-columns: minmax(0, 1fr); } }
.ftr h3 { font-family: var(--font-body); font-size: 14px; color: #FFFFFF; font-weight: 700; letter-spacing: 0; margin-bottom: 10px; }
.ftr nav { display: flex; flex-direction: column; }
.ftr a { color: var(--footer-muted); text-decoration: none; transition: color .15s ease; }
.ftr a:hover { color: #FFFFFF; }
.ftr nav a { padding: 5px 0; font-size: 15px; }
.ftr .logo, .ftr .logo:hover { color: #FFFFFF; }
.ftr-contact { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--footer-muted); }
.ftr-contact strong { color: #FFFFFF; }
.ftr-bottom { margin-top: 44px; padding-top: 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--footer-muted); }

/* ---------- real vehicle photos ---------- */
.photo.has-img { background: var(--surface-3); }
.photo.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.vcard:hover .photo.has-img img, .spotlight > a.photo:hover img, .recent-item:hover .photo.has-img img { transform: scale(1.04); }
.photo.has-img::after { content: none; }
.spotlight > a.photo.has-img { min-height: 340px; }
.photo-real { background: #141413; }
.gal-main.photo-real .frame img, .lb-stage .frame.photo-real img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gal-thumbs button.photo-real { background: #141413; }
.gal-thumbs button.photo-real img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumbs .spr { display: block; width: 100%; height: 100%; background-repeat: no-repeat; pointer-events: none; }

/* at-a-glance facts in the price card */
.glance { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.glance div { display: flex; flex-direction: column; padding: 10px 0; box-shadow: 0 1px 0 var(--line); min-width: 0; }
.glance div:nth-child(-n+2) { box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
.glance dt { font-size: 13px; color: var(--muted); }
.glance dd { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.35; }

/* grouped specification tables and equipment columns */
.spec-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; align-items: start; }
.spec-group h3, .equip-col h3 { padding-bottom: 10px; box-shadow: 0 2px 0 var(--accent); margin-bottom: 4px; }
.spec-list.spec-1 { grid-template-columns: minmax(0, 1fr); }
.spec-list.spec-1 dd { max-width: 62%; }
.equip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; align-items: start; }
.equip .feat-list li { padding: 10px 0; font-size: 15px; }
.equip .feat-list strong { font-weight: 600; }
@media (max-width: 960px) { .equip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.equip.equip-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.equip.equip-one { grid-template-columns: minmax(0, 1fr); }
.equip-one .feat-list { display: block; columns: 3 240px; column-gap: 40px; }
.equip-one .feat-list li { break-inside: avoid; }
.feat-list li.feat-sub { display: block; padding: 18px 0 8px; font-family: var(--font-display, inherit); font-weight: 600; font-size: 15px; color: var(--ink); box-shadow: 0 1px 0 var(--line-strong, var(--line)); }
.feat-list li.feat-sub:first-child { padding-top: 6px; }
.equip .feat-list li.feat-sub { font-size: 15px; padding: 18px 0 8px; }
.equip .feat-list li.feat-sub:first-child { padding-top: 6px; }
@media (max-width: 760px) { .equip.equip-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .spec-groups, .equip { grid-template-columns: minmax(0, 1fr); } .spec-list.spec-1 dd { max-width: 58%; } }

/* hero without artwork: copy and search lead */
.hero-solo { grid-template-columns: minmax(0, 1fr); max-width: calc(880px + var(--gutter) * 2); margin-inline: 0; }
.hero-solo .lead { max-width: 60ch; }

/* ---------- vehicle page: mid-page CTA + collapsible equipment ---------- */
.band-cta { padding-block: clamp(26px, 3.2vw, 40px); }
.spec-cta { background: var(--dark); color: var(--dark-ink); border-radius: var(--r-lg); padding: 26px 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.spec-cta h2 { color: var(--dark-ink); }
.spec-cta p { color: var(--dark-muted); max-width: 54ch; }
.btn-dark-quiet { background: transparent; color: var(--dark-ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.btn-dark-quiet:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
@media (max-width: 560px) { .spec-cta { padding: 22px; } .spec-cta .cta-actions { width: 100%; } .spec-cta .cta-actions .btn { flex: 1 1 100%; justify-content: center; } }

.equip-col.is-collapsed .feat-list li.is-more { display: none; }
.equip-col.is-collapsed.is-open .feat-list li.is-more { display: flex; }
.equip-col.is-collapsed.is-open .feat-list li.feat-sub.is-more { display: block; }
.see-all { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; border: 0; background: none; color: var(--accent-ink, var(--accent)); font: inherit; font-size: 14px; font-weight: 600; }
.see-all:hover { color: var(--ink); }
.see-all svg { transition: transform .18s ease; }
.is-open .see-all svg { transform: rotate(180deg); }


/* ---------- RK Auto additions ---------- */
/* Logo: dark-text version on light pages, light-text version on dark pages; the footer is always dark */
.logo-img { display: block; height: 38px; width: auto; }
.logo-on-dark { display: none; }
:root[data-theme="dark"] .logo-on-light { display: none; }
:root[data-theme="dark"] .logo-on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-on-light { display: none; }
  :root:not([data-theme="light"]) .logo-on-dark { display: block; }
}
.logo-footer .logo-img { height: 44px; }
@media (max-width: 760px) { .logo-img { height: 32px; } }

/* About page brand panel (replaces the lot photo placeholder) */
.brand-panel { background: var(--dark); color: var(--dark-ink); border-radius: var(--r-lg); aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 32px; text-align: center; }
.brand-panel-logo { width: min(78%, 360px); height: auto; }
.brand-panel span { color: var(--dark-muted); }
.brand-panel .link-arrow { color: var(--accent-bright); }

/* Forms: bot trap, server messages, submission number */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.ts-slot:empty { display: none; }
.ts-slot { grid-column: 1 / -1; }
.form-error { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--error) 10%, transparent); color: var(--error); font-weight: 600; font-size: 15px; }
.form-error[hidden] { display: none; }
.lead-ref { margin: 0; font-size: 16px; color: var(--ink-2); }
.lead-ref strong { color: var(--ink); font-size: 18px; }
button.is-loading[disabled] { opacity: 1; }
