/* Car Kultur
   Palette from the studio itself: polished concrete floor, graphite walls,
   and UK rear-plate yellow reserved for prices. */
:root {
  --concrete: #e3e2df;
  --paper: #f7f7f5;
  --graphite: #1d1f21;
  --graphite-2: #2a2d30;
  --steel: #565b60;
  --plate: #f7c824;
  --line: rgba(29, 31, 33, .14);
  --line-dark: rgba(255, 255, 255, .16);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4vw, 2.75rem);
  --step-4: clamp(2.75rem, 7vw, 5.25rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--concrete);
  color: var(--graphite);
  font: 400 var(--step-0)/1.55 var(--font);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--plate); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--plate); color: var(--graphite); padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--graphite); color: #fff;
  border-bottom: 1px solid var(--line-dark);
}
.top-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.wordmark {
  text-decoration: none; display: grid;
  grid-template-columns: auto auto; column-gap: .14em;
  font-size: 1.6rem; line-height: 1; letter-spacing: -.01em;
}
.wm-car { font-weight: 800; }
.wm-kultur { font-weight: 200; }
.wm-tag {
  grid-column: 1 / -1; justify-self: end;
  font-size: .6875rem; font-weight: 400; letter-spacing: .04em;
  color: rgba(255,255,255,.6); margin-top: 3px;
}
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a, .top-phone { text-decoration: none; font-weight: 500; font-size: var(--step--1); color: rgba(255,255,255,.82); }
.nav a:hover, .top-phone:hover { color: #fff; }
.top-phone {
  font-variant-numeric: tabular-nums; color: #fff;
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 8px 16px;
}
.top-phone:hover { border-color: #fff; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: var(--step--1); text-decoration: none;
  border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-light { background: #fff; color: var(--graphite); }
.btn-light:hover { background: var(--plate); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-dark { background: var(--graphite); color: #fff; }
.btn-dark:hover { background: var(--graphite-2); }

/* ---------- Number-plate price ---------- */
.plate {
  display: inline-block;
  background: var(--plate); color: #111214;
  font-weight: 700; font-variation-settings: "wdth" 88;
  font-size: var(--step-1); line-height: 1; letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  padding: 9px 14px 8px; border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px rgba(17,18,20,.85);
  white-space: nowrap;
}
.plate-reserved { background: #d9d8d4; color: var(--steel); box-shadow: inset 0 0 0 1.5px rgba(17,18,20,.25); }
.tag {
  display: inline-block; font-size: .8125rem; font-weight: 600;
  color: var(--graphite); background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 10px;
}

/* ---------- Hero ---------- */
.hero { background: var(--graphite); color: #fff; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(48px, 8vw, 104px);
}
.hero h1 {
  font-size: var(--step-4); font-weight: 800;
  font-variation-settings: "wdth" 72;
  letter-spacing: -.015em; line-height: .96;
  max-width: 11ch; text-wrap: balance;
}
.lede { margin-top: 24px; max-width: 46ch; color: rgba(255,255,255,.78); }
.hero .actions { margin-top: 32px; }
.hero-hours { margin-top: 20px; font-size: var(--step--1); color: rgba(255,255,255,.6); }

.hero-car { margin: 0; position: relative; }
.hero-car img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius);
}
.hero-car figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 14px; font-size: var(--step--1); color: rgba(255,255,255,.75);
}
.hero-car figcaption a { text-decoration: none; }
.hero-car figcaption a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-car .plate { font-size: 1.0625rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-car img { animation: reveal 1.1s cubic-bezier(.2,.7,.1,1) .1s both; }
  .hero-car figcaption { animation: fade .6s ease .9s both; }
  @keyframes reveal { from { clip-path: inset(0 0 0 100% round var(--radius)); } to { clip-path: inset(0 0 0 0 round var(--radius)); } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- Stock board ---------- */
.stock { padding: clamp(56px, 8vw, 96px) 0; }
.stock-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: 28px; }
.stock h2 {
  font-size: var(--step-3); font-weight: 800; font-variation-settings: "wdth" 72;
  display: flex; align-items: baseline; gap: 14px;
}
.count { font-size: var(--step-0); font-weight: 400; font-variation-settings: "wdth" 100; color: var(--steel); }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 500 var(--step--1)/1 var(--font); color: var(--graphite);
  background: transparent; border: 1px solid rgba(29,31,33,.3);
  border-radius: 999px; padding: 10px 16px; min-height: 40px; cursor: pointer;
}
.chip:hover { border-color: var(--graphite); }
.chip[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.sort { display: flex; align-items: center; gap: 10px; font-size: var(--step--1); color: var(--steel); }
.sort select {
  font: 500 var(--step--1) var(--font); color: var(--graphite);
  background: var(--paper); border: 1px solid rgba(29,31,33,.3); border-radius: 8px;
  padding: 9px 12px; min-height: 40px;
}

.cars { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.car {
  position: relative;
  display: grid; grid-template-columns: 216px minmax(0, 1fr) auto;
  gap: 8px 28px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.car[hidden] { display: none; }
.car::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -0.5);
  background: var(--paper); border-radius: var(--radius);
  opacity: 0; transition: opacity .15s; z-index: -1;
}
.car:hover::before, .car:focus-within::before { opacity: 1; }
.car-img { width: 216px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: #cfcdc9; }
.car-name { font-size: var(--step-2); font-weight: 800; font-variation-settings: "wdth" 78; letter-spacing: -.005em; }
.car-name .make { font-weight: 250; }
.car-link { text-decoration: none; }
.car-link::after { content: ""; position: absolute; inset: 0; }
.car-link:focus-visible { outline: none; }
.car:has(.car-link:focus-visible) { outline: 3px solid var(--graphite); outline-offset: 2px; border-radius: var(--radius); }
.car-deriv { margin-top: 6px; font-size: var(--step--1); color: var(--steel); max-width: 62ch; }
.car-facts { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--step--1); font-weight: 500; font-variant-numeric: tabular-nums; }
.car-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
.car-side .tag { margin-bottom: -4px; }
.car-ask {
  position: relative; z-index: 1;
  font-size: var(--step--1); font-weight: 500; color: var(--steel);
  text-decoration: underline; text-decoration-color: rgba(86,91,96,.4); text-underline-offset: 3px;
}
.car-ask:hover { color: var(--graphite); text-decoration-color: currentColor; }
.empty { padding: 32px 0; color: var(--steel); }

/* ---------- About ---------- */
.about { background: var(--graphite); color: #fff; padding: clamp(56px, 8vw, 104px) 0; }
.about-inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 88px); align-items: center;
}
.about-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius); }
.about h2 { font-size: var(--step-3); font-weight: 800; font-variation-settings: "wdth" 72; margin-bottom: 24px; }
.about-copy p { max-width: 54ch; color: rgba(255,255,255,.78); }
.about-copy p + p { margin-top: 16px; }
.about-copy .about-lead { font-size: var(--step-1); line-height: 1.4; color: #fff; }

/* ---------- Viewing ---------- */
.viewing { background: var(--paper); padding: clamp(56px, 8vw, 96px) 0; }
.viewing h2, .visit h2, .selling h2 { font-size: var(--step-3); font-weight: 800; font-variation-settings: "wdth" 72; }
.steps {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  counter-reset: step;
}
.steps li { counter-increment: step; border-top: 2px solid var(--graphite); padding-top: 18px; }
.steps li::before {
  content: counter(step); display: block;
  font-size: var(--step-3); font-weight: 200; font-variation-settings: "wdth" 72; line-height: 1;
  margin-bottom: 14px; color: var(--steel);
}
.steps h3 { font-size: var(--step-1); font-weight: 700; margin-bottom: 8px; }
.steps p { color: var(--steel); max-width: 34ch; }
.viewing-intro { margin-top: 16px; max-width: 60ch; color: var(--steel); }
.viewing-px { margin-top: 40px; font-weight: 500; }

/* ---------- Selling ---------- */
.selling { background: var(--graphite); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.selling-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 64px; align-items: end; }
.selling p { margin-top: 16px; max-width: 52ch; color: rgba(255,255,255,.78); }

/* ---------- Visit ---------- */
.visit { padding: clamp(56px, 8vw, 96px) 0; }
.visit-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px 56px; }
.visit h3 { font-size: var(--step-0); font-weight: 700; margin-bottom: 14px; }
address { font-style: normal; font-size: var(--step-1); line-height: 1.4; margin-top: 20px; }
.note { margin-top: 16px; color: var(--steel); max-width: 36ch; }
.visit .actions { margin-top: 24px; }
.hours { border-collapse: collapse; width: 100%; max-width: 300px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { font-weight: 700; }
.hours tr.today th::after { content: " (today)"; font-weight: 400; color: var(--steel); }
.visit-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.visit-contact a { text-decoration-color: rgba(29,31,33,.35); text-underline-offset: 3px; }
.visit-contact a:hover { text-decoration-color: currentColor; }

/* ---------- Vehicle page ---------- */
.vehicle { padding: 28px 0 clamp(56px, 8vw, 96px); }
.v-back { display: inline-block; font-size: var(--step--1); font-weight: 500; color: var(--steel); text-underline-offset: 3px; margin-bottom: 20px; }
.v-back:hover { color: var(--graphite); }
.v-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.v-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: #cfcdc9; }
.v-thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.v-thumb { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 5px; background: none; cursor: pointer; overflow: hidden; }
.v-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.v-thumb[aria-current="true"] { border-color: var(--graphite); }
.v-panel { position: sticky; top: 92px; }
.v-name { font-size: var(--step-3); font-weight: 800; font-variation-settings: "wdth" 72; line-height: 1; }
.v-name .make { font-weight: 250; }
.v-deriv { margin-top: 10px; color: var(--steel); }
.v-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; }
.v-price .plate { font-size: var(--step-2); padding: 10px 16px 9px; }
.v-monthly { font-size: var(--step--1); color: var(--steel); }
.v-spec { display: grid; grid-template-columns: 1fr 1fr; margin: 26px 0 0; border-top: 1px solid var(--line); }
.v-spec div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.v-spec div:nth-child(odd) { padding-right: 16px; }
.v-spec dt { font-size: .8125rem; color: var(--steel); }
.v-spec dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.v-actions { display: grid; gap: 10px; margin-top: 26px; }
.btn-outline { color: var(--graphite); border-color: rgba(29,31,33,.35); }
.btn-outline:hover { border-color: var(--graphite); background: var(--paper); }
.v-note { margin-top: 16px; font-size: var(--step--1); color: var(--steel); max-width: 44ch; }
.v-section { margin-top: clamp(48px, 6vw, 72px); max-width: 72ch; }
.v-section h2 { font-size: var(--step-2); font-weight: 800; font-variation-settings: "wdth" 72; margin-bottom: 16px; }
.v-desc p + p { margin-top: 14px; }
.v-feat { border-top: 1px solid var(--line); padding: 14px 0; }
.v-feat summary { cursor: pointer; font-weight: 600; }
.v-feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px 32px; margin-top: 16px; }
.v-feat-cat h4 { margin: 0 0 6px; font-size: var(--step--1); }
.v-feat-cat ul { margin: 0; padding-left: 18px; font-size: var(--step--1); color: var(--steel); }
@media (max-width: 860px) {
  .v-grid { grid-template-columns: 1fr; }
  .v-panel { position: static; }
}

