:root {
  --ink: #0d1b2a;
  --ink-soft: #17283a;
  --paper: #f3f4f6;
  --paper-bright: #ffffff;
  --paper-deep: #e4e7eb;
  --line: rgba(13, 27, 42, 0.14);
  --muted: #657180;
  --accent: #ff6a00;
  --accent-light: #ff6a00;
  --sage: #f3f4f6;
  --white: #ffffff;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow: 0 24px 70px rgba(13, 27, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 0%, rgba(255, 106, 0, 0.11), transparent 28rem),
    var(--paper);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.lucide {
  flex: 0 0 auto;
}

::selection {
  color: var(--white);
  background: var(--accent);
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.noise {
  position: fixed;
  z-index: 50;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(650px, 1fr) minmax(330px, 27vw);
  grid-template-rows: auto 1fr;
  align-items: start;
  min-height: 100vh;
}

.side-rail {
  position: sticky;
  z-index: 20;
  top: 0;
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  padding: 24px 0;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.brand--rail {
  display: grid;
  width: 52px;
  height: 52px;
  padding: 5px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(13, 27, 42, 0.08);
}

.brand--rail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rail-nav {
  display: grid;
  gap: 12px;
  margin-top: 74px;
}

.rail-link,
.round-button {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 12px;
  color: #686862;
  background: transparent;
  cursor: pointer;
  transition: 220ms var(--ease);
}

.rail-link svg,
.round-button svg {
  width: 20px;
  height: 20px;
}

.rail-link:hover,
.rail-link.is-active {
  color: var(--white);
  background: var(--ink);
  transform: translateY(-2px);
}

.rail-link::after {
  position: absolute;
  left: 54px;
  padding: 7px 9px;
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
  content: attr(data-tooltip);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-5px);
  transition: 160ms;
  white-space: nowrap;
}

.rail-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.rail-link--bottom {
  margin-top: auto;
}

.favorite-count {
  position: absolute;
  top: 2px;
  right: 2px;
  display: grid;
  min-width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 20px;
  color: var(--white);
  background: var(--accent);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.main-content {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  padding: 46px clamp(26px, 3.5vw, 68px) 60px;
}

.showcase-hero {
  position: relative;
  isolation: isolate;
  grid-column: 1 / -1;
  grid-row: 1;
  height: min(850px, 92vh);
  min-height: 650px;
  margin: 14px 14px 0;
  border-radius: 26px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.showcase-hero__image {
  position: absolute;
  z-index: -4;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: opacity 260ms var(--ease), transform 1.1s var(--ease);
}

.showcase-hero:hover .showcase-hero__image {
  transform: scale(1.035);
}

.showcase-hero.is-changing .showcase-hero__image {
  opacity: 0;
  transform: scale(1.06);
}

.showcase-hero__overlay {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 27, 42, 0.52), transparent 28%, rgba(13, 27, 42, 0.14) 46%, rgba(13, 27, 42, 0.94) 100%),
    linear-gradient(90deg, rgba(13, 27, 42, 0.52), transparent 48%, rgba(13, 27, 42, 0.2));
}

.showcase-hero__grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 25% 100%, 100% 25%;
  pointer-events: none;
}

.topbar {
  position: absolute;
  z-index: 12;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 82px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
}

.brand--hero {
  position: absolute;
  left: 34px;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 5px;
  place-items: center;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 35px rgba(13, 27, 42, 0.18);
}

.brand--hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  background: rgba(13, 27, 42, 0.46);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.desktop-nav a,
.desktop-nav button {
  position: relative;
  padding: 8px 16px;
  border: 0;
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: 180ms;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.desktop-nav button:hover {
  color: var(--white);
  background: var(--ink);
}

.desktop-nav__saved {
  padding-right: 28px !important;
}

.desktop-nav__saved .favorite-count {
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
}

.top-actions {
  position: absolute;
  right: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.market-controls { display: flex; align-items: center; gap: 6px; }
.market-controls--mobile { display: none; }
.market-controls label { position: relative; display: flex; height: 34px; align-items: center; gap: 3px; padding-left: 9px; border: 1px solid rgba(255,255,255,.22); border-radius: 100px; color: var(--white); background: rgba(13,27,42,.46); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.market-controls label:focus-within { border-color: var(--accent-light); box-shadow: 0 0 0 3px rgba(255,106,0,.16); }
.market-controls label > .lucide { width: 13px; height: 13px; color: var(--accent-light); }
.market-controls select { width: auto; height: 32px; padding: 0 23px 0 4px; border: 0; outline: 0; color: var(--white); background: transparent; cursor: pointer; font-size: 8px; font-weight: 800; letter-spacing: .04em; }
.market-controls select option { color: var(--ink); background: var(--white); }

.location-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 700;
}

.location-pill svg {
  width: 16px;
}

.round-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(13, 27, 42, 0.4);
  box-shadow: 0 4px 20px rgba(13, 27, 42, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.round-button:hover {
  color: var(--white);
  background: var(--accent);
}

.showcase-hero__word {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: 2%;
  left: 2%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(92px, 12.5vw, 210px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 220ms var(--ease), transform 500ms var(--ease);
}

.showcase-hero.is-changing .showcase-hero__word {
  opacity: 0;
  transform: translateY(-16px);
}

.showcase-hero__bottom {
  position: absolute;
  right: clamp(28px, 4vw, 62px);
  bottom: clamp(28px, 4vw, 55px);
  left: clamp(28px, 4vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.72fr);
  align-items: end;
  gap: clamp(35px, 7vw, 110px);
}

.hero-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-light);
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-manifesto h1 {
  margin: 0;
  max-width: 720px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(38px, 4.35vw, 64px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.91;
}

.hero-manifesto h1 em {
  color: var(--accent-light);
  font-style: normal;
}

.hero-metrics {
  display: flex;
  gap: clamp(20px, 4vw, 58px);
  margin-top: 28px;
}

.hero-metrics div {
  display: grid;
  gap: 3px;
}

.hero-metrics strong {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 700;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
}

.hero-feature-copy {
  justify-self: end;
  width: min(100%, 390px);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(13, 27, 42, 0.52);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-feature-copy > span {
  color: var(--accent-light);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.hero-feature-copy h2 {
  margin: 9px 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.hero-feature-copy > p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  line-height: 1.6;
}

.hero-feature-copy > strong {
  display: block;
  margin-top: 17px;
  font-family: "Montserrat", sans-serif;
  font-size: 27px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.hero-primary,
.hero-secondary {
  display: flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 8px;
  font-weight: 800;
  transition: 180ms var(--ease);
}

.hero-primary {
  gap: 8px;
  border: 0;
  color: var(--ink);
  background: var(--white);
}

.hero-primary .lucide,
.primary-cta .lucide {
  width: 14px;
  height: 14px;
}

.hero-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
  background: transparent;
}

.hero-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.hero-carousel-nav {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
}

.hero-carousel-nav > button {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.hero-carousel-nav > button:hover {
  color: var(--ink);
  background: var(--accent-light);
}

.hero-carousel-nav svg {
  width: 12px;
}

.hero-carousel-nav > span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 7px;
}

.hero-carousel-nav > span strong {
  color: var(--white);
}

.hero-carousel-nav > span i {
  font-style: normal;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-dot {
  width: 18px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  opacity: 0.4;
  background: var(--white);
  cursor: pointer;
  transition: 200ms var(--ease);
}

.hero-dot.is-active {
  width: 38px;
  opacity: 1;
  background: var(--accent-light);
}

.eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.contact-modal h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(45px, 5vw, 78px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.84;
}

.contact-modal h2 em {
  color: var(--accent);
  font-style: normal;
}

.search-panel {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.search-box {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  height: 55px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
  transition: 180ms;
}

.search-box:focus-within {
  border-color: rgba(255, 106, 0, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.1);
}

.search-box svg,
.filter-toggle svg {
  width: 19px;
  flex: 0 0 auto;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

.search-box input::placeholder {
  color: #929088;
}

.search-box kbd {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: var(--paper-bright);
  font-size: 9px;
}

.filter-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 112px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: 180ms;
}

.filter-toggle:hover,
.filter-toggle[aria-expanded="true"] {
  background: var(--accent);
}

.filter-drawer {
  position: absolute;
  top: 64px;
  right: 0;
  display: grid;
  width: 280px;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  opacity: 0;
  background: var(--paper-bright);
  box-shadow: var(--shadow);
  pointer-events: none;
  transform: translateY(-10px) scale(0.97);
  transform-origin: top right;
  transition: 220ms var(--ease);
}

.filter-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.filter-drawer label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-drawer select,
#sort-select {
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  color: var(--ink);
  background: var(--paper-bright);
}

.filter-drawer select {
  height: 39px;
  padding: 0 10px;
  font-size: 11px;
}

.inventory-section {
  padding-top: 42px;
}

.inventory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.inventory-toolbar > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: rgba(255, 106, 0, 0.12);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.inventory-toolbar h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 25px;
  font-weight: 600;
  text-transform: uppercase;
}

.inventory-toolbar p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 9px;
}

#sort-select {
  height: 36px;
  padding: 0 30px 0 12px;
  color: var(--muted);
  font-size: 10px;
}

.category-tabs {
  display: flex;
  gap: 6px;
  margin: 24px 0 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  transition: 180ms;
  white-space: nowrap;
}

.category-tab:hover,
.category-tab.is-active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.vehicle-card {
  position: relative;
  min-width: 0;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  animation: card-in 600ms var(--ease) both;
  transition: 260ms var(--ease);
}

.vehicle-card:hover,
.vehicle-card.is-selected {
  border-color: rgba(255, 106, 0, 0.42);
  background: var(--paper-bright);
  box-shadow: 0 12px 38px rgba(37, 31, 24, 0.11);
  transform: translateY(-4px);
}

.vehicle-card.is-selected::before {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  width: 5px;
  height: 5px;
  border: 3px solid var(--paper-bright);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  content: "";
}

.vehicle-card__media {
  position: relative;
  height: clamp(125px, 12vw, 180px);
  border-radius: 12px;
  overflow: hidden;
  background: #d9d7d2;
}

.vehicle-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.18), transparent 45%);
  content: "";
}

.vehicle-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 700ms var(--ease);
}

.vehicle-card:hover .vehicle-card__media img {
  transform: scale(1.05);
}

.card-status {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 6px 11px;
  border-radius: 100px;
  color: var(--white);
  background: rgba(13, 27, 42, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(13, 27, 42, 0.16);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-status__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #5ee39a;
  box-shadow: 0 0 0 4px rgba(94, 227, 154, 0.18);
}

.vehicle-card.is-sold .card-status {
  z-index: 3;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.22);
}

.vehicle-card.is-sold .card-status__dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.16);
}

