/* Vista Vehicle Sourcing
   Black and white, after the reference sites: cinematic car imagery, a minimal centred-logo header,
   short uppercase headings, sharp edges (2px radius on everything interactive and on surfaces). */
:root {
  --bg: #222225;
  --surface: #2b2b2f;
  --surface-2: #343439;
  --text: #f3f3f3;
  --muted: #9b9b9e;
  --line: #3d3d42;
  --danger: #ff8a8a;

  --radius: 2px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --font: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
  --z-header: 100;
  --z-menu: 90;
  --z-skip: 200;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.02; }
p { margin: 0; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }
.section { padding: 96px 0; }
@media (min-width: 1024px) { .section { padding: 140px 0; } }

/* Uppercase, tightly set display headings */
.section__title, .hero__title, .intro__title, .step h3, .fsd__text h2, .menu li a {
  text-transform: uppercase; letter-spacing: 0.01em; font-weight: 900;
}
.section__title { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem); margin-bottom: 48px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: var(--z-skip);
  background: var(--text); color: var(--bg); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 26px; border-radius: var(--radius); border: 1px solid transparent;
  font: inherit; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 150ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .ph { font-size: 1.1em; transition: transform 250ms var(--ease); }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: #ffffff; }
.btn--outline { color: var(--text); border-color: rgb(255 255 255 / 0.55); background: rgb(0 0 0 / 0.2); }
.btn--outline:hover { border-color: var(--text); background: rgb(255 255 255 / 0.08); }
.btn--sm { padding: 11px 18px; font-size: 0.75rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
@media (hover: hover) and (pointer: fine) { .btn:hover .ph-arrow-right { transform: translateX(4px); } }

/* Header: transparent over the hero, solid black once scrolled */
.header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-solid, .header.menu-open { background: var(--bg); border-bottom-color: var(--line); }
.header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); padding: 0 20px;
}
@media (min-width: 768px) { .header__inner { padding: 0 40px; } }
.header__menu {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px 0;
  font: inherit; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
/* Three-line menu icon, the middle line shorter; it folds into an X when the menu is open.
   --thick and --step are set in script.js to whole screen pixels, so all three lines render at exactly
   the same thickness on scaled displays (e.g. 125%). The values here are the fallback. */
.burger { --thick: 1px; --step: 7px; position: relative; display: block; width: 24px; height: calc(var(--step) * 2 + var(--thick)); }
.burger span {
  position: absolute; left: 0; height: var(--thick); width: 24px; background: currentColor;
  transition: transform 250ms var(--ease), opacity 200ms var(--ease), width 250ms var(--ease);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: var(--step); width: 16px; }
.burger span:nth-child(3) { top: calc(var(--step) * 2); }
.header__menu[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(var(--step)) rotate(45deg); }
.header__menu[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; width: 0; }
.header__menu[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(calc(var(--step) * -1)) rotate(-45deg); }
.header__logo { justify-self: center; color: var(--text); display: block; }
/* WhatsApp: opens a chat with the business number */
.header__whatsapp {
  justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
  color: var(--text); font-size: 1.625rem; text-decoration: none; transition: opacity 200ms var(--ease);
}
.header__whatsapp:hover { opacity: 0.7; }
.header__logo svg { display: block; height: 24px; width: auto; overflow: visible; }

/* Logo on load: the car outline draws itself left to right (then the bonnet line), and VVS fades up */
.header__logo .draw { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.logo-letters { transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) {
  .header__logo .draw--roof { stroke-dashoffset: 1; animation: logo-draw 1000ms cubic-bezier(0.77, 0, 0.175, 1) 250ms forwards; }
  .header__logo .draw--hood { stroke-dashoffset: 1; animation: logo-draw 400ms var(--ease) 1050ms forwards; }
  .header__logo .logo-letters { opacity: 0; animation: logo-letters 700ms var(--ease) 1050ms forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .header__logo svg { animation: logo-fade 500ms ease both; }
}
@keyframes logo-draw { to { stroke-dashoffset: 0; } }
@keyframes logo-letters { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes logo-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 479px) { .header__menu-label { display: none; } }

/* Full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 48px;
  padding: calc(var(--header-h) + 24px) 20px 40px;
}
.menu[hidden] { display: none; }
.menu ul { list-style: none; margin: 0 auto; padding: 0; width: 100%; max-width: 1240px; display: grid; gap: 8px; }
.menu a { text-decoration: none; }
/* Each link stays on one line: the size is capped so the longest ("Start your search") fits the screen width */
.menu li a { font-size: min(clamp(1.6rem, 1rem + 2.6vw, 3.25rem), calc(7vw - 2px)); line-height: 1.15; white-space: nowrap; color: var(--muted); transition: color 200ms var(--ease); }
.menu li a:hover, .menu li a:focus-visible { color: var(--text); }
.menu__contact { max-width: 1240px; width: 100%; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 0.9375rem; }
.menu__contact a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.menu__contact a:hover { color: var(--text); }
@media (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) li { animation: menu-in 500ms var(--ease) both; }
  .menu:not([hidden]) li:nth-child(2) { animation-delay: 50ms; }
  .menu:not([hidden]) li:nth-child(3) { animation-delay: 100ms; }
  .menu:not([hidden]) li:nth-child(4) { animation-delay: 150ms; }
  .menu:not([hidden]) li:nth-child(5) { animation-delay: 200ms; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Hero on phones and other upright screens: the video runs from the top of the screen (behind the header), framed
   wide enough that the whole car stays in view as the camera circles it, with the slogan and buttons on the black below */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #000; }
.hero__media { position: absolute; inset: 0; }
.hero__still, .hero__video {
  position: absolute; left: 0; width: 100%;
  top: 0; height: 76vw;                                            /* from the top of the screen, wide enough to keep the whole car in view */
  object-fit: cover; object-position: 50% 50%;
  /* bottom edge fades into the black (none at the top) */
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
/* Never show the browser's own play button or controls over the video (iPhones show one when they hold back autoplay,
   e.g. in Low Power Mode); taps go through to the page */
.hero__still, .hero__video { pointer-events: none; }
.hero__video { opacity: 0; transition: opacity 400ms ease; }
.hero__video.is-playing { opacity: 1; }
.hero__video::-webkit-media-controls,
.hero__video::-webkit-media-controls-panel,
.hero__video::-webkit-media-controls-overlay-play-button,
.hero__video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
/* Darken the bottom behind the slogan */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.95) 0%, rgb(0 0 0 / 0.6) 28%, rgb(0 0 0 / 0) 50%);
}
.hero__content { position: relative; padding-bottom: calc(48px + env(safe-area-inset-bottom)); text-align: center; }
/* Phones: the slogan and buttons sit straight under the video rather than at the bottom of the screen */
@media (max-aspect-ratio: 5/4) {
  .hero { min-height: 0; justify-content: flex-start; }
  .hero__content { padding-top: calc(76vw + 40px); padding-bottom: 56px; }
  .hero__media::after { display: none; }
}
/* Landscape screens: the video fills the whole screen, with the slogan over its darkened bottom */
@media (min-aspect-ratio: 5/4) {
  .hero__still, .hero__video { height: 100%; object-position: 50% 55%; -webkit-mask-image: none; mask-image: none; }
  .hero__media::after { background: linear-gradient(to top, rgb(0 0 0 / 0.9) 0%, rgb(0 0 0 / 0.5) 25%, rgb(0 0 0 / 0) 50%); }
  .hero__content { padding-bottom: 64px; }
  .hero__ctas { margin-top: 20px; }
}
/* Two lines ("Your next car" / "found and funded") with a very thin line between them, each kept whole: it shrinks to fit narrow screens */
.hero__title { font-size: min(clamp(1.6rem, 0.8rem + 2.9vw, 3.2rem), calc(6.8vw - 2px)); line-height: 1.05; white-space: nowrap; }
.hero__line { display: block; }
.hero__rule { display: block; width: 40%; height: 1px; margin: 0.1em auto; background: currentColor; opacity: 0.75; transform: scaleY(0.5); } /* half a pixel: a hairline on phone and retina screens */
@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__ctas { animation: rise 900ms var(--ease) both; }
  .hero__title { animation-delay: 150ms; }
  .hero__ctas { animation-delay: 320ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Hero buttons */
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.hero__ctas .btn { padding: 12px 18px; font-size: 0.75rem; gap: 10px; } /* smaller boxes on the opening screen */

/* Intro statement */
/* Welcome: centred heading and text */
.intro__grid { display: grid; justify-items: center; text-align: center; }
.intro__title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); margin-bottom: 24px; }
.intro__text p { max-width: 62ch; margin-left: auto; margin-right: auto; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.intro__text p + p { margin-top: 16px; }
.intro__text .intro__lead { color: var(--text); }
/* VVS signature under the Welcome text, in white, drawn on as you scroll */
.intro__signature { margin: 36px auto 0; width: clamp(46px, 1.5vw + 36px, 60px); }
.intro__signature svg { display: block; width: 100%; height: auto; overflow: visible; }
.intro__signature path { fill: none; stroke: var(--text); stroke-width: 21; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
/* drawn in pen order: first V, second V, the barb on the S hook, then the S from its hook to the tail */
.intro__signature .sig__v1 { stroke-dashoffset: calc(1 - clamp(0, var(--write, 1) / 0.3, 1)); }
.intro__signature .sig__v2 { stroke-dashoffset: calc(1 - clamp(0, (var(--write, 1) - 0.3) / 0.28, 1)); }
.intro__signature .sig__barb { stroke-dashoffset: calc(1 - clamp(0, (var(--write, 1) - 0.58) / 0.04, 1)); }
.intro__signature .sig__s { stroke-dashoffset: calc(1 - clamp(0, (var(--write, 1) - 0.62) / 0.38, 1)); }

/* Process: "Our 4 step process". Without JS (or with reduced motion) it is a plain list of the four
   steps; with .how--pinned the section pins to the screen and shows one step at a time as you scroll */
.how { border-top: 1px solid var(--line); padding: 96px 0; }
@media (min-width: 1024px) { .how { padding: 140px 0; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 56px 48px; } }
.step__num { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(1.9rem, 1.1rem + 3vw, 3.5rem); }
.step p { margin-top: 14px; color: var(--muted); max-width: 40ch; font-size: 1rem; }
.how__progress { display: none; }

.how--pinned { position: relative; height: 400vh; padding: 0; }
@media (max-width: 767px) { .how--pinned { height: 340vh; } }
.how--pinned .how__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.how--pinned .how__inner { display: grid; justify-items: center; text-align: center; padding-top: var(--header-h); }
.how--pinned .how__title { margin-bottom: 28px; }
.how--pinned .how__progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: min(240px, 60vw); margin-bottom: 56px; }
.how__progress span { height: 2px; background: var(--line); }
.how__progress span::after { content: ""; display: block; height: 100%; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease); }
.how__progress span.is-done::after { transform: scaleX(1); }
.how--pinned .steps { grid-template-columns: 1fr; width: min(640px, 100%); gap: 0; }
.how--pinned .step {
  grid-area: 1 / 1; display: grid; justify-items: center;
  opacity: 0; transform: translateY(40px); visibility: hidden;
  transition: opacity 600ms var(--ease), transform 600ms var(--ease), visibility 0s linear 600ms;
}
.how--pinned .step.is-past { transform: translateY(-40px); }
.how--pinned .step.is-active { opacity: 1; transform: none; visibility: visible; transition: opacity 600ms var(--ease), transform 600ms var(--ease), visibility 0s; }
.how--pinned .step p { margin-left: auto; margin-right: auto; }

/* Find / Source / Drive: photo with the writing beside it, alternating sides; stacked on phones */
.fsd { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-x: clip; }
.fsd__row { display: grid; gap: 32px; align-items: center; }
/* Between rows: the same full-width thin line as above the section, with the same spacing either side as
   the section padding, so each row reads like its own section */
.fsd__row + .fsd__row { position: relative; margin-top: 96px; padding-top: 96px; }
.fsd__row + .fsd__row::before { content: ""; position: absolute; top: 0; left: 50%; width: 100vw; height: 1px; translate: -50% 0; background: var(--line); }
@media (min-width: 1024px) { .fsd__row + .fsd__row { margin-top: 140px; padding-top: 140px; } }
.fsd__media { margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--surface-2); }
.fsd__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6) contrast(1.05); transition: transform 1200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .fsd__row:hover .fsd__media img { transform: scale(1.04); } }
/* Cut-out car (no frame) on the black page, larger than its column so part of it runs off the edge of the page
   (the section stops any sideways scroll). From the left: the car lines up with the right edge of its column and
   its back half disappears off the left of the page */
