:root {
  --ink: #0f172a;
  --paper: #ffffff;
  --mist: #f8fafc;
  --muted: #64748b;
  --line: #e5e7eb;
  --accent-blue: #2563eb;
  --accent-blue-dark: #1d4ed8;
  --green: #2f5e55;
  --night: #111820;
  --night-2: #1f2930;
  --shadow: 0 22px 70px rgba(8, 12, 16, .14);
  --site-max-width: 1560px;
  --site-edge: 32px;
  --heading-weight: 700;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body.nav-open, body.gallery-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: var(--heading-weight); line-height: 1; letter-spacing: 0; text-shadow: none; }
h1 { font-size: clamp(46px, 7.5vw, 96px); max-width: 920px; }
h2 { font-size: clamp(30px, 4vw, 54px); }
h3 { font-size: 23px; }
p { color: var(--muted); line-height: 1.7; }

.container { width: min(var(--site-max-width), calc(100% - var(--site-edge))); margin: 0 auto; }
.container--stock { width: min(var(--site-max-width), calc(100% - var(--site-edge))); }
.topbar { background: var(--night); color: rgba(255,255,255,.78); font-size: 13px; }
.topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(16,17,19,.08); backdrop-filter: blur(18px); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand__mark { width: 42px; height: 42px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 800; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; text-transform: uppercase; letter-spacing: .08em; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #34383b; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.nav-links a:hover { color: var(--accent-blue-dark); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--paper); min-height: 40px; padding: 0 14px; font: inherit; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.hero { position: relative; min-height: clamp(620px, 82vh, 820px); display: grid; align-items: end; overflow: hidden; background: var(--night); color: var(--paper); }
.hero__media, .hero__overlay { position: absolute; inset: 0; }
.hero__media {
  background-image:
    linear-gradient(90deg, rgba(5, 10, 18, .78), rgba(5, 10, 18, .34) 38%, rgba(5, 10, 18, .06) 72%),
    url("images/hero-porsche.jpg");
  background-size: cover;
  background-position: center 48%;
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__video:empty { display: none; }
.hero__overlay { background: linear-gradient(180deg, rgba(5,10,18,0), rgba(5,10,18,.12) 58%, rgba(5,10,18,.58)); }
.hero__content { position: relative; z-index: 1; padding: 84px 0; }
.hero__content h1 { max-width: 620px; font-size: clamp(46px, 5.5vw, 78px); line-height: .98; }
.hero__text { max-width: 520px; color: rgba(255,255,255,.82); font-size: 19px; }
.kicker { color: var(--accent-blue); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: #1d4ed8; color: #ffffff; border-color: #1d4ed8; }
.button--primary:hover { background: #2563eb; border-color: #2563eb; }
.button--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button--ghost { background: rgba(255,255,255,.08); color: var(--paper); border-color: rgba(255,255,255,.38); }
.text-link { color: var(--accent-blue-dark); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }

.section { padding: 78px 0; }
.section--soft { background: var(--mist); }
.section-head, .split-intro, .enquiry-band { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.split-intro p, .section-head p { max-width: 570px; }
.stock-showcase { padding: 52px 0 64px; }
.stock-showcase__head {
  align-items: center;
  margin-bottom: 14px;
}
.stock-showcase__title {
  color: var(--accent-blue-dark);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: var(--heading-weight);
  line-height: 1.02;
  margin: 0;
}
.dealer-intro-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  margin-top: 42px;
  padding: 28px;
}
.dealer-intro-card h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.06;
  margin: 0;
}
.dealer-intro-card p:last-child {
  margin: 0;
}
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; margin-top: 30px; }
.vehicle-grid--carousel {
  display: flex;
  gap: 24px;
  margin-top: 0;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.vehicle-grid--carousel::-webkit-scrollbar { display: none; }
.vehicle-grid--carousel .vehicle-card {
  flex: 0 0 min(430px, calc(100vw - 72px));
  scroll-snap-align: start;
}
.vehicle-card { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 48px rgba(15, 23, 42, .08); overflow: hidden; display: flex; flex-direction: column; border-radius: 10px; }
.vehicle-card__visual, .vehicle-gallery--empty {
  min-height: 255px;
  background:
    linear-gradient(140deg, rgba(16,17,19,.08), rgba(16,17,19,.4)),
    var(--vehicle-bg, linear-gradient(135deg, #25313b, #aab0aa));
  position: relative;
  overflow: hidden;
}
.vehicle-card__visual { aspect-ratio: 16 / 10; min-height: 0; }
.vehicle-card__visual.has-photo {
  background: #111820;
}
.vehicle-card__visual.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vehicle-card__visual.has-photo::before, .vehicle-card__visual.has-photo::after {
  content: none;
}
.vehicle-card__visual.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,10,18,0), rgba(5,10,18,.28));
  z-index: 1;
}
.vehicle-card__visual.no-photo {
  display: grid;
  place-items: center;
  text-align: center;
}
.vehicle-card__visual.no-photo::before, .vehicle-card__visual.no-photo::after {
  content: none;
}
.vehicle-card__visual.no-photo .vehicle-initials {
  position: static;
  color: rgba(255,255,255,.82);
}
.placeholder-copy {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.status-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  background: rgba(17,24,32,.86);
  color: #fff;
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vehicle-card__visual::before, .vehicle-gallery--empty::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 10%;
  bottom: 22%;
  height: 34%;
  border-radius: 52% 48% 22px 22px;
  background: linear-gradient(90deg, #07090b, #313941 52%, #090b0e);
  box-shadow: 0 22px 42px rgba(0,0,0,.32);
}
.vehicle-card__visual::after, .vehicle-gallery--empty::after {
  content: "";
  position: absolute;
  left: 23%;
  right: 24%;
  bottom: 47%;
  height: 20%;
  border-radius: 80px 80px 8px 8px;
  border: 5px solid rgba(255,255,255,.38);
  border-bottom: 0;
}
.vehicle-initials { position: absolute; top: 18px; right: 18px; color: rgba(255,255,255,.72); font-size: 42px; font-weight: 700; }
.vehicle-card__body { padding: 24px; display: flex; flex: 1; flex-direction: column; }
.vehicle-card__body h3 { margin-bottom: 8px; font-size: 24px; line-height: 1.08; }
.vehicle-subtitle { margin: 0; color: var(--muted); line-height: 1.45; min-height: 42px; }
.advert-hook { margin: 14px 0 0; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.45; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.meta span { border: 1px solid var(--line); background: #f8fafc; color: #475569; padding: 7px 9px; font-size: 12px; font-weight: 600; }
.vehicle-card__footer { margin-top: auto; border-top: 1px solid var(--line); padding-top: 18px; }
.vehicle-card__actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}
.vehicle-card__actions .button {
  min-height: 44px;
  padding: 0 12px;
  text-align: center;
}
.vehicle-card__actions .button:not(.button--primary) {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
.vehicle-card__actions .button:not(.button--primary):hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.price { color: #0f172a; font-size: 32px; font-weight: 700; margin-bottom: 0; letter-spacing: 0; }
.finance-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.18fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #eff6ff);
  color: #0f172a;
  box-shadow: inset 4px 0 0 #2563eb;
}
.finance-teaser__item {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.finance-teaser__item span {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.finance-teaser__item strong {
  color: #0f172a;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.finance-teaser__item--monthly strong {
  color: #1d4ed8;
}
.finance-teaser__plus {
  color: #2563eb;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.finance-teaser button {
  width: 36px;
  height: 36px;
  border: 1px solid #93c5fd;
  border-radius: 50%;
  background: #ffffff;
  color: #1d4ed8;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  flex: 0 0 auto;
}
.finance-teaser button:hover {
  background: #dbeafe;
}
.finance-calculator {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
  display: grid;
  gap: 22px;
  margin: 22px 0 24px;
  padding: 24px;
}
.finance-calculator--unavailable h2 {
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.finance-calculator--unavailable p:last-child { margin: 0; }
.finance-calculator__top {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}
.finance-calculator__estimate {
  display: grid;
  gap: 6px;
}
.finance-calculator__estimate > span {
  color: #64748b;
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.finance-calculator__estimate strong {
  color: #1d4ed8;
  display: block;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
}
.finance-calculator__estimate strong span {
  color: #64748b;
  font-size: .42em;
  font-weight: 700;
}
.finance-calculator__top small {
  color: #64748b;
  display: block;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 10px;
  max-width: 460px;
}
.finance-type-toggle {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
}
.finance-type-toggle button {
  appearance: none;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #1d4ed8;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  min-height: 34px;
  padding: 0 13px;
}
.finance-type-toggle button.is-active {
  background: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(29, 78, 216, .2);
}
.finance-sliders {
  display: grid;
  gap: 18px;
  padding-top: 2px;
}
.finance-sliders label {
  color: #0f172a;
  display: grid;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0;
  text-transform: none;
}
.finance-sliders label > span {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.finance-sliders label strong {
  color: #1d4ed8;
  font-size: 14px;
}
.finance-sliders input[type="range"] {
  appearance: none;
  accent-color: #1d4ed8;
  background: transparent;
  height: 22px;
  width: 100%;
}
.finance-sliders input[type="range"]::-webkit-slider-runnable-track {
  background: #dbeafe;
  border-radius: 999px;
  height: 6px;
}
.finance-sliders input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  background: #1d4ed8;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .24);
  height: 20px;
  margin-top: -7px;
  width: 20px;
}
.finance-sliders input[type="range"]::-moz-range-track {
  background: #dbeafe;
  border-radius: 999px;
  height: 6px;
}
.finance-sliders input[type="range"]::-moz-range-thumb {
  background: #1d4ed8;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .24);
  height: 14px;
  width: 14px;
}
.finance-sliders label.is-disabled {
  opacity: .58;
}
.finance-sliders label.is-disabled input[type="range"] {
  cursor: not-allowed;
}
.finance-sliders em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}
.finance-calculator__disclaimer {
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}
.finance-calculator__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}
.finance-calculator__link {
  appearance: none;
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 0;
  color: #c2410c;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  min-height: 48px;
  padding: 0 18px;
  text-transform: uppercase;
}
.finance-calculator__link:hover {
  background: #ffedd5;
  border-color: #fb923c;
}
.finance-calculator__muted {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}
.stock-search {
  align-items: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin: 14px 0 20px;
  padding: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
}
.stock-search__main {
  min-width: 0;
}
.stock-search label,
.stock-filter-grid label {
  color: #0f172a;
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: none;
}
.stock-search input,
.stock-filter-grid select {
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  font-size: 17px;
  min-height: 54px;
  padding: 0 16px;
}
.stock-filter-grid select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #1d4ed8 50%) right 17px center / 7px 7px no-repeat,
    linear-gradient(135deg, #1d4ed8 50%, transparent 50%) right 12px center / 7px 7px no-repeat,
    #ffffff;
  color: #0f172a;
  width: 100%;
}
.stock-search input:focus,
.stock-filter-grid select:focus {
  border-color: #2563eb;
  outline: 3px solid rgba(37, 99, 235, .14);
}
.stock-search__clear {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  color: #1d4ed8;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  min-height: 54px;
  padding: 0 18px;
  text-transform: uppercase;
}
.stock-filter-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.stock-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.stock-carousel__button {
  width: 48px;
  height: 48px;
  border: 1px solid #bfdbfe;
  border-radius: 50%;
  background: #ffffff;
  color: #1d4ed8;
  cursor: pointer;
  font: 28px/1 inherit;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}
.stock-carousel__button:hover {
  background: #eff6ff;
}
.stock-carousel__button:disabled {
  cursor: default;
  opacity: .35;
}
.finance-modal[hidden] { display: none; }
.finance-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
}
.finance-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.54);
}
.finance-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(620px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 32px));
  transform: translate(-50%, -50%);
  overflow: auto;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(15,23,42,.18);
}
.finance-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fbff;
}
.finance-modal__bar h2 {
  margin: 0;
  font-size: 24px;
  color: #1d4ed8;
  font-weight: 700;
}
.finance-modal__bar button {
  width: 38px;
  height: 38px;
  border: 1px solid #bfdbfe;
  border-radius: 50%;
  background: #ffffff;
  color: #1d4ed8;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}
.finance-modal__body { padding: 22px; }
.finance-modal__monthly {
  padding: 18px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  margin-bottom: 16px;
}
.finance-modal__monthly span {
  display: block;
  color: #1d4ed8;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}
.finance-modal__monthly small {
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.finance-modal dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin: 0;
}
.finance-modal dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #e5e7eb;
  padding: 12px 0;
}
.finance-modal dt { color: #64748b; font-weight: 600; }
.finance-modal dd { margin: 0; color: #0f172a; font-weight: 600; text-align: right; }
.finance-modal__terms {
  border-top: 1px solid #e5e7eb;
  margin-top: 12px;
  padding-top: 16px;
}
.finance-modal__terms strong {
  color: #0f172a;
  font-weight: 700;
}
.finance-modal__terms p {
  white-space: pre-wrap;
  margin: 8px 0 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefits article, .panel, .lead-form, .feature-cta { border: 1px solid var(--line); padding: 28px; background: var(--paper); box-shadow: 0 16px 42px rgba(13,18,20,.06); }
.benefits span { color: var(--accent-blue-dark); font-weight: 900; }
.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature-cta { min-height: 290px; display: grid; align-content: space-between; }
.feature-cta--dark, .panel--dark { background: var(--night); color: var(--paper); border-color: var(--night-2); }
.feature-cta--dark p, .panel--dark p { color: rgba(255,255,255,.72); }
.feature-cta span { color: var(--accent-blue-dark); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.feature-cta--dark span { color: var(--accent-blue); }
.testimonials { background: var(--night); color: var(--paper); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
blockquote { margin: 0; padding: 28px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.82); font-size: 22px; line-height: 1.45; }

.page-hero { background: var(--night); color: var(--paper); position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,10,12,.88), rgba(8,10,12,.42)),
    radial-gradient(circle at 82% 10%, rgba(37,99,235,.18), transparent 26%),
    linear-gradient(135deg, #19232b, #3f4e51 52%, #0e1318);
}
.page-hero--finance::before { background: linear-gradient(90deg, rgba(8,10,12,.88), rgba(8,10,12,.42)), linear-gradient(135deg, #15191f, #2f5e55 58%, #111820); }
.page-hero--sell::before { background: linear-gradient(90deg, rgba(8,10,12,.88), rgba(8,10,12,.42)), linear-gradient(135deg, #171b20, #1d4ed8 58%, #111820); }
.page-hero--stock::before {
  background:
    linear-gradient(90deg, rgba(8,10,12,.86), rgba(8,10,12,.34)),
    url("images/hero-porsche.jpg");
  background-size: cover;
  background-position: center 48%;
}
.page-hero__inner { position: relative; z-index: 1; padding: 96px 0; }
.page-hero__inner p { max-width: 650px; color: rgba(255,255,255,.74); }

.stock-head { margin-bottom: 24px; }
.stock-count { margin: 0; color: var(--muted); font-weight: 800; }
.stock-loading { grid-column: 1 / -1; border: 1px solid var(--line); background: var(--mist); padding: 28px; color: var(--muted); font-weight: 800; }
.filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px; background: var(--mist); border: 1px solid var(--line); margin-bottom: 28px; }
label { display: grid; gap: 8px; color: #41474b; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); padding: 13px 12px; font: 15px/1.3 inherit; }
textarea { min-height: 132px; resize: vertical; }
.two-column { display: grid; grid-template-columns: .92fr 1.08fr; gap: 24px; align-items: start; }
.lead-form { display: grid; gap: 16px; }
.lead-form__trap {
  height: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  pointer-events: none;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-message { min-height: 24px; color: var(--green); font-weight: 900; }
.reservation-notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  color: #1d4ed8;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 18px;
  padding: 14px 16px;
}
.reservation-notice--success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}
.reservation-card {
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #f8fbff;
  margin: 16px 0 22px;
  padding: 16px;
}
.reservation-card--disabled {
  display: grid;
  gap: 6px;
  color: #64748b;
}
.reservation-card--disabled strong {
  color: #0f172a;
}
.button--reserve {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  width: 100%;
}
.button--reserve:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}
.button--reserve-card {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
}
.button--reserve-card:hover {
  background: #dbeafe !important;
  border-color: #2563eb !important;
  color: #1d4ed8 !important;
}
.reservation-card--highlight {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .18), 0 18px 48px rgba(15, 23, 42, .1);
}
.reservation-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.reservation-form[hidden] {
  display: none;
}
.reservation-form__terms {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
  line-height: 1.45;
  text-transform: none;
}
.reservation-form__terms input {
  margin-top: 2px;
  width: auto;
}
.mini-benefits, .steps { display: grid; gap: 12px; margin-top: 24px; }
.mini-benefits span, .steps p, .hours p { padding: 14px 0; border-top: 1px solid var(--line); margin: 0; }
.hours p { display: flex; justify-content: space-between; gap: 18px; }
.map-placeholder { min-height: 260px; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #e5e7eb, #e5e7eb 12px, #f8fafc 12px, #f8fafc 24px); color: var(--muted); font-weight: 800; margin-top: 22px; }

.vehicle-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.vehicle-media {
  display: grid;
  gap: 12px;
}
.vehicle-media__tabs {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  display: inline-flex;
  gap: 8px;
  justify-self: start;
  padding: 6px;
}
.vehicle-media__tab {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #64748b;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  min-height: 44px;
  padding: 10px 18px;
}
.vehicle-media__tab.is-active {
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
}
.vehicle-media__tab:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .28);
  outline-offset: 3px;
}
.vehicle-media__panel[hidden] {
  display: none;
}
.vehicle-gallery, .vehicle-summary { border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper); border-radius: 12px; }
.vehicle-gallery {
  position: relative;
  overflow: hidden;
  padding: 10px;
}
.vehicle-gallery__mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .9fr) minmax(340px, .9fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 420px;
}
.gallery-frame {
  border: 0;
  border-radius: 10px;
  background: var(--mist);
  cursor: pointer;
  display: block;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}
.gallery-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,17,19,0), rgba(16,17,19,.08));
  opacity: 0;
  transition: opacity .18s ease;
}
.gallery-frame:hover::after { opacity: 1; }
.gallery-frame:focus-visible, .gallery-pill:focus-visible, .gallery-edge:focus-visible, .gallery-modal button:focus-visible {
  outline: 3px solid rgba(196, 154, 88, .5);
  outline-offset: 3px;
}
.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gallery-frame--hero {
  grid-column: span 1;
  grid-row: 1 / 3;
}
.gallery-frame--support {
  min-height: 0;
}
.vehicle-gallery__mosaic--count-1 {
  grid-template-columns: 1fr;
}
.vehicle-gallery__mosaic--count-1 .gallery-frame--hero {
  aspect-ratio: 16 / 9;
}
.vehicle-gallery__mosaic--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.vehicle-gallery__mosaic--count-2 .gallery-frame--support {
  grid-row: 1 / 3;
}
.vehicle-gallery__mosaic--count-3,
.vehicle-gallery__mosaic--count-4 {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .9fr);
}
.vehicle-gallery--empty {
  background:
    linear-gradient(140deg, rgba(16,17,19,.08), rgba(16,17,19,.4)),
    var(--vehicle-bg, linear-gradient(135deg, #25313b, #aab0aa));
  aspect-ratio: 16 / 9;
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.vehicle-gallery--empty::before, .vehicle-gallery--empty::after { z-index: 0; }
.vehicle-gallery--empty .vehicle-initials, .vehicle-gallery--empty .placeholder-copy { position: relative; z-index: 1; }
.vehicle-gallery--empty .vehicle-initials { color: rgba(255,255,255,.8); }
.vehicle-gallery--empty .placeholder-copy { color: rgba(255,255,255,.75); margin-top: 70px; }
.gallery-pill {
  min-height: 44px;
  align-items: center;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(16,17,19,.08);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(8,12,16,.14);
  color: var(--ink);
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  letter-spacing: .04em;
  padding: 0 16px;
  position: absolute;
  text-transform: uppercase;
  z-index: 3;
}
.gallery-pill--open {
  bottom: 26px;
  left: 26px;
  cursor: pointer;
}
.gallery-pill--open::before {
  content: "";
  width: 15px;
  height: 15px;
  background:
    linear-gradient(var(--ink), var(--ink)) left top / 6px 6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right top / 6px 6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) left bottom / 6px 6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right bottom / 6px 6px no-repeat;
}
.gallery-pill--count {
  bottom: 26px;
  right: 26px;
  cursor: pointer;
}
.gallery-edge {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(16,17,19,.08);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(8,12,16,.14);
  color: var(--ink);
  cursor: pointer;
  font: 30px/1 inherit;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}
.gallery-edge:disabled,
.gallery-edge[aria-disabled="true"] {
  cursor: default;
  opacity: 0;
  pointer-events: none;
}
.gallery-edge--prev { left: 22px; }
.gallery-edge--next { right: 22px; }
.gallery-modal[hidden] { display: none; }
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--paper);
}
.gallery-modal__panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: var(--paper);
  overflow: hidden;
}
.gallery-modal__bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(22px, calc((100vw - var(--site-max-width)) / 2));
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
}
.gallery-modal__close {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  padding: 0 18px;
  text-transform: uppercase;
}
.gallery-modal__scroll {
  min-height: 0;
  overflow-y: auto;
  padding: 24px max(22px, calc((100vw - var(--site-max-width)) / 2)) 56px;
}
.gallery-modal__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.gallery-modal__photo {
  margin: 0;
  background: var(--mist);
}
.gallery-modal__photo--hero {
  grid-column: 1 / -1;
}
.gallery-modal__photo img {
  width: 100%;
  height: auto;
}
.vehicle-summary { padding: 32px; }
.vehicle-summary h1 { font-size: clamp(38px, 4.8vw, 62px); line-height: 1; margin-bottom: 12px; }
.detail-subtitle { color: var(--muted); font-size: 18px; line-height: 1.45; margin-bottom: 16px; }
.detail-hook { color: var(--ink); font-size: 20px; font-weight: 800; line-height: 1.45; margin-bottom: 16px; }
.detail-description { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 22px; }
.vehicle-video {
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #f8fbff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
  overflow: hidden;
}
.vehicle-video__frame {
  aspect-ratio: 16 / 9;
  background: #0f172a;
}
.vehicle-video__frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}
.vehicle-spec-card {
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  margin: 22px 0;
  padding: 18px;
}
.vehicle-spec-card__head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}
.vehicle-spec-card__head h2 {
  color: #0f172a;
  font-size: 22px;
  line-height: 1.1;
  margin: 0;
}
.vehicle-spec-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.vehicle-spec-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  min-width: 0;
  padding: 12px;
}
.vehicle-spec-item span {
  color: #64748b;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.vehicle-spec-item strong {
  color: #0f172a;
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.vehicle-spec-empty {
  color: #64748b;
  margin: 0;
}
.key-features-card {
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  margin: 22px 0;
  padding: 18px;
}
.key-features-card h2 {
  color: #0f172a;
  font-size: 22px;
  line-height: 1.1;
  margin: 0 0 14px;
}
.key-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.key-features-list span {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  padding: 9px 12px;
}
.status-chip {
  align-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  white-space: nowrap;
}
.status-chip--available,
.status-chip--in_stock {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.status-chip--reserved {
  background: #ecfdf5;
  border-color: #86efac;
  color: #047857;
}
.status-chip--sold {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #475569;
}
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; margin: 28px 0; }
.facts div { border-top: 1px solid var(--line); padding: 14px 0; }
.facts span { display: block; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hidden { display: none !important; }

.footer { background: #0d1115; color: var(--paper); }
.footer__grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 28px; padding: 48px 0; }
.footer p { color: rgba(255,255,255,.66); }
.fine-print { font-size: 12px; line-height: 1.55; }

@media (max-width: 900px) {
  :root { --site-edge: 24px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links { position: fixed; left: 14px; right: 14px; top: 112px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 16px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .section-head, .split-intro, .enquiry-band { align-items: start; flex-direction: column; }
  .stock-showcase__head { gap: 14px; }
  .dealer-intro-card {
    grid-template-columns: 1fr;
  }
  .vehicle-grid, .benefits, .testimonial-grid, .footer__grid, .vehicle-detail, .two-column { grid-template-columns: 1fr; }
  .vehicle-grid--carousel {
    display: flex;
  }
  .vehicle-media__tabs {
    width: 100%;
  }
  .vehicle-media__tab {
    flex: 1;
    font-size: 15px;
    min-height: 44px;
  }
  .cta-pair, .filters, .vehicle-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .vehicle-gallery__mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    min-height: 0;
  }
  .gallery-frame {
    aspect-ratio: 4 / 3;
  }
  .gallery-frame--hero {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }
  .vehicle-gallery__mosaic--count-2 .gallery-frame--support {
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(40px, 13vw, 56px); }
  h2 { font-size: clamp(28px, 10vw, 40px); }
  .topbar__inner { justify-content: center; text-align: center; padding: 8px 0; }
  .brand small { display: none; }
  .hero { min-height: 700px; }
  .hero__media { background-position: 62% center; }
  .hero__content h1 { max-width: 100%; font-size: clamp(38px, 10.5vw, 50px); line-height: 1; }
  .hero__text { max-width: 330px; font-size: 17px; }
  .hero__content, .page-hero__inner { padding: 66px 0; }
  .actions, .button { width: 100%; }
  .stock-showcase { padding: 40px 0 50px; }
  .stock-showcase__title { font-size: clamp(28px, 9vw, 38px); }
  .stock-search {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }
  .stock-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stock-search__clear {
    width: 100%;
  }
  .stock-carousel {
    grid-template-columns: 1fr;
  }
  .stock-carousel__button {
    display: none;
  }
  .cta-pair, .filters, .form-grid, .facts, .vehicle-spec-grid { grid-template-columns: 1fr; }
  .vehicle-spec-card {
    border-radius: 12px;
    padding: 14px;
  }
  .vehicle-spec-card__head {
    align-items: flex-start;
    flex-direction: column;
  }
  .stock-filter-grid {
    grid-template-columns: 1fr;
  }
  .vehicle-gallery {
    padding: 8px;
    border-radius: 10px;
  }
  .vehicle-gallery__mosaic {
    gap: 8px;
  }
  .vehicle-gallery--empty { min-height: 340px; }
  .gallery-pill {
    min-height: 38px;
    font-size: 11px;
    padding: 0 12px;
  }
  .gallery-pill--open {
    bottom: 18px;
    left: 18px;
  }
  .gallery-pill--count {
    bottom: 18px;
    right: 18px;
  }
  .gallery-edge {
    width: 44px;
    height: 44px;
  }
  .gallery-edge--prev { left: 12px; }
  .gallery-edge--next { right: 12px; }
  .gallery-modal__panel {
    inset: 0;
    border-radius: 0;
  }
  .gallery-modal__bar {
    min-height: 54px;
    padding: 0 12px 0 16px;
  }
  .gallery-modal__scroll {
    padding: 14px 12px 34px;
  }
  .gallery-modal__photos {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .finance-modal dl {
    grid-template-columns: 1fr;
  }
  .finance-calculator {
    padding: 16px;
  }
  .finance-calculator__top {
    flex-direction: column;
  }
  .finance-type-toggle {
    width: 100%;
  }
  .finance-type-toggle button {
    flex: 1;
  }
  .finance-calculator__top strong {
    font-size: 32px;
  }
  .finance-calculator__actions .button {
    width: 100%;
  }
  .finance-teaser {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .finance-teaser button {
    grid-column: 1 / -1;
    justify-self: end;
  }
  .finance-teaser__item strong {
    font-size: 22px;
  }
  .finance-modal__panel {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
  }
  .footer__grid { padding: 36px 0; }
}
