:root {
  --ink: #0f0d0b;
  --ink-2: #171411;
  --ink-3: #221d18;
  --cream: #efe6d2;
  --cream-dim: #b9ae98;
  --brass: #c49a4c;
  --brass-hi: #e6c989;
  --red: #a3321f;
  --line: rgba(239, 230, 210, .14);

  --display: "Bodoni Moda", "Didot", Georgia, serif;
  --body: "Newsreader", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 clamp(17px, 1.1vw + 10px, 20px)/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
h1 i, h2 i { color: var(--brass); font-weight: 400; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.label {
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.4rem;
}

.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--ink); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px;
  font: 500 13px/1 var(--mono);
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--brass);
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
}
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-hi); border-color: var(--brass-hi); }
.btn--ghost { color: var(--cream); background: transparent; }
.btn--ghost:hover { background: rgba(196, 154, 76, .12); }
.btn:active { transform: translateY(1px); }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(15, 13, 11, .88); backdrop-filter: blur(10px); border-color: var(--line); }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__brand span { font: 700 22px/1 var(--display); letter-spacing: .06em; }
.nav__brand em { font-style: italic; font-weight: 400; color: var(--brass); margin-left: 4px; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav__links a {
  font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--cream-dim); transition: color .2s;
}
.nav__links a:hover { color: var(--cream); }
.nav__links .nav__call { color: var(--ink); background: var(--brass); padding: 11px 16px; }
.nav__links .nav__call:hover { color: var(--ink); background: var(--brass-hi); }
.nav__toggle { display: none; }

/* HERO */
.hero {
  min-height: 100svh;
  max-width: var(--max); margin: 0 auto;
  padding: 120px var(--gutter) 60px;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px);
  position: relative;
}
.hero::before {
  content: ""; position: absolute; z-index: -1;
  right: -10vw; top: 10%; width: 70vw; height: 80%;
  background: radial-gradient(closest-side, rgba(196, 154, 76, .16), transparent);
}
.hero h1 { font-size: clamp(56px, 8.4vw, 132px); font-weight: 500; line-height: .92; margin-bottom: 2rem; }
.hero h1 i { font-style: italic; }
.hero__lede { max-width: 32ch; font-size: 1.15em; color: var(--cream-dim); font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

.gauge { margin: 0; text-align: center; }
.gauge svg { width: min(100%, 520px); height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6)); }
.gauge figcaption { margin-top: 1.4rem; color: var(--cream-dim); }
.g-brand { font: 700 italic 28px var(--display); fill: var(--brass); text-anchor: middle; letter-spacing: .08em; }
.g-auto { font-size: 24px; }
.g-sub { font: 500 9px var(--mono); fill: var(--cream-dim); text-anchor: middle; letter-spacing: .2em; }
.g-num { font: 500 22px var(--display); fill: var(--cream); text-anchor: middle; dominant-baseline: central; }
.g-num.is-red { fill: #d4533b; }
.g-odo rect { fill: #050404; stroke: var(--brass); stroke-opacity: .5; }
.g-odo text { font: 500 16px var(--mono); fill: var(--brass-hi); text-anchor: middle; letter-spacing: .12em; }
#needle { transform-origin: 200px 200px; transform: rotate(-135deg); }

/* TICKER */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--ink-2); }
.ticker__track { display: flex; gap: 36px; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font: italic 400 clamp(22px, 2.4vw, 32px)/1 var(--display); white-space: nowrap; }
.ticker b { color: var(--brass); font-weight: 400; align-self: center; font-size: 14px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ABOUT */
.about {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center;
}
.about__img { margin: 0; position: relative; }
.about__img img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% center; width: 100%; filter: sepia(.25) contrast(1.05); }
.about__img::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--brass); z-index: -1;
}
.about__img figcaption { margin: 1.6rem 0 0; color: var(--cream-dim); }
.about h2 { font-size: clamp(36px, 4.4vw, 64px); margin-bottom: 2rem; }
.about__copy > p:not(.label):not(.signature) { color: var(--cream-dim); max-width: 52ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2.6rem 0; border-top: 1px solid var(--line); }
.stats div { padding: 22px 16px 0 0; }
.stats dt { font: 500 clamp(40px, 4vw, 60px)/1 var(--display); color: var(--brass); }
.stats dd { margin: 8px 0 0; font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-dim); }
.signature { font: italic 400 34px/1 var(--display); color: var(--cream); margin: 0; }