.fsd__car { margin: 0; }
.fsd__car img { display: block; height: auto; max-width: none; }
/* From the left: --to-edge (set in script.js) is the gap between the column and the left edge of the page; the car
   is moved across it and a little further, so its back always runs off the left of the page */
.fsd__car--from-left img { width: 125%; translate: calc(-1 * var(--to-edge, 0px) - 15%) 0; }
@media (max-width: 899px) { .fsd__car--from-left img { width: 110%; } }
/* a smaller car (the Range Rover in Drive) */
.fsd__car--from-left.fsd__car--small img { width: 95%; }
@media (max-width: 899px) { .fsd__car--from-left.fsd__car--small img { width: 88%; } }
/* --to-edge (set in script.js) is the gap between the column and the right edge of the page: the car is moved
   across that gap and a fifth of it further, so its front always runs off the right of the page */
.fsd__car--from-right img { width: 95%; margin-left: auto; translate: calc(var(--to-edge, 0px) + 20%) 0; }
@media (max-width: 899px) { .fsd__car--from-right img { width: 100%; } }
/* Wide screens: each car sits up against the side nearest its writing. If that would leave it short of the edge
   of the page it moves out towards the edge, but never more than 15% of its column, so on very wide screens the
   writing still stays close to the car */
@media (min-width: 900px) {
  .fsd__car--from-left img, .fsd__car--from-left.fsd__car--small img {
    width: var(--w); translate: none;
    margin-left: max(calc(100% - var(--w) - 15%), min(calc(100% - var(--w)), calc(-1 * var(--to-edge, 0px) - var(--w) * 0.06)));
  }
  .fsd__car--from-left img { --w: 125%; }
  .fsd__car--from-left.fsd__car--small img { --w: 112%; }
  .fsd__car--from-right img {
    --w: 112%; width: var(--w); translate: none;
    margin-left: min(15%, max(0px, calc(100% + var(--to-edge, 0px) + var(--w) * 0.06 - var(--w))));
  }
}
.fsd__text h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); margin-bottom: 24px; }
.fsd__text p { max-width: 62ch; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.fsd__text p + p { margin-top: 16px; }
/* Dealer count under the Find writing */
.stat { display: grid; gap: 6px; margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 62ch; } /* same space above and below, between two thin lines */
.stat__num { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.75rem); font-weight: 900; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
/* Joined-up dots under the Source writing */
.dots { margin-top: 36px; max-width: 62ch; }
.dots__track { display: flex; align-items: center; }
.dots__dot { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--muted); background: var(--bg); transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease); }
.dots__dot.is-on { background: var(--text); border-color: var(--text); transform: scale(1.15); }
.dots__line { flex: 1; height: 2px; margin: 0 6px; background: var(--line); overflow: hidden; }
.dots__line > span { display: block; height: 100%; background: var(--text); transform-origin: left; transform: scaleX(var(--p, 0)); }
.dots__labels { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.dots__labels span { transition: color 300ms var(--ease); }
.dots__labels span:nth-child(2) { text-align: center; }
.dots__labels span:nth-child(3) { text-align: right; }
.dots__labels span.is-on { color: var(--text); }
/* Speedometer and rev counter under the Drive writing */
.gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; max-width: 480px; }
@media (max-width: 899px) { .gauges { max-width: 300px; margin-left: auto; margin-right: auto; } }
.gauge { margin: 0; }
.gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.gauge__track { fill: none; stroke: var(--line); stroke-width: 3; stroke-linecap: round; }
.gauge__red { fill: none; stroke: #c8102e; stroke-width: 3; stroke-linecap: round; opacity: 0.85; }
.gauge__fill { fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.gauge__tick { stroke: var(--muted); stroke-width: 1; }
.gauge__tick--major { stroke: var(--text); stroke-width: 2; }
.gauge__tick--red { stroke: #c8102e; }
.gauge__num { fill: var(--muted); font-size: 10px; font-weight: 700; text-anchor: middle; dominant-baseline: middle; font-family: inherit; }
.gauge__needle { stroke: var(--text); stroke-width: 2.5; stroke-linecap: round; transform-origin: 100px 100px; transform: rotate(calc(var(--p, 0) * 270deg)); }
.gauge--revs .gauge__needle { stroke: #c8102e; }
.gauge__hub { fill: var(--bg); stroke: var(--text); stroke-width: 2; }
.gauge__value { fill: var(--text); font-size: 26px; font-weight: 900; text-anchor: middle; font-family: inherit; font-variant-numeric: tabular-nums; }
.gauge__unit { fill: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: 0.18em; text-anchor: middle; font-family: inherit; }
@media (min-width: 900px) {
  .fsd__row, .fsd__row--flip { grid-template-columns: 1fr 1fr; gap: 48px; } /* equal halves, so the writing has room to spread */
  .fsd__row--flip .fsd__media, .fsd__row--flip .fsd__car { order: 2; }
}

/* Apply */
.apply__grid { display: grid; gap: 48px; align-items: start; }
.apply__intro p { color: var(--muted); max-width: 38ch; font-size: 1.125rem; margin-top: -24px; }
@media (min-width: 1024px) { .apply__grid { grid-template-columns: 5fr 7fr; gap: 80px; } }
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
  transition: border-color 200ms var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #6f6f73; }
.field textarea { resize: vertical; min-height: 104px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #3a3a3d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__help { font-size: 0.875rem; color: var(--muted); }
.field__error { font-size: 0.875rem; color: var(--danger); }
.field__error:empty, .form__status:empty { display: none; }
.form__status { color: var(--danger); text-align: center; font-size: 0.9375rem; }
.hp { position: absolute; left: -9999px; }
.form__privacy { font-size: 0.875rem; line-height: 1.6; color: var(--muted); text-align: center; }
.form__privacy a, .legal a:not(.btn) { color: var(--text); text-underline-offset: 3px; }

/* Reviews (Trustpilot) */
.reviews { border-top: 1px solid var(--line); }
.reviews__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .reviews__grid { grid-template-columns: 5fr 7fr; gap: 80px; } }
.reviews__intro .section__title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); margin-bottom: 20px; }
.reviews__intro p { color: var(--muted); max-width: 40ch; font-size: 0.9375rem; line-height: 1.6; }
.reviews__widget { display: grid; gap: 16px; justify-items: start; }
.reviews__btn { padding: 12px 18px; font-size: 0.75rem; gap: 10px; } /* same size as the buttons on the opening screen */
.reviews__star { color: #00b67a; font-size: 1.15em; line-height: 1; } /* Trustpilot green */

/* FAQ */
:root { interpolate-size: allow-keywords; } /* lets the answers slide open where supported */
.faq { border-top: 1px solid var(--line); }
.faq__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: 5fr 7fr; gap: 80px; } }
.faq__intro .section__title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); margin-bottom: 20px; }
.faq__intro p { color: var(--muted); max-width: 34ch; font-size: 0.9375rem; line-height: 1.6; }
.faq__list .faq__item:first-of-type { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0;
  cursor: pointer; list-style: none; font-size: 0.9375rem; font-weight: 500; transition: opacity 200ms var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { opacity: 0.75; }
/* plus that turns into a minus when open */
.faq__icon { position: relative; flex: none; width: 14px; height: 14px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -0.75px; background: currentColor; transition: transform 300ms var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer p { color: var(--muted); font-size: 0.875rem; line-height: 1.7; max-width: 62ch; padding-bottom: 20px; }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size 400ms var(--ease), content-visibility 400ms allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .faq__item::details-content { transition: none; } }

/* Privacy notice page */
.header__back {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 0;
  color: var(--text); text-decoration: none; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.legal { padding: calc(var(--header-h) + 64px) 0 96px; }
.legal__inner { max-width: 760px; }
.legal .section__title { margin-bottom: 12px; }
.legal__updated { color: var(--muted); font-size: 0.875rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.25rem; font-weight: 700; margin: 48px 0 16px; }
.legal p, .legal li { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal strong { color: var(--text); font-weight: 500; }
.form-success { border: 1px solid var(--line); background: var(--surface); padding: 56px 28px; text-align: center; }
.form-success .ph { font-size: 3rem; }
.form-success h3 { margin-top: 12px; font-size: 1.75rem; text-transform: uppercase; font-weight: 900; }
.form-success p { margin-top: 8px; color: var(--muted); }
.form-success:focus { outline: none; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer__grid { display: grid; gap: 36px; align-items: start; }
.footer__logo { color: var(--text); display: block; }
.footer__logo svg { display: block; height: 72px; width: auto; }
.footer__nav { display: grid; gap: 10px; }
.footer__nav a, .footer__contact { text-decoration: none; color: var(--muted); transition: color 200ms var(--ease); }
.footer__nav a:hover, .footer__contact:hover { color: var(--text); }
/* logo with the email, phone and WhatsApp underneath */
.footer__brand { display: grid; gap: 28px; justify-items: start; }
.footer__contacts { display: grid; gap: 12px; justify-items: start; }
.footer__contact { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; } /* email stays on one line */
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 0.75rem; line-height: 1.6; color: var(--muted); }
.footer__legal p { max-width: 95ch; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr auto; column-gap: 64px; } }

/* Scroll reveal: fade up once, as each block comes into view */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }

  /* Photo-and-text blocks (Welcome, Find, Source, Drive): the photo wipes open from its side, then the
     heading and paragraphs fade up one after another */
  .js .intro__grid.reveal, .js .fsd__row.reveal { opacity: 1; transform: none; }
  .js .reveal .fsd__media { clip-path: inset(0 100% 0 0); transition: clip-path 1400ms var(--ease); }
  .js .fsd__row--flip.reveal .fsd__media { clip-path: inset(0 0 0 100%); }
  .js .reveal.is-visible .fsd__media { clip-path: inset(0 0 0 0); }
  .js .reveal .intro__text > *, .js .reveal .fsd__text > * { opacity: 0; transform: translateY(24px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
  .js .reveal.is-visible .intro__text > *, .js .reveal.is-visible .fsd__text > * { opacity: 1; transform: none; }
  .js .reveal .intro__text > .intro__signature, .js .reveal.is-visible .intro__text > .intro__signature { opacity: 1; transform: none; transition: none; }
  .js .reveal .intro__text > :nth-child(1), .js .reveal .fsd__text > :nth-child(1) { transition-delay: 300ms; }
  .js .reveal .intro__text > :nth-child(2), .js .reveal .fsd__text > :nth-child(2) { transition-delay: 420ms; }
  .js .reveal .intro__text > :nth-child(3), .js .reveal .fsd__text > :nth-child(3) { transition-delay: 540ms; }
  .js .reveal .intro__text > :nth-child(4), .js .reveal .fsd__text > :nth-child(4) { transition-delay: 660ms; }

  /* the thin lines between Find, Source and Drive draw outwards from the middle */
  .js .fsd__row.reveal::before { scale: 0 1; transition: scale 1400ms var(--ease); }
  /* the cut-out car glides in from the side it comes from */
  .js .reveal .fsd__car--from-left img { opacity: 0; transform: translateX(-18%); transition: opacity 1000ms var(--ease), transform 1600ms var(--ease); }
  .js .reveal .fsd__car--from-right img { opacity: 0; transform: translateX(18%); transition: opacity 1000ms var(--ease), transform 1600ms var(--ease); }
  .js .reveal.is-visible .fsd__car img { opacity: 1; transform: none; }
  .js .fsd__row.reveal.is-visible::before { scale: 1 1; }
  /* Phones: the Welcome text sits just under the opening video, so it shows straight away rather than fading up */
  @media (max-width: 899px) {
    .js .intro .reveal,
    .js .intro .reveal .intro__text > :not(.intro__signature) { opacity: 1; transform: none; transition: none; }
  }
}

/* Parallax (script.js adds .parallax unless reduced motion is on): photos are a little taller than their
   frames and drift inside them as you scroll */
.parallax .fsd__media img { height: calc(100% + 80px); margin-top: -40px; will-change: translate; }
/* Opening screen: the photo and slogan are kept on their own layers so moving them while scrolling doesn't redraw
   the photo (and its colour filter) every frame */
.parallax .hero__media, .parallax .hero__content { will-change: translate, opacity; }
/* Where the browser can tie an animation straight to the scroll position, the opening screen's drift and fade run
   here (off the main thread, so they stay smooth on phones) instead of in script.js. Same amounts: the photo moves at
   35% of the scroll, the slogan at 15%, fading out over the first 60% of a screen */
@supports (animation-timeline: scroll()) {
  .parallax .hero__media { animation: hero-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  .parallax .hero__content { animation: hero-fade linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  @keyframes hero-drift { from { translate: 0 0; } to { translate: 0 35vh; } }
  @keyframes hero-fade { from { translate: 0 0; opacity: 1; } 60% { opacity: 0; } to { translate: 0 15vh; opacity: 0; } }
}

/* Page not found (404.html) */
.notfound { min-height: 70vh; min-height: 70svh; display: flex; align-items: center; }
.notfound__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Staff login: a quieter link at the end of the footer links, with a small padlock */
.footer__staff { display: inline-flex; align-items: center; gap: 6px; opacity: 0.7; }
.footer__staff:hover { opacity: 1; }

/* Staff login in the menu: with the contact links, a small padlock, pushed to the right */
.menu__staff { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
@media (max-width: 600px) { .menu__staff { margin-left: 0; } }

/* Find / Source / Drive: the one-line headline under each heading */
.fsd__text p.fsd__kicker { margin-top: -10px; color: var(--text); font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); font-weight: 500; line-height: 1.4; }

/* Over a bright photo (before the header turns solid on scroll) the white logo, menu and WhatsApp icon get a soft shadow so they stay visible */
.header:not(.is-solid):not(.menu-open) .header__logo svg,
.header:not(.is-solid):not(.menu-open) .header__whatsapp,
.header:not(.is-solid):not(.menu-open) .header__menu { filter: drop-shadow(0 1px 6px rgb(0 0 0 / 0.55)) drop-shadow(0 0 1px rgb(0 0 0 / 0.4)); }


/* "Why drivers choose VVS" always on one line: it shrinks to fit narrow screens */
.how__title { white-space: nowrap; font-size: min(clamp(1.9rem, 1.2rem + 3vw, 3.75rem), calc((100vw - 48px) / 17.5)); }

/* Each point's heading sits a step below "Why drivers choose VVS" on every screen, always on one line */
.how .step h3 { white-space: nowrap; font-size: min(clamp(1.35rem, 0.9rem + 1.8vw, 2.5rem), calc((100vw - 48px) / 23)); line-height: 1.15; }

/* Every point starts from the top, so 01-04 and their headings sit in exactly the same place whatever the text length */
.how--pinned .step { align-content: start; align-self: start; }

/* "Apply now." beside the form: smaller, the same size as the Reviews and FAQs headings */
.apply__intro .section__title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); margin-bottom: 20px; }
.apply__intro p { margin-top: 0; }

/* Form boxes slightly smaller (text stays 16px so iPhones do not zoom in when you tap a box) */
.field input, .field select, .field textarea { padding: 11px 14px; }
.field textarea { min-height: 88px; }
.form, .form__row { gap: 16px; }
.field { gap: 6px; }

/* Apply now page: the form sits below the fixed header and fills the screen */
.page-apply main { padding-top: var(--header-h); }
.page-apply .apply { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); border-top: 0; }

/* ---- Apply now: step-by-step application, one question at a time ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wz-page { padding-top: 48px; }
.wz-wrap { max-width: 640px; }
.wz-top { display: flex; align-items: center; min-height: 32px; margin-bottom: 12px; }
.wz-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; color: var(--muted); font: inherit; font-size: 0.875rem; cursor: pointer; }
.wz-back:hover { color: var(--text); }
.wz-back[hidden] { display: none; }
.wz-count { margin-left: auto; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.wz-progress { height: 2px; background: var(--line); margin-bottom: 40px; overflow: hidden; }
.wz-progress span { display: block; height: 100%; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease); }
.wz-step { border: 0; margin: 0; padding: 0; min-width: 0; }
@media (prefers-reduced-motion: no-preference) {
  .wz-step:not([hidden]) { animation: wz-in 380ms var(--ease) both; }
  @keyframes wz-in { from { opacity: 0; transform: translateY(12px); } }
}
.wz-q { padding: 0; margin-bottom: 28px; font-size: clamp(1.35rem, 1.05rem + 1.4vw, 2rem); font-weight: 900; line-height: 1.15; letter-spacing: 0.01em; text-transform: uppercase; }
.wz-q:focus { outline: none; }
.wz-sub { margin: 28px 0 12px; font-weight: 600; }
.wz-options { display: grid; gap: 10px; }
.wz-options--pair { grid-template-columns: 1fr 1fr; }
.wz-options--titles { grid-template-columns: repeat(4, 1fr); margin-bottom: 20px; }
.wz-opt { position: relative; display: block; cursor: pointer; }
.wz-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wz-opt span { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color 200ms var(--ease), background 200ms var(--ease); }
.wz-opt span::after { content: ""; flex: none; width: 18px; height: 18px; margin-left: auto; border: 1px solid #5a5a5e; border-radius: 50%; transition: background 200ms var(--ease), box-shadow 200ms var(--ease); }
.wz-opt:hover span { border-color: #3a3a3d; }
.wz-opt input:checked + span { border-color: var(--text); background: var(--surface-2); }
.wz-opt input:checked + span::after { border-color: var(--text); background: var(--text); box-shadow: inset 0 0 0 4px var(--surface-2); }
.wz-opt input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.wz-options--titles .wz-opt span, .wz-options--pair .wz-opt span { justify-content: center; }
.wz-options--titles .wz-opt span::after, .wz-options--pair .wz-opt span::after { display: none; }
.wz-follow { display: grid; gap: 16px; margin-top: 24px; }
.wz-follow[hidden] { display: none; }
.wz-follow .wz-sub { margin: 0; }
.wz-money { display: flex; align-items: center; border: 1px solid var(--line); background: var(--surface); transition: border-color 200ms var(--ease); }
.wz-money:focus-within { border-color: var(--text); }
.wz-money span { padding: 0 2px 0 18px; font-size: 1.75rem; font-weight: 700; color: var(--muted); }
.wz-money input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px 18px 14px 4px; color: var(--text); font: inherit; font-size: 1.75rem; font-weight: 700; }
.wz-money input:focus { outline: none; }
.wz-small { margin-top: 16px; font-size: 0.8125rem; line-height: 1.6; color: var(--muted); }
.wz-small p + p { margin-top: 6px; }
.wz-small ul { margin: 6px 0 0 18px; padding: 0; list-style: disc; }
.wz-dob { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 12px; max-width: 420px; }
.wz-addr + .wz-addr { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.wz-addr[hidden] { display: none; }
.wz-addr__title { margin-bottom: 14px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.wz-find { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.wz-find__btn { min-height: 49px; padding-top: 0; padding-bottom: 0; }
.wz-find__msg { margin-top: 8px; font-size: 0.875rem; color: var(--muted); }
.wz-find__msg:empty { display: none; }
.wz-link { display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wz-addr__fields { display: grid; gap: 14px; margin-top: 16px; }
.wz-addr__fields[hidden] { display: none; }
.wz-dur { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wz-notice { padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.wz-notice h2 { margin-bottom: 12px; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.wz-notice p { font-size: 0.9375rem; line-height: 1.65; color: var(--muted); }
.wz-notice p + p { margin-top: 10px; }
.wz-notice a { color: var(--text); text-underline-offset: 3px; }
.wz-budget__amount { text-align: center; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); font-weight: 900; line-height: 1; }
.wz-budget__amount small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.wz-budget__car { position: relative; margin: 20px 0; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.wz-budget__car img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 140ms ease, transform 400ms var(--ease); }
.wz-budget__car img.is-swapping { opacity: 0; transform: scale(1.03); }
.wz-budget__car figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; background: rgb(0 0 0 / 0.72); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.wz-budget input[type="range"] { width: 100%; height: 32px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.wz-budget input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(to right, var(--text) var(--fill, 14%), var(--line) var(--fill, 14%)); }
.wz-budget input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12px; border: 5px solid var(--bg); border-radius: 50%; background: var(--text); box-shadow: 0 0 0 1px var(--text); }
.wz-budget input[type="range"]::-moz-range-track { height: 4px; background: var(--line); }
.wz-budget input[type="range"]::-moz-range-progress { height: 4px; background: var(--text); }
.wz-budget input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 5px solid var(--bg); border-radius: 50%; background: var(--text); box-shadow: 0 0 0 1px var(--text); }
.wz-budget input[type="range"]:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.wz-budget__scale { display: flex; justify-content: space-between; margin-top: 4px; font-size: 0.75rem; color: var(--muted); }
.wz-error { margin-top: 20px; font-size: 0.9375rem; color: var(--danger); }
.wz-error:empty { display: none; }
.wz-next { margin-top: 28px; }
.wz-next[hidden] { display: none; }
.wz .form__row + .field, .wz .field + .field { margin-top: 16px; }
@media (max-width: 479px) { .wz-options--titles { grid-template-columns: repeat(2, 1fr); } }

/* Apply page: rounder boxes and buttons */
.wz-opt span, .wz-money, .wz .field input, .wz .field select, .wz .field textarea, .wz-notice, .wz-budget__car, .wz .btn { border-radius: 14px; }
.wz-budget__car figcaption { border-radius: 8px; }

/* Apply page answers: narrower boxes with the tick circle beside the text, so there is no big empty gap */
.wz-options:not(.wz-options--pair):not(.wz-options--titles) { max-width: 440px; }
.wz-opt span { min-height: 52px; padding: 12px 16px; }
.wz-opt span::after { order: -1; margin-left: 0; }

/* No "Question x of y" text: the progress bar shows how far along you are */
.wz-count { display: none; }

/* Apply page answers: each box hugs its wording */
.wz-options:not(.wz-options--pair):not(.wz-options--titles) { display: flex; flex-direction: column; align-items: flex-start; max-width: none; }
.wz-options:not(.wz-options--pair):not(.wz-options--titles) .wz-opt span { padding-right: 22px; }

/* Apply page: address list after a postcode search */
.wz-pick { margin-top: 14px; }
.wz-pick[hidden] { display: none; }
.wz-opt-tag { text-transform: none; letter-spacing: 0; font-weight: 400; }

/* Side-by-side boxes on the Apply page line up (no stacking gap) */
.wz .wz-dur .field + .field, .wz .wz-dob .field + .field, .wz .form__row .field + .field { margin-top: 0; }

/* Apply page budget: minus on the left, the amount in the middle, plus on the right */
.wz-stepper { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 28px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.wz-stepper__btn { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid rgb(255 255 255 / 0.5); border-radius: 50%; background: transparent; color: var(--text); font-size: 1.5rem; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: background 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease); }
.wz-stepper__btn:hover { background: var(--text); color: var(--bg); }
.wz-stepper__btn:active { transform: scale(0.94); }
.wz-stepper__btn:disabled { opacity: 0.3; cursor: default; background: transparent; color: var(--text); }
.wz-stepper__btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.wz-stepper__amount { display: grid; justify-items: center; gap: 6px; text-align: center; }
.wz-stepper__amount span { font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.wz-stepper__amount small { font-size: 0.875rem; color: var(--muted); }
@media (max-width: 400px) { .wz-stepper { gap: 10px; padding: 22px 14px; } .wz-stepper__btn { width: 50px; height: 50px; } }

/* Header, top right: WhatsApp then an Apply now button (hidden on the Apply page itself) */
.header__right { justify-self: end; display: flex; align-items: center; gap: 6px; }
.header__right .header__whatsapp { margin-right: 0; }
.header__apply { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--text); border-radius: var(--radius); background: var(--text); color: var(--bg); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background 200ms var(--ease), color 200ms var(--ease); }
.header__apply:hover { background: transparent; color: var(--text); }
.page-apply .header__apply { display: none; }
@media (max-width: 479px) { .header__right { gap: 2px; } .header__apply { height: 32px; padding: 0 10px; font-size: 0.625rem; letter-spacing: 0.08em; } }

/* WhatsApp: always in the bottom right corner, above the page content (the full-screen menu covers it) */
.wa-float { position: fixed; right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 80; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; font-size: 2rem; text-decoration: none; box-shadow: 0 6px 20px rgb(0 0 0 / 0.45); transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.wa-float:hover { transform: scale(1.06); box-shadow: 0 8px 26px rgb(0 0 0 / 0.55); }
.wa-float:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (max-width: 479px) { .wa-float { width: 52px; height: 52px; font-size: 1.75rem; right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); } }

/* Header Apply now: just the words, styled like MENU on the left */
.header__apply, .header__apply:hover { height: auto; padding: 8px 0; border: 0; background: none; color: var(--text); font-size: 0.8125rem; letter-spacing: 0.18em; }
.header__apply:hover { opacity: 0.7; }
@media (max-width: 479px) { .header__apply, .header__apply:hover { padding: 8px 0; font-size: 0.75rem; letter-spacing: 0.12em; } }
.header:not(.is-solid):not(.menu-open) .header__apply { filter: drop-shadow(0 1px 6px rgb(0 0 0 / 0.55)); }

/* WhatsApp button: smaller */
.wa-float { width: 46px; height: 46px; font-size: 1.5rem; }
@media (max-width: 479px) { .wa-float { width: 42px; height: 42px; font-size: 1.375rem; } }

/* Slogan sits on the faded bottom of the video (not below it) and always fits on the first screen on phones */
@media (max-aspect-ratio: 5/4) {
  .hero__content { padding-top: min(calc(76vw * 0.84), calc(100svh - 230px)); }
}
/* Laptops: the slogan a little higher up the video */
@media (min-aspect-ratio: 5/4) {
  .hero__content { padding-bottom: max(64px, 11vh); }
}
/* No rubber-band bounce at the top of the page on iPhones, which showed a strip of black between the logo bar and the video */
html, body { overscroll-behavior-y: none; }

/* Header: the black background and the thin line under it are a separate layer that fades in and out when you scroll.
   Fading the header's own border left a faint line behind on scaled screens (e.g. 125%) after scrolling back to the top */
.header, .header.is-solid, .header.menu-open { border-bottom: 0; background: none; transition: none; }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--bg); box-shadow: inset 0 -1px 0 var(--line); opacity: 0; transition: opacity 300ms var(--ease); }
.header.is-solid::before, .header.menu-open::before { opacity: 1; }

