/* ============================================================================
   R&V Auto Sales — Design System
   Navy/carbon base + one amber action accent. Warm neutrals. Mobile-first.
   Dark mode via [data-theme]. Motion respects prefers-reduced-motion.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Warm neutrals (never pure #fff / #000) */
  --bg:        #f6f4ef;
  --surface:   #fffefb;
  --surface-2: #efece4;
  --surface-3: #e6e1d6;
  --ink:       #14212e;
  --ink-soft:  #4c586a;
  --ink-mute:  #6d7888;
  --line:      #e4ddd0;
  --line-2:    #d6cebf;

  /* Brand */
  --navy:      #12293f;
  --navy-2:    #0c1d2e;
  --navy-3:    #081521;
  --accent:    #ef6c1a;   /* action amber-orange */
  --accent-2:  #ff8836;
  --accent-ink:#ffffff;
  --trust:     #1f9d6b;   /* financing-approved green */
  --gold:      #e0a63c;
  --danger:    #d1483a;

  --on-navy:   #eaf1f8;
  --on-navy-soft: #a9bccf;

  /* Type — Sora display, Inter body */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Fluid scale */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.44rem, 1.3rem + 0.7vw, 1.9rem);
  --step-3:  clamp(1.73rem, 1.5rem + 1.15vw, 2.55rem);
  --step-4:  clamp(2.07rem, 1.7rem + 1.85vw, 3.4rem);
  --step-5:  clamp(2.49rem, 1.9rem + 2.95vw, 4.6rem);
  --step-6:  clamp(2.98rem, 2.05rem + 4.6vw, 6rem);

  /* Space */
  --sp-section: clamp(3.5rem, 2.2rem + 6vw, 7rem);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 1px rgba(16,29,44,.05), 0 2px 6px rgba(16,29,44,.06);
  --shadow:    0 1px 2px rgba(16,29,44,.06), 0 6px 16px rgba(16,29,44,.08), 0 18px 42px rgba(16,29,44,.06);
  --shadow-lg: 0 2px 4px rgba(16,29,44,.08), 0 14px 34px rgba(16,29,44,.12), 0 34px 70px rgba(16,29,44,.14);
  --glow-accent: 0 1px 2px rgba(239,108,26,.20), 0 8px 20px -6px rgba(239,108,26,.45), inset 0 1px 0 rgba(255,255,255,.22);
  --maxw: 1200px;
  --ease: cubic-bezier(.4,.14,.2,1);
  /* Hero height math: single source of truth (topbar 53 + sticky header 63) */
  --chrome-top: 116px;
  --chrome-bottom: 0px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg:        #0c141d;
  --surface:   #121e29;
  --surface-2: #182634;
  --surface-3: #21313f;
  --ink:       #e9eff5;
  --ink-soft:  #a6b4c2;
  --ink-mute:  #7d8b9a;
  --line:      #223140;
  --line-2:    #2c3d4d;
  --navy:      #10202f;
  --navy-2:    #0b1826;
  --navy-3:    #07111c;
  --on-navy:   #e9eff5;
  --on-navy-soft: #9fb2c4;
  --surface: #121e29;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.5);
  --shadow:    0 2px 6px rgba(0,0,0,.5), 0 16px 40px rgba(0,0,0,.5);
  --shadow-lg: 0 4px 10px rgba(0,0,0,.55), 0 30px 70px rgba(0,0,0,.6);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg:#0c141d;--surface:#121e29;--surface-2:#182634;--surface-3:#21313f;
    --ink:#e9eff5;--ink-soft:#a6b4c2;--ink-mute:#7d8b9a;--line:#223140;--line-2:#2c3d4d;
    --navy:#10202f;--navy-2:#0b1826;--navy-3:#07111c;--on-navy:#e9eff5;--on-navy-soft:#9fb2c4;
    --shadow-sm:0 1px 2px rgba(0,0,0,.5);--shadow:0 2px 6px rgba(0,0,0,.5),0 16px 40px rgba(0,0,0,.5);--shadow-lg:0 4px 10px rgba(0,0,0,.55),0 30px 70px rgba(0,0,0,.6);
  }
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
/* Default inline-icon sizing (sprite <use> svgs carry no intrinsic size) */
svg { width: 1.2em; height: 1.2em; flex: 0 0 auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

/* ---- Layout ------------------------------------------------------------- */
.container { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.container-wide { width: min(100% - 2rem, 1400px); margin-inline: auto; }
.section { padding-block: var(--sp-section); }
.section-sm { padding-block: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); }
.grid { display: grid; gap: clamp(1rem, 0.6rem + 1.6vw, 1.6rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-size: var(--step--1); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3.2rem); }
.section-head h2 { font-size: var(--step-4); margin-top: .6rem; }
.section-head p { color: var(--ink-soft); margin-top: .9rem; font-size: var(--step-1); }
.lead { font-size: var(--step-1); color: var(--ink-soft); }
.text-accent { color: var(--accent); }
.italic { font-style: italic; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  --_bg: var(--accent); --_fg: var(--accent-ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem; padding: .95rem 1.6rem; min-height: 52px;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-0);
  background: var(--_bg); color: var(--_fg); border: 1px solid transparent;
  border-radius: 999px; cursor: pointer; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  box-shadow: 0 6px 18px rgba(239,108,26,.28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(239,108,26,.36); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn-lg { padding: 1.1rem 2rem; min-height: 60px; font-size: var(--step-1); }
.btn-navy { --_bg: var(--navy); --_fg: var(--on-navy); box-shadow: 0 6px 18px rgba(12,29,47,.28); }
.btn-navy:hover { box-shadow: 0 12px 28px rgba(12,29,47,.34); }
.btn-ghost {
  --_bg: transparent; --_fg: var(--ink); border-color: var(--line-2); box-shadow: none;
}
.btn-ghost:hover { background: var(--surface-2); box-shadow: none; }
.btn-outline-light { --_bg: transparent; --_fg: var(--on-navy); border-color: rgba(255,255,255,.35); box-shadow:none; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); box-shadow:none; }
.btn-trust { --_bg: var(--trust); box-shadow: 0 6px 18px rgba(31,157,107,.3); }
.btn-block { width: 100%; }

/* ---- Header ------------------------------------------------------------- */
.topbar {
  background: var(--navy-2); color: var(--on-navy-soft);
  font-size: var(--step--1); border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container { display: flex; gap: 1.2rem; align-items: center; justify-content: space-between; padding-block: .5rem; }
.topbar a { color: var(--on-navy); font-weight: 600; }
.topbar-tags { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.topbar-tags span { display: inline-flex; align-items: center; gap: .35rem; }
.topbar-tags .dot { color: var(--accent-2); }
@media (max-width: 720px){ .topbar-tags { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: .7rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--ink); }
.brand .logo { width: 46px; height: 46px; }
.brand small { display: block; font-size: .6rem; letter-spacing: .22em; color: var(--accent); font-weight: 700; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: .3rem; }
.nav-links a {
  padding: .55rem .85rem; border-radius: 10px; font-weight: 600; font-size: var(--step--1);
  color: var(--ink-soft); transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; color: var(--ink);
  transition: background .2s, transform .2s;
}
.icon-btn:hover { background: var(--surface-3); }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: none; }
.nav-phone { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.nav-phone svg { width: 18px; height: 18px; color: var(--accent); }

@media (max-width: 1000px) {
  .nav-links, .nav .btn, .nav-phone-text { display: none; }
  .nav-toggle { display: grid; }
}
/* mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); z-index: 90;
  background: var(--surface); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; padding: 1.4rem; overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(8,15,25,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 80; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer a.drawer-link { padding: .95rem .6rem; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative; color: var(--on-navy);
  background: linear-gradient(115deg, var(--navy-3), var(--navy) 55%, #16324c);
  overflow: hidden;
  min-height: calc(100svh - var(--chrome-top) - var(--chrome-bottom));
  display: flex; align-items: center;
}
.hero::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(115% 85% at 88% 8%, rgba(255,136,54,.26), rgba(239,108,26,.10) 34%, transparent 58%),
    radial-gradient(90% 80% at 6% 104%, rgba(31,157,107,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 22%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; width: 100%; padding-block: clamp(1.25rem, 3.5svh, 3rem); }
.hero h1 { font-size: clamp(2.35rem, 1.55rem + 3.8vw, 4.6rem); color: #fff; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.hero h1 em { color: var(--accent-2); font-style: italic; }
.hero p.lead { color: var(--on-navy-soft); max-width: 46ch; margin-top: clamp(.75rem, 2vh, 1.2rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: clamp(1rem, 2.4vh, 1.8rem); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; margin-top: clamp(1.1rem, 2.6vh, 2.2rem); padding-top: clamp(1rem, 2vh, 1.6rem); border-top: 1px solid rgba(255,255,255,.12); }
.hero-trust .stat b { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); color: #fff; line-height: 1; }
.hero-trust .stat span { font-size: var(--step--1); color: var(--on-navy-soft); }
@media (max-height: 760px){ .hero h1 { font-size: clamp(2.2rem, 6.2vw, 3.1rem); } }
@media (max-height: 680px){ .hero h1 { font-size: clamp(1.95rem, 6vw, 2.7rem); } .hero-trust { display: none; } }
/* hero variants */
.hero--compact { min-height: calc(72svh - var(--chrome-top)); }
.hero-inner--single { grid-template-columns: 1fr; max-width: 820px; }
.hide-desktop { display: none; }
/* hero search card */
.hero-search {
  background: color-mix(in srgb, var(--surface) 96%, transparent); color: var(--ink);
  border-radius: var(--radius-lg); padding: clamp(1.3rem,2vw,1.9rem); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-search h3 { font-size: var(--step-1); }
.hero-search .field { margin-top: .9rem; }
.hero-media { position: relative; }
.hero-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-badge {
  position: absolute; left: -10px; bottom: 22px; background: var(--surface); color: var(--ink);
  border-radius: 14px; padding: .8rem 1.1rem; box-shadow: var(--shadow); display: flex; gap: .7rem; align-items: center; border: 1px solid var(--line);
}
.hero-badge b { font-family: var(--font-display); }
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { display: none; }
  .hero { min-height: calc(100svh - var(--chrome-top) - var(--chrome-bottom)); }
  .hide-desktop { display: inline-flex; }
  .hero--split .form-card { margin-top: 1.2rem; }
}
@media (max-height: 520px) { .hero { min-height: auto; } .hero-inner { padding-block: 1rem; } }

/* ---- Trust bar ---------------------------------------------------------- */
.trustbar { background: var(--navy-2); color: var(--on-navy); }
.trustbar .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; padding-block: 1.6rem; }
.trustbar .item { display: flex; gap: .8rem; align-items: center; }
.trustbar .item svg { width: 30px; height: 30px; color: var(--accent); flex: 0 0 auto; }
.trustbar .item b { display: block; font-family: var(--font-display); font-size: var(--step-0); color: #fff; }
.trustbar .item span { font-size: var(--step--1); color: var(--on-navy-soft); }
@media (max-width: 820px){ .trustbar .container { grid-template-columns: repeat(2,1fr); } }

/* ---- Cards -------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1rem,2vw,1.7rem); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }

/* Vehicle card */
.vcard { position: relative; }
.vcard .media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--surface-2); }
.vcard .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vcard:hover .media img { transform: scale(1.05); }
.vcard .tags { position: absolute; top: .7rem; left: .7rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.tag {
  font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: .3rem .6rem; border-radius: 7px; background: var(--navy); color: #fff;
}
.tag.accent { background: var(--accent); }
.tag.trust { background: var(--trust); }
.tag.gold { background: var(--gold); color: #201400; }
.vcard .fav { position: absolute; top: .6rem; right: .6rem; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; border: none; cursor: pointer; color: var(--navy); box-shadow: var(--shadow-sm); }
.vcard .fav svg { width: 18px; height: 18px; }
.vcard .fav.active { background: var(--accent); color: #fff; }
.vcard .body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.vcard .vtitle { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; letter-spacing: -.01em; }
.vcard .vtitle a:hover { color: var(--accent); }
.vcard .vmeta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; color: var(--ink-soft); font-size: var(--step--1); }
.vcard .vmeta span { display: inline-flex; align-items: center; gap: .3rem; }
.vcard .vmeta svg { width: 15px; height: 15px; color: var(--ink-mute); }
.vcard .price-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--line); }
.vcard .price { font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; color: var(--ink); }
.vcard .price s { color: var(--ink-mute); font-size: .65em; font-weight: 500; margin-right: .3rem; }
.vcard .permo { font-size: var(--step--1); color: var(--trust); font-weight: 700; }
.vcard .actions { display: grid; grid-template-columns: 1fr auto; gap: .5rem; margin-top: .8rem; }

/* Feature / service cards */
.fcard { padding: clamp(1.4rem,2.5vw,2rem); }
.fcard .ic { width: 54px; height: 54px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); display: grid; place-items: center; color: var(--accent); margin-bottom: 1rem; }
.fcard .ic svg, .ic svg { width: 28px; height: 28px; }
.fcard h3 { font-size: var(--step-1); }
.fcard p { color: var(--ink-soft); margin-top: .5rem; font-size: var(--step-0); }
.fcard.numbered { position: relative; }
.fcard .num { font-family: var(--font-display); font-size: clamp(3rem,7vw,4.6rem); font-weight: 800; color: color-mix(in srgb, var(--accent) 20%, transparent); line-height: .8; }

/* ---- Filter bar --------------------------------------------------------- */
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow-sm); }
.filters form { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: .7rem; align-items: end; }
.field label { display: block; font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; min-height: 50px; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--surface); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field .hint { font-size: var(--step--1); color: var(--ink-mute); margin-top: .3rem; }
@media (max-width: 860px){ .filters form { grid-template-columns: 1fr 1fr; } .filters .field-search { grid-column: 1 / -1; } }