/* SERVICES */
.services { background: var(--cream); color: var(--ink); padding: clamp(80px, 12vw, 160px) var(--gutter); }
.services .label { color: #8a6526; }
.services h2 i { color: #8a6526; }
.section-head { max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 80px); }
.section-head h2 { font-size: clamp(40px, 6vw, 88px); max-width: 18ch; }
.spec { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); border-top: 2px solid var(--ink); }
.spec__item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: clamp(16px, 4vw, 60px); align-items: baseline;
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid rgba(15, 13, 11, .2);
  transition: background .3s, padding .3s;
}
.spec__item:hover { background: rgba(196, 154, 76, .14); padding-inline: 20px; }
.spec__no { font: italic 400 clamp(40px, 5vw, 72px)/1 var(--display); color: #8a6526; }
.spec h3 { font-size: clamp(28px, 3vw, 44px); margin-bottom: .8rem; }
.spec h3 small { display: block; font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #8a6526; margin-top: 10px; }
.spec p { max-width: 60ch; margin: 0; color: #3b332a; }
.spec__link { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid; padding-bottom: 4px; white-space: nowrap; }
.spec__link:hover { color: #8a6526; }

/* SELLING */
.selling { position: relative; padding: clamp(100px, 14vw, 180px) var(--gutter); overflow: hidden; isolation: isolate; }
.selling__bg {
  position: absolute; inset: -10% 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15, 13, 11, .96) 30%, rgba(15, 13, 11, .7)), url("assets/engine.webp") center / cover;
  transform: translateY(var(--parallax, 0));
}
.selling__inner { max-width: var(--max); margin: 0 auto; }
.selling h2 { font-size: clamp(40px, 5.5vw, 80px); max-width: 16ch; margin-bottom: clamp(48px, 7vw, 90px); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps li { padding: 28px 28px 0 0; border-top: 1px solid var(--brass); position: relative; }
.steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--brass); border-radius: 50%; }
.steps span { font: 500 12px var(--mono); color: var(--brass); letter-spacing: .16em; }
.steps h3 { font-size: clamp(26px, 2.4vw, 34px); margin: 14px 0 12px; }
.steps p { color: var(--cream-dim); font-size: .95em; margin: 0; }

/* QUOTE */
.quote { padding: clamp(90px, 12vw, 160px) var(--gutter); text-align: center; background: var(--ink-2); border-block: 1px solid var(--line); }
.quote blockquote { margin: 0 auto; max-width: 20ch; }
.quote p { font: 400 clamp(36px, 5.2vw, 76px)/1.08 var(--display); margin-bottom: 2rem; }
.quote i { color: var(--brass); }
.quote cite { font-style: normal; color: var(--cream-dim); }

/* CONTACT */
.contact {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px);
}
.contact h2 { font-size: clamp(44px, 6vw, 88px); margin-bottom: 1.6rem; }
.contact__info > p:not(.label) { color: var(--cream-dim); max-width: 38ch; }
.details { list-style: none; padding: 0; margin: 2.6rem 0 0; }
.details li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.details .label { margin: 0; color: var(--cream-dim); font-size: 11px; }
.details a { text-decoration: none; font-size: 1.1em; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.details a:hover { color: var(--brass-hi); border-color: currentColor; }

.form { background: var(--ink-2); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); align-self: start; }
.field { margin-bottom: 22px; }
.field label { display: block; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--cream);
  border: 0; border-bottom: 1px solid rgba(239, 230, 210, .3);
  padding: 10px 0; font: inherit; border-radius: 0;
  transition: border-color .2s;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c49a4c' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field select option { background: var(--ink-2); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