/* Why drivers choose VVS: the points use the full width so the one-line headings stay centred under the title */
.how--pinned .steps { width: 100%; }
.how--pinned .step { justify-self: stretch; text-align: center; }

/* Header: VVS logo on the left; Apply now and the menu (just the three lines) on the right */
.header__inner { display: flex; align-items: center; gap: 20px; }
.header__logo { order: 0; justify-self: auto; }
.header__right { order: 1; margin-left: auto; justify-self: auto; }
.header__menu { order: 2; justify-self: auto; padding: 10px 0 10px 6px; }
.header__menu-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 479px) { .header__inner { gap: 14px; } }

/* Header Apply now: a solid white button again */
.header__apply { height: 36px; padding: 0 16px; border: 1px solid var(--text); border-radius: var(--radius); background: var(--text); color: var(--bg); font-size: 0.6875rem; letter-spacing: 0.14em; opacity: 1; }
.header__apply:hover { height: 36px; padding: 0 16px; border: 1px solid var(--text); background: transparent; color: var(--text); font-size: 0.6875rem; letter-spacing: 0.14em; opacity: 1; }
.header:not(.is-solid):not(.menu-open) .header__apply { filter: none; box-shadow: 0 2px 12px rgb(0 0 0 / 0.3); }
@media (max-width: 479px) { .header__apply, .header__apply:hover { height: 32px; padding: 0 12px; font-size: 0.625rem; letter-spacing: 0.1em; } }