.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.toolbar .count { font-family: var(--font-display); font-weight: 700; }
.toolbar .count span { color: var(--accent); }

/* ---- Pagination --------------------------------------------------------- */
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); font-weight: 600; font-family: var(--font-display); }
.pagination a:hover { background: var(--surface-2); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---- VDP (vehicle detail) ---------------------------------------------- */
.vdp { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem,3vw,2.6rem); align-items: start; }
@media (max-width: 940px){ .vdp { grid-template-columns: 1fr; } }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 16/10; box-shadow: var(--shadow-sm); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5,1fr); gap: .5rem; margin-top: .6rem; }
.gallery-thumbs button { border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer; aspect-ratio: 4/3; background: var(--surface-2); }
.gallery-thumbs button.active { border-color: var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vdp-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1rem; }
.price-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.price-panel .big { font-family: var(--font-display); font-size: var(--step-4); font-weight: 800; }
.price-panel .big s { font-size: .5em; color: var(--ink-mute); font-weight: 500; }
.price-panel .permo { color: var(--trust); font-weight: 700; margin-top: .2rem; }
.spec-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .1rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-grid div { padding: .85rem 1rem; background: var(--surface); }
.spec-grid dt { font-size: var(--step--1); color: var(--ink-mute); }
.spec-grid dd { font-family: var(--font-display); font-weight: 600; margin-top: .15rem; }
.feature-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .85rem; font-size: var(--step--1); font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; }
.chip svg { width: 15px; height: 15px; color: var(--trust); }