.field [aria-invalid="true"] { border-color: #d4533b; }
.form .btn { width: 100%; margin-top: 8px; }
.form__note { margin: 16px 0 0; font-size: .9em; color: var(--cream-dim); min-height: 1.4em; }

/* FOOTER */

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
/* The first screen fades in straight away with CSS instead of waiting for site.js. */
.hero .reveal, .page-head .reveal, .contact--page .reveal { animation: rise .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; animation: none !important; }
  .ticker__track { animation: none; }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; text-align: left; }
  .gauge svg { width: min(78vw, 420px); }
  .about, .contact { grid-template-columns: 1fr; }
  .about__img img { aspect-ratio: 16 / 11; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
}
/* Tap-to-open menu below 1000px — seven items don't fit in one row on tablets. */
@media (max-width: 1000px) {
  .nav__toggle {
    display: grid; gap: 7px; background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .nav__toggle span:not(.sr) { width: 26px; height: 1.5px; background: var(--cream); transition: transform .3s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    max-height: calc(100svh - 72px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav__links .nav__call { margin-top: 16px; text-align: center; border: 0; }
  .nav.menu-open { background: var(--ink); }
}
@media (max-width: 760px) {
  .spec__item { grid-template-columns: 1fr; gap: 10px; }
  .spec__item:hover { padding-inline: 0; }
  .spec__no { font-size: 40px; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats dd { font-size: 10px; }
  .details li { grid-template-columns: 1fr; gap: 4px; }
}

/* SHOWROOM */
.showroom { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.section-head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px 60px; flex-wrap: wrap; max-width: none; }
.showroom h2 { font-size: clamp(40px, 6vw, 88px); }
.showroom__intro { max-width: 38ch; color: var(--cream-dim); margin: 0; }
.stock { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 3vw, 40px); }
.stock:empty { display: none; }
.lot a { display: block; text-decoration: none; color: inherit; }
.lot__img { position: relative; overflow: hidden; background: var(--ink-3); aspect-ratio: 4 / 3; }
.lot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s; filter: saturate(.9); }
.lot a:hover .lot__img img { transform: scale(1.05); filter: saturate(1.05); }
.lot__img--none { display: grid; place-items: center; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-dim); }
.lot__flag { position: absolute; top: 14px; left: 14px; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 7px 10px; background: var(--brass); color: var(--ink); }
.lot__flag--sold { background: var(--red); color: var(--cream); }
.lot--sold .lot__img img { filter: grayscale(.8) brightness(.7); }
.lot__body { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0 14px; border-bottom: 1px solid var(--line); }
.lot h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.lot h3 span { display: block; font: italic 400 .7em/1.3 var(--display); color: var(--brass); }
.lot__price { font: 500 14px/1 var(--mono); letter-spacing: .06em; color: var(--brass-hi); white-space: nowrap; }
.lot__meta { font: 400 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cream-dim); padding-top: 12px; display: flex; gap: 18px; flex-wrap: wrap; }
.stock-empty { border: 1px solid var(--line); padding: clamp(32px, 5vw, 56px); text-align: center; }
.stock-empty p { font: italic 400 clamp(22px, 2.4vw, 30px)/1.3 var(--display); max-width: 30ch; margin: 0 auto 28px; }

/* CAR PAGE */
.lot-page { max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter) clamp(60px, 8vw, 120px); min-height: 70vh; }
.lot-page__missing { text-align: center; padding: 80px 0; }
.lot-page__missing h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 1.4rem; }
.lot-page__missing p { color: var(--cream-dim); margin-bottom: 2rem; }
.lot-page__grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-areas: "gallery info" "feats info" "desc info";
  column-gap: clamp(28px, 5vw, 72px); row-gap: clamp(36px, 4vw, 56px); align-items: start; }
.lot-page__grid .gallery { grid-area: gallery; }
.lot-page__grid .lot-info { grid-area: info; }
.lot-page__grid .lot-desc { grid-area: desc; }
.lot-page__grid .lot-feats { grid-area: feats; }

