/* ═══════════════════════════════════════════════════════════
   VELOCITY GERMAN AUTOS — inventory pages (V1)
   Standalone like pre-approval.html: same tokens, same chrome.
   Generated by scripts/inventory/build.mjs + v1.mjs.
   ═══════════════════════════════════════════════════════════ */

:root {
  --ivory: #f4f0e6; --ink: #191813; --ink-soft: #2b2a24; --brass: #a8905c; --brass-soft: #c2ad80;
  --bg: #f4f0e6; --bg-alt: #ece6d8; --text: #191813; --text-soft: #2b2a24;
  --muted: rgba(25, 24, 19, 0.62);
  --line: rgba(25, 24, 19, 0.18); --card: #fbf8f1;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --pad: clamp(1rem, 4vw, 4rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
:root[data-theme="dark"] {
  --bg: #161410; --bg-alt: #1d1a15; --text: #ece7da; --text-soft: rgba(236, 231, 218, 0.78);
  --muted: rgba(236, 231, 218, 0.56);
  --line: rgba(236, 231, 218, 0.16); --card: #1d1a15;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
::selection { background: var(--brass); color: var(--ivory); }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ── nav (pre-approval chrome + links) ───────────────────── */

.inv-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem var(--pad);
  border-bottom: 1px solid var(--line);
}
.inv-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.inv-brand svg { width: 34px; height: 34px; stroke: currentColor; flex: none; }
.inv-brand span { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.inv-brand em { font-style: italic; text-transform: none; letter-spacing: 0.02em; color: var(--brass); margin-left: 0.3em; }
.inv-links { display: flex; align-items: center; gap: 2.2rem; }
.inv-links-wide { display: contents; }
.inv-links a, .inv-tel {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 0.35em;
  background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0% 1px;
  transition: background-size 0.4s var(--ease-out), color 0.3s;
}
.inv-links a:hover, .inv-tel:hover { background-position: left bottom; background-size: 100% 1px; }
.inv-links a[aria-current="page"] { color: var(--brass); }
.inv-tel { white-space: nowrap; font-variant-numeric: tabular-nums; }
.inv-tel svg { display: none; width: 18px; height: 18px; stroke: currentColor; }
.inv-nav-right { display: flex; align-items: center; gap: 1.25rem; }

.inv-theme {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
}
.inv-theme svg { width: 16px; height: 16px; stroke: currentColor; transition: transform 0.6s var(--ease-out); }
.inv-theme .tt-sun { display: none; }
:root[data-theme="dark"] .inv-theme .tt-sun { display: block; }
:root[data-theme="dark"] .inv-theme .tt-moon { display: none; }
:root[data-theme="dark"] .inv-theme svg { transform: rotate(180deg); }

/* ── shared type & buttons ───────────────────────────────── */

.inv-main { max-width: 1320px; margin: 0 auto; padding: clamp(2.5rem, 7vh, 5rem) var(--pad) 4rem; }
.inv-label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--brass); }
.inv-title { margin-top: 1rem; font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; }
.inv-title em, .inv-h2 em, .inv-band-title em { font-style: italic; }
.inv-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; margin-bottom: 1.4rem; }
.inv-h2 small { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; color: var(--brass); vertical-align: middle; margin-left: 0.4em; }

.inv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 1.8rem; border: 1px solid var(--ink);
  background: var(--ink); color: var(--ivory); text-decoration: none; cursor: pointer;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  text-align: center; transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s;
}
.inv-btn:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.inv-btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.inv-btn--ghost:hover { background: transparent; border-color: var(--text); color: var(--text); }
:root[data-theme="dark"] .inv-btn:not(.inv-btn--ghost) { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
:root[data-theme="dark"] .inv-btn:not(.inv-btn--ghost):hover { background: var(--brass-soft); border-color: var(--brass-soft); }

.inv-link {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 0.45em;
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 100% 1px;
  transition: background-size 0.45s var(--ease-out);
}
.inv-link:hover { background-size: 30% 1px; }

/* ── list page ───────────────────────────────────────────── */

.inv-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end;
  margin-bottom: clamp(2rem, 5vh, 3.25rem);
}
.inv-intro { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--text-soft); }
.inv-count { margin-top: 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); }