/* ---- Finance calculator ------------------------------------------------- */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.calc .result { text-align: center; padding: 1.2rem; background: linear-gradient(135deg,var(--navy),var(--navy-2)); border-radius: var(--radius-sm); color: #fff; margin-bottom: 1.2rem; }
.calc .result .mo { font-family: var(--font-display); font-size: var(--step-5); font-weight: 800; line-height: 1; color: #fff; }
.calc .result .mo small { font-size: .3em; color: var(--on-navy-soft); font-weight: 500; }
.calc .result .sub { color: var(--on-navy-soft); font-size: var(--step--1); margin-top: .4rem; }
.calc-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.calc-row label { font-weight: 600; }
.calc-row output { font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.calc input[type=range] { width: 100%; accent-color: var(--accent); }
.calc .disclaimer { font-size: .75rem; color: var(--ink-mute); margin-top: .8rem; line-height: 1.5; }

/* ---- Steps / process ---------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; counter-reset: step; }
@media (max-width: 900px){ .steps { grid-template-columns: 1fr 1fr; } }
.step { position: relative; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step .n { font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; color: var(--accent); }
.step h3 { font-size: var(--step-1); margin-top: .3rem; }
.step p { color: var(--ink-soft); margin-top: .4rem; font-size: var(--step-0); }

/* ---- Split / bands ------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.band-navy { background: linear-gradient(120deg,var(--navy-2),var(--navy)); color: var(--on-navy); }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .lead, .band-navy p { color: var(--on-navy-soft); }
.band-accent { background: linear-gradient(120deg,var(--accent),var(--accent-2)); color: #fff; }
.band-accent h2, .band-accent p { color: #fff; }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--step-4); }
.cta-band p { max-width: 54ch; margin: 1rem auto 1.8rem; }
.cta-band .btns { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---- Testimonials ------------------------------------------------------- */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--gold); font-family: var(--font-display); font-weight: 700; margin-bottom: .6rem; }
.quote p { font-size: var(--step-1); font-style: italic; }
.quote .who { margin-top: 1rem; font-size: var(--step--1); color: var(--ink-soft); font-weight: 600; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.2rem .3rem; font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 .3rem 1.3rem; color: var(--ink-soft); }

/* ---- Forms / multi-step ------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem,3vw,2.4rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px){ .form-grid { grid-template-columns: 1fr; } }
.steps-nav { display: flex; gap: .5rem; margin-bottom: 1.6rem; }
.steps-nav .s { flex: 1; text-align: center; padding: .6rem; border-radius: 10px; background: var(--surface-2); font-size: var(--step--1); font-weight: 700; font-family: var(--font-display); color: var(--ink-mute); border: 1px solid var(--line); }
.steps-nav .s.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.steps-nav .s.done { background: var(--trust); color: #fff; border-color: var(--trust); }
.fstep { display: none; } .fstep.active { display: block; animation: fadeUp .4s var(--ease); }
.form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--step--1); color: var(--ink-soft); }
.consent input { margin-top: .25rem; width: 20px; height: 20px; accent-color: var(--accent); }

.alert { padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; margin-bottom: 1.2rem; }
.alert-ok { background: color-mix(in srgb, var(--trust) 15%, var(--surface)); color: var(--trust); border: 1px solid color-mix(in srgb, var(--trust) 40%, transparent); }
.alert-err { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy-3); color: var(--on-navy-soft); padding-block: clamp(3rem,5vw,4.5rem) 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: var(--step-0); margin-bottom: 1rem; letter-spacing: .02em; }
.site-footer a { color: var(--on-navy-soft); }
.site-footer a:hover { color: var(--accent); }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; }
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.6rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: var(--step--1); }
.studio-credit { margin-top: .35rem; font-size: .8125rem; opacity: .85; }
.studio-credit a { color: var(--accent); font-weight: 600; }

/* ---- Mobile sticky CTA -------------------------------------------------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none;
  grid-template-columns: 1fr 1fr; gap: .5rem; padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { min-height: 50px; }
@media (max-width: 1000px){
  .mobile-cta { display: grid; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  :root { --chrome-bottom: calc(78px + env(safe-area-inset-bottom)); }
}

/* ---- Breadcrumbs -------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: var(--step--1); color: var(--ink-mute); padding-block: 1rem; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--line-2); }

/* ---- Marquee ------------------------------------------------------------ */
.marquee { overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.marquee ul { display: inline-flex; gap: 3rem; padding-left: 3rem; animation: scrollx 32s linear infinite; list-style: none; }
.marquee li { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--ink-mute); letter-spacing: .02em; }
@keyframes scrollx { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee ul { animation: none; } }

/* ---- Reveal animation --------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ [data-reveal] { opacity: 1; transform: none; transition: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Utilities ---------------------------------------------------------- */
.text-center { text-align: center; }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.6rem}.mt-4{margin-top:2.4rem}
.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.6rem}
.flex{display:flex}.items-center{align-items:center}.gap-1{gap:.5rem}.gap-2{gap:1rem}.wrap{flex-wrap:wrap}
.hide-mobile{}@media(max-width:700px){.hide-mobile{display:none}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.skip-link{position:absolute;left:-999px;top:0;background:var(--accent);color:#fff;padding:.8rem 1.2rem;z-index:200;border-radius:0 0 10px 0}
.skip-link:focus{left:0}
.badge-es { display:inline-flex; align-items:center; gap:.4rem; background: color-mix(in srgb,var(--trust) 16%, var(--surface)); color: var(--trust); border:1px solid color-mix(in srgb,var(--trust) 35%,transparent); padding:.35rem .75rem; border-radius:999px; font-size:var(--step--1); font-weight:700; }
.divider { height:1px; background: var(--line); border:0; margin-block: var(--sp-section); }
.prose p { margin-top: 1rem; color: var(--ink-soft); } .prose h2 { font-size: var(--step-3); margin-top: 2rem; } .prose h3 { font-size: var(--step-1); margin-top: 1.5rem; } .prose ul { margin-top: 1rem; padding-left: 1.2rem; color: var(--ink-soft); } .prose li { margin-top: .5rem; }

/* ============================================================================
   Premium polish pass (hero overlay star moment, page-hero band, elevation)
   ========================================================================== */

/* Overlay header — reclaims top chrome on full-viewport hero pages (only topbar consumes flow) */
body.has-overlay-hero { --chrome-top: 53px; }
body.has-overlay-hero .site-header { position: absolute; top: 53px; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
body.has-overlay-hero .site-header .brand, body.has-overlay-hero .nav-links a, body.has-overlay-hero .nav-phone { color: var(--on-navy); }
body.has-overlay-hero .brand small { color: var(--accent-2); }
body.has-overlay-hero .nav-links a:hover, body.has-overlay-hero .nav-links a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
body.has-overlay-hero .icon-btn { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); color: var(--on-navy); }
body.has-overlay-hero .site-header.scrolled { position: fixed; top: 0; background: color-mix(in srgb, var(--navy) 90%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: var(--shadow-sm); }
body.has-overlay-hero .site-header.scrolled .brand, body.has-overlay-hero .site-header.scrolled .nav-links a { color: var(--on-navy); }
body.has-overlay-hero .hero { padding-top: calc(64px + clamp(1rem, 3vh, 2rem)); }
/* Reclaim vertical space on short viewports so both hero CTAs clear the sticky bar */
@media (max-height: 720px){ body.has-overlay-hero .hero { padding-top: calc(50px + 1vh); } }
@media (max-height: 640px){ body.has-overlay-hero .hero { padding-top: calc(40px + 1vh); } }
/* On stacked mobile, the full-viewport home hero drops its stat row (the trust bar right below carries the same signals) so H1 + lead + both CTAs breathe */
@media (max-width: 940px){ body.has-overlay-hero .hero-trust { display: none; } }

/* Page-hero band — content-sized, cannot clip; unifies inner pages */
.pagehero { position: relative; padding-block: clamp(2.4rem, 4vw, 4rem); background: linear-gradient(180deg, color-mix(in srgb, var(--navy) 6%, var(--surface)), var(--bg)); border-bottom: 1px solid var(--line); }
.pagehero h1 { font-size: var(--step-4); }
.pagehero .lead { max-width: 60ch; }

/* Elevation + tactile tells */
.card { box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.5); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.5); border-color: color-mix(in srgb, var(--accent) 30%, var(--line-2)); }
:root[data-theme="dark"] .card, :root[data-theme="dark"] .card:hover { box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.05); }
.eyebrow::before { background: linear-gradient(90deg, var(--accent), transparent); }
.lead { text-wrap: pretty; }
/* Amber glow on primary CTA only (variants keep their own shadow) */
.btn:not(.btn-navy):not(.btn-ghost):not(.btn-outline-light):not(.btn-trust) { box-shadow: var(--glow-accent); }
.btn:not(.btn-navy):not(.btn-ghost):not(.btn-outline-light):not(.btn-trust):hover { box-shadow: var(--glow-accent), 0 14px 30px -6px rgba(239,108,26,.5); }