/* Header Apply now: pill-shaped */
.header__apply, .header__apply:hover { border-radius: 999px; padding: 0 18px; }
@media (max-width: 479px) { .header__apply, .header__apply:hover { padding: 0 14px; } }

/* Opening screen buttons (Apply now, Why VVS): pill-shaped like the header button */
.hero__ctas .btn { border-radius: 999px; padding-left: 22px; padding-right: 22px; }

/* Header: VVS logo back in the middle; Apply now and the three-line menu stay on the right */
.header__inner { position: relative; }
.header__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* Small phones: slightly smaller logo and Apply now so the centred logo never touches the button */
@media (max-width: 479px) {
  .header__logo svg { height: 19px; }
  .header__apply, .header__apply:hover { height: 30px; padding: 0 11px; font-size: 0.5625rem; letter-spacing: 0.06em; }
  .header__inner { gap: 10px; }
}

/* Header: three-line menu on the left, logo in the middle, Apply now on the right */
.header__menu { order: -1; padding: 10px 6px 10px 0; }

/* Find / Source / Drive cars: slightly smaller (about 12%) */
@media (min-width: 900px) {
  .fsd__car--from-left img { --w: 110%; }
  .fsd__car--from-left.fsd__car--small img { --w: 98%; }
  .fsd__car--from-right img { --w: 98%; }
}
@media (max-width: 899px) {
  .fsd__car--from-left img { width: 96%; }
  .fsd__car--from-left.fsd__car--small img { width: 78%; }
  .fsd__car--from-right img { width: 88%; }
}