.inv-filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  margin-bottom: clamp(2rem, 4vh, 3rem);
}
.inv-field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 0.3rem; background: var(--bg); padding: 0.85rem 1.1rem 0.7rem; min-width: 0; }
.inv-field span { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.inv-field select {
  appearance: none; -webkit-appearance: none; width: 100%;
  background: transparent; border: 0; padding: 0.2rem 1.6rem 0.2rem 0; cursor: pointer;
  font-family: var(--serif); font-size: 1.2rem; color: var(--text);
  background-image: linear-gradient(45deg, transparent 50%, var(--brass) 50%), linear-gradient(135deg, var(--brass) 50%, transparent 50%);
  background-position: calc(100% - 7px) 55%, calc(100% - 2px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.inv-field select:focus-visible { outline: none; }
.inv-field:focus-within { box-shadow: inset 0 -1px 0 var(--brass); }
.inv-field select option { color: #191813; background: #fbf8f1; }
.inv-reset {
  flex: 0 0 auto; align-self: stretch; background: var(--bg); border: 0; cursor: pointer;
  padding: 0 1.4rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass);
}
.inv-reset:hover { color: var(--text); }

.inv-grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 3.5vw, 3rem) clamp(1.25rem, 2.5vw, 2.25rem);
}
.nw { white-space: nowrap; }
/* Flex column so the price rule lines up across a row even when a card has no trim line. */
.inv-card a { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.inv-card-body { flex: 1; display: flex; flex-direction: column; }
.inv-card-text { flex: 1; padding-bottom: 0.6rem; }
.inv-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.inv-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); filter: saturate(0.94);
}
.inv-card a:hover .inv-card-media img { filter: saturate(1.04); }
.inv-card-body { padding-top: 0.75rem; }
.inv-card-kicker { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass); }
.inv-card-title { margin-top: 0.45rem; font-family: var(--serif); font-weight: 400; font-size: 1.65rem; line-height: 1.1; }
.inv-card-title em { font-style: italic; }
.inv-card-trim { margin-top: 0.2rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--text-soft); }
.inv-card-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem;
  padding-top: 0.15rem;
}
.inv-card-price { font-family: var(--serif); font-size: 1.35rem; font-variant-numeric: lining-nums; }
.inv-card-price.is-call, .inv-d-price .is-call { font-style: italic; color: var(--text-soft); }
.inv-card-details { font-size: 0.8125rem; color: var(--muted); }

/* ── card photo strip (scrubbed by js/inventory.js, swiped on touch) ── */
.inv-card-media { position: relative; }
.inv-peek {
  display: flex; width: 100%; height: 100%;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.inv-peek::-webkit-scrollbar { display: none; }
.inv-peek img { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.inv-peek-bar {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.7rem;
  display: flex; gap: 4px; pointer-events: none;
  opacity: 0; transition: opacity 0.3s;
}
.inv-peek-bar i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.42); box-shadow: 0 0 6px rgba(0, 0, 0, 0.35); transition: background-color 0.2s; }
.inv-peek-bar i.is-on { background: #fff; }
.inv-card-media:hover .inv-peek-bar { opacity: 1; }
@media (hover: none) { .inv-peek-bar { opacity: 1; } }

.inv-empty { border: 1px solid var(--line); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.inv-empty p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; max-width: 36ch; margin: 0 auto 1.5rem; }
.inv-empty-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

.inv-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
  margin-top: clamp(3.5rem, 8vh, 6rem); padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--bg-alt); border: 1px solid var(--line);
}
.inv-band-title { margin-top: 0.6rem; font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.05; }
.inv-band-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.inv-updated { margin-top: 1.5rem; font-size: 0.75rem; color: var(--muted); text-align: center; }

/* ── detail page ─────────────────────────────────────────── */

.inv-main--detail { padding-top: clamp(1.5rem, 4vh, 2.5rem); }
.inv-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-bottom: 1.5rem;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.inv-crumbs a { text-decoration: none; color: var(--text); }
.inv-crumbs a:hover { color: var(--brass); }

.inv-detail { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: clamp(1.75rem, 3.5vw, 3.5rem); align-items: start; }

.inv-gallery { min-width: 0; }
.inv-gallery--empty { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--bg-alt); font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.inv-stage { position: relative; background: var(--bg-alt); }
.inv-slides {
  display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.inv-slides::-webkit-scrollbar { display: none; }
.inv-slides:focus-visible { outline-offset: -2px; }
.inv-slide { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: start; scroll-snap-stop: always; }
.inv-slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }

.inv-arrow, .inv-zoom {
  position: absolute; display: grid; place-items: center; cursor: pointer;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(25, 24, 19, 0.55); color: #f4f0e6;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color 0.3s, opacity 0.3s;
}
.inv-arrow:hover, .inv-zoom:hover { background: rgba(25, 24, 19, 0.85); }
.inv-arrow svg, .inv-zoom svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.inv-arrow { top: 50%; transform: translateY(-50%); }
.inv-arrow--prev { left: 1rem; }
.inv-arrow--next { right: 1rem; }
.inv-arrow:disabled { opacity: 0; pointer-events: none; }
.inv-zoom { top: 1rem; right: 1rem; width: 40px; height: 40px; }
.inv-counter {
  position: absolute; left: 1rem; bottom: 1rem; padding: 0.3rem 0.75rem; border-radius: 999px;
  background: rgba(25, 24, 19, 0.6); color: #f4f0e6;
  font-size: 0.75rem; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; pointer-events: none;
}
.inv-counter b { font-weight: 600; }

.inv-thumbs {
  list-style: none; display: flex; gap: 0.5rem; margin-top: 0.6rem;
  overflow-x: auto; scrollbar-width: thin; padding-bottom: 0.35rem;
}
.inv-thumbs a { display: block; width: 92px; aspect-ratio: 4 / 3; opacity: 0.55; outline-offset: -1px; transition: opacity 0.3s; }
.inv-thumbs a:hover { opacity: 0.9; }
.inv-thumbs a[aria-current="true"] { opacity: 1; box-shadow: inset 0 0 0 2px var(--brass); }
.inv-thumbs img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: -1; }
.inv-thumbs li { flex: none; position: relative; isolation: isolate; }

.inv-panel { position: sticky; top: 1.5rem; }
.inv-d-title { margin-top: 0.9rem; font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3.3rem); line-height: 1.02; }
.inv-d-title em { font-style: italic; }
.inv-d-trim { margin-top: 0.5rem; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--text-soft); }
.inv-d-price {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem;
  margin-top: 1.5rem; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.inv-d-price > span:first-child { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.inv-d-miles { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.inv-cta { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.inv-cta .inv-link { justify-self: start; margin-top: 0.6rem; }
.inv-panel-note { margin-top: 1.4rem; font-size: 0.8125rem; color: var(--muted); }

.inv-body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3rem, 7vh, 5rem); padding-top: clamp(2.5rem, 5vh, 3.5rem); border-top: 1px solid var(--line);
}
.inv-body > .inv-section:nth-child(3) { grid-column: 1 / -1; }
.inv-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.inv-specs > div { background: var(--bg); padding: 0.9rem 1.1rem; min-width: 0; }
.inv-specs .inv-spec--wide { grid-column: 1 / -1; }
.inv-specs dt { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.inv-specs dd { margin-top: 0.2rem; font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; overflow-wrap: anywhere; }
.inv-spec--vin dd { font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.inv-desc p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.6; color: var(--text-soft); max-width: 62ch; }
.inv-desc p + p { margin-top: 1em; }

.inv-features {
  list-style: none; columns: 3 220px; column-gap: 2.5rem;
  font-size: 0.9rem; color: var(--text-soft);
}
.inv-features li { break-inside: avoid; padding: 0.45rem 0 0.45rem 1.1rem; border-bottom: 1px solid var(--line); position: relative; }
.inv-features li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.inv-more { margin-top: 0.5rem; }
.inv-more summary {
  cursor: pointer; list-style: none; display: inline-block; margin: 1rem 0;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass);
}
.inv-more summary::-webkit-details-marker { display: none; }
.inv-more[open] summary { display: none; }

.inv-related { margin-top: clamp(4rem, 9vh, 6rem); padding-top: clamp(2.5rem, 5vh, 3.5rem); border-top: 1px solid var(--line); }
.inv-related-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; }

/* ── lightbox (built by js/inventory.js) ─────────────────── */

.inv-lightbox {
  border: 0; padding: 0; margin: 0; max-width: none; max-height: none;
  width: 100vw; height: 100dvh; background: rgba(12, 11, 9, 0.96); color: #f4f0e6;
}
.inv-lightbox::backdrop { background: rgba(12, 11, 9, 0.96); }
.inv-lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.inv-lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem var(--pad); font-size: 0.75rem; letter-spacing: 0.16em; font-variant-numeric: tabular-nums; }
.inv-lb-close { background: none; border: 1px solid rgba(244, 240, 230, 0.3); color: inherit; border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.inv-lb-stage { position: relative; min-height: 0; display: grid; place-items: center; padding: 0 clamp(0.5rem, 5vw, 5rem) 1.5rem; touch-action: pan-y; }
.inv-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.inv-lb-stage .inv-arrow { background: rgba(244, 240, 230, 0.12); }
.inv-lb-stage .inv-arrow:hover { background: rgba(244, 240, 230, 0.25); }

/* ── footer ──────────────────────────────────────────────── */

.inv-foot { border-top: 1px solid var(--line); padding: 2rem var(--pad) 6rem; text-align: center; font-size: 0.8125rem; color: var(--text-soft); }
.inv-foot a { text-decoration: none; }
.inv-foot a:hover { color: var(--brass); }
.inv-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.8rem; margin-bottom: 1rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }

/* ── responsive ──────────────────────────────────────────── */

@media (max-width: 1100px) {
  .inv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inv-detail { grid-template-columns: minmax(0, 1fr); }
  .inv-panel { position: static; }
  .inv-cta { grid-template-columns: 1fr 1fr; }
  .inv-cta .inv-btn:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  /* phones keep Inventory + Financing; Visit drops and the number becomes a phone icon */
  .inv-links { gap: 1.1rem; }
  .inv-links a { letter-spacing: 0.18em; }
  .inv-links-wide { display: none; }
  .inv-nav-right { gap: 0.6rem; }
  .inv-tel { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; background: none; }
  .inv-tel-text { display: none; }
  .inv-tel svg { display: block; }
  .inv-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .inv-head { grid-template-columns: 1fr; gap: 1.25rem; }
  .inv-brand span { display: none; }
  .inv-field { flex-basis: 45%; }
  .inv-field:nth-child(3) { flex-basis: 100%; }
  .inv-reset { flex: 1 1 100%; padding: 0.85rem 1.1rem; }
  .inv-arrow { display: none; }
  .inv-thumbs a { width: 72px; }
}
@media (max-width: 640px) {
  .inv-grid { grid-template-columns: minmax(0, 1fr); }
  .inv-cta { grid-template-columns: 1fr; }
  .inv-specs { grid-template-columns: 1fr 1fr; }
  .inv-d-price > span:first-child { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ── catalogue presentation (2026-10-17) ───────────────────
   Rounded photos everywhere; on the list page two large columns
   with the name on the left and the price on the right. */
.inv-card-media { border-radius: 8px; isolation: isolate; }
.inv-peek-count {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 1;
  padding: 0.32rem 0.7rem; border-radius: 999px;
  background: rgba(14, 13, 10, 0.55); color: #f4f0e6;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  font-variant-numeric: lining-nums tabular-nums; pointer-events: none;
  opacity: 0; transform: translateY(-4px); transition: opacity 0.35s, transform 0.35s;
}
.inv-card-media:hover .inv-peek-count { opacity: 1; transform: none; }
@media (hover: none) { .inv-peek-count { opacity: 1; transform: none; } }
.inv-card.is-pre { opacity: 0; transform: translateY(26px); }
.inv-card.is-in { transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); }
.inv-page--list .inv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); row-gap: clamp(2.75rem, 6vh, 4.5rem); }
.inv-page--list .inv-card-media { aspect-ratio: 3 / 2; }
@media (min-width: 900px) {
  .inv-page--list .inv-card-body { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding-top: 1rem; }
  .inv-page--list .inv-card-text { padding-bottom: 0; }
  .inv-page--list .inv-card-title { font-size: 2rem; }
  .inv-page--list .inv-card-meta { flex-direction: column; align-items: flex-end; gap: 0.3rem; padding-top: 0.95rem; text-align: right; flex: none; }
  .inv-page--list .inv-card-price { font-size: 1.55rem; }
}
@media (max-width: 640px) { .inv-page--list .inv-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .inv-card.is-pre { opacity: 1; transform: none; } }

/* Sale pending / Sold badge on card photos and the detail gallery. Always visible. */
.inv-flag {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  padding: 0.65rem 1.15rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; line-height: 1; letter-spacing: 0.18em; text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(14, 13, 10, 0.28); pointer-events: none;
}
.inv-flag--pending { background: #a8905c; color: #191813; }
.inv-flag--sold { background: #191813; color: #f4f0e6; }
.inv-card-media.is-sold img { filter: grayscale(0.55) brightness(0.92); }
.inv-stage > .inv-flag, .g-stage > .inv-flag { top: 1.1rem; left: 1.1rem; padding: 0.8rem 1.4rem; font-size: 0.9375rem; }
.is-pending { color: #a8905c !important; }

/* Kilometre odometer reading under the miles (cars imported with a km odometer). */
.inv-km { display: block; font-size: .78em; opacity: .7; margin-top: 2px; letter-spacing: 0; text-transform: none; }