.vehicle-card.is-sold .vehicle-card__media img {
  filter: saturate(0.32) brightness(0.62);
}

.sold-stamp {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  min-width: min(74%, 230px);
  padding: 13px 22px 10px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  outline: 1px solid rgba(255, 106, 0, 0.95);
  outline-offset: -6px;
  color: var(--white);
  background: rgba(255, 106, 0, 0.94);
  box-shadow: 0 16px 38px rgba(13, 27, 42, 0.28);
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(-4deg);
}

.sold-stamp span {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
}

.sold-stamp small {
  margin-top: 5px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.2em;
  opacity: 0.82;
}

.favorite-button {
  position: absolute;
  z-index: 4;
  top: 20px;
  right: 20px;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.favorite-button svg {
  width: 14px;
}

.favorite-button.is-active {
  color: var(--white);
  background: var(--accent);
}

.favorite-button.is-active svg {
  fill: currentColor;
}

.vehicle-card__body {
  padding: 12px 3px 2px;
}

.card-kicker {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vehicle-card h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 600;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.card-meta ul {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 8px;
  list-style: none;
}

.card-meta strong {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
}

.empty-state {
  padding: 54px 20px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  text-align: center;
}

.empty-state span {
  font-family: "Montserrat", sans-serif;
  font-size: 64px;
  color: var(--paper-deep);
}

.empty-state h3 {
  margin: 0 0 15px;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
}

.empty-state button {
  border: 0;
  color: var(--accent);
  background: none;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip article {
  display: grid;
  gap: 4px;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip strong {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 8px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 36px;
  color: var(--muted);
  font-size: 9px;
}

.footer-brand {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 5px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

footer p {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--ink);
}

footer p strong {
  font-size: 11px;
  letter-spacing: 0.08em;
}

footer p span {
  color: var(--muted);
  font-size: 8px;
}

.detail-panel {
  position: sticky;
  z-index: 10;
  top: 0;
  grid-column: 2;
  grid-row: 2;
  height: 100vh;
  min-width: 0;
  padding: 14px 14px 14px 0;
}

.detail-image-wrap {
  position: relative;
  height: 48%;
  border-radius: 0 24px 0 0;
  overflow: hidden;
  background: var(--ink-soft);
}

.detail-image-wrap img,
.detail-image-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms, transform 850ms var(--ease);
}

.detail-image-wrap video {
  position: relative;
  z-index: 1;
  background: #05080c;
}

.detail-image-wrap:hover img {
  transform: scale(1.035);
}

.detail-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(9, 9, 8, 0.18), transparent 30%, rgba(9, 9, 8, 0.88));
}

.detail-topline {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.detail-tools {
  display: flex;
  gap: 7px;
}

.detail-favorite,
.detail-expand {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: 180ms var(--ease);
}

.detail-favorite svg,
.detail-expand svg {
  width: 15px;
}

.detail-favorite:hover,
.detail-expand:hover {
  border-color: var(--accent-light);
  background: rgba(255, 106, 0, 0.72);
}

.detail-favorite.is-active {
  color: var(--white);
  border-color: var(--accent);
  background: var(--accent);
}

.detail-favorite.is-active svg {
  fill: currentColor;
}

.detail-image-copy {
  position: absolute;
  right: 24px;
  bottom: 82px;
  left: 24px;
  color: var(--white);
}

.detail-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 8px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--accent-light);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.detail-image-copy h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(31px, 3.1vw, 48px);
  font-weight: 600;
  line-height: 0.9;
}

