/* Nicolas Motors — public site
   Concept: "the plinth". Like the logo, every car is an object on a dark plinth,
   lit by a warm raking light from the right. Brushed gold is reserved for what matters. */

:root {
  --bg: #0f0b07;
  --bg-2: #16100a;
  --bg-3: #1f170e;
  --line: rgba(201, 160, 74, 0.18);
  --line-2: rgba(201, 160, 74, 0.32);
  --gold: #c9a04a;
  --gold-hi: #f1d78f;
  --gold-lo: #7a5a1e;
  --ivory: #efe6d2;
  --mute: #a8987c;
  --amber: #b8731a;
  --ok: #8fbf7a;
  --err: #e08a6d;

  --display: 'Cinzel', 'Trajan Pro', 'GFS Baskerville', 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Mrs Saint Delafield', 'Brush Script MT', cursive;

  --gilt: linear-gradient(100deg, #8a6424 0%, #d9b665 22%, #f6e2a6 34%, #c9a04a 48%, #8f6a27 66%, #e2c27a 84%, #a37c33 100%);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ivory);
  font: 400 17px/1.6 var(--sans); font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--bg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--mute); }
.small { font-size: 14px; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Type ---------- */
.h1, .h2, .h3, .hero-h, .vd-title, .spotlight-model, .placard-model, .svc-t, .foot-h {
  font-family: var(--display); font-weight: 500; letter-spacing: 0.04em; line-height: 1.1; margin: 0;
}
.h1 { font-size: clamp(34px, 5.2vw, 64px); }
.h2 { font-size: clamp(26px, 3.4vw, 42px); }
.h3 { font-size: clamp(19px, 1.8vw, 23px); }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: #d9ccb1; max-width: 60ch; line-height: 1.6; font-weight: 300; }
.gilt {
  background: var(--gilt); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s var(--ease) infinite;
}
@keyframes sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

.link-gold { color: var(--gold); font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.link-gold:hover { color: var(--gold-hi); border-color: var(--gold-hi); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--b);
  font-weight: 500; font-size: 15px; letter-spacing: .02em; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-gold { background: var(--gilt); background-size: 200% 100%; color: #1a1209; border-color: transparent; box-shadow: 0 8px 30px -12px rgba(201, 160, 74, .6); }
.btn-gold:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 14px 36px -12px rgba(241, 215, 143, .65); }
.btn-ghost { background: rgba(15, 11, 7, .4); color: var(--ivory); border-color: var(--line-2); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn:active { transform: translateY(1px) scale(.99); }
.round {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(15, 11, 7, .55);
  display: inline-grid; place-items: center; cursor: pointer; color: var(--ivory); transition: border-color .2s, color .2s;
}
.round svg { width: 20px; height: 20px; }
.round:hover { border-color: var(--gold); color: var(--gold-hi); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  transition: background .35s, border-color .35s, height .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(15, 11, 7, .82); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 30px; height: auto; mix-blend-mode: screen; }
.brand-word { font-family: var(--display); font-size: 17px; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); }
.brand-word em { font-style: normal; color: var(--gold); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 15px; color: #d8cbb0; position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ivory); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-size: 15px; color: var(--gold); font-variant-numeric: tabular-nums; }
.nav-toggle { display: none; }
@media (max-width: 1020px) {
  .nav-phone { display: none; }
  .nav-links { gap: 20px; }
}
@media (max-width: 1020px) {
  .nav { gap: 12px; height: 66px; background: var(--bg); border-color: var(--line); }
  .nav.is-solid { height: 66px; }
  .nav-actions { margin-left: auto; gap: 10px; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  }
  .nav-toggle span:not(.sr) { width: 18px; height: 1.5px; background: var(--ivory); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 66px 0 0; z-index: -1; flex-direction: column; justify-content: center; gap: 8px; padding: 0 28px;
    background: radial-gradient(120% 80% at 100% 30%, rgba(184, 115, 26, .22), transparent 60%), var(--bg);
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav-links a { font-family: var(--display); font-size: 30px; letter-spacing: .05em; color: var(--ivory); padding: 10px 0; }
  .nav.is-open .nav-links { opacity: 1; pointer-events: auto; }
  .nav.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); border-color: var(--line); }
  .nav .btn-sm span { display: none; }
  .nav .btn-sm { padding: 0; width: 44px; min-height: 44px; }
  .brand-word { font-size: 15px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; background: var(--bg); }

/* Slideshow of the actual cars, graded warm and dark so it sits inside the black-and-gold brand */
.hero-slides { position: absolute; top: 0; bottom: 0; right: 0; left: 26%; z-index: -3; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); overflow: hidden; }
.hero-slide.is-on { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; background-size: cover;
  filter: saturate(.95) contrast(1.04) brightness(.9);
  transform: scale(1.06); transform-origin: 65% 60%;
}
.hero-slide.is-on img { animation: drift 14s cubic-bezier(.2, .6, .3, 1) forwards; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 26%, rgba(15, 11, 7, .7) 36%, rgba(15, 11, 7, .2) 52%, rgba(15, 11, 7, .05) 100%),
    linear-gradient(180deg, rgba(15, 11, 7, .75) 0%, transparent 22%, transparent 62%, var(--bg) 100%),
    radial-gradient(60% 70% at 85% 35%, rgba(184, 115, 26, .28), transparent 65%);
}
.hero-shade::after { /* fine gold hairline at the base, like the edge of a plinth */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 160, 74, .45) 50%, transparent);
}
.hero-copy { align-self: center; padding-top: 130px; padding-bottom: 30px; }
.hero-h { font-size: clamp(44px, 7.4vw, 108px); line-height: .98; letter-spacing: .02em; max-width: 7.2em; font-weight: 500; }
.hero-h .gilt { display: inline; }
.hero-p { max-width: 44ch; margin: 28px 0 36px; font-size: clamp(17px, 1.4vw, 19px); color: #e2d6bc; font-weight: 300; text-shadow: 0 1px 20px rgba(0, 0, 0, .5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-bottom: 36px; padding-top: 20px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 36px; font-size: 14px; color: #bfb091; }
.hero-meta p { margin: 0; display: flex; align-items: center; gap: 8px; }
.hero-meta strong { color: var(--gold-hi); font-family: var(--display); font-size: 22px; font-weight: 500; }
.hero-meta svg { width: 16px; height: 16px; color: var(--gold); }
.hero-meta a:hover { color: var(--ivory); }

/* "In the showroom" placard that follows the slideshow */
.hero-now { width: min(420px, 100%); }
.hero-cards { display: grid; }
.hero-card { flex-direction: row !important; align-items: center; gap: 16px !important; }
.hero-card-img { width: 96px; height: 72px; object-fit: cover; border-radius: 3px; flex: none; }
.hero-card-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hero-card {
  grid-area: 1 / 1; display: flex; flex-direction: column; gap: 4px; padding: 18px 22px;
  background: rgba(15, 11, 7, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); border-radius: var(--r);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .3s;
}
.hero-card.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hero-card:hover { border-color: var(--gold); }
.hero-card-k { font-size: 12px; color: var(--gold); letter-spacing: .06em; }
.hero-card-m { font-family: var(--display); font-size: 24px; letter-spacing: .04em; color: var(--ivory); line-height: 1.15; }
.hero-card-m b { font-weight: 500; color: var(--gold-hi); }
.hero-card-s { font-size: 14px; color: #bfb091; }
.hero-dots { display: flex; gap: 6px; margin-top: 12px; }
.hero-dots button { flex: 1; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.hero-dots span { display: block; width: 100%; height: 2px; background: rgba(239, 230, 210, .2); position: relative; overflow: hidden; border-radius: 2px; }
.hero-dots span::after { content: ''; position: absolute; inset: 0; background: var(--gold-hi); transform: scaleX(0); transform-origin: left; }
.hero-dots [aria-selected='true'] span::after { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.hero-dots .is-done span::after { transform: scaleX(1); }
.hero[data-paused] .hero-dots [aria-selected='true'] span::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

/* Load sequence: the one orchestrated moment */
.hero-h, .hero-p, .hero-cta, .hero-foot { opacity: 0; transform: translateY(18px); animation: rise 1.1s var(--ease) forwards; }
.hero-p { animation-delay: .25s; } .hero-cta { animation-delay: .4s; } .hero-foot { animation-delay: .65s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  /* On phones the photo sits as a full-width band at the top, so the whole car stays in frame */
  .hero-slides { top: 66px; bottom: auto; left: 0; height: 58vw; }
  .hero-slide img { object-position: 50% 55%; }
  .hero-shade {
    top: 0; bottom: auto; height: calc(66px + 58vw);
    background:
      linear-gradient(180deg, var(--bg) 0, rgba(15, 11, 7, .1) 66px, transparent 45%, rgba(15, 11, 7, .5) 75%, var(--bg) 100%),
      radial-gradient(80% 50% at 80% 20%, rgba(184, 115, 26, .2), transparent 65%);
  }
  .hero-shade::after { display: none; }
  .hero-copy { align-self: start; padding-top: calc(66px + 58vw - 10px); }
  .hero-foot { flex-direction: column-reverse; align-items: stretch; }
  .hero-now { width: 100%; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.showcase { padding: 120px 0 40px; }
.standard, .services, .process { padding: 120px 0; }
.sellband { padding: 20px 0 120px; }
.contact { padding: 120px 0; border-top: 1px solid var(--line); background: radial-gradient(70% 60% at 100% 0%, rgba(184, 115, 26, .12), transparent 60%); }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Spotlight (lead car) ---------- */
.spotlight {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); border: 1px solid var(--line); background: var(--bg-2);
  border-radius: var(--r); overflow: hidden; position: relative; isolation: isolate;
  transform-style: preserve-3d; transition: border-color .4s, transform .6s var(--ease);
}
.spotlight::before { /* light that follows the cursor */
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(241, 215, 143, .12), transparent 45%);
}
.spotlight:hover { border-color: var(--line-2); }
.spotlight:hover::before { opacity: 1; }
.spotlight-media { position: relative; min-width: 0; min-height: 420px; overflow: hidden; background: var(--bg-3); }
.spotlight-media img { position: absolute; inset: 0; }
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); background-size: cover; }
.spotlight:hover .spotlight-media img { transform: scale(1.035); }
.spotlight-info { position: relative; z-index: 1; min-width: 0; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 6px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); border-left: 1px solid var(--line); }
.spotlight-model { font-size: clamp(34px, 4vw, 56px); }
.spotlight-model span { display: block; font-size: .42em; color: var(--gold); letter-spacing: .14em; margin-top: 8px; }
.spotlight-line { color: #d9ccb1; font-weight: 300; margin: 10px 0 8px; font-size: 18px; }
.spotlight-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 18px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.spotlight-specs dt { font-size: 13px; color: var(--mute); }
.spotlight-specs dd { margin: 2px 0 0; font-size: 16px; }
.spotlight .price { font-family: var(--display); font-size: 24px; color: var(--gold-hi); margin: 4px 0 18px; }
.spotlight .btn { align-self: flex-start; }
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-media { min-height: 0; aspect-ratio: 16 / 10; }
  .spotlight-info { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Cards (placards) ---------- */
.card { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; position: relative; transition: border-color .35s, transform .5s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--bg-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; background-size: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92) brightness(.96); }
.card:hover .card-media img { transform: scale(1.045); filter: none; }
.card-media::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(15, 11, 7, .55)); pointer-events: none; }
.tag { position: absolute; z-index: 2; top: 12px; font-size: 12px; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(8px); }
.tag-reserved { left: 12px; background: rgba(184, 115, 26, .85); color: #fff6e2; }
.tag-count { right: 12px; bottom: 12px; top: auto; background: rgba(15, 11, 7, .6); color: var(--ivory); border: 1px solid rgba(239, 230, 210, .15); }
.placard { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; position: relative; }
.placard::before { /* brass plate edge */
  content: ''; position: absolute; top: 0; left: 20px; right: 20px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6;
}
.placard-make { margin: 0; font-size: 13px; color: var(--gold); letter-spacing: .08em; }
.placard-model { font-size: 25px; margin: 4px 0 14px; }
.placard-model span { font-size: .62em; color: var(--mute); letter-spacing: .08em; }
.placard-foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--mute); }
.specs li + li::before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--gold-lo); margin: 0 9px 3px; }
.price-wrap, .vd-price-wrap { display: inline-flex; align-items: center; justify-content: center; }
.price, .vd-price {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin: 0; padding: 8px 14px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(201, 160, 74, .18), rgba(201, 160, 74, .28)); border: 1px solid rgba(241, 215, 143, .45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 10px 22px -18px rgba(201, 160, 74, .8);
  font-family: var(--display); font-size: 19px; color: var(--gold-hi); white-space: nowrap; letter-spacing: .02em;
}
.price-ask { font-family: var(--sans); font-size: 14px; color: var(--gold); font-weight: 500; }
.ph-empty { display: grid; place-items: center; width: 100%; height: 100%; color: var(--mute); font-size: 14px; background: repeating-linear-gradient(135deg, var(--bg-3) 0 12px, var(--bg-2) 12px 24px); }