/* Find / Source / Drive cars: a very thin white outline traced around each car's shape */
.fsd__car img { filter: drop-shadow(0.6px 0 0 rgb(255 255 255 / 0.85)) drop-shadow(-0.6px 0 0 rgb(255 255 255 / 0.85)) drop-shadow(0 0.6px 0 rgb(255 255 255 / 0.85)) drop-shadow(0 -0.6px 0 rgb(255 255 255 / 0.85)); }

/* Car outline: a little thicker */
.fsd__car img { filter: drop-shadow(1.3px 0 0 #fff) drop-shadow(-1.3px 0 0 #fff) drop-shadow(0 1.3px 0 #fff) drop-shadow(0 -1.3px 0 #fff); }

/* Car outline removed */
.fsd__car img { filter: none; }

/* Menu: a panel that slides in from the left, two thirds of the way across the screen, with the page dimmed behind */
.menu {
  inset: 0 auto 0 0; width: 66.667vw; justify-content: flex-start; gap: 40px;
  padding: calc(var(--header-h) + 40px) clamp(20px, 4vw, 56px) calc(32px + env(safe-area-inset-bottom));
  border-right: 1px solid var(--line); overflow-y: auto;
  transform: translateX(-100%); transition: transform 400ms var(--ease);
}
.menu.is-open { transform: none; }
.menu ul { margin: 0; max-width: none; gap: 6px; }
.menu li a { font-size: min(clamp(1.4rem, 0.9rem + 1.8vw, 2.6rem), 6.4vw); }
.menu__contact { margin: auto 0 0; max-width: none; flex-direction: column; gap: 10px; font-size: 0.8125rem; }
.menu__contact a { white-space: normal; overflow-wrap: anywhere; }
.menu__staff { margin-left: 0; }
.menu-shade {
  position: fixed; inset: 0; z-index: calc(var(--z-menu) - 1); background: rgb(0 0 0 / 0.6);
  opacity: 0; transition: opacity 400ms var(--ease); cursor: pointer;
}
.menu-shade.is-open { opacity: 1; }
.menu-shade[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .menu, .menu-shade { transition: none; } }

/* Loading screen (home page): black, with the VVS car fading in and out and a thin line that fills as the page loads.
   Only shown while <html> has .is-loading (set by a tiny script in the head); the page's own animations wait for it */
.loader { display: none; }
.is-loading .loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 26px;
  background: #000; color: #fff; transition: opacity 600ms var(--ease), visibility 0s linear 600ms;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__car { display: block; width: min(240px, 56vw); height: auto; overflow: visible; }
.loader__bar { width: min(160px, 40vw); height: 1px; background: rgb(255 255 255 / 0.18); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: #fff; transform: scaleX(0.06); transform-origin: left; transition: transform 450ms var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .loader__car { animation: loader-breathe 1.6s ease-in-out infinite alternate; }
  @keyframes loader-breathe { from { opacity: 0.2; } to { opacity: 1; } }
}
.is-loading body { overflow: hidden; }
.is-loading .header *, .is-loading .header *::before, .is-loading .hero *, .is-loading .reveal { animation-play-state: paused !important; }

/* ---- Opening screen: headline, ticks and Apply now, then a phone with a car bursting out of it ---- */
:root { --accent: #0a5c36; --accent-ink: #fff; --accent-title: #004225; --accent-text: #3fa36b; }
.hero2 { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(32px, 6vh, 72px)) 0 clamp(40px, 8vh, 96px);
  background: radial-gradient(120% 70% at 50% 85%, rgb(63 163 107 / 0.08), transparent 60%), #000; text-align: center; }
.hero2__inner { display: grid; justify-items: center; }
.hero2__title { margin: 0; max-width: 16ch; font-size: clamp(2.3rem, 1.2rem + 4.6vw, 5rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.01em; text-transform: none; }
.hero2__title span { display: block; color: var(--accent-title); }
.hero2__ticks { list-style: none; margin: clamp(22px, 3vh, 32px) 0 0; padding: 0; display: grid; gap: 10px; justify-items: start; }
.hero2__ticks li { display: flex; align-items: center; gap: 10px; font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem); color: var(--text); }
.hero2__ticks i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 0.75rem; }
.hero2__cta { margin-top: clamp(24px, 3.4vh, 36px); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: min(300px, 100%); padding: 18px 40px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 800; font-size: 1.0625rem; letter-spacing: 0.02em; box-shadow: 0 10px 30px rgb(10 92 54 / 0.45);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.hero2__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgb(10 92 54 / 0.55); }
.hero2__cta:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.hero2__note { margin-top: 12px; font-size: 0.8125rem; color: var(--muted); }

/* the picture: phone in the middle, car coming out of it to the left, facts either side */
.hero2__visual { position: relative; width: min(1000px, 100%); margin-top: clamp(28px, 5vh, 56px); height: clamp(420px, 46vw, 560px); }
.hero2__arcs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero2__arcs path { fill: none; stroke: var(--accent-text); stroke-opacity: 0.45; stroke-width: 1.5; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.hero2__arcs path:first-child { stroke: var(--accent); }
.hero2__phone { position: absolute; left: 50%; top: 0; height: 100%; aspect-ratio: 9 / 18.5; transform: translateX(-50%);
  padding: 10px; border-radius: 44px; background: #1a1a1d; box-shadow: inset 0 0 0 1px #3a3a3e, 0 30px 80px rgb(0 0 0 / 0.6);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 98%); mask-image: linear-gradient(to bottom, #000 72%, transparent 98%); }
.hero2__screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.hero2 .hero__still, .hero2 .hero__video { position: absolute; inset: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  -webkit-mask-image: none; mask-image: none; }
.hero2__car { position: absolute; z-index: 2; left: 50%; bottom: 8%; width: clamp(320px, 52vw, 600px); height: auto; transform: translateX(-78%);
  filter: drop-shadow(0 24px 30px rgb(0 0 0 / 0.7)); pointer-events: none; }
.hero2__card { position: absolute; z-index: 3; left: 50%; top: 12%; transform: translateX(-112%); display: grid; grid-template-columns: auto 1fr auto; gap: 10px;
  align-items: start; width: min(300px, 60vw); padding: 12px 14px; text-align: left; border-radius: 16px;
  background: rgb(28 28 31 / 0.82); border: 1px solid rgb(255 255 255 / 0.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.45); }
.hero2__card-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); }
.hero2__card-icon svg { width: 26px; height: auto; overflow: visible; }
.hero2__card-text { font-size: 0.75rem; line-height: 1.35; color: var(--muted); }
.hero2__card-text b { display: block; margin-bottom: 2px; font-size: 0.8125rem; color: var(--text); }
.hero2__card-time { font-size: 0.6875rem; color: var(--muted); }
.hero2__fact { position: absolute; z-index: 3; bottom: 6%; display: grid; gap: 2px; text-align: left; }
.hero2__fact span { font-size: 0.8125rem; color: var(--muted); }
.hero2__fact b { font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); font-weight: 900; line-height: 1.1; }
.hero2__fact small { font-size: 0.6875rem; color: var(--muted); }
.hero2__fact--left { left: 0; }
.hero2__fact--right { right: 0; text-align: right; }
.hero2__fact--right b { font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.35rem); }