/* Focus + reduced-motion hardening (AA + INP safe) */
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 3px var(--navy), 0 0 0 6px var(--accent); }
@media (prefers-reduced-motion: reduce){ .card, .card:hover, .btn, .btn:hover, .vcard .media img, .vcard:hover .media img { transition: none !important; transform: none !important; } }

/* ============================================================================
   Rotating car hero — full-bleed featured-vehicle photography behind content
   ========================================================================== */
.hero.has-slides { background: var(--navy-3); }
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
/* Navy scrim: keeps headline + search card legible; the car reads through the open areas */
.hero.has-slides::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg,
      color-mix(in srgb, var(--navy-3) 94%, transparent) 0%,
      color-mix(in srgb, var(--navy) 82%, transparent) 38%,
      color-mix(in srgb, var(--navy) 54%, transparent) 66%,
      color-mix(in srgb, var(--navy-2) 82%, transparent) 100%),
    linear-gradient(180deg, transparent 52%, color-mix(in srgb, var(--navy-3) 72%, transparent) 100%);
}
.hero.has-slides::after { z-index: 2; }
.hero.has-slides .hero-inner { z-index: 3; }
@media (max-width: 940px){
  .hero.has-slides::before {
    background:
      linear-gradient(178deg,
        color-mix(in srgb, var(--navy-3) 92%, transparent) 0%,
        color-mix(in srgb, var(--navy) 84%, transparent) 40%,
        color-mix(in srgb, var(--navy) 66%, transparent) 72%,
        color-mix(in srgb, var(--navy-3) 88%, transparent) 100%);
  }
}
/* Bottom slide nav: featured-car caption + dot controls */
.hero-slidenav { position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(.85rem, 2.4vh, 1.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero-fcar {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .85rem; border-radius: 999px;
  background: color-mix(in srgb, var(--navy-2) 58%, transparent); backdrop-filter: blur(10px) saturate(160%); -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: var(--step--1); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), background .25s; max-width: 70%;
}
.hero-fcar:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--navy-2) 80%, transparent); }
.hero-fcar .fcar-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-fcar b { color: var(--accent-2); font-family: var(--font-display); }
.hero-fcar svg { flex: 0 0 auto; transition: transform .25s; }
.hero-fcar:hover svg { transform: translateX(3px); }
.hero-dots { display: flex; gap: .45rem; flex: 0 0 auto; }
.hero-dots button { width: 24px; height: 5px; border-radius: 3px; border: none; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: background .3s, width .3s; }
.hero-dots button:hover { background: rgba(255,255,255,.65); }
.hero-dots button.active { background: var(--accent); width: 38px; }
@media (max-width: 600px){ .hero-fcar .fcar-txt { display: none; } }
@media (max-height: 680px){ .hero-slidenav { display: none; } }
@media (prefers-reduced-motion: reduce){ .hero-slide { transition: opacity .3s ease; } }