/* Rail */
.rail-wrap { margin-top: 26px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(380px, 80vw); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 0 20px; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.card-more { justify-content: center; align-items: flex-start; padding: 32px; gap: 10px; background: radial-gradient(80% 60% at 100% 0%, rgba(184, 115, 26, .2), transparent), var(--bg-2); min-height: 300px; }
.rail-ctrl { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Standard / values ---------- */
.standard-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.standard-lead .lede { margin: 22px 0 26px; }
.values { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }
.values > div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.values > div:nth-child(odd) { border-right: 1px solid var(--line); }
.values > div:nth-child(even) { padding-left: 24px; }
.values dt { font-family: var(--display); font-size: 19px; color: var(--gold-hi); letter-spacing: .06em; }
.values dd { margin: 6px 0 0; color: #cbbd9f; font-size: 15px; }
.values-wide { grid-template-columns: repeat(3, 1fr); }
.values-wide > div { padding-left: 24px !important; border-right: 1px solid var(--line); }
.values-wide > div:nth-child(3n + 1) { padding-left: 0 !important; }
.values-wide > div:nth-child(3n) { border-right: 0; }
@media (max-width: 860px) {
  .standard-grid { grid-template-columns: 1fr; }
  .values-wide { grid-template-columns: 1fr 1fr; }
  .values-wide > div { padding-left: 0 !important; border-right: 0; }
}
@media (max-width: 560px) {
  .values, .values-wide { grid-template-columns: 1fr; }
  .values > div { padding: 18px 0 !important; border-right: 0 !important; }
}

/* ---------- CEO letter ---------- */
.letter { padding: 130px 0; background:
  radial-gradient(50% 60% at 18% 40%, rgba(184, 115, 26, .2), transparent 70%),
  linear-gradient(180deg, var(--bg), #130e09 50%, var(--bg)); border-block: 1px solid var(--line); }
.letter-grid { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.letter-portrait { margin: 0; position: sticky; top: 110px; }
.arch {
  border-radius: 999px 999px var(--r) var(--r); overflow: hidden; padding: 8px; background: var(--gilt);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(241, 215, 143, .2);
}
.arch img { border-radius: 999px 999px 2px 2px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; filter: sepia(.12) contrast(1.04); }
.letter-portrait figcaption { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.letter-portrait strong { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: .06em; }
.letter-portrait span { color: var(--gold); font-size: 14px; }
.letter-body { max-width: 640px; }
.letter-body .h2 { margin-bottom: 34px; }
.letter-body p { font-size: 19px; line-height: 1.75; color: #ddd0b4; font-weight: 300; margin: 0 0 1.1em; }
.letter-salute { font-family: var(--display); color: var(--ivory) !important; font-size: 20px !important; letter-spacing: .04em; }
.letter-close { margin-top: 1.8em !important; }
.signature { font-family: var(--script); font-size: 76px !important; line-height: 1 !important; color: var(--gold-hi) !important; margin: 4px 0 0 !important; transform: rotate(-4deg); transform-origin: left; }
.letter-role { font-size: 14px !important; color: var(--mute) !important; }
@media (max-width: 860px) {
  .letter-grid { grid-template-columns: 1fr; }
  .letter-portrait { position: static; max-width: 280px; }
}

/* ---------- Services ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 30px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); position: relative; }
.svc::before { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--gold); transition: width .8s var(--ease); }
.svc:hover::before { width: 100%; }
.svc-t { font-size: clamp(22px, 2.2vw, 28px); }
.svc p { margin: 0; color: #cbbd9f; max-width: 52ch; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Process ---------- */
.process { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line); }
.steps::after { content: ''; position: absolute; left: 0; top: 23px; height: 1px; width: var(--progress, 0%); background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transition: width 1.8s var(--ease); }
.steps li { padding-right: 22px; position: relative; z-index: 1; }
.step-n {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2);
  font-family: var(--display); color: var(--gold-hi); font-size: 15px; margin-bottom: 22px;
}
.steps h3 { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: .05em; margin: 0 0 8px; }
.steps p { margin: 0; color: #cbbd9f; font-size: 15px; }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr 1fr; } }
.steps-v { grid-template-columns: 1fr !important; row-gap: 0 !important; }
.steps-v::before, .steps-v::after { display: none; }
.steps-v li { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; padding: 0 0 28px; }
.steps-v .step-n { grid-row: span 2; margin: 0; }
.steps-v h3 { margin-top: 10px; }

/* ---------- Sell band ---------- */
.sellband-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  padding: clamp(30px, 5vw, 60px); border: 1px solid var(--line-2); border-radius: var(--r);
  background: radial-gradient(60% 120% at 100% 50%, rgba(184, 115, 26, .25), transparent 70%), var(--bg-2);
}
.sellband .lede { margin: 12px 0 0; }
.sellband-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Contact & forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); }
.contact-info .lede { margin: 18px 0 30px; }
.big-phone { display: inline-block; font-family: var(--display); font-size: clamp(30px, 4vw, 48px); letter-spacing: .03em; color: var(--gold-hi); margin-bottom: 26px; font-variant-numeric: lining-nums; }
.big-phone:hover { color: var(--ivory); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; color: #d9ccb1; }
.contact-list a:hover { color: var(--ivory); }
.contact-list svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.contact-map { margin-top: 72px; }
.contact-map h3 { margin-bottom: 18px; }
.contact-map iframe { display: block; width: 100%; height: clamp(280px, 48vw, 450px); border: 0; filter: grayscale(.2) contrast(.95); }
.form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); }
.form .h3 { margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: #cbbd9f; }
.field.full { grid-column: 1 / -1; }
.field em { font-style: normal; color: var(--mute); opacity: .75; font-size: 13px; }
.phone-wrap { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; }
.phone-code, .phone-number {
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); padding: 13px 14px; font-size: 16px; color: var(--ivory);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.phone-code {
  appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px;
}
.phone-number { min-width: 0; }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); padding: 13px 14px; font-size: 16px; color: var(--ivory);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 160, 74, .18); }
.field input::placeholder, .field textarea::placeholder { color: #6f6350; }
.field.invalid input, .field.invalid textarea { border-color: var(--err); }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.form-msg { margin: 0; font-size: 15px; }
.form-msg.ok { color: var(--ok); } .form-msg.err { color: var(--err); }
.form.is-sent .form-grid, .form.is-sent .seg { opacity: .4; pointer-events: none; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 16px; border-radius: 999px; font-size: 14px; cursor: pointer; color: #cbbd9f; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--gold); color: #1a1209; }
.seg input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Page heads ---------- */
.page-head { padding: 150px 0 40px; background: radial-gradient(60% 90% at 100% 0%, rgba(184, 115, 26, .2), transparent 65%); }
.page-head .lede { margin: 18px 0 0; }
.nf { min-height: 70vh; } .nf .btn { margin: 24px 10px 0 0; }

/* Finder (natural-language search) */
.finder { margin-top: 36px; }
.finder-ask {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 22px; border-radius: 999px; border: 1px solid var(--line-2);
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(100deg, var(--gold-lo), var(--gold-hi), var(--gold-lo)) border-box;
  border-color: transparent; max-width: 760px; box-shadow: 0 20px 50px -30px rgba(201, 160, 74, .5);
}
.finder-ask input { flex: 1; min-width: 0; background: none; border: 0; font-size: 17px; padding: 10px 0; color: var(--ivory); }
.finder-ask input:focus { outline: none; }
.finder-ask input::placeholder { color: #7f725c; }
.finder-read { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 14px; }
.chip { padding: 5px 12px; border-radius: 999px; background: rgba(201, 160, 74, .14); border: 1px solid var(--line-2); color: var(--gold-hi); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.filters label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--mute); }
.filters select {
  min-width: 170px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 36px 10px 16px; font-size: 15px; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
@media (max-width: 560px) { .filters label { flex: 1 1 45%; } .filters select { min-width: 0; width: 100%; } .finder-ask .btn { padding: 0 14px; } }

.inv { padding-top: 20px; padding-bottom: 120px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.grid .card { content-visibility: auto; contain-intrinsic-size: 340px 440px; }
.more { display: flex; justify-content: center; margin-top: 48px; }
.empty { padding: 60px 0; max-width: 620px; }
.empty .btn { margin: 10px 10px 0 0; }

/* Tabs */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-bottom: 30px; border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.tabs a { padding: 9px 18px; border-radius: 999px; font-size: 15px; color: #cbbd9f; }
.tabs a[aria-current] { background: var(--gold); color: #1a1209; }
.sell-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); padding-top: 30px; padding-bottom: 120px; }
.sell-grid .muted { margin-top: 18px; }
.sell-grid .muted a { color: var(--gold); }
@media (max-width: 860px) { .sell-grid { grid-template-columns: 1fr; } }

/* About */
.about-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.about-hero .btn { margin-top: 28px; }
.about-logo { mix-blend-mode: screen; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent); mask-image: radial-gradient(closest-side, #000 62%, transparent); }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); padding-top: 60px; padding-bottom: 110px; }
.about-cols p { color: #d2c5a9; font-size: 18px; font-weight: 300; line-height: 1.75; }
.about-cols .h2 { margin-bottom: 18px; }
.why { padding-top: 110px; padding-bottom: 40px; }
.quote-end { padding-top: 40px; padding-bottom: 140px; }
.quote { font-family: var(--display); font-size: clamp(26px, 3.6vw, 46px); line-height: 1.25; max-width: 24em; margin: 0; letter-spacing: .02em; }
@media (max-width: 860px) { .about-hero, .about-cols { grid-template-columns: 1fr; } .about-logo { max-width: 300px; } }

/* ---------- Vehicle detail ---------- */
.vd { padding-top: 100px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--mute); padding: 10px 0 18px; }
.crumbs a { color: var(--gold); }
.vd-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.stage { position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.stage-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 4 / 3; }
.stage-img { width: 100%; height: 100%; object-fit: cover; background-size: cover; transition: opacity .35s; }
.stage-img.is-swapping { opacity: .25; }
.stage-expand { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(15, 11, 7, .6); backdrop-filter: blur(8px); color: var(--ivory); }
.stage-expand svg { width: 18px; }
.stage .tag-reserved { font-size: 14px; padding: 7px 14px; }
.thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: 104px; gap: 10px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--gold-lo) transparent; padding-bottom: 6px; }
.thumbs button { padding: 0; border: 1px solid transparent; border-radius: 3px; overflow: hidden; cursor: pointer; background: var(--bg-3); aspect-ratio: 4 / 3; width: 100%; opacity: .55; transition: opacity .25s, border-color .25s; }
.thumbs button:hover { opacity: .9; }
.thumbs button[aria-current='true'] { opacity: 1; border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vd-sticky { position: sticky; top: 92px; }
.vd-title { font-size: clamp(38px, 4.4vw, 60px); margin: 4px 0 0; }
.vd-title span { display: block; font-size: .4em; color: var(--gold); letter-spacing: .14em; margin-top: 10px; }
.vd-headline { color: #d9ccb1; font-weight: 300; font-size: 19px; margin: 16px 0 0; }
.vd-price { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin: 18px 0 22px; padding: 10px 18px; border-radius: 999px; background: linear-gradient(135deg, rgba(201, 160, 74, .16), rgba(201, 160, 74, .28)); border: 1px solid rgba(241, 215, 143, .45); box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 16px 28px -22px rgba(201, 160, 74, .86); font-family: var(--display); font-size: 32px; color: var(--gold-hi); }
.vd-price.price-ask { font-size: 22px; color: var(--gold); }
.vd-actions { display: grid; gap: 10px; }
.vd-actions .btn { width: 100%; }
.vd-specs { display: grid; grid-template-columns: 1fr 1fr; margin: 26px 0 0; border-top: 1px solid var(--line); }
.vd-specs > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.vd-specs > div:nth-child(odd) { padding-right: 14px; }
.vd-specs dt { font-size: 13px; color: var(--mute); }
.vd-specs dd { margin: 2px 0 0; font-size: 16px; }
.vd-source { display: flex; gap: 10px; align-items: center; color: var(--gold-hi); font-size: 15px; margin: 18px 0 0; }
.vd-source svg, .feat svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.vd-more { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr); gap: clamp(24px, 4vw, 56px); padding-top: 80px; padding-bottom: 80px; align-items: start; }
.vd-desc p { font-size: 18px; color: #d9ccb1; font-weight: 300; line-height: 1.75; max-width: 64ch; }
.vd-desc .h3 { margin: 0 0 16px; }
.vd-desc .h3 + p { margin-top: 0; }
.vd-desc p + .h3 { margin-top: 44px; }
.feat { list-style: none; padding: 0; margin: 0; columns: 2 260px; column-gap: 30px; }
.feat li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-size: 16px; color: #e3d7bd; }
.similar { padding-bottom: 120px; }
.vd-bar { display: none; }
@media (max-width: 1000px) {
  .vd-grid, .vd-more { grid-template-columns: minmax(0, 1fr); }
  .vd-sticky { position: static; }
  .vd-more { padding-top: 50px; }
  .vd-bar {
    display: flex; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(22, 16, 10, .9); backdrop-filter: blur(14px); border: 1px solid var(--line-2);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .vd-bar.is-on { transform: none; }
  .vd-bar p { margin: 0; display: flex; flex-direction: column; line-height: 1.25; font-size: 14px; }
  .vd-bar strong { font-family: var(--display); font-weight: 500; font-size: 16px; }
  .vd-bar span { color: var(--gold); }
  body:has(.vd-bar) .fab { display: none; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8, 6, 4, .96); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 2px; transition: opacity .25s; }
.lb-close { position: absolute; top: 18px; right: 18px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--mute); font-size: 14px; margin: 0; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); background: #0b0805; padding: 80px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { width: 170px; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent); mask-image: radial-gradient(closest-side, #000 60%, transparent); margin-top: -30px; }
.foot-h { font-size: 15px; color: var(--gold); letter-spacing: .1em; margin-bottom: 14px; }
.foot p { margin: 0 0 8px; color: #cbbd9f; font-size: 15px; }
.foot a:hover { color: var(--ivory); }
.socials { display: flex; gap: 12px; margin-top: 14px !important; }
.socials svg { width: 20px; height: 20px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-base p { font-size: 13px; color: var(--mute); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gilt); background-size: 200%; color: #1a1209; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .7), 0 0 0 1px rgba(241, 215, 143, .3);
  transform: scale(0); transition: transform .5s var(--ease);
}
.fab.is-on { transform: scale(1); }
.fab svg { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Make / model: the brand leads (Kia), the model follows (Sportage) ---------- */
.brand-title { margin: 0 0 14px; font-family: var(--display); font-weight: 500; line-height: 1.05; display: flex; flex-direction: column; gap: 6px; }
.bt-make { font-size: 27px; letter-spacing: .05em; color: var(--ivory); }
.bt-model { font-size: 15px; letter-spacing: .14em; color: var(--gold); }
.bt-model small { font-size: 1em; color: var(--mute); letter-spacing: .1em; }
.brand-title-lg .bt-make { font-size: clamp(38px, 4.4vw, 62px); }
.brand-title-lg .bt-model { font-size: clamp(17px, 1.6vw, 22px); }
.brand-title-lg { margin: 0 0 4px; gap: 10px; }
.brand-title-xl .bt-make { font-size: clamp(40px, 4.8vw, 66px); }
.brand-title-xl .bt-model { font-size: clamp(17px, 1.7vw, 23px); }
.brand-title-xl { margin: 0; gap: 10px; }
.hero-card-m { font-size: 25px !important; color: var(--ivory); }
.hero-card-mm { font-family: var(--display); font-size: 14px; letter-spacing: .14em; color: var(--gold-hi); }

/* Covers are front shots (portrait): frame the car, not the sky */
.card-media img, .spotlight-media img, .hero-card-img, .stage-img { object-position: 50% 72%; }