.gallery__main { position: relative; background: var(--ink-3); aspect-ratio: 4 / 3; overflow: hidden; }
.gallery__main img, .gallery__none { width: 100%; height: 100%; object-fit: cover; }
.gallery__none { display: grid; place-items: center; }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: 1px solid rgba(239, 230, 210, .3); border-radius: 50%;
  background: rgba(15, 13, 11, .55); color: var(--cream); font: 400 28px/1 var(--display); cursor: pointer;
  backdrop-filter: blur(4px); transition: background .2s;
}
.gallery__nav:hover { background: rgba(196, 154, 76, .6); }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__count { position: absolute; right: 14px; bottom: 14px; margin: 0; background: rgba(15, 13, 11, .7); padding: 6px 10px; color: var(--cream); }
.gallery__thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.gallery__thumbs button { display: block; width: 100%; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.gallery__thumbs button:hover { opacity: .85; }
.gallery__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--brass); }
.gallery__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.lot-info { position: sticky; top: 100px; }
.lot-info h1 { font-size: clamp(40px, 4.4vw, 64px); margin-bottom: 1.2rem; }
.lot-info h1 i { display: block; }
.lot-info__price { font: 500 clamp(22px, 2vw, 28px)/1 var(--mono); color: var(--brass-hi); margin-bottom: 2rem; }
.lot-info__specs { margin: 0 0 2rem; border-top: 1px solid var(--line); }
.lot-info__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lot-info__specs dt { font: 500 11px/1.8 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-dim); }
.lot-info__specs dd { margin: 0; text-align: right; }
.lot-info__cta { display: grid; gap: 10px; margin-bottom: 2.4rem; }
.lot-desc__title { font-size: clamp(30px, 3vw, 42px); padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.lot-desc__body { color: var(--cream-dim); max-width: 68ch; }

@media (max-width: 960px) {
  .lot-page__grid { grid-template-columns: 1fr; grid-template-areas: "gallery" "info" "feats" "desc"; }
  .lot-info { position: static; }
}
@media (max-width: 760px) {
  .lot-page { padding-top: 96px; }
  .gallery__nav { width: 40px; height: 40px; font-size: 24px; }
}

/* SHOWROOM PAGE */
.stock-more { text-align: center; margin-top: clamp(40px, 5vw, 64px); }
.showroom-page { max-width: var(--max); margin: 0 auto; padding: 140px var(--gutter) clamp(80px, 10vw, 140px); min-height: 80vh; }
.showroom-page__status { color: var(--cream-dim); margin: 0 0 24px; }

.toolbar { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap;
  padding: 18px 0; margin-bottom: 28px; border-block: 1px solid var(--line); }
.toolbar__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: none; border: 1px solid var(--line); padding: 10px 14px; cursor: pointer; color: var(--cream-dim);
  font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; transition: border-color .2s, color .2s, background .2s; }
.chip b { font-weight: 500; color: var(--brass); margin-left: 4px; }
.chip:hover { color: var(--cream); }
.chip.is-on { border-color: var(--brass); color: var(--cream); background: rgba(196, 154, 76, .1); }
.toolbar__selects { display: flex; gap: 16px; flex-wrap: wrap; }
.select { display: grid; gap: 6px; }
.select span { font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-dim); }
.select select {
  appearance: none; min-width: 190px; padding: 10px 34px 10px 12px; border: 1px solid var(--line); border-radius: 0;
  color: var(--cream); font: 400 16px var(--body); cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c49a4c' stroke-width='1.5'/%3E%3C/svg%3E") right 12px center no-repeat var(--ink);
}
.select select:focus { outline: none; border-color: var(--brass); }

@media (max-width: 760px) {
  .showroom-page { padding-top: 110px; }
  .toolbar__selects, .select, .select select { width: 100%; }
}

/* PAGES — shared page header, CTA band, footer */
.nav__links a[aria-current="page"] { color: var(--brass); }
.nav__links a[aria-current="page"]:not(.nav__call) { box-shadow: 0 1px 0 var(--brass); padding-bottom: 4px; }
@media (max-width: 1000px) {
  .nav__links a[aria-current="page"]:not(.nav__call) { box-shadow: none; padding-bottom: 18px; }
}