.detail-image-copy p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
}

.detail-gallery-dock {
  position: absolute;
  right: 20px;
  bottom: 16px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.detail-thumbnails,
.gallery-modal__thumbnails {
  display: flex;
  gap: 6px;
}

.gallery-thumbnail {
  position: relative;
  width: 43px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  overflow: hidden;
  opacity: 0.55;
  background: var(--ink-soft);
  cursor: pointer;
  transition: 180ms var(--ease);
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.is-active {
  border-color: var(--accent-light);
  opacity: 1;
  transform: translateY(-2px);
}

.detail-gallery-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  color: var(--white);
  background: rgba(10, 10, 9, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.detail-gallery-nav button {
  display: grid;
  width: 26px;
  height: 26px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: 160ms;
}

.detail-gallery-nav button:hover {
  color: var(--ink);
  background: var(--accent-light);
}

.detail-gallery-nav svg {
  width: 13px;
}

.detail-gallery-nav span {
  min-width: 44px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 7px;
  font-style: normal;
  text-align: center;
}

.detail-gallery-nav strong {
  color: var(--white);
  font-size: 9px;
}

.detail-gallery-nav i {
  font-style: normal;
}

.detail-body {
  display: flex;
  flex-direction: column;
  height: 52%;
  padding: 28px clamp(20px, 2vw, 34px) 22px;
  border-radius: 0 0 24px 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 106, 0, 0.11), transparent 35%),
    var(--ink);
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
}

.price-row > div {
  display: grid;
  gap: 4px;
}

.price-row span,
.spec-grid span {
  color: #8e8f89;
  font-size: 8px;
}

.price-row strong {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 2.7vw, 41px);
  font-weight: 600;
}

