/* Varex Automotive — brand system, October 2026. */
:root {
  --vx-ink: #101820;
  --vx-ink-soft: #1c2832;
  --vx-paper: #f3f5f4;
  --vx-white: #ffffff;
  --vx-silver: #dfe5e8;
  --vx-line: #ced5d8;
  --vx-muted: #68737a;
  --vx-blue: #2f58ff;
  --vx-blue-dark: #2446cf;
  --vx-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --vx-body: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--vx-paper);
  color: var(--vx-ink);
  font-family: var(--vx-body);
  line-height: 1.55;
}
body, button, input, select, textarea { font-family: var(--vx-body); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--vx-ink);
  font-family: var(--vx-display);
  letter-spacing: -.045em;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--vx-blue);
  outline-offset: 4px;
}
.wrap { width: min(1180px, calc(100% - 64px)); max-width: 1180px; }
.skip { background: var(--vx-blue); color: #fff; }

/* Header */
.site-header {
  position: relative;
  z-index: 30;
  margin: 0;
  padding: 0;
  background: rgba(243,245,244,.96);
  border: 0;
  border-bottom: 1px solid var(--vx-line);
  backdrop-filter: blur(18px);
}
.header-inner {
  height: 74px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 42px;
}
.brand { flex: 0 0 auto; }
.brand img {
  display: block;
  width: 154px;
  height: auto;
  max-height: 48px;
  mix-blend-mode: normal;
}
.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
}
.desktop-nav a {
  position: relative;
  padding: 27px 0 24px;
  color: #34414a;
  text-decoration: none;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--vx-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { width: 38px; height: 38px; }
.mobile-nav { background: var(--vx-paper); border-top: 1px solid var(--vx-line); padding-block: 14px 22px; }
.mobile-nav a { padding: 10px 0; }

/* Shared type and controls */
.vx-kicker {
  margin: 0 0 16px;
  color: var(--vx-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.4;
  text-transform: uppercase;
}
.vx-button {
  min-height: 50px;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--vx-ink);
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.vx-button span { font-size: 19px; font-weight: 400; }
.vx-button-dark, .vx-button-card { background: var(--vx-ink); color: #fff; }
.vx-button-dark:hover, .vx-button-card:hover { background: var(--vx-blue); border-color: var(--vx-blue); color: #fff; }
.vx-button-outline { background: transparent; border-color: var(--vx-line); color: var(--vx-ink); }
.vx-button-outline:hover { background: var(--vx-ink); border-color: var(--vx-ink); color: #fff; }

/* Homepage hero — an automotive composition, not a generic banner. */
.vr-hero {
  position: relative;
  width: min(1180px, calc(100% - 64px));
  max-width: 1180px;
  min-height: 620px;
  margin: 34px auto 0;
  padding: 64px 58px 54px;
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(460px, 1.16fr);
  align-items: stretch;
  gap: 34px;
  overflow: hidden;
  background: var(--vx-ink);
  border-radius: 0;
  color: #fff;
  isolation: isolate;
}
.vr-hero::before {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -52%;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018);
  z-index: -1;
}
.vr-diagonal {
  position: absolute;
  top: 34px;
  right: 34px;
  bottom: 34px;
  left: 48%;
  z-index: -1;
  overflow: hidden;
  background: #dbe3e9;
  border-radius: 0 72px 0 72px;
}
.vr-diagonal::before {
  content: "V";
  position: absolute;
  top: -130px;
  right: -35px;
  color: rgba(16,24,32,.055);
  font: 800 540px/.9 var(--vx-display);
  letter-spacing: -.15em;
}
.vr-diagonal::after {
  content: "01";
  position: absolute;
  top: 20px;
  right: 26px;
  color: rgba(16,24,32,.42);
  font: 700 11px/1 var(--vx-body);
  letter-spacing: .15em;
}
.vr-hero-copy {
  position: relative;
  z-index: 4;
  grid-column: 1;
  align-self: center;
  width: auto;
  max-width: 470px;
  padding: 12px 0 40px;
}
.vr-hero-copy .vx-kicker { color: #9db1ff; }
.vr-hero-copy h1 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(46px, 5.35vw, 78px);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.065em;
}
.vr-hero-copy h1 em { display: block; margin-top: 8px; color: #aab4bb; font-style: normal; font-weight: 430; }
.vr-hero-copy > p:not(.vx-kicker) {
  max-width: 430px;
  margin: 0 0 27px;
  color: #c2cbd0;
  font-size: 15px;
  line-height: 1.75;
}
.vr-hero-copy .vx-button { min-width: 232px; background: #fff; border-color: #fff; color: var(--vx-ink); }
.vr-hero-copy .vx-button:hover { background: var(--vx-blue); border-color: var(--vx-blue); color: #fff; }
.vr-hero-caption {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9ca9b0;
  font-size: 10px;
  letter-spacing: .03em;
}
.vr-hero-caption span { width: 24px; height: 1px; background: #71818b; }
.vr-hero-image {
  position: absolute;
  right: -38px;
  bottom: -22px;
  left: auto;
  z-index: 3;
  width: 63%;
  height: auto;
  margin: 0;
  overflow: visible;
  pointer-events: none;
}
.vr-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 22px rgba(0,0,0,.27));
}
.vr-image-label, .vr-hero-dots { display: none; }

/* Vehicle selection */
.stock-section { padding-block: 112px 92px; }
.vx-section-heading {
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: end;
  gap: 80px;
}
.vx-section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 62px);
  font-weight: 590;
  line-height: 1.02;
}
.import-intro {
  width: auto;
  max-width: none;
  margin: 0;
  color: var(--vx-muted);
  font-size: 14px;
  line-height: 1.8;
}
.vr-home-tools { display: none; }
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.vx-vehicle {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e1e5e6;
  border-radius: 0;
  box-shadow: none;
}
.vx-vehicle:nth-child(3n + 2) { transform: translateY(26px); }
.vx-vehicle .vehicle-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.46;
  background: #e5e9ea;
  border: 0;
  border-radius: 0;
}
.vx-vehicle .vehicle-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.vx-vehicle:hover .vehicle-image img { transform: scale(1.035); }
.vx-status {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 7px 9px;
  background: #fff;
  border: 0;
  border-radius: 0;
  color: var(--vx-ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.2;
  text-transform: uppercase;
}
.vx-status.is-sold { background: var(--vx-ink); color: #fff; }
.vx-vehicle .vx-status { position: absolute; top: 12px; left: 12px; box-shadow: none; }
.vx-vehicle .vehicle-info { flex: 1; padding: 22px 21px 20px; display: flex; flex-direction: column; }
.vx-car-category { margin: 0 0 9px; color: var(--vx-blue); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vx-vehicle .vehicle-info h3 { margin: 0 0 7px; font-size: 24px; font-weight: 600; line-height: 1.08; }
.vx-vehicle .vehicle-info h3 a { text-decoration: none; }
.vx-trim { min-height: 35px; margin: 0 0 17px; color: #7a858b; font-size: 12px; line-height: 1.45; }
.vx-car-specs {
  margin: auto 0 18px;
  padding-top: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid #e1e5e6;
}
.vx-car-specs > div { display: flex; flex-direction: column; gap: 4px; }
.vx-car-specs span { color: #8b959a; font-size: 9px; letter-spacing: 0; text-transform: none; }
.vx-car-specs strong { color: #2f3c44; font-size: 13px; font-weight: 600; }
.vx-vehicle .vx-button-card {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  justify-content: center;
  background: transparent;
  border-color: #cfd5d7;
  color: var(--vx-ink);
  font-size: 11px;
}
.vx-vehicle:hover .vx-button-card { background: var(--vx-blue); border-color: var(--vx-blue); color: #fff; }
.vx-vehicle-sold .vehicle-image img { filter: saturate(.35); }
.vr-all-cars { padding-top: 68px; text-align: center; }
.vr-all-cars .vx-button { min-width: 250px; }

/* A quiet brand rail and useful answers. */
.vr-brands {
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--vx-line);
  border-bottom: 1px solid var(--vx-line);
}
.vr-brands span { color: #7d888e; font-size: 16px; font-weight: 700; letter-spacing: -.025em; }
.vr-faq {
  max-width: 1180px;
  padding: 100px 0 112px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
  column-gap: 110px;
}
.vr-faq > .vx-kicker, .vr-faq > h2 { grid-column: 1; }
.vr-faq > h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); font-weight: 590; line-height: 1.04; }
.vr-faq details { grid-column: 2; padding: 22px 0; border-bottom: 1px solid var(--vx-line); }
.vr-faq details:first-of-type { border-top: 1px solid var(--vx-line); }
.vr-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 600; }
.vr-faq summary::after { content: "+"; color: var(--vx-blue); font-size: 20px; font-weight: 400; }
.vr-faq details[open] summary::after { content: "−"; }
.vr-faq details p { max-width: 670px; margin: 15px 0 0; color: var(--vx-muted); font-size: 13px; line-height: 1.8; }

/* Footer */
.site-footer { background: var(--vx-ink); color: #d6dde0; border: 0; }
.footer-top { padding-block: 48px; display: grid; grid-template-columns: 1fr auto auto; align-items: start; gap: 70px; border-bottom: 1px solid rgba(255,255,255,.13); }
.site-footer .brand { background: transparent; padding: 0; }
.site-footer .brand img { width: 148px; filter: invert(1); }
.footer-top nav { display: grid; gap: 8px; font-size: 13px; }
.footer-top > div { font-size: 13px; line-height: 1.8; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #9db1ff; }
.footer-bottom { padding-block: 22px; display: flex; justify-content: space-between; gap: 30px; color: #8d9aa1; font-size: 10px; }
.footer-bottom nav { display: flex; gap: 22px; }
.cookie-settings { color: inherit; }

/* Catalogue */
.vr-page-heading { padding-top: 82px; }
.vr-page-heading h1 { max-width: 750px; margin: 0 0 22px; font-size: clamp(48px, 6vw, 80px); font-weight: 600; line-height: .98; }
.vr-page-heading > p:last-child { max-width: 560px; color: var(--vx-muted); font-size: 15px; }
.vr-catalogue .stock-section { padding-top: 76px; }
.vx-fleet-tools {
  margin-bottom: 32px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--vx-line);
}
.vx-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.vx-filters button {
  min-height: 39px;
  padding: 8px 13px;
  background: transparent;
  border: 1px solid var(--vx-line);
  border-radius: 0;
  color: #47555d;
  font-size: 11px;
}
.vx-filters button[aria-pressed="true"] { background: var(--vx-ink); border-color: var(--vx-ink); color: #fff; }
.vx-filters button span { margin-left: 6px; opacity: .6; font-size: 9px; }
#import-result-count { color: #7c888e; font-size: 11px; }
.vr-pagination { margin-top: 68px; display: flex; justify-content: center; gap: 8px; }
.vr-pagination button { width: 44px; height: 44px; background: #fff; border: 1px solid var(--vx-line); font-size: 12px; }
.vr-pagination button[aria-current="page"] { background: var(--vx-blue); border-color: var(--vx-blue); color: #fff; }

/* Vehicle detail */
.vx-detail .detail-page { padding-block: 34px 90px; }
.vx-detail .breadcrumbs { margin-bottom: 44px; display: flex; gap: 14px; color: #7e898f; font-size: 11px; }
.vx-detail-heading { margin-bottom: 34px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.vx-detail-heading h1 { margin: 0; font-size: clamp(46px, 6vw, 78px); font-weight: 600; line-height: 1; }
.vx-detail-trim { max-width: 760px; margin: 13px 0 0; color: var(--vx-muted); font-size: 15px; }
.vx-detail-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); gap: 26px; align-items: start; }
.vx-detail-photo { overflow: hidden; aspect-ratio: 1.5; background: #dfe4e6; border-radius: 0; }
.vx-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.vx-spec-panel { position: sticky; top: 95px; padding: 30px; background: var(--vx-ink); border: 0; border-radius: 0; color: #fff; }
.vx-spec-panel .vx-kicker { color: #9db1ff; }
.vx-spec-panel h2 { margin: 0 0 24px; color: #fff; font-size: 33px; font-weight: 560; }
.vx-specs { margin: 0; }
.vx-specs > div { padding: 12px 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; }
.vx-specs dt { color: #95a2a9; }
.vx-specs dd { margin: 0; color: #fff; text-align: right; overflow-wrap: anywhere; }
.vx-detail-enquiry { margin-top: 25px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.vx-detail-enquiry h3 { margin: 0 0 11px; color: #fff; font-size: 23px; font-weight: 560; line-height: 1.15; }
.vx-detail-enquiry p { margin-bottom: 18px; color: #aeb9be; font-size: 12px; line-height: 1.7; }
.vx-detail-enquiry .vx-button { width: 100%; background: #fff; border-color: #fff; color: var(--vx-ink); font-size: 11px; }
.vx-detail-enquiry .vx-button:hover { background: var(--vx-blue); border-color: var(--vx-blue); color: #fff; }
.vx-phone { display: block; margin-top: 13px; color: #bbc4c8; text-align: center; font-size: 11px; }
.vx-source-note { margin: 22px 0 0; color: #89979e; font-size: 9px; line-height: 1.7; }
.vx-story { padding-top: 58px; }
.vx-story h2 { margin: 0 0 23px; font-size: clamp(34px, 4vw, 52px); font-weight: 590; line-height: 1.05; }
.vx-story .vx-lead { margin-bottom: 35px; color: #37464e; font-size: 17px; line-height: 1.8; }
.vx-story-section { padding: 25px 0; display: grid; grid-template-columns: 42px 1fr; gap: 17px; border-top: 1px solid var(--vx-line); }
.vx-story-number { padding-top: 4px; color: var(--vx-blue); font-size: 10px; font-weight: 700; }
.vx-story-section h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.vx-story-section p { margin: 0; color: var(--vx-muted); font-size: 14px; line-height: 1.8; }
.vx-detail .other-stock { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--vx-line); }

/* Contact */
.vr-contact-page {
  min-height: 650px;
  padding-block: 90px 110px;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 100px;
}
.vr-contact-intro { position: relative; }
.vr-contact-intro::after {
  content: "";
  display: block;
  width: 94px;
  height: 94px;
  margin-top: 58px;
  background: var(--vx-blue);
  border-radius: 0 30px 0 30px;
}
.vr-contact-intro h1 { margin: 0 0 26px; font-size: clamp(44px, 5.3vw, 70px); font-weight: 600; line-height: .98; }
.vr-contact-intro > p:not(.vx-kicker) { max-width: 390px; margin-bottom: 32px; color: var(--vx-muted); font-size: 14px; line-height: 1.8; }
.vr-contact-intro > a { display: block; margin-bottom: 9px; font-size: 14px; text-decoration: none; }
.vr-contact-form { padding-top: 3px; }
.vr-contact-form label { display: flex; flex-direction: column; gap: 9px; color: #44525a; font-size: 11px; }
.vr-contact-form label > span { color: #889399; font-size: 10px; }
.vr-form-row { margin-bottom: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vr-contact-form input, .vr-contact-form select, .vr-contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #aeb8bd;
  border-radius: 0;
  color: var(--vx-ink);
  font-size: 15px;
}
.vr-contact-form textarea { min-height: 150px; resize: vertical; }
.vr-form-note { margin: 22px 0; color: #7d888e; font-size: 10px; line-height: 1.8; }
.vr-contact-form button { min-width: 238px; }
#inquiry-status, #finance-status { margin-top: 18px; color: #536169; font-size: 12px; }

/* Finance */
.vf-page { padding-block: 82px 100px; }
.vf-heading { max-width: 800px; margin-bottom: 58px; }
.vf-heading h1 { margin: 0 0 24px; font-size: clamp(46px, 6vw, 78px); font-weight: 600; line-height: 1; }
.vf-heading > p:last-child { max-width: 620px; color: var(--vx-muted); font-size: 14px; line-height: 1.8; }
.vf-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
.vf-form { padding: 36px; background: #fff; border: 1px solid #e0e5e7; }
.vf-form h2, .vf-inquiry h2, .vf-questions h2 { margin: 0 0 28px; font-size: 27px; font-weight: 590; line-height: 1.15; }
.vf-form label { display: flex; flex-direction: column; gap: 9px; color: #4c5960; font-size: 11px; }
.vf-form label span { color: #849096; font-size: 9px; line-height: 1.6; }
.vf-form input, .vf-form select { width: 100%; min-width: 0; padding: 13px; background: #f5f6f6; border: 1px solid #d6dcde; border-radius: 0; color: var(--vx-ink); font-size: 15px; }
.vf-fields { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vf-result { padding: 36px; background: var(--vx-ink); color: #fff; }
.vf-result .vx-kicker { color: #9db1ff; }
.vf-monthly { margin-bottom: 30px; display: flex; flex-direction: column; gap: 5px; }
.vf-monthly strong { color: #fff; font-size: 48px; font-weight: 560; line-height: 1.05; letter-spacing: -.055em; }
.vf-monthly span { color: #a6b1b7; font-size: 12px; }
.vf-result dl { margin-bottom: 27px; }
.vf-result dl > div { padding: 9px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 11px; }
.vf-result dt { color: #95a2a8; }
.vf-result dd { margin: 0; color: #fff; text-align: right; white-space: nowrap; }
.vf-result .vx-button { width: 100%; background: #fff; border-color: #fff; color: var(--vx-ink); }
.vf-result .vx-button:hover { background: var(--vx-blue); border-color: var(--vx-blue); color: #fff; }
.vf-note { margin-top: 20px; color: #849096; font-size: 9px; line-height: 1.75; }
.vf-result .vf-note { color: #84949b; }
.vf-error { margin-top: 18px; color: #a92f2f; font-size: 11px; }
.vf-inquiry { margin-top: 86px; padding-top: 66px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; border-top: 1px solid var(--vx-line); scroll-margin-top: 30px; }
.vf-inquiry > div > p:not(.vx-kicker) { max-width: 340px; margin-bottom: 20px; color: var(--vx-muted); font-size: 13px; line-height: 1.8; }
.vf-inquiry > div > a { font-size: 13px; }
.vf-questions { max-width: 840px; padding-top: 70px; }
.vf-questions details { padding: 19px 0; border-bottom: 1px solid var(--vx-line); }
.vf-questions summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.vf-questions details p { margin: 14px 0 0; color: var(--vx-muted); font-size: 12px; line-height: 1.8; }

/* Legal and notices */
.vr-simple-page, .legal-page { max-width: 850px; padding-block: 72px 95px; }
.vr-simple-page h1, .legal-page h1 { margin-bottom: 28px; font-size: 46px; font-weight: 600; }
.vr-simple-page h2, .legal-page h2 { margin: 34px 0 14px; font-size: 23px; font-weight: 600; }
.vr-simple-page p, .legal-page p { color: var(--vx-muted); font-size: 14px; line-height: 1.8; }
.cookie-notice { background: #fff; border: 1px solid var(--vx-line); border-radius: 0; box-shadow: 0 18px 60px rgba(16,24,32,.16); }
.cookie-notice h2 { font-family: var(--vx-display); font-weight: 600; }
.cookie-notice .button.primary { background: var(--vx-ink); border-color: var(--vx-ink); border-radius: 0; }

@media (max-width: 1050px) {
  .wrap, .vr-hero { width: calc(100% - 48px); }
  .vr-hero { min-height: 560px; padding: 54px 42px; grid-template-columns: .9fr 1.1fr; }
  .vr-diagonal { left: 45%; }
  .vr-hero-image { right: -22px; width: 64%; }
  .vx-section-heading { grid-template-columns: 1fr 340px; gap: 45px; }
  .inventory-grid { gap: 14px; }
  .vx-vehicle .vehicle-info { padding: 18px; }
  .vr-faq { column-gap: 65px; }
  .vr-contact-page { gap: 60px; }
  .vx-detail-layout { grid-template-columns: minmax(0, 1.4fr) minmax(290px, .8fr); }
}

@media (max-width: 820px) {
  .inventory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .vx-vehicle:nth-child(3n + 2) { transform: none; }
  .vx-vehicle:nth-child(even) { transform: translateY(20px); }
  .vr-faq { grid-template-columns: 1fr; }
  .vr-faq > .vx-kicker, .vr-faq > h2, .vr-faq details { grid-column: 1; }
  .vr-faq > h2 { margin-bottom: 35px; }
  .vr-contact-page { grid-template-columns: 1fr 1.25fr; gap: 40px; }
  .vf-layout { grid-template-columns: 1fr 1fr; gap: 18px; }
  .vf-form, .vf-result { padding: 26px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 66px; }
  .wrap, .vr-hero { width: calc(100% - 28px); }
  .header-inner { height: 64px; gap: 14px; }
  .brand img { width: 132px; max-height: 42px; }
  .desktop-nav { display: none; }
  .menu-toggle { margin-left: auto; }
  .vr-hero {
    min-height: 660px;
    margin-top: 14px;
    padding: 40px 26px 0;
    display: block;
  }
  .vr-hero::before { right: -55%; bottom: -25%; width: 125%; }
  .vr-diagonal { top: auto; right: 15px; bottom: 15px; left: 15px; height: 47%; border-radius: 0 48px 0 48px; }
  .vr-diagonal::before { top: -50px; right: -10px; font-size: 330px; }
  .vr-hero-copy { max-width: none; padding: 0; }
  .vr-hero-copy h1 { max-width: 470px; margin-bottom: 20px; font-size: clamp(40px, 12vw, 60px); }
  .vr-hero-copy > p:not(.vx-kicker) { margin-bottom: 20px; font-size: 13px; line-height: 1.65; }
  .vr-hero-copy .vx-button { min-width: 205px; min-height: 45px; font-size: 11px; }
  .vr-hero-caption { display: none; }
  .vr-hero-image { right: -31px; bottom: -8px; width: 118%; max-width: 650px; }
  .stock-section { padding-block: 72px 62px; }
  .vx-section-heading { display: block; margin-bottom: 28px; }
  .vx-section-heading h2 { font-size: 38px; }
  .import-intro { margin-top: 20px; font-size: 12px; }
  .inventory-grid { grid-template-columns: 1fr; gap: 18px; }
  .vx-vehicle:nth-child(even) { transform: none; }
  .vx-vehicle .vehicle-image { aspect-ratio: 1.55; }
  .vr-all-cars { padding-top: 32px; }
  .vr-brands { justify-content: center; gap: 16px 25px; }
  .vr-brands span { font-size: 13px; }
  .vr-faq { padding-block: 66px 75px; }
  .vr-faq > h2 { font-size: 38px; }
  .footer-top { padding-block: 38px; grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-top .brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-bottom nav { flex-wrap: wrap; gap: 12px 18px; }
  .vr-page-heading { padding-top: 52px; }
  .vr-page-heading h1 { font-size: 48px; }
  .vr-catalogue .stock-section { padding-top: 48px; }
  .vx-fleet-tools { align-items: flex-start; flex-direction: column; }
  .vx-detail .detail-page { padding-block: 24px 65px; }
  .vx-detail-heading { align-items: flex-start; flex-direction: column; }
  .vx-detail-heading h1 { font-size: 47px; }
  .vx-detail-layout { grid-template-columns: 1fr; }
  .vx-spec-panel { position: static; grid-row: 1; }
  .vx-detail-main { grid-row: 2; }
  .vx-story { padding-top: 42px; }
  .vx-detail .other-stock { margin-top: 52px; padding-top: 52px; }
  .vr-contact-page { min-height: 0; padding-block: 54px 72px; display: block; }
  .vr-contact-intro h1 { font-size: 49px; }
  .vr-contact-intro::after { width: 58px; height: 58px; margin-top: 30px; border-radius: 0 20px 0 20px; }
  .vr-contact-form { margin-top: 48px; }
  .vr-form-row { grid-template-columns: 1fr; gap: 22px; }
  .vf-page { padding-block: 54px 72px; }
  .vf-heading { margin-bottom: 38px; }
  .vf-heading h1 { font-size: 48px; }
  .vf-layout, .vf-inquiry { grid-template-columns: 1fr; gap: 22px; }
  .vf-fields { gap: 18px 14px; }
  .vf-inquiry { margin-top: 58px; padding-top: 48px; }
  .vf-inquiry .vr-contact-form { margin-top: 0; }
  .vf-questions { padding-top: 52px; }
  .vr-simple-page h1, .legal-page h1 { font-size: 38px; }
}

@media (max-width: 420px) {
  .vr-hero { min-height: 640px; padding-inline: 21px; }
  .vr-hero-copy h1 { font-size: 42px; }
  .vr-hero-copy > p:not(.vx-kicker) { font-size: 12px; }
  .vr-hero-image { right: -43px; width: 127%; }
  .vf-fields { grid-template-columns: 1fr; }
}

/* Full-width dark bands with safely inset content and complete vehicle silhouette. */
.vr-hero.wrap{width:100%;max-width:none;margin:0;min-height:620px;padding:64px max(32px,calc((100% - 1064px)/2)) 54px;overflow:hidden}
.vr-hero-image{right:max(12px,calc((100% - 1180px)/2));bottom:24px;width:min(58%,700px)}
.site-footer{width:100%;max-width:none;margin-inline:0;border-radius:0;overflow:visible}
.footer-top,.footer-bottom{min-width:0}.footer-top>*{min-width:0}.footer-bottom nav{flex-wrap:wrap}.site-footer a{overflow-wrap:anywhere}
@media(max-width:900px){.vr-hero.wrap{padding:54px 32px;min-height:580px}.vr-hero-image{right:12px;bottom:22px;width:61%}}
@media(max-width:760px){.vr-hero.wrap{padding:40px 26px 0;min-height:0;display:flex;flex-direction:column;gap:24px}.vr-hero-copy{position:relative;z-index:4}.vr-hero-image{position:relative;right:auto;bottom:auto;left:auto;width:100%;max-width:650px;margin:0 auto 20px;order:2;flex-shrink:0}.vr-diagonal{height:43%;bottom:15px}.footer-top{gap:28px}.footer-bottom{align-items:flex-start}}
@media(max-width:420px){.vr-hero.wrap{padding-inline:21px}.vr-hero-image{right:auto;width:100%;margin-bottom:18px}}

/* Calm mobile navigation, full-height dark footer and page crossfades. */
html{background:var(--vx-ink)}body{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;background:var(--vx-paper)}body>main{flex:1 0 auto}body>.site-footer{flex-shrink:0;margin-top:auto;padding-bottom:env(safe-area-inset-bottom,0px);background:var(--vx-ink)}
.mobile-nav{overflow:hidden;will-change:height,opacity}.mobile-nav[hidden]{display:none}.menu-toggle span{transition:transform .4s cubic-bezier(.22,1,.36,1),opacity .3s}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3px) rotate(-45deg)}
body{transition:opacity .22s ease}body.page-leaving{opacity:0}
@view-transition{navigation:auto}::view-transition-old(root){animation:varex-out .24s ease both}::view-transition-new(root){animation:varex-in .4s ease both}@keyframes varex-out{to{opacity:0}}@keyframes varex-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){body{transition:none}::view-transition-old(root),::view-transition-new(root){animation:none}}

/* Compact homepage: reveal the first vehicle row within the opening viewport. */
.vr-hero.wrap{min-height:390px;height:clamp(330px,49svh,480px);padding-top:40px;padding-bottom:32px;align-items:center}
.vr-hero-copy{max-width:460px}.vr-hero-copy h1{font-size:clamp(36px,4.2vw,58px);line-height:1.08;margin:14px 0 0;max-width:13ch}.vr-hero-copy h1 em{font-size:.72em;margin-top:12px}
.vr-hero-image{width:min(56%,620px);bottom:6px;max-height:100%}.vr-hero-image img{max-height:400px;object-fit:contain}
#main>.stock-section{padding-top:32px;padding-bottom:52px}#main>.stock-section .vx-section-heading{margin-bottom:18px;grid-template-columns:1fr}#main>.stock-section .vx-section-heading h2{font-size:clamp(27px,3vw,40px);line-height:1.15}#main>.stock-section .vx-fleet-tools{margin-bottom:20px}
@media(max-width:760px){.vr-hero.wrap{height:auto;min-height:0;padding:28px 22px 0;gap:10px}.vr-hero-copy h1{font-size:clamp(33px,9vw,46px);max-width:15ch;margin-top:8px}.vr-hero-copy h1 em{margin-top:6px}.vr-hero-copy .vx-kicker{margin-bottom:8px}.vr-hero-image{width:min(100%,420px);margin:0 auto 6px}.vr-hero-image img{max-height:220px;aspect-ratio:1.8;object-fit:contain}.vr-diagonal{height:45%}#main>.stock-section{padding-top:24px}#main>.stock-section .vx-section-heading{margin-bottom:14px}#main>.stock-section .vx-section-heading h2{font-size:28px}#main>.stock-section .vx-fleet-tools{margin-bottom:16px}}