.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(130px, 16vw, 200px) var(--gutter) clamp(40px, 6vw, 80px); }
.page-head h1 { font-size: clamp(46px, 6.6vw, 100px); line-height: .96; max-width: 15ch; margin-bottom: 1.6rem; }
.page-head h1 i { font-style: italic; }
.page-head__intro { max-width: 56ch; color: var(--cream-dim); font-size: 1.1em; margin: 0; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.page-head--flush { padding: 0; margin-bottom: clamp(40px, 6vw, 72px); }
.page-head--center { text-align: center; min-height: 70vh; display: grid; align-content: center; justify-items: center; }
.page-head--center h1 { max-width: 16ch; }
.page-head--center .page-head__actions { justify-content: center; }
.page-head + .about { padding-top: clamp(20px, 4vw, 60px); }
.contact--page { padding-top: clamp(130px, 14vw, 180px); }
.contact--page h1 { font-size: clamp(52px, 7vw, 100px); margin-bottom: 1.6rem; }

.teasers { padding: clamp(80px, 12vw, 150px) var(--gutter); background: var(--cream); color: var(--ink); }
.teasers .section-head .label, .teasers h2 i { color: #8a6526; }
.teasers__grid { list-style: none; padding: 0; margin: 0 auto; max-width: var(--max); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.teasers__grid a { display: flex; flex-direction: column; height: 100%; padding: 28px 24px 28px 0; text-decoration: none; color: inherit; transition: background .3s, padding .3s; }
.teasers__grid li + li a { padding-left: 24px; border-left: 1px solid rgba(15, 13, 11, .15); }
.teasers__grid a:hover { background: rgba(196, 154, 76, .14); }
.teasers__grid span { font: italic 400 44px/1 var(--display); color: #8a6526; }
.teasers__grid h3 { font-size: clamp(24px, 2.2vw, 32px); margin: 18px 0 10px; }
.teasers__grid p { color: #3b332a; font-size: .95em; flex: 1; }
.teasers__grid b { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }

.cta-band { text-align: center; padding: clamp(80px, 12vw, 150px) var(--gutter); border-top: 1px solid var(--line);
  background: radial-gradient(closest-side at 50% 60%, rgba(196, 154, 76, .12), transparent) var(--ink); }
.cta-band h2 { font-size: clamp(44px, 6vw, 88px); margin-bottom: 1.4rem; }
.cta-band > p:not(.label) { color: var(--cream-dim); max-width: 44ch; margin: 0 auto 2.2rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.footer { padding: clamp(56px, 7vw, 88px) var(--gutter) 36px; border-top: 1px solid var(--line); background: var(--ink-2); }
.footer__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__brand img { margin-bottom: 18px; opacity: .9; }
.footer__brand p { color: var(--cream-dim); font-style: italic; max-width: 34ch; margin: 0; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col a, .footer__col span { color: var(--cream-dim); text-decoration: none; font-size: .95em; }
.footer__col a:hover { color: var(--brass-hi); }
.footer__legal { max-width: var(--max); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--cream-dim); }

.lot-page__back {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; padding: 14px 22px;
  border: 1px solid var(--brass); color: var(--brass-hi); text-decoration: none;
  font: 500 13px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.lot-page__back-arrow { font-size: 18px; line-height: 1; transition: transform .2s; }
.lot-page__back:hover { background: var(--brass); color: var(--ink); }
.lot-page__back:hover .lot-page__back-arrow { transform: translateX(-4px); }

@media (max-width: 960px) {
  .teasers__grid { grid-template-columns: repeat(2, 1fr); }
  .teasers__grid li:nth-child(3) a { padding-left: 0; border-left: 0; }
  .teasers__grid li:nth-child(n+3) a { border-top: 1px solid rgba(15, 13, 11, .15); }
}
@media (max-width: 760px) {
  .teasers__grid { grid-template-columns: 1fr; }
  .teasers__grid li a { padding-left: 0 !important; border-left: 0 !important; }
  .teasers__grid li + li a { border-top: 1px solid rgba(15, 13, 11, .15); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
.preview-banner { margin: 0 0 24px; padding: 12px 16px; border: 1px dashed var(--brass); color: var(--brass-hi);
  font: 500 12px/1.5 var(--mono); letter-spacing: .06em; background: rgba(196, 154, 76, .08); }

/* ADMIN PREVIEW (shown in a frame inside the admin) */
.page-preview { padding: 28px clamp(16px, 4vw, 40px) 48px; }
.page-preview::after { display: none; } /* no film grain in the preview */
.pv-section + .pv-section { margin-top: 40px; padding-top: 28px; border-top: 1px dashed var(--line); }
.pv-label { color: var(--cream-dim); }
.pv-card { max-width: 420px; }
.pv-page.lot-page { padding: 0; min-height: 0; max-width: none; }
.page-preview a { cursor: default; }

/* FULL-SCREEN PHOTOS */
.gallery__main img { cursor: zoom-in; }
.gallery__zoom {
  position: absolute; left: 14px; bottom: 14px; width: 40px; height: 40px;
  border: 1px solid rgba(239, 230, 210, .3); border-radius: 50%; background: rgba(15, 13, 11, .55);
  color: var(--cream); font-size: 18px; line-height: 1; cursor: pointer; backdrop-filter: blur(4px); transition: background .2s;
}
.gallery__zoom:hover { background: rgba(196, 154, 76, .6); }
.no-scroll { overflow: hidden; }

.lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: #080706; color: var(--cream); }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox__stage { min-height: 0; display: flex; align-items: center; justify-content: center; padding: 64px 84px 16px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); user-select: none; }
.lightbox__count { position: absolute; left: 24px; top: 22px; margin: 0; color: var(--cream-dim); }
.lightbox__close {
  position: absolute; right: 16px; top: 12px; width: 48px; height: 48px; border: 0; background: none;
  color: var(--cream); font-size: 26px; cursor: pointer; transition: color .2s;
}
.lightbox__close:hover { color: var(--brass-hi); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px;
  border: 1px solid rgba(239, 230, 210, .25); border-radius: 50%; background: rgba(15, 13, 11, .5);
  color: var(--cream); font: 400 32px/1 var(--display); cursor: pointer; transition: background .2s;
}
.lightbox__nav:hover { background: rgba(196, 154, 76, .6); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__thumbs { list-style: none; margin: 0; padding: 10px 16px 18px; display: flex; gap: 8px; justify-content: center; overflow-x: auto; }
.lightbox__thumbs li { flex: none; width: 88px; }
.lightbox__thumbs button { display: block; width: 100%; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .5; transition: opacity .2s, border-color .2s; }
.lightbox__thumbs button:hover { opacity: .85; }
.lightbox__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--brass); }
.lightbox__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) {
  .lightbox__stage { padding: 60px 8px 8px; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 26px; top: auto; bottom: 96px; transform: none; }
  .lightbox__thumbs li { width: 64px; }
  .lightbox__thumbs { justify-content: flex-start; }
}

/* Rich-text description on the car page */
.lot-desc__body > :first-child { margin-top: 0; }
.lot-desc__body h3 { font: 500 clamp(22px, 2vw, 28px)/1.2 var(--display); color: var(--cream); margin: 1.6em 0 .5em; }
.lot-desc__body h4 { font: 500 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin: 1.8em 0 .6em; }
.lot-desc__body strong { color: var(--cream); font-weight: 600; }
.lot-desc__body ul, .lot-desc__body ol { margin: 0 0 1em; padding-left: 1.3em; }
.lot-desc__body li { margin-bottom: .35em; }
.lot-desc__body li::marker { color: var(--brass); }

/* Home: "Currently in the showroom." always on one line, sized to fit the screen */
.showroom .section-head h2 { max-width: none; white-space: nowrap; font-size: clamp(24px, 7vw, 88px); }
/* …and the line under it on one line too, wherever the screen is wide enough to read it that way */
.showroom .showroom__intro { max-width: none; }
@media (min-width: 1000px) { .showroom .showroom__intro { white-space: nowrap; } }

/* Showroom page: the intro under "Cars for sale." on one line on wide screens.
   It is ~58em long, so the size tracks the screen width (max ~20px) to fit; smaller screens wrap it normally. */
@media (min-width: 1140px) {
  .showroom-page .page-head__intro { max-width: none; white-space: nowrap; font-size: clamp(17px, 1.5vw, 19.8px); }
}

/* BANNERS on car photos (e.g. "One Owner") — top-right, stacked */
.lot__banners { position: absolute; top: 14px; right: 14px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; max-width: 70%; }
.lot__banner {
  font: 500 10px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-align: right;
  padding: 7px 10px; color: var(--brass-hi); background: rgba(15, 13, 11, .72); border: 1px solid var(--brass);
  backdrop-filter: blur(4px); box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.lot--sold .lot__banner { opacity: .7; }
.gallery__main .lot__banners { top: 16px; right: 16px; }
.gallery__main .lot__banner { font-size: 11px; padding: 8px 12px; }
.lot__img--none .lot__banners { top: 14px; }

/* Features on the car page (checklist) */
.lot-feats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 28px; }
.lot-feats__list li { display: flex; align-items: baseline; gap: 12px; color: var(--cream); }
.lot-feats__list li::before { content: "✓"; color: var(--brass); font-weight: 600; flex: none; }
/* Space the left-column sections with margins (not grid gaps) so an empty Features section leaves no extra gap */
.lot-page__grid { row-gap: 0; }
.lot-page__grid .lot-feats, .lot-page__grid .lot-desc { margin-top: clamp(36px, 4vw, 56px); }
@media (max-width: 960px) { .lot-page__grid .lot-info { margin-top: clamp(28px, 5vw, 48px); } }

/* SELL YOUR CAR — form */
.sell-form-section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--gutter); scroll-margin-top: 70px; }
.sell-form__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.sell-form__head h2 { font-size: clamp(40px, 5.5vw, 76px); margin-bottom: 1.2rem; }
.sell-form__head > p:not(.label) { color: var(--cream-dim); margin: 0; }
.sell-form { max-width: 920px; background: var(--ink-2); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.sell-form fieldset { border: 0; padding: 0; margin: 0 0 clamp(28px, 4vw, 40px); min-width: 0; }
.sell-form legend { margin-bottom: 18px; padding: 0; }
.sell-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; }
.sell-grid__full { grid-column: 1 / -1; }
.sell-form .field label small, .sell-photos__label small { text-transform: none; letter-spacing: 0; color: var(--cream-dim); font: italic 400 13px var(--body); margin-left: 6px; }
.sell-form__note { font-size: .88em; color: var(--cream-dim); margin: 6px 0 0; }
.sell-form__privacy { font-size: .88em; color: var(--cream-dim); margin: 0 0 18px; }
.sell-form__submit { min-width: 220px; }
.sell-form .field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c49a4c' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.sell-photos__label { display: block; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 12px; }
.sell-photos { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.sell-photos:empty { display: none; }
.sell-photos li { position: relative; }
.sell-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.sell-photos button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(15, 13, 11, .8); color: var(--cream); font-size: 13px; }
.sell-photos button:hover { background: var(--red); }
.sell-drop { display: flex; align-items: baseline; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 26px 16px; cursor: pointer;
  border: 1px dashed rgba(239, 230, 210, .3); color: var(--cream-dim); transition: .2s; }
.sell-drop strong { color: var(--brass-hi); font-weight: 500; }
.sell-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sell-drop:hover, .sell-drop.is-over { border-color: var(--brass); background: rgba(196, 154, 76, .06); }
.sell-drop:focus-within { outline: 2px solid var(--brass-hi); outline-offset: 2px; }
.sell-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sell-done { max-width: 920px; padding: clamp(32px, 5vw, 56px); border: 1px solid var(--brass); background: var(--ink-2); }
.sell-done:focus { outline: none; }
.sell-done h2 { font-size: clamp(34px, 4.5vw, 56px); margin-bottom: 1rem; }
.sell-done p:not(.label) { color: var(--cream-dim); margin: 0; }
.sell-done a { color: var(--brass-hi); }
@media (max-width: 640px) { .sell-grid { grid-template-columns: 1fr; } .sell-form__submit { width: 100%; } }

/* Sell form: narrower and centred on big screens */
.sell-form-section { max-width: 820px; }
.sell-form__head { margin-left: auto; margin-right: auto; text-align: center; max-width: 620px; }
.sell-form, .sell-done { max-width: 760px; margin-left: auto; margin-right: auto; }
.sell-form__submit { display: flex; margin: 0 auto; min-width: 260px; }
.sell-form__privacy { text-align: center; }
.sell-form .form__note { text-align: center; }

/* Contact form: optional label + thank-you panel */
.field label small { text-transform: none; letter-spacing: 0; font: italic 400 13px var(--body); color: var(--cream-dim); margin-left: 6px; }
.contact-done { align-self: start; border-color: var(--brass); }
.contact-done:focus { outline: none; }
.contact-done h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 1rem; }
.contact-done p:not(.label) { color: var(--cream-dim); margin: 0; }
.contact-done a { color: var(--brass-hi); }