.price-note {
  padding-bottom: 7px;
  color: var(--accent-light) !important;
  white-space: nowrap;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.spec-grid div {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.spec-grid strong {
  font-size: 10px;
  font-weight: 600;
}

.spec-grid__wide {
  grid-column: 1 / -1;
}

.dealer-promise {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 17px;
}

.promise-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.promise-icon .lucide {
  width: 15px;
  height: 15px;
}

.dealer-promise div {
  display: grid;
  gap: 2px;
}

.dealer-promise strong {
  font-size: 9px;
}

.dealer-promise small {
  color: #8e8f89;
  font-size: 7px;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 8px;
  margin-top: auto;
}

.primary-cta,
.secondary-cta {
  height: 48px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  transition: 200ms var(--ease);
}

.primary-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  color: var(--ink);
  background: var(--accent-light);
}

.primary-cta svg {
  width: 15px;
  transition: transform 180ms;
}

.primary-cta:not(:disabled):hover {
  background: var(--white);
  transform: translateY(-2px);
}

.primary-cta:not(:disabled):hover svg {
  transform: translateX(3px);
}

.primary-cta:disabled,
.primary-cta.is-sold {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
}

.secondary-cta {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.secondary-cta:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav {
  display: none;
}

.gallery-modal {
  width: min(1180px, calc(100vw - 32px));
  height: min(900px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
}

.gallery-modal[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  animation: gallery-enter 420ms var(--ease) both;
}

.gallery-modal::backdrop {
  background: rgba(8, 8, 7, 0.84);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
}

.gallery-modal__stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--ink-soft);
}

.gallery-modal__stage > img,
.gallery-modal__stage > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms var(--ease), transform 650ms var(--ease);
}