/* gentle entrance once the loading screen has gone */
@media (prefers-reduced-motion: no-preference) {
  .hero2__title, .hero2__ticks, .hero2__cta, .hero2__note { animation: hero2-up 800ms var(--ease) both; }
  .hero2__ticks { animation-delay: 120ms; } .hero2__cta { animation-delay: 220ms; } .hero2__note { animation-delay: 280ms; }
  .hero2__phone { animation: hero2-up 1000ms var(--ease) 200ms both; }
  .hero2__car { animation: hero2-car 1200ms var(--ease) 450ms both; }
  .hero2__card { animation: hero2-pop 700ms var(--ease) 1100ms both; }
  .hero2__fact { animation: hero2-fade 800ms var(--ease) 900ms both; }
  @keyframes hero2-up { from { opacity: 0; translate: 0 24px; } }
  @keyframes hero2-car { from { opacity: 0; translate: 18% 0; } }
  @keyframes hero2-pop { from { opacity: 0; scale: 0.92; } }
  @keyframes hero2-fade { from { opacity: 0; } }
  .is-loading .hero2 * { animation-play-state: paused !important; }
}

/* phones: the facts sit under the picture side by side */
@media (max-width: 699px) {
  .hero2__ticks { justify-items: start; }
  .hero2__visual { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding-top: 0; }
  .hero2__phone { position: relative; left: auto; transform: none; grid-column: 1 / -1; justify-self: center; height: 430px; }
  .hero2__car { width: 92vw; bottom: auto; top: 250px; transform: translateX(-62%); }
  .hero2__card { top: 40px; transform: translateX(-50%); width: min(290px, 84vw); }
  .hero2__fact { position: static; }
  .hero2__arcs { display: none; }
}

/* ---- Opening screen: the car drives out of the phone ----
   --ph is the phone's height and --pw its width. The car sits in a box that ends exactly at the right-hand edge of the
   phone screen, so its back is cut off there (still "inside" the phone) while the front breaks out over the left */