/* Dark-glass search card so it belongs to the cinematic hero (not a white block) */
.hero.has-slides .hero-search {
  background: color-mix(in srgb, var(--navy-2) 50%, transparent);
  backdrop-filter: blur(18px) saturate(165%); -webkit-backdrop-filter: blur(18px) saturate(165%);
  border: 1px solid rgba(255,255,255,.16); color: #fff;
  box-shadow: 0 22px 60px rgba(3,10,18,.5);
}
.hero.has-slides .hero-search h3 { color: #fff; }
.hero.has-slides .hero-search .field label { color: var(--on-navy-soft); }
.hero.has-slides .hero-search .field input,
.hero.has-slides .hero-search .field select {
  background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); color: #fff;
}
.hero.has-slides .hero-search .field input::placeholder { color: rgba(233,239,245,.6); }
.hero.has-slides .hero-search .field select option { color: #14212e; }
.hero.has-slides .hero-search .field input:focus,
.hero.has-slides .hero-search .field select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 32%, transparent);
}

/* Wordmark logo (single SVG lockup; inherits currentColor from .brand) */
.brand-logo { height: clamp(30px, 2.3vw, 36px); width: auto; display: block; }
.drawer-head .brand-logo { height: 30px; }
.footer-logo { color: #fff; }
.footer-brand .brand-logo { height: 40px; }

/* ---- Quality pass (10/10): sold state, responsive, targets ---- */
.gallery-main{position:relative}
.sold-ribbon{position:absolute;top:12px;left:12px;background:var(--danger);color:#fff;font-weight:800;letter-spacing:.05em;padding:.4rem .9rem;border-radius:6px;z-index:2}
.save-badge{color:var(--gold);font-weight:700;margin-top:.35rem;font-family:var(--font-display)}
.split--finance{grid-template-columns:1.35fr .8fr}
@media(max-width:860px){.split--finance{grid-template-columns:1fr}}
.pagination{gap:.55rem}
@media(max-width:560px){.gallery-thumbs{grid-template-columns:repeat(4,1fr)}.gallery-thumbs button{aspect-ratio:1/1;min-height:44px}}
.js-hide{display:inline-flex}.has-js .js-hide{display:none}
/* Mobile-only quick search under the hero (keeps the hero itself uncluttered + fitting) */
.mobile-search{display:none}
@media(max-width:940px){.mobile-search{display:block}}
.mobile-search form{display:flex;gap:.5rem;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.4rem .4rem .4rem 1.1rem;box-shadow:var(--shadow-sm);align-items:center}
.mobile-search input{flex:1;border:none;background:transparent;min-height:46px;color:var(--ink)}
.mobile-search input:focus{outline:none}
.mobile-search .btn{min-height:46px;padding:.6rem 1.1rem}
/* Wrapped label pattern keeps the label→input gap (a11y: implicit association) */
.field label > input, .field label > select, .field label > textarea { margin-top: .35rem; }

/* ---- Round-2 quality pass (toward 10/10) ---- */
.mobile-search form:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)}
.gallery-main.is-sold img{filter:grayscale(.55) brightness(.85)}
.photo-soon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(8,15,25,.72);color:#fff;font-family:var(--font-display);font-weight:600;padding:.6rem 1rem;border-radius:10px;font-size:var(--step--1);text-align:center}
/* Field error text (accessible per-field errors) */
.field-error{display:block;color:var(--danger);font-size:var(--step--1);font-weight:600;margin-top:.3rem}
input.invalid,select.invalid,textarea.invalid{border-color:var(--danger)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--danger) 20%,transparent)}
/* Narrow-viewport single columns + coarse-pointer 44px targets */
@media(max-width:420px){.spec-grid{grid-template-columns:1fr}.trustbar .container{grid-template-columns:1fr}}
@media(max-width:1040px) and (min-width:861px){.filters form{grid-template-columns:1fr 1fr auto}.filters .field-search{grid-column:1 / -1}}
@media(max-width:940px){.vdp-aside{position:static;top:auto}}
@media(pointer:coarse){.vcard .fav,.footer-social a{min-width:44px;min-height:44px}}
/* Skip offscreen work below the fold (hero + first featured always render) */
.section,.section-sm{content-visibility:auto;contain-intrinsic-size:auto 700px}
.hero,#featured,.pagehero{content-visibility:visible;contain-intrinsic-size:none}
ol.steps-nav{list-style:none;padding:0;margin:0 0 1.6rem}

/* ---- Round-3 polish ---- */
@media(max-width:520px){ .steps-nav{gap:.35rem} .steps-nav .s{flex:1 1 0;min-width:0;padding:.5rem .3rem;font-size:.72rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} }
:where(td,dd,.chip,.vtitle){overflow-wrap:anywhere}