.gallery-modal__stage > video {
  background: #05080c;
}

.gallery-modal__stage.is-changing > img {
  opacity: 0;
  transform: scale(1.025);
}

.gallery-modal__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 6, 0.34), transparent 30%, rgba(7, 7, 6, 0.7));
  pointer-events: none;
}

.gallery-modal__header {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
}

.gallery-modal__brand {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 5px;
  place-items: center;
  justify-self: start;
  border-radius: 12px;
  background: var(--white);
}

.gallery-modal__brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-modal__header > span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.gallery-modal__close {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  cursor: pointer;
  transition: 180ms;
}

.gallery-modal__close:hover {
  border-color: var(--accent-light);
  background: var(--accent);
}

.gallery-modal__close svg,
.gallery-modal__arrow svg {
  width: 16px;
}

.gallery-modal__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: 180ms var(--ease);
}

.gallery-modal__arrow:hover {
  color: var(--ink);
  border-color: var(--accent-light);
  background: var(--accent-light);
}

.gallery-modal__arrow--prev { left: 24px; }
.gallery-modal__arrow--next { right: 24px; }

.gallery-modal__copy {
  position: absolute;
  right: 30px;
  bottom: 27px;
  left: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.gallery-modal__copy h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.88;
}

.gallery-modal__copy p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
}

.gallery-modal__counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: "Montserrat", sans-serif;
}

.gallery-modal__counter strong {
  color: var(--accent-light);
  font-size: 42px;
}

.gallery-modal__counter span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 16px;
}

.gallery-modal__footer {
  display: grid;
  gap: 13px;
  min-height: 170px;
  max-height: 46vh;
  padding: 16px 24px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 80% 100%, rgba(255, 106, 0, 0.12), transparent 35%),
    var(--ink);
}

.gallery-modal__footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.gallery-modal__thumbnails {
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-modal__thumbnails::-webkit-scrollbar { display: none; }

.gallery-modal__thumbnails .gallery-thumbnail {
  width: 78px;
  height: 56px;
  border-radius: 9px;
}

.gallery-thumbnail--video > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--ink-soft), #05080c);
}