.hero2__visual { --ph: clamp(400px, 44vw, 560px); --pw: calc(var(--ph) * 9 / 18.5); --bezel: 10px; height: var(--ph); }
.hero2__phone { width: var(--pw); height: var(--ph); aspect-ratio: auto; padding: var(--bezel); transform: translateX(-50%) rotate(3deg); }
.hero2__scene { position: absolute; inset: 0;
  background:
    radial-gradient(70% 18% at 50% 54%, rgb(255 196 140 / 0.55), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 46%, rgb(255 255 255 / 0.5) 46% 54%, transparent 54% 100%) 50% 78% / 18px 60px no-repeat,
    linear-gradient(180deg, #121a26 0%, #2c3a4f 30%, #6d6170 46%, #d39a6a 53%, #2b2b2e 54%, #1a1a1c 70%, #0d0d0e 100%); }
.hero2__burst { position: absolute; z-index: 2; inset: 0 auto 0 0; right: calc(50% - var(--pw) / 2 + var(--bezel) + 2px); overflow: hidden; pointer-events: none; }
.hero2__car { position: absolute; left: auto; right: 0; bottom: 12%; width: calc(var(--pw) * 2.05); max-width: none;
  transform: scaleX(-1) translateX(-14%); filter: drop-shadow(0 26px 24px rgb(0 0 0 / 0.75)); }
@media (prefers-reduced-motion: no-preference) {
  .hero2__car { animation: hero2-drive 1400ms var(--ease) 500ms both; }
  @keyframes hero2-drive { from { opacity: 0; translate: -38% 0; } }
}
.hero2__card { left: 50%; top: 14%; transform: translateX(calc(-1 * var(--pw) / 2 - 42%)); }

@media (max-width: 699px) {
  .hero2__visual { --ph: 430px; height: auto; }
  .hero2__phone { position: relative; left: auto; transform: rotate(3deg); }
  .hero2__burst { top: 0; bottom: auto; height: var(--ph); right: calc(50% - var(--pw) / 2 + var(--bezel) + 2px); }
  .hero2__car { width: calc(var(--pw) * 2.1); bottom: 10%; top: auto; transform: scaleX(-1) translateX(-10%); }
  .hero2__card { top: 36px; transform: translateX(-50%); }
}

/* phone upright so the car meets the screen edge exactly; facts lower so the car never covers them */
.hero2__phone { transform: translateX(-50%); }
.hero2__car { bottom: 15%; }
.hero2__fact { bottom: 0; }
@media (max-width: 699px) { .hero2__phone { transform: none; } .hero2__car { bottom: 12%; } }

@media (max-width: 699px) { .hero2__car { width: calc(var(--pw) * 1.42); transform: scaleX(-1) translateX(-6%); bottom: 16%; } }

/* ---- Opening screen: an angled iPhone with the car driving out of it ----
   The phone is turned in 3D (--tilt). The car sits in front of the phone, and a copy of the phone's right-hand edge
   (.hero2__edge, same size and angle) is drawn in front of the car, so the car's back disappears inside the phone */
.hero2__visual { --tilt: perspective(1600px) rotateY(-24deg) rotateX(4deg) rotateZ(4deg); --bezel: 9px; --radius: 50px; }
.hero2__phone, .hero2__edge { position: absolute; left: 50%; top: 0; width: var(--pw); height: var(--ph); margin-left: calc(var(--pw) / -2);
  border-radius: var(--radius); transform: var(--tilt); transform-origin: 50% 50%; }
.hero2__phone { padding: var(--bezel); background: linear-gradient(135deg, #4a4a50, #1c1c1f 40%, #2e2e33 70%, #5a5a60);
  box-shadow: inset 0 0 0 1.5px #6b6b72, inset 0 0 0 4px #121214, 14px 6px 0 -2px #2a2a2e, 15px 7px 0 -1px #55555c, 40px 50px 90px rgb(0 0 0 / 0.65);
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 99%); mask-image: linear-gradient(to bottom, #000 74%, transparent 99%); }
.hero2__screen { border-radius: calc(var(--radius) - var(--bezel)); }
.hero2__island { position: absolute; z-index: 2; left: 50%; top: 2.4%; width: 34%; height: 4%; transform: translateX(-50%); border-radius: 999px; background: #000; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.04); }
.hero2__btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #6b6b72, #2a2a2e); }
.hero2__btn--action { left: -3px; top: 17%; height: 4.5%; }
.hero2__btn--vol { left: -3px; top: 25%; height: 15%; box-shadow: 0 0 0 0 transparent; }
.hero2__btn--power { right: -3px; top: 26%; height: 11%; }
/* the edge layer: only the right-hand side of the frame shows */
.hero2__edge { z-index: 3; pointer-events: none; background: none;
  box-shadow: inset 0 0 0 var(--bezel) #2a2a2f, inset 0 0 0 calc(var(--bezel) + 1px) #6b6b72, 14px 6px 0 -2px #2a2a2e, 15px 7px 0 -1px #55555c;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 88%, #000 88%), linear-gradient(to bottom, #000 74%, transparent 99%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0 88%, #000 88%), linear-gradient(to bottom, #000 74%, transparent 99%); mask-composite: intersect; }
/* the car: no longer cut off by a box; its back tucks under the edge layer */
.hero2__burst { inset: 0; right: 0; overflow: visible; }
.hero2__car { right: auto; left: 50%; bottom: 13%; width: calc(var(--pw) * 2); transform: scaleX(-1); margin-left: calc(var(--pw) * -1.58); }
.hero2__card { transform: translateX(calc(-1 * var(--pw) / 2 - 46%)); top: 13%; }

@media (max-width: 699px) {
  .hero2__visual { --ph: 420px; height: var(--ph); display: block; }
  .hero2__phone { position: absolute; transform: var(--tilt); }
  .hero2__burst { height: var(--ph); }
  .hero2__car { width: calc(var(--pw) * 1.5); margin-left: calc(var(--pw) * -1.12); bottom: 14%; transform: scaleX(-1); }
  .hero2__card { top: 30px; transform: translateX(-50%); }
  .hero2__fact { position: absolute; bottom: -64px; }
  .hero2 { padding-bottom: 96px; }
}

.hero2__car { margin-left: calc(var(--pw) * -1.49); }

@media (max-width: 699px) { .hero2__car { width: calc(var(--pw) * 1.28); margin-left: calc(var(--pw) * -0.83); bottom: 15%; } }

/* ---- Opening screen: the iPhone and car are one sharp vector picture (.hero2__art) ---- */
.hero2__art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero2__visual { --pw: calc(var(--ph) * 0.4); }
.hero2__car { position: static; width: auto; max-width: none; margin: 0; transform: none; filter: drop-shadow(0 18px 16px rgb(0 0 0 / 0.7)); }
@media (prefers-reduced-motion: no-preference) {
  .hero2__car { animation: hero2-drive-out 1400ms var(--ease) 500ms both; }
  @keyframes hero2-drive-out { from { translate: 170px 0; } }
}
.hero2__card { top: 14%; transform: translateX(calc(-1 * var(--pw) - 6%)); }
@media (max-width: 699px) {
  .hero2__visual { --ph: 420px; height: var(--ph); }
  .hero2__art { left: 50%; width: 600px; margin-left: -300px; }
  .hero2__card { top: 26px; transform: translateX(-50%); }
}

.hero2__art .hero2__car { width: 520px; height: 212px; bottom: auto; left: auto; right: auto; top: auto; margin: 0; }

.hero2__art .hero2__car { transform: translate(632px, 300px) scale(-1, 1); }

@media (max-width: 699px) { .hero2__art { width: 540px; margin-left: -250px; } }

/* car a little higher up the phone */
.hero2__art .hero2__car { transform: translate(632px, 262px) scale(-1, 1); }

.hero2__art .hero2__car { transform: translate(632px, 232px) scale(-1, 1); }

/* notification: a little smaller and further left */
.hero2__card { width: min(255px, 58vw); padding: 10px 12px; gap: 9px; border-radius: 14px; transform: translateX(calc(-1 * var(--pw) - 18%)); }
.hero2__card-icon { width: 30px; height: 30px; border-radius: 8px; }
.hero2__card-icon svg { width: 22px; }
.hero2__card-text { font-size: 0.6875rem; }
.hero2__card-text b { font-size: 0.75rem; }
.hero2__card-time { font-size: 0.625rem; }
@media (max-width: 699px) { .hero2__card { transform: translateX(-62%); } }

.hero2__card { top: 17%; }
@media (max-width: 699px) { .hero2__card { top: 40px; } }

/* Opening screen: the glow behind the phone fades into solid black towards the bottom */
.hero2 { background: linear-gradient(to top, #000 0%, #000 6%, rgb(0 0 0 / 0) 45%), radial-gradient(120% 70% at 50% 85%, rgb(63 163 107 / 0.08), transparent 60%), #000; }

/* Opening screen notifications: newest on top, the two older ones underneath, a little smaller and dimmer */
.hero2__feed { position: absolute; z-index: 3; left: 50%; top: 7%; width: min(255px, 58vw); transform: translateX(calc(-1 * var(--pw) - 18%));
  display: grid; gap: 8px; pointer-events: none; }
.hero2__feed .hero2__card { position: relative; left: auto; top: auto; width: 100%; transform: none; animation: none;
  max-height: 90px; overflow: hidden; transform-origin: 50% 0;
  transition: max-height 500ms var(--ease), opacity 500ms var(--ease), transform 500ms var(--ease), margin 500ms var(--ease), padding 500ms var(--ease); }
.hero2__feed .hero2__card:nth-child(2) { opacity: 0.8; transform: scale(0.96); }
.hero2__feed .hero2__card:nth-child(3) { opacity: 0.55; transform: scale(0.92); }
.hero2__feed .hero2__card.is-entering { max-height: 0; opacity: 0; transform: translateY(-14px) scale(0.98); padding-top: 0; padding-bottom: 0; margin-bottom: -8px; }
.hero2__feed .hero2__card.is-leaving { max-height: 0; opacity: 0; transform: scale(0.9); padding-top: 0; padding-bottom: 0; margin-top: -8px; }
@media (prefers-reduced-motion: no-preference) {
  .hero2__feed { animation: hero2-pop 700ms var(--ease) 1100ms both; }
}
@media (max-width: 699px) {
  .hero2__feed { top: 22px; transform: translateX(-62%); width: min(255px, 74vw); }
}

/* Notifications: one at a time - the new one appears in the same place as the old one fades away */
.hero2__feed { display: grid; }
.hero2__feed .hero2__card, .hero2__feed .hero2__card:nth-child(2), .hero2__feed .hero2__card:nth-child(3) { grid-area: 1 / 1; opacity: 1; transform: none; max-height: none; margin: 0; padding: 10px 12px; }
.hero2__feed .hero2__card.is-entering { opacity: 0; transform: translateY(8px) scale(0.96); max-height: none; margin: 0; padding: 10px 12px; }
.hero2__feed .hero2__card.is-leaving { opacity: 0; transform: translateY(-8px) scale(0.98); max-height: none; margin: 0; padding: 10px 12px; }

/* notification: a little lower and further left */
.hero2__feed { top: 14%; transform: translateX(calc(-1 * var(--pw) - 28%)); }
@media (max-width: 699px) { .hero2__feed { top: 40px; transform: translateX(-70%); } }

/* Header: a floating black pill with a thin white outline, set in from the edges of the screen */
.header { top: 12px; left: 50%; right: auto; width: min(1240px, calc(100% - 32px)); transform: translateX(-50%); }
.header__inner { height: 60px; padding: 0 22px; }
.header::before { opacity: 1; border-radius: 999px; background: #000; box-shadow: none; border: 1px solid rgb(255 255 255 / 0.35); }
.header.is-solid::before, .header.menu-open::before { opacity: 1; }
@media (max-width: 699px) { .header { top: 10px; width: calc(100% - 24px); } .header__inner { height: 56px; padding: 0 16px; } }

/* Header pill: smaller */
.header { width: min(980px, calc(100% - 32px)); }
.header__inner { height: 50px; padding: 0 18px; }
.header__logo svg { height: 20px; }
.header__apply, .header__apply:hover { height: 32px; padding: 0 15px; font-size: 0.625rem; }
@media (max-width: 699px) { .header__inner { height: 48px; padding: 0 14px; } .header__logo svg { height: 18px; } .header__apply, .header__apply:hover { height: 28px; padding: 0 11px; font-size: 0.5625rem; } }

/* Header pill: thicker outline, smaller bar */
.header::before { border: 2px solid rgb(255 255 255 / 0.55); }
.header { width: min(820px, calc(100% - 32px)); }
.header__inner { height: 44px; padding: 0 16px; }
.header__logo svg { height: 18px; }
.header__apply, .header__apply:hover { height: 28px; padding: 0 13px; font-size: 0.5625rem; }
.burger { transform: scale(0.85); }
@media (max-width: 699px) { .header__inner { height: 44px; padding: 0 13px; } .header__logo svg { height: 16px; } .header__apply, .header__apply:hover { height: 26px; padding: 0 10px; } }

/* Header pill: narrower, so it never runs the full width of the page */
.header { width: min(560px, calc(100% - 48px)); }
@media (max-width: 699px) { .header { width: calc(100% - 40px); } }

.header { width: min(420px, calc(100% - 48px)); }
@media (max-width: 699px) { .header { width: min(340px, calc(100% - 40px)); } }

/* Header pill: a little taller with a bigger logo */
.header__inner { height: 52px; }
.header__logo svg { height: 24px; }
@media (max-width: 699px) { .header__inner { height: 50px; } .header__logo svg { height: 21px; } }

/* Opening headline in capitals */
.hero2__title { text-transform: uppercase; letter-spacing: 0.005em; font-size: clamp(2rem, 1rem + 4vw, 4.4rem); max-width: 18ch; }

/* Opening headline: a little bigger and bolder */
.hero2__title { font-size: clamp(2.2rem, 1.1rem + 4.4vw, 4.9rem); max-width: 19ch; -webkit-text-stroke: 0.025em currentColor; paint-order: stroke fill; }

/* headline always on two lines: shrinks just enough on narrow phones */
.hero2__title { font-size: min(clamp(2.2rem, 1.1rem + 4.4vw, 4.9rem), calc((100vw - 28px) / 10.4)); }

/* Headline lines: each on one line, both the same width (script.js sizes the second line to match the first) */
.hero2__title { max-width: none; width: max-content; margin-left: auto; margin-right: auto; font-size: clamp(1.9rem, 0.95rem + 3.7vw, 4.1rem); line-height: 1; }
.hero2__title .hero2__l1, .hero2__title .hero2__l2 { display: block; white-space: nowrap; }
.hero2__title .hero2__l1 { color: var(--text); }
.hero2__title .hero2__l2 { color: var(--accent-title); margin-top: 0.06em; }

.hero2__title .hero2__l1, .hero2__title .hero2__l2 { width: max-content; margin-left: auto; margin-right: auto; }


/* ---- Find / Source / Drive as tiles: a rounded card each, a lime strip along the top, the car centred inside the
   card and the writing centred underneath. Three across on wide screens, stacked on phones ---- */
.fsd .container { display: grid; gap: 20px; }
@media (min-width: 1024px) { .fsd .container { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.fsd .fsd__row, .fsd .fsd__row--flip, .fsd .fsd__row + .fsd__row {
  display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0 0 32px; position: relative; overflow: hidden;
  background: #111113; border: 1px solid rgb(255 255 255 / 0.08); border-radius: 24px; }
.fsd .fsd__row::before, .fsd .fsd__row + .fsd__row::before, .js .fsd__row.reveal::before, .js .fsd__row.reveal.is-visible::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; width: auto; height: 3px; translate: none; scale: 1 1; background: var(--accent-text); }
.fsd .fsd__car, .fsd .fsd__row--flip .fsd__car { order: 0; display: flex; align-items: center; justify-content: center; height: 230px; padding: 44px 24px 12px; }
.fsd .fsd__car img, .fsd .fsd__car--from-left img, .fsd .fsd__car--from-right img, .fsd .fsd__car--from-left.fsd__car--small img {
  width: auto; max-width: 100%; max-height: 100%; margin: 0 auto; translate: none; }
.fsd .fsd__text { padding: 12px 28px 0; text-align: center; display: flex; flex-direction: column; align-items: center; flex: 1; }
.fsd .fsd__text h2 { margin-bottom: 18px; }
.fsd .fsd__text p { margin-left: auto; margin-right: auto; }
.fsd .stat { width: 100%; justify-items: center; margin-top: auto; padding-top: 24px; }
.fsd .dots, .fsd .gauges { width: 100%; margin-left: auto; margin-right: auto; margin-top: auto; padding-top: 28px; }
.fsd .fsd__text > p:last-of-type { margin-bottom: 4px; }
/* the cars rise in gently inside their tile rather than sliding in from the edge of the page */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal .fsd__car--from-left img, .js .reveal .fsd__car--from-right img { transform: translateY(16px) scale(0.96); }
  .js .reveal.is-visible .fsd__car img { transform: none; }
}
@media (max-width: 1023px) { .fsd .container { max-width: 560px; } }
/* the Mercedes and the Porsche a little smaller in their tiles */
.fsd .fsd__car--from-left:not(.fsd__car--small) img, .fsd .fsd__car--from-right img { max-width: 80%; }
/* the Range Rover a little smaller too, and a soft shadow under all three cars */
.fsd .fsd__car--from-left.fsd__car--small img { max-width: 80%; }
.fsd .fsd__car img { filter: drop-shadow(0 14px 12px rgb(0 0 0 / 0.75)) drop-shadow(0 4px 4px rgb(0 0 0 / 0.5)); }
/* the short lines under Find, Source and Drive in capitals */
.fsd .fsd__text p.fsd__kicker { text-transform: uppercase; letter-spacing: 0.04em; }
.fsd .fsd__text p.fsd__kicker { font-size: 0.86rem; letter-spacing: 0.03em; white-space: nowrap; }
/* full screen: the Shortlist / Compare / Finance dots sit a little higher in their tile */
@media (min-width: 1024px) { .fsd .dots { margin-bottom: 40px; } }

/* ---- Dark charcoal background instead of black: the parts that had black written in directly, rather than using
   the colours at the top of this file ---- */
.is-loading .loader { background: var(--bg); }
.hero2 { background: linear-gradient(to top, var(--bg) 0%, var(--bg) 6%, rgb(34 34 37 / 0) 45%), radial-gradient(120% 70% at 50% 85%, rgb(63 163 107 / 0.08), transparent 60%), var(--bg); }
.header::before { background: var(--bg); }
.fsd .fsd__row, .fsd .fsd__row--flip, .fsd .fsd__row + .fsd__row { background: #2d2d31; }

/* 4 step process: a small icon in a thin circle under each step */
.step__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 28px auto 0; border: 1px solid var(--line); border-radius: 50%; color: var(--text); font-size: 1.6rem; }
@media (max-width: 699px) { .step__icon { width: 48px; height: 48px; margin-top: 22px; font-size: 1.35rem; } }
/* ...and in the same place on every step: each step fills the space of the longest one, with its icon at the bottom */
.how--pinned .step { align-self: stretch; grid-template-rows: auto auto auto 1fr; }
.how--pinned .step__icon { align-self: end; }

/* Opening screen: the headline, ticks and Apply now sit behind the phone, so they can slide down out of sight behind it
   as you scroll (script.js moves them) */
.hero2__copy { position: relative; z-index: 1; width: 100%; display: grid; justify-items: center; will-change: transform, opacity; }
.hero2__visual { z-index: 2; }

/* Opening screen ticks: the theme colour (same as the Apply now button) with a white tick */
.hero2__ticks i { background: var(--accent); color: #fff; }

/* Opening screen car: the BMW M4 faces out of the phone already, so no flip; same spot as the Mercedes (its rear
   edge 632 units across, its bottom 444 down) */
.hero2__art .hero2__car { height: 205px; transform: translate(112px, 239px); }

/* Welcome on a tile like Find / Source / Drive: the same dark rounded card with the thin strip along the top, lined
   up with the edges of the tiles below it and the same 20px gap above them */
.intro { padding-bottom: 48px; }
.intro .intro__grid {
  position: relative; overflow: hidden; width: calc(100% - 40px); max-width: 520px; margin: 0 auto; padding: 52px 24px 40px;
  background: #2d2d31; border: 1px solid rgb(255 255 255 / 0.08); border-radius: 24px; }
.intro .intro__grid::before { content: none; }   /* no strip along the top of the Welcome tile */
@media (min-width: 768px) { .intro .intro__grid { width: calc(100% - 80px); } }
@media (min-width: 1024px) { .intro .intro__grid { max-width: 1240px; padding: 64px 48px 52px; } }
.fsd { padding-top: 48px; }   /* the thin line (border-top) between Welcome and Find / Source / Drive, 48px either side */

/* ---- British racing green theme through the whole page (the variables are still named red and blue): deep green for actions and progress, brighter green for
   information and highlights. (The opening ticks stay green and the notification icons black, as chosen.) ---- */
:root { --red: #0a5c36; --red-dark: #074528; --blue: #2e8b57; --blue-light: #3fa36b; }   /* British racing green: deep (was red) and bright (was blue) */
.header .header__apply, .header .header__apply:hover { border-color: var(--red); }
.header .header__apply { background: var(--red); color: #fff; }
.header .header__apply:hover { background: var(--red-dark); color: #fff; }
.btn--light { background: var(--red); color: #fff; }
.btn--light:hover { background: var(--red-dark); }
.how__progress span::after { background: var(--red); }
.step__num { color: var(--blue-light); }
.step__icon { border-color: rgb(63 163 107 / 0.6); color: var(--blue-light); }
.dots__dot.is-on { background: var(--blue); border-color: var(--blue); }
.dots__line > span { background: var(--blue); }
.gauge__fill { stroke: var(--blue); }
.gauge__needle { stroke: var(--blue-light); }
.gauge--revs .gauge__needle { stroke: var(--blue-light); }
.fsd .fsd__row::before, .fsd .fsd__row + .fsd__row::before, .js .fsd__row.reveal::before, .js .fsd__row.reveal.is-visible::before {
  background: linear-gradient(90deg, var(--red), var(--blue)); }
.fsd { border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent, var(--red) 25%, var(--blue) 75%, transparent) 1; }
.faq__icon { color: var(--blue-light); }
.footer__nav a:hover, .footer__contact:hover, .menu li a:hover, .menu li a:focus-visible { color: var(--blue-light); }
.wz-progress span { background: var(--red); }
.wz-opt input:checked + span { border-color: var(--blue); }
.wz-opt input:checked + span::after { border-color: var(--blue); background: var(--blue); }

/* Page background: a faint pattern of small racing-green dots in flowing diagonal waves (assets/bg-pattern.webp,
   drawn for the site), fixed behind everything so the page scrolls over it. The opening screen is see-through so the
   pattern shows there too (its old glow is dropped, as it ended in a hard edge at the bottom of the section) */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("assets/bg-pattern.webp") center / cover no-repeat; opacity: 0.5; }
.hero2 { background: none; }

/* "Found & funded": white letters with a racing-green outline (the outline is drawn behind the letters, so about
   half of it shows round the edge) */
.hero2__title .hero2__l2 { color: #f3f3f3; -webkit-text-stroke: 0.09em #2e8b57; paint-order: stroke fill; }

/* ---- White theme again: everything is white except the two Apply now buttons (the big one and the one in the
   top bar), which stay racing green. Overrides the green theme above. (The dot-pattern background and the green
   outline on "Found & funded" stay.) ---- */
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: #ffffff; }
.how__progress span::after { background: var(--text); }
.step__num { color: var(--muted); }
.step__icon { border-color: var(--line); color: var(--text); }
.dots__dot.is-on { background: var(--text); border-color: var(--text); }
.dots__line > span { background: var(--text); }
.gauge__fill { stroke: var(--text); }
.gauge__needle { stroke: var(--text); }
.gauge--revs .gauge__needle { stroke: #c8102e; }
.fsd .fsd__row::before, .fsd .fsd__row + .fsd__row::before, .js .fsd__row.reveal::before, .js .fsd__row.reveal.is-visible::before {
  background: var(--text); }
.fsd { border-image: none; border-top: 1px solid var(--line); }
.faq__icon { color: inherit; }
.footer__nav a:hover, .footer__contact:hover, .menu li a:hover, .menu li a:focus-visible { color: var(--text); }
.wz-progress span { background: var(--text); }
.wz-opt input:checked + span { border-color: var(--text); }
.wz-opt input:checked + span::after { border-color: var(--text); background: var(--text); }
.hero2__ticks i { background: #f3f3f3; color: #111113; }
.hero2__arcs path, .hero2__arcs path:first-child { stroke: #f3f3f3; }

/* Title: white letters with an outline in the page's charcoal grey on both lines (replaces the green outline) */
.hero2__title .hero2__l1, .hero2__title .hero2__l2 { color: #f3f3f3; -webkit-text-stroke: 0.12em var(--bg); paint-order: stroke fill; }

/* Background back to plain charcoal (no dot-wave pattern), with a round halftone burst of racing-green dots just
   behind the phone (assets/halftone-circle.webp, drawn for the site), faded slightly */
body::before { content: none; }
.hero2__visual::before { content: ""; position: absolute; z-index: 0; left: 48%; top: 52%; height: 150%; aspect-ratio: 1;
  transform: translate(-50%, -50%); background: url("assets/halftone-circle.webp?v=3") center / contain no-repeat;
  opacity: 0.8; pointer-events: none; }
/* layering for the bigger circle: circle at the back, the headline and Apply now above it, the phone above them (so
   they can still slide behind the phone), the notifications and facts on top */
.hero2__visual { z-index: auto; }
.hero2__art { z-index: 2; }

/* Find / Source / Drive: the strip along the top of each tile in the racing green of the Apply now buttons */
.fsd .fsd__row::before, .fsd .fsd__row + .fsd__row::before, .js .fsd__row.reveal::before, .js .fsd__row.reveal.is-visible::before {
  background: var(--accent); }

/* Opening screen ticks: racing green (as the Apply now buttons) with a white tick */
.hero2__ticks i { background: var(--accent); color: #fff; }

/* Opening screen phone: its lower part fades away (60% to 90% of the way down the picture) with a CSS mask, which every
   browser supports, iPhones included (they ignored the old SVG mask). The phone and its right-hand edge are on their own
   layers (.hero2__art--fade) with the car between them, so the car is not faded. script.js sizes the mask to the area the
   picture is actually drawn in (--fade-w/h/x/y), so the fade lands in the same place on every screen */
.hero2__art--fade {
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 60%, transparent 90%); mask-image: linear-gradient(to bottom, #000 0, #000 60%, transparent 90%);
  -webkit-mask-size: var(--fade-w, 100%) var(--fade-h, 100%); mask-size: var(--fade-w, 100%) var(--fade-h, 100%);
  -webkit-mask-position: var(--fade-x, 0) var(--fade-y, 0); mask-position: var(--fade-x, 0) var(--fade-y, 0);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