/* ---------- Footer ---------- */
.foot { background: var(--graphite); color: rgba(255,255,255,.65); font-size: var(--step--1); padding: 28px 0; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot-links { display: flex; gap: 24px; align-items: center; }
.foot a { color: rgba(255,255,255,.8); text-decoration: none; }
.foot a:hover { color: #fff; }
.made-by { display: inline-flex; align-items: center; gap: 8px; }
.made-by img { border-radius: 4px; }
.made-by span { color: #fff; font-weight: 600; }

.callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .visit-inner { grid-template-columns: 1fr 1fr; }
  .visit-where { grid-column: 1 / -1; }
  .car { grid-template-columns: 168px minmax(0, 1fr) auto; gap: 8px 20px; }
  .car-img { width: 168px; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .top-inner { height: 60px; justify-content: space-between; }
  .wordmark { font-size: 1.35rem; }
  html { scroll-padding-top: 68px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { max-width: 11ch; }

  .stock-head { align-items: start; flex-direction: column; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; max-width: 100vw; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .controls { width: 100%; }

  .cars { border-top: 0; display: grid; gap: 28px; }
  .car {
    grid-template-columns: 1fr; padding: 0 0 24px; gap: 0;
  }
  .car::before { display: none; }
  .car-img { width: 100%; border-radius: var(--radius); margin-bottom: 16px; }
  .car-side { flex-direction: row-reverse; justify-content: space-between; align-items: center; margin-top: 16px; }
  .car-side .tag { margin: 0; }
  .car-name { font-size: 1.625rem; }

  .about-inner { grid-template-columns: 1fr; }
  .about-img { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .selling-inner { grid-template-columns: 1fr; }
  .visit-inner { grid-template-columns: 1fr; }

  body { padding-bottom: 64px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--graphite); border-top: 1px solid var(--line-dark);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; min-height: 48px;
    border-radius: 999px; text-decoration: none; font-weight: 600; color: #fff;
    border: 1px solid rgba(255,255,255,.4);
  }
  .callbar a:last-child { background: #fff; color: var(--graphite); border-color: #fff; }
}

@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .hero-car img { animation-name: fade; }
}
.v-attention { margin-top: 12px; font-weight: 600; }
.v-extras { margin: 12px 0 0; padding-left: 18px; font-size: var(--step--1); color: var(--steel); columns: 2 220px; }