.gallery-thumbnail--video .lucide {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.gallery-modal__vehicle-meta {
  display: grid;
  gap: 4px;
  padding-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: right;
}

.gallery-modal__vehicle-meta strong {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
}

.gallery-modal__vehicle-meta span {
  color: #8e8f89;
  font-size: 8px;
}

.gallery-modal__footer .primary-cta {
  width: 150px;
}

.gallery-specs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.gallery-spec {
  display: grid;
  gap: 3px;
  padding: 12px 11px 2px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.gallery-spec:last-child {
  border-right: 0;
}

.gallery-spec:nth-child(6n) {
  border-right: 0;
}

.gallery-spec span {
  color: #777972;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-spec strong {
  font-size: 9px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.gallery-description {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.gallery-description > span {
  color: #777972;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-description p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  line-height: 1.55;
}

@keyframes gallery-enter {
  from { opacity: 0; transform: scale(0.97) translateY(12px); }
  to { opacity: 1; transform: none; }
}

.contact-modal {
  width: min(460px, calc(100vw - 32px));
  padding: 38px;
  border: 0;
  border-radius: 22px;
  color: var(--ink);
  background: var(--paper-bright);
  box-shadow: var(--shadow);
}

.contact-modal::backdrop {
  background: rgba(9, 9, 8, 0.7);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.contact-modal h2 {
  font-size: 49px;
}

.contact-modal > p {
  margin: 20px 0 24px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.modal-close svg {
  width: 15px;
}

.contact-modal form {
  display: grid;
  gap: 12px;
}

.contact-modal label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-modal input,
.contact-modal textarea {
  height: 45px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  background: var(--white);
  font-size: 11px;
}

.contact-modal textarea {
  height: auto;
  min-height: 76px;
  padding-block: 11px;
  resize: vertical;
}

.contact-modal input:focus,
.contact-modal textarea:focus {
  border-color: var(--accent);
}

.contact-modal button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.contact-modal .primary-cta {
  margin-top: 4px;
}

.contact-modal > small {
  display: block;
  margin-top: 14px;
  color: #a5a19a;
  font-size: 7px;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 100;
  bottom: 25px;
  left: 50%;
  padding: 12px 16px;
  border-radius: 100px;
  color: var(--white);
  opacity: 0;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 10px;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: 240ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  animation: reveal-up 600ms var(--ease) both;
}

.reveal--2 { animation-delay: 50ms; }
.reveal--3 { animation-delay: 100ms; }
.reveal--4 { animation-delay: 150ms; }

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: minmax(560px, 1fr) minmax(300px, 32vw);
  }

  .desktop-nav a,
  .desktop-nav button {
    padding-inline: 11px;
    font-size: 9px;
  }

  .main-content {
    padding-inline: 30px;
  }

  .location-pill {
    display: none;
  }

  .market-controls--desktop label:first-child { display: none; }

  .showcase-hero {
    height: min(760px, 90vh);
    min-height: 620px;
  }

  .topbar {
    padding-inline: 24px;
  }

  .brand--hero {
    left: 24px;
  }

  .top-actions {
    right: 24px;
  }

  .showcase-hero__bottom {
    gap: 40px;
  }

  .hero-manifesto h1 {
    font-size: 45px;
  }

  .hero-feature-copy {
    width: min(100%, 340px);
  }

  .card-meta ul li:nth-child(2) {
    display: none;
  }
}

@media (max-width: 980px) {
  body {
    padding-bottom: 76px;
    background: var(--paper);
  }

  .app-shell {
    display: block;
  }

  .showcase-hero {
    height: 730px;
    min-height: 690px;
    margin: 10px;
    border-radius: 22px;
  }

  .showcase-hero__image {
    object-position: center;
  }

  .showcase-hero__word {
    top: 13%;
    font-size: clamp(82px, 15vw, 150px);
  }

  .showcase-hero__bottom {
    right: 28px;
    bottom: 28px;
    left: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.75fr);
    gap: 28px;
  }

  .hero-manifesto h1 {
    font-size: clamp(36px, 5.5vw, 48px);
  }

  .hero-feature-copy {
    padding: 18px;
  }

  .side-rail,
  .desktop-nav,
  .top-actions,
  .detail-panel {
    display: none;
  }

  .market-controls--mobile { position: absolute; right: 18px; display: flex; }
  .market-controls--mobile label { height: 36px; background: rgba(13,27,42,.62); }
  .market-controls--mobile select { height: 34px; }

  .gallery-modal {
    width: 100vw;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .gallery-modal[open] {
    grid-template-rows: minmax(360px, 55%) minmax(0, 45%);
  }

  .gallery-modal__header {
    top: 16px;
    right: 16px;
    left: 16px;
  }

  .gallery-modal__header > span {
    display: none;
  }

  .gallery-modal__header {
    grid-template-columns: 1fr auto;
  }

  .gallery-modal__close {
    grid-column: 2;
  }

  .gallery-modal__arrow {
    width: 42px;
    height: 42px;
  }

  .gallery-modal__arrow--prev { left: 14px; }
  .gallery-modal__arrow--next { right: 14px; }

  .gallery-modal__copy {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .gallery-modal__copy h2 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .gallery-modal__footer {
    min-height: 0;
    padding: 14px 16px 24px;
    overflow-y: auto;
  }

  .gallery-modal__footer-top {
    grid-template-columns: 1fr auto;
    gap: 13px;
  }

  .gallery-modal__thumbnails {
    grid-column: 1 / -1;
  }

  .gallery-modal__thumbnails .gallery-thumbnail {
    width: 62px;
    height: 45px;
  }

  .gallery-modal__vehicle-meta {
    padding-right: 0;
    border-right: 0;
    text-align: left;
  }

  .gallery-modal__footer .primary-cta {
    width: 134px;
    height: 44px;
  }

  .gallery-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-description {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .gallery-spec {
    min-width: 0;
    padding: 10px 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .gallery-spec:nth-child(2n) {
    border-right: 0;
  }

  .main-content {
    padding: 32px 18px 40px;
  }

  .topbar {
    position: absolute;
    justify-content: flex-start;
    height: 72px;
    padding: 0 18px;
    border-bottom-color: rgba(255, 255, 255, 0.14);
  }

  .brand--hero {
    position: static;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 5px;
    place-items: center;
    border-radius: 13px;
    background: var(--white);
  }

  .search-box kbd,
  .filter-toggle {
    font-size: 0;
  }

  .filter-toggle {
    width: 55px;
  }

  .filter-drawer {
    width: 100%;
  }

  .inventory-section {
    padding-top: 35px;
  }

  .inventory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vehicle-card__media {
    height: 180px;
  }

  .mobile-nav {
    position: fixed;
    z-index: 40;
    right: 12px;
    bottom: 10px;
    left: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 64px;
    padding: 6px 7px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 19px;
    color: #8b8d87;
    background: rgba(13, 27, 42, 0.96);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .mobile-nav a,
  .mobile-nav button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0;
    border: 0;
    border-radius: 13px;
    color: inherit;
    background: transparent;
    font-size: 7px;
  }

  .mobile-nav svg {
    width: 19px;
    height: 19px;
  }

  .mobile-nav .is-active {
    color: var(--ink);
    background: var(--accent-light);
  }

  .mobile-nav .favorite-count {
    top: 4px;
    right: calc(50% - 19px);
  }

  .trust-strip {
    margin-top: 42px;
  }
}

@media (max-width: 620px) {
  .main-content {
    padding: 28px 15px 40px;
  }

  .showcase-hero {
    height: 760px;
    min-height: 720px;
    margin: 8px;
    border-radius: 20px;
  }

  .showcase-hero__image {
    object-position: 58% center;
  }

  .showcase-hero__word {
    top: 14%;
    right: -5%;
    left: -5%;
    font-size: clamp(78px, 22vw, 112px);
    text-align: left;
  }

  .showcase-hero__bottom {
    right: 17px;
    bottom: 18px;
    left: 17px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-kicker {
    margin-bottom: 10px;
    font-size: 8px;
  }

  .hero-manifesto h1 {
    max-width: 100%;
    font-size: clamp(33px, 9.5vw, 40px);
    line-height: 0.96;
  }

  .hero-metrics {
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
  }

  .hero-metrics strong {
    font-size: 22px;
  }

  .hero-feature-copy {
    width: 100%;
    padding: 15px;
    border-radius: 15px;
  }

  .hero-feature-copy h2 {
    font-size: 28px;
  }

  .hero-feature-copy > p {
    display: none;
  }

  .hero-feature-copy > strong {
    margin-top: 10px;
    font-size: 22px;
  }

  .hero-actions {
    margin-top: 11px;
  }

  .hero-primary,
  .hero-secondary {
    height: 39px;
    padding-inline: 13px;
  }

  .hero-carousel-nav {
    margin-top: 12px;
  }

  .inventory-toolbar {
    align-items: flex-end;
  }

  #sort-select {
    width: 42px;
    padding: 0;
    color: transparent;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
    background-position: calc(50% - 3px) 50%, calc(50% + 3px) 50%;
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
  }

  .inventory-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-card {
    padding: 10px;
    border-radius: 17px;
  }

  .vehicle-card__media {
    height: min(59vw, 255px);
  }

  .vehicle-card h3 {
    font-size: 25px;
  }

  .card-meta ul {
    font-size: 9px;
  }

  .card-meta ul li:nth-child(2) {
    display: block;
  }

  .card-meta strong {
    font-size: 21px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip article {
    grid-template-columns: 110px 1fr;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip article:last-child {
    border-bottom: 0;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-modal {
    padding: 32px 24px 27px;
  }

  .contact-modal h2 {
    font-size: 44px;
  }

  .gallery-modal[open] {
    grid-template-rows: minmax(350px, 53%) minmax(0, 47%);
  }

  .gallery-modal__copy .detail-badge {
    margin-bottom: 7px;
  }

  .gallery-modal__copy h2 {
    font-size: 43px;
  }

  .gallery-modal__copy p {
    margin-top: 6px;
    font-size: 8px;
  }

  .gallery-modal__counter strong {
    font-size: 31px;
  }

  .gallery-modal__counter span {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
