@font-face {
  font-family: "Outfit Local";
  src: url("/assets/fonts/outfit.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Local";
  src: url("/assets/fonts/source-sans-3.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --ink: #111315;
  --ink-soft: #272a2d;
  --paper: #f0ede4;
  --paper-deep: #e4ded2;
  --white: #fffdf8;
  --red: #b5212d;
  --red-dark: #8e1721;
  --gold: #d7a74c;
  --line: rgba(17, 19, 21, 0.18);
  --line-light: rgba(255, 255, 255, 0.2);
  --display: "Outfit Local", "Bahnschrift", sans-serif;
  --body: "Source Sans Local", "Segoe UI", sans-serif;
  --shell: min(1440px, calc(100vw - 96px));
  --header-height: 88px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--red);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(96px, 10vw, 168px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.93;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(54px, 6.2vw, 104px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--red);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 2px;
  background: currentColor;
}

.eyebrow--light {
  color: #f4d2d5;
}

.section-index {
  color: rgba(17, 19, 21, 0.56);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-index--light {
  color: rgba(255, 255, 255, 0.55);
}

.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-family: var(--display);
  font-weight: 600;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(6px);
}

.text-link--light {
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button span {
  font-size: 18px;
}

.button:hover {
  transform: translateY(-2px);
}

.button--red {
  color: var(--white);
  background: var(--red);
}

.button--red:hover {
  background: var(--red-dark);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(17, 19, 21, 0.18);
  backdrop-filter: blur(8px);
}

.button--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.button--light {
  color: var(--ink);
  background: var(--white);
}

.button--dark {
  color: var(--white);
  background: var(--ink);
}

.button--outline {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.button--full {
  width: 100%;
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, height 220ms ease;
}

.site-header.is-scrolled,
.site-header--solid {
  color: var(--ink);
  border-bottom-color: var(--line);
  background: rgba(240, 237, 228, 0.94);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: grid;
  width: min(1600px, calc(100vw - 64px));
  height: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 13px;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand__name {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  line-height: 1;
  text-transform: uppercase;
}

.brand__name strong {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.brand__name small {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  opacity: 0.64;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav a {
  position: relative;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 550;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-call {
  display: flex;
  width: max-content;
  flex-direction: column;
  justify-self: end;
  font-family: var(--display);
  line-height: 1;
  text-align: right;
}

.header-call span {
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.62;
  text-transform: uppercase;
}

.header-call strong {
  font-size: 15px;
  letter-spacing: 0.03em;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 880px;
  overflow: hidden;
  align-items: end;
  color: var(--white);
  background: var(--ink);
}

.hero__media,
.hero__scrim {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-scale 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__scrim {
  background:
    linear-gradient(90deg, rgba(10, 11, 12, 0.95) 0%, rgba(10, 11, 12, 0.77) 38%, rgba(10, 11, 12, 0.1) 76%),
    linear-gradient(0deg, rgba(10, 11, 12, 0.86) 0%, transparent 48%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 170px;
  padding-bottom: 190px;
}

.hero h1 {
  max-width: 860px;
  margin-bottom: 34px;
  font-size: clamp(72px, 8.6vw, 144px);
  font-weight: 620;
  letter-spacing: -0.068em;
  line-height: 0.82;
}

.hero h1 em {
  color: #f05a64;
  font-style: normal;
}

.hero__intro {
  max-width: 640px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.48;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 52px;
}

.rating-lockup {
  display: flex;
  align-items: center;
  gap: 13px;
}

.rating-lockup__score {
  font-family: var(--display);
  font-size: 46px;
  font-weight: 630;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stars {
  display: block;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.stars i {
  color: rgba(255, 255, 255, 0.35);
  font-style: normal;
}

.rating-lockup small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.hero__trust-rule {
  width: 1px;
  height: 45px;
  background: rgba(255, 255, 255, 0.28);
}

.hero__trust p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.35;
}

.hero__trust p strong {
  color: var(--white);
  font-family: var(--display);
  font-size: 15px;
}

.hero__counter {
  position: absolute;
  z-index: 3;
  right: 4vw;
  bottom: 142px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 12px;
}

.hero__counter i {
  display: block;
  width: 58px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.hero__rail {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 112px;
  grid-template-columns: repeat(3, 1fr);
  margin-left: 38%;
  border-top: 1px solid var(--line-light);
  background: rgba(13, 15, 16, 0.82);
  backdrop-filter: blur(14px);
}

.hero__rail a {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 22px 34px;
  border-left: 1px solid var(--line-light);
  transition: background 180ms ease;
}

.hero__rail a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero__rail b {
  color: #f05a64;
  font-family: var(--display);
  font-size: 12px;
}

.hero__rail span {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.2;
}

@keyframes hero-scale {
  from { transform: scale(1.045); opacity: 0.72; }
  to { transform: scale(1); opacity: 1; }
}

.value-section {
  border-bottom: 1px solid var(--line);
}

.value-section__grid {
  display: grid;
  grid-template-columns: 1fr 4fr 2fr;
  gap: 56px;
  align-items: start;
}

.value-section__heading h2 {
  font-size: clamp(58px, 6vw, 100px);
}

.value-section__copy {
  padding-top: 45px;
}

.value-section__copy p {
  margin-bottom: 32px;
  color: rgba(17, 19, 21, 0.7);
  font-size: 20px;
}

.vehicles {
  background: var(--white);
}

.section-head,
.workshop__head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 58px;
}

.section-head h2,
.workshop__head h2 {
  font-size: clamp(60px, 6.4vw, 106px);
}

.section-head__copy,
.workshop__head > p {
  margin-bottom: 8px;
  color: rgba(17, 19, 21, 0.64);
  font-size: 19px;
}

.filter-bar {
  display: flex;
  gap: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.filter-button {
  position: relative;
  padding: 0 0 16px;
  color: rgba(17, 19, 21, 0.45);
  background: none;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
}

.filter-button sup {
  margin-left: 3px;
  font-size: 9px;
}

.filter-button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
}

.filter-button.is-active {
  color: var(--ink);
}

.filter-button.is-active::after {
  transform: scaleX(1);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px 24px;
}

.vehicle-card {
  grid-column: span 3;
  min-width: 0;
  border-top: 3px solid var(--ink);
}

.vehicle-card--featured,
.vehicle-card:nth-child(4) {
  grid-column: span 6;
}

.vehicle-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--paper-deep);
}

.vehicle-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}

.vehicle-card:hover .vehicle-card__image img {
  transform: scale(1.035);
}

.vehicle-card--sold .vehicle-card__image img {
  filter: grayscale(0.75) contrast(0.84);
}

.vehicle-card__status,
.vehicle-card__number {
  position: absolute;
  top: 14px;
  padding: 7px 10px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vehicle-card__status {
  left: 14px;
  color: var(--white);
  background: var(--red);
}

.vehicle-card--sold .vehicle-card__status {
  background: var(--ink);
}

.vehicle-card__number {
  right: 14px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(5px);
}

.vehicle-card__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 18px;
  padding: 20px 0 10px;
}

.vehicle-card__make {
  margin-bottom: 2px;
  color: var(--red);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vehicle-card h3 {
  margin: 0;
  font-size: 36px;
  line-height: 1;
}

.vehicle-card__price {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.vehicle-card__specs {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 7px 18px;
  padding: 12px 0;
  margin: 0;
  color: rgba(17, 19, 21, 0.57);
  border-block: 1px solid var(--line);
  font-size: 13px;
  list-style: none;
}

.vehicle-card__specs li:not(:last-child)::after {
  margin-left: 18px;
  content: "·";
}

.vehicle-card__link {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 650;
}

.vehicle-card__link span {
  font-size: 18px;
  transition: transform 180ms ease;
}

.vehicle-card:hover .vehicle-card__link span {
  transform: translate(3px, -3px);
}

.featured-vehicle {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  color: var(--white);
  background: var(--ink);
}

.featured-vehicle__image {
  min-height: 800px;
  overflow: hidden;
}

.featured-vehicle__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-vehicle__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 7vw, 128px);
}

.featured-vehicle__make {
  margin: 0;
  color: #f05a64;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.featured-vehicle h2 {
  margin: -4px 0 25px;
  font-size: clamp(100px, 11vw, 180px);
}

.featured-vehicle__lead {
  max-width: 500px;
  margin-bottom: 46px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 21px;
}

.featured-vehicle__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 48px;
  border-top: 1px solid var(--line-light);
}

.featured-vehicle__facts div {
  padding: 19px 0;
  border-bottom: 1px solid var(--line-light);
}

.featured-vehicle__facts div:nth-child(odd) {
  border-right: 1px solid var(--line-light);
}

.featured-vehicle__facts div:nth-child(even) {
  padding-left: 24px;
}

.featured-vehicle__facts dt {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  text-transform: uppercase;
}

.featured-vehicle__facts dd {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
}

.featured-vehicle__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.featured-vehicle__bottom > strong {
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 48px);
}

.tyres {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--red-dark);
}

.tyres::before {
  position: absolute;
  right: -10vw;
  bottom: -34vw;
  width: 56vw;
  height: 56vw;
  border: 90px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  content: "";
}

.tyres__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(60px, 9vw, 150px);
  align-items: center;
}

.tyres__content h2 {
  margin-bottom: 28px;
}

.tyres__content > p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 21px;
}

.tyres__content .section-index {
  margin-bottom: 70px;
}

.tyre-form {
  padding: clamp(28px, 4vw, 54px);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 35px 90px rgba(44, 3, 8, 0.32);
}

.tyre-form__visual {
  position: relative;
  display: flex;
  width: 128px;
  height: 128px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 34px;
  border: 17px solid var(--ink);
  border-radius: 50%;
  font-family: var(--display);
  line-height: 1;
}

.tyre-form__visual::before,
.tyre-form__visual::after {
  position: absolute;
  width: 2px;
  height: 15px;
  content: "";
  background: var(--paper);
}

.tyre-form__visual::before { top: -15px; }
.tyre-form__visual::after { bottom: -15px; }
.tyre-form__visual span { font-size: 10px; letter-spacing: 0.16em; }
.tyre-form__visual i { width: 26px; height: 1px; margin: 7px 0; background: var(--red); }
.tyre-form__visual b { font-size: 17px; }

.tyre-form fieldset {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr;
  gap: 12px;
  align-items: end;
  padding: 0;
  margin: 0 0 24px;
  border: 0;
}

.tyre-form legend {
  width: 100%;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 650;
}

.tyre-form label span {
  display: block;
  margin-bottom: 7px;
  color: rgba(17, 19, 21, 0.54);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tyre-form select,
.enquiry-dialog input,
.enquiry-dialog select,
.enquiry-dialog textarea {
  width: 100%;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #f6f3eb;
}

.tyre-form__slash {
  padding-bottom: 14px;
  color: rgba(17, 19, 21, 0.34);
  font-family: var(--display);
  font-size: 25px;
}

.tyre-form__result {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 650;
}

.workshop {
  background: var(--paper);
}

.workshop__head .section-index {
  margin-bottom: 70px;
}

.service-list {
  border-top: 1px solid var(--ink);
}

.service-row {
  display: grid;
  min-height: 132px;
  grid-template-columns: 80px minmax(260px, 1fr) minmax(260px, 0.9fr) 60px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.service-row:hover {
  padding-inline: 20px;
  color: var(--white);
  background: var(--ink);
}

.service-row__number {
  color: var(--red);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
}

.service-row h3 {
  margin: 0;
  font-size: clamp(29px, 3vw, 44px);
  letter-spacing: -0.035em;
}

.service-row p {
  margin: 0;
  color: rgba(17, 19, 21, 0.56);
}

.service-row:hover p {
  color: rgba(255, 255, 255, 0.6);
}

.service-row__arrow {
  justify-self: end;
  font-size: 25px;
}

.local-section {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  background: var(--ink);
}

.local-section__image {
  position: absolute;
  inset: 0;
}

.local-section__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(17, 19, 21, 0.12), rgba(17, 19, 21, 0.7));
}

.local-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.local-section__card {
  position: absolute;
  right: 7vw;
  bottom: 0;
  width: min(600px, 48vw);
  padding: clamp(54px, 6vw, 92px);
  color: var(--white);
  background: rgba(17, 19, 21, 0.93);
  backdrop-filter: blur(12px);
}

.local-section__card h2 {
  margin-bottom: 30px;
  font-size: clamp(54px, 5.3vw, 84px);
}

.local-section__card > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.64);
}

.local-section__proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 45px;
  border-top: 1px solid var(--line-light);
}

.local-section__proof > div {
  display: flex;
  gap: 14px;
  align-items: end;
  padding-top: 25px;
}

.local-section__proof > div:first-child {
  padding-right: 20px;
  border-right: 1px solid var(--line-light);
}

.local-section__proof > div:last-child {
  padding-left: 25px;
}

.local-section__proof strong {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
}

.local-section__proof span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1.25;
}

.contact {
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.58fr;
  gap: 60px;
  align-items: end;
}

.contact__heading .section-index {
  margin-bottom: 70px;
}

.contact__heading h2 {
  font-size: clamp(58px, 6.2vw, 100px);
}

.contact__details {
  display: grid;
  gap: 35px;
}

.contact__details span {
  display: block;
  margin-bottom: 10px;
  color: rgba(17, 19, 21, 0.45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact__details strong,
.contact__details a {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 580;
  line-height: 1.35;
}

.contact__actions {
  display: grid;
  gap: 10px;
}

.site-footer {
  color: var(--white);
  background: var(--ink);
}

.site-footer__top {
  display: grid;
  min-height: 180px;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
}

.brand--footer {
  color: var(--white);
}

.site-footer__top > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.site-footer__top > a:last-child {
  justify-self: end;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 620;
}

.site-footer__bottom {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
}

.site-footer__bottom p {
  margin: 0;
}

.mobile-action-bar {
  display: none;
}

.enquiry-dialog {
  width: min(560px, calc(100vw - 30px));
  max-height: calc(100vh - 40px);
  padding: clamp(30px, 5vw, 58px);
  overflow-y: auto;
  border: 0;
  border-top: 6px solid var(--red);
  background: var(--white);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
}

.enquiry-dialog::backdrop {
  background: rgba(10, 11, 12, 0.76);
  backdrop-filter: blur(4px);
}

.enquiry-dialog h2 {
  margin-bottom: 32px;
  font-size: clamp(42px, 5vw, 66px);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--paper);
  font-size: 24px;
  line-height: 1;
}

.enquiry-dialog form {
  display: grid;
  gap: 18px;
}

.enquiry-dialog label > span {
  display: block;
  margin-bottom: 6px;
  color: rgba(17, 19, 21, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.enquiry-dialog textarea {
  resize: vertical;
}

.form-note,
.form-result {
  margin: 0;
  font-size: 12px;
}

.form-note {
  color: rgba(17, 19, 21, 0.48);
}

.form-result {
  min-height: 18px;
  color: var(--red-dark);
  font-weight: 650;
}

.dialog-vehicle {
  margin: -22px 0 26px;
  color: var(--red);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 650;
}

/* Vehicle detail */
.detail-page {
  background: var(--white);
}

.detail-page main {
  padding-top: var(--header-height);
}

.detail-nav {
  display: flex;
  grid-column: 2 / 4;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.detail-nav > a:first-child {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
}

.detail-breadcrumb {
  display: flex;
  gap: 9px;
  padding-block: 30px;
  color: rgba(17, 19, 21, 0.48);
  font-size: 13px;
}

.detail-breadcrumb strong {
  color: var(--ink);
}

.vehicle-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(360px, 0.62fr);
  gap: clamp(45px, 6vw, 100px);
  align-items: start;
  padding-bottom: clamp(90px, 10vw, 150px);
}

.vehicle-gallery__main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--paper);
}

.vehicle-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 140ms ease;
}

.vehicle-gallery__counter {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 11px;
  color: var(--white);
  background: rgba(17, 19, 21, 0.78);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.09em;
}

.vehicle-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.vehicle-gallery__thumbs button {
  position: relative;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 3px solid transparent;
  background: var(--paper);
}

.vehicle-gallery__thumbs button.is-active {
  border-color: var(--red);
}

.vehicle-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-summary {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  padding-top: 18px;
  border-top: 4px solid var(--ink);
}

.vehicle-summary__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
  color: rgba(17, 19, 21, 0.45);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.availability {
  padding: 7px 9px;
  color: var(--white);
  background: var(--red);
}

.vehicle-summary__make {
  margin-bottom: 0;
  color: var(--red);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.vehicle-summary h1 {
  margin: -4px 0 8px;
  font-size: clamp(80px, 8vw, 128px);
}

.vehicle-summary__version {
  margin-bottom: 34px;
  color: rgba(17, 19, 21, 0.6);
  font-size: 18px;
}

.vehicle-summary__price {
  margin-bottom: 32px;
  font-family: var(--display);
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 680;
  letter-spacing: -0.05em;
}

.vehicle-summary__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 30px;
  border-top: 1px solid var(--line);
}

.vehicle-summary__specs div {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.vehicle-summary__specs div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.vehicle-summary__specs div:nth-child(even) {
  padding-left: 18px;
}

.vehicle-summary__specs dt {
  color: rgba(17, 19, 21, 0.45);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vehicle-summary__specs dd {
  margin: 3px 0 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 620;
}

.vehicle-summary__actions {
  display: grid;
  gap: 10px;
}

.vehicle-summary__note {
  margin: 16px 0 0;
  color: rgba(17, 19, 21, 0.45);
  font-size: 11px;
}

.vehicle-story {
  background: var(--paper);
}

.vehicle-story__grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 70px;
}

.vehicle-story__heading .section-index {
  margin-bottom: 70px;
}

.vehicle-story__heading h2 {
  max-width: 850px;
}

.vehicle-story__copy {
  align-self: end;
  color: rgba(17, 19, 21, 0.65);
  font-size: 21px;
}

.feature-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 50px;
  border-top: 1px solid var(--ink);
}

.feature-list div {
  display: flex;
  min-height: 105px;
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-list div:nth-child(3n) {
  border-right: 0;
}

.feature-list span {
  color: var(--red);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
}

.feature-list strong {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
}

.vehicle-contact {
  padding-block: clamp(85px, 9vw, 140px);
  color: var(--white);
  background: var(--red-dark);
}

.vehicle-contact__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}

.vehicle-contact h2 {
  font-size: clamp(58px, 6vw, 96px);
}

.vehicle-contact__actions {
  display: grid;
  min-width: 300px;
  gap: 25px;
}

.mobile-action-bar button {
  color: inherit;
  background: transparent;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 640ms ease, transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  :root { --shell: min(100% - 56px, 1120px); }
  .site-header__inner { width: calc(100vw - 48px); }
  .primary-nav { gap: 22px; }
  .hero__rail { margin-left: 26%; }
  .vehicle-card { grid-column: span 6; }
  .vehicle-card--featured { grid-column: span 6; }
  .featured-vehicle { grid-template-columns: 1fr 1fr; }
  .featured-vehicle__image { min-height: 700px; }
  .contact__grid { grid-template-columns: 1fr 0.8fr; }
  .contact__actions { grid-column: 2; }
  .vehicle-detail { grid-template-columns: minmax(0, 1fr) minmax(340px, 0.62fr); gap: 45px; }
}

@media (max-width: 900px) {
  :root { --header-height: 74px; --shell: calc(100vw - 40px); }
  body { font-size: 17px; }
  .site-header__inner { width: calc(100vw - 36px); grid-template-columns: 1fr auto; }
  .site-header { color: var(--ink); background: rgba(240, 237, 228, 0.95); border-bottom-color: var(--line); backdrop-filter: blur(18px); }
  .header-call { display: none; }
  .nav-toggle { position: relative; z-index: 2; display: grid; width: 44px; height: 44px; place-content: center; gap: 7px; background: transparent; }
  .nav-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; background: currentColor; transition: transform 180ms ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .primary-nav { position: fixed; top: var(--header-height); right: 0; left: 0; display: grid; gap: 0; padding: 28px 20px 36px; color: var(--ink); border-bottom: 1px solid var(--line); background: var(--paper); transform: translateY(-140%); transition: transform 260ms ease; }
  .primary-nav.is-open { transform: translateY(0); }
  .primary-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 22px; }
  .hero { min-height: 800px; }
  .hero__content { padding-top: 150px; padding-bottom: 175px; }
  .hero h1 { font-size: clamp(68px, 13vw, 104px); }
  .hero__scrim { background: linear-gradient(90deg, rgba(10, 11, 12, 0.92), rgba(10, 11, 12, 0.3)), linear-gradient(0deg, rgba(10, 11, 12, 0.9), transparent 58%); }
  .hero__rail { min-height: 92px; margin-left: 0; }
  .hero__rail a { gap: 13px; padding: 14px 18px; }
  .hero__counter { display: none; }
  .value-section__grid { grid-template-columns: 1fr; gap: 26px; }
  .value-section__heading { max-width: 700px; }
  .value-section__copy { max-width: 620px; padding-top: 0; }
  .section-head, .workshop__head { grid-template-columns: 1fr; gap: 28px; }
  .vehicle-card, .vehicle-card--featured, .vehicle-card:nth-child(4) { grid-column: span 6; }
  .featured-vehicle { grid-template-columns: 1fr; }
  .featured-vehicle__image { min-height: 540px; }
  .featured-vehicle__content { padding: 68px 40px; }
  .tyres__grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 50px 1fr 45px; padding-block: 22px; }
  .service-row p { grid-column: 2; }
  .service-row__arrow { grid-column: 3; grid-row: 1 / 3; }
  .local-section__card { right: 20px; width: min(640px, calc(100vw - 40px)); }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .contact__heading { grid-column: 1 / -1; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__top > p { display: none; }
  .detail-nav { grid-column: auto; }
  .detail-nav .header-call { display: none; }
  .vehicle-detail { grid-template-columns: 1fr; }
  .vehicle-summary { position: static; }
  .vehicle-story__grid { grid-template-columns: 1fr; }
  .vehicle-story__copy { max-width: 650px; }
  .feature-list { grid-column: 1; grid-template-columns: 1fr 1fr; }
  .feature-list div:nth-child(3n) { border-right: 1px solid var(--line); }
  .feature-list div:nth-child(2n) { padding-left: 18px; border-right: 0; }
  .vehicle-contact__inner { align-items: start; flex-direction: column; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100vw - 28px); }
  body { padding-bottom: 66px; }
  .section-pad { padding-block: 82px; }
  .site-header__inner { width: calc(100vw - 28px); }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name strong { font-size: 13px; }
  .hero { min-height: 760px; }
  .hero__media img { object-position: 64% center; }
  .hero__scrim { background: linear-gradient(90deg, rgba(10, 11, 12, 0.96) 0%, rgba(10, 11, 12, 0.62) 70%, rgba(10, 11, 12, 0.34)), linear-gradient(0deg, rgba(10, 11, 12, 0.96), transparent 58%); }
  .hero__content { padding-top: 130px; padding-bottom: 152px; }
  .hero h1 { margin-bottom: 28px; font-size: clamp(58px, 18vw, 82px); line-height: 0.86; }
  .hero__intro { max-width: 94%; font-size: 17px; }
  .hero__actions { display: grid; width: 100%; grid-template-columns: 1fr; }
  .hero__actions .button { width: 100%; }
  .hero__trust { gap: 18px; margin-top: 34px; }
  .rating-lockup__score { font-size: 38px; }
  .hero__rail { min-height: 80px; }
  .hero__rail a { justify-content: center; padding: 12px 5px; border-left: 0; border-right: 1px solid var(--line-light); text-align: center; }
  .hero__rail b { display: none; }
  .hero__rail span { font-size: 12px; }
  h2, .section-head h2, .workshop__head h2, .contact__heading h2 { font-size: clamp(47px, 14vw, 66px); }
  .section-index { margin-bottom: 36px !important; }
  .value-section__heading h2 { font-size: clamp(48px, 14vw, 68px); }
  .filter-bar { gap: 22px; overflow-x: auto; }
  .filter-button { flex: none; }
  .vehicle-grid { display: block; }
  .vehicle-card { margin-bottom: 44px; }
  .vehicle-card h3 { font-size: 40px; }
  .featured-vehicle__image { min-height: 390px; }
  .featured-vehicle__content { padding: 58px 22px 72px; }
  .featured-vehicle h2 { font-size: 104px; }
  .featured-vehicle__bottom { align-items: stretch; flex-direction: column; }
  .tyres__grid { gap: 48px; }
  .tyre-form { padding: 28px 18px; }
  .tyre-form fieldset { grid-template-columns: 1fr auto 1fr; }
  .tyre-form label:last-child { grid-column: 1 / -1; }
  .tyre-form__slash { padding-bottom: 14px; }
  .service-row { grid-template-columns: 36px 1fr 32px; gap: 10px; }
  .service-row h3 { font-size: 29px; }
  .service-row p { font-size: 14px; }
  .local-section { min-height: 720px; }
  .local-section__image img { object-position: 64% center; }
  .local-section__card { right: 14px; width: calc(100vw - 28px); padding: 44px 24px; }
  .local-section__card h2 { font-size: 52px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__heading, .contact__actions { grid-column: 1; }
  .site-footer__top { min-height: 150px; grid-template-columns: 1fr; gap: 24px; align-content: center; }
  .site-footer__top > a:last-child { justify-self: start; }
  .site-footer__bottom { min-height: 110px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; }
  .mobile-action-bar { position: fixed; z-index: 70; right: 0; bottom: 0; left: 0; display: grid; height: 66px; grid-template-columns: repeat(3, 1fr); color: var(--white); border-top: 1px solid rgba(255,255,255,.16); background: rgba(17,19,21,.96); backdrop-filter: blur(14px); }
  .mobile-action-bar a, .mobile-action-bar button { display: flex; align-items: center; justify-content: center; flex-direction: column; border-right: 1px solid rgba(255,255,255,.14); font-family: var(--display); line-height: 1.1; }
  .mobile-action-bar span { margin-bottom: 4px; color: rgba(255,255,255,.48); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
  .mobile-action-bar strong { font-size: 13px; }
  .detail-breadcrumb { overflow: hidden; white-space: nowrap; }
  .vehicle-detail { gap: 28px; }
  .vehicle-gallery__thumbs { gap: 7px; }
  .vehicle-summary h1 { font-size: 82px; }
  .vehicle-story__grid { gap: 30px; }
  .feature-list { grid-template-columns: 1fr; margin-top: 28px; }
  .feature-list div, .feature-list div:nth-child(3n), .feature-list div:nth-child(2n) { min-height: 78px; padding-left: 0; border-right: 0; }
  .vehicle-contact__actions { width: 100%; min-width: 0; }
}

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

/* ========================================================================== */
/* FM REDLINE — the digital forecourt                                         */
/* ========================================================================== */

:root {
  --red: #d32631;
  --red-dark: #9e1520;
  --carbon: #090b0c;
  --aluminium: #b7bab7;
  --redline-progress: 0%;
  --hero-shift: 0px;
  --hero-pointer-x: 50%;
  --hero-pointer-y: 50%;
}

html {
  background: var(--carbon);
}

body {
  overflow-x: clip;
}

.fm-intro {
  display: none;
}

.js-enabled .fm-intro {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-content: center;
  color: var(--white);
  background: var(--carbon);
  transition: visibility 0s linear 900ms;
}

.fm-intro::before,
.fm-intro::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.1%;
  content: "";
  background: var(--carbon);
  transition: transform 850ms cubic-bezier(0.76, 0, 0.24, 1);
}

.fm-intro::before { left: 0; }
.fm-intro::after { right: 0; }

.fm-intro__mark,
.fm-intro > p {
  position: relative;
  z-index: 2;
  transition: opacity 240ms ease, transform 350ms ease;
}

.fm-intro__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.fm-intro__mark span {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  background: var(--red);
  font-family: var(--display);
  font-size: 36px;
  font-weight: 850;
  letter-spacing: -0.06em;
}

.fm-intro__mark i {
  width: 0;
  height: 2px;
  background: var(--red);
  animation: intro-line 700ms 180ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fm-intro > p {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.fm-intro.is-leaving::before { transform: translateX(-101%); }
.fm-intro.is-leaving::after { transform: translateX(101%); }
.fm-intro.is-leaving .fm-intro__mark,
.fm-intro.is-leaving > p { opacity: 0; transform: translateY(-12px); }
.fm-intro.is-finished { visibility: hidden; }

@keyframes intro-line {
  to { width: 120px; }
}

.page-transition {
  position: fixed;
  z-index: 990;
  inset: 0;
  pointer-events: none;
  visibility: hidden;
  background: var(--red);
  transform: translateY(102%);
  transition: transform 520ms cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 520ms;
}

.is-transitioning .page-transition {
  visibility: visible;
  transform: translateY(0);
  transition: transform 520ms cubic-bezier(0.76, 0, 0.24, 1);
}

.redline-progress {
  position: fixed;
  z-index: 80;
  top: 50%;
  right: 25px;
  display: grid;
  grid-template-columns: auto 2px;
  grid-template-rows: auto 170px auto;
  gap: 10px 12px;
  align-items: start;
  color: var(--ink);
  mix-blend-mode: difference;
  pointer-events: none;
  transform: translateY(-50%);
}

.redline-progress__label {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: center;
  color: var(--white);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(-90deg);
  transform-origin: center;
}

.redline-progress > i {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  display: block;
  width: 2px;
  height: 170px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.redline-progress > i b {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--red);
  transform: scaleY(var(--progress-scale, 0));
  transform-origin: top;
}

.redline-progress__number {
  grid-column: 2;
  grid-row: 3;
  color: var(--white);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
}

.pointer-signal {
  position: fixed;
  z-index: 95;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(211, 38, 49, 0.75);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50px, -50px, 0);
  transition: width 180ms ease, height 180ms ease, opacity 180ms ease, background 180ms ease;
}

.pointer-signal::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: var(--red);
  transform: translate(-50%, -50%);
}

.pointer-signal.is-visible { opacity: 1; }
.pointer-signal.is-active {
  width: 58px;
  height: 58px;
  background: rgba(211, 38, 49, 0.12);
}

.site-header {
  transition: height 300ms ease, background 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--red) 0 74px, rgba(255,255,255,.18) 74px 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-scrolled::after,
.site-header--solid::after { transform: scaleX(1); }

.primary-nav a,
.detail-nav > a:first-child {
  position: relative;
}

.primary-nav a::after,
.detail-nav > a:first-child::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.primary-nav a:hover::after,
.primary-nav a.is-current::after,
.detail-nav > a:first-child:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.brand__mark {
  position: relative;
  overflow: hidden;
}

.brand__mark::after {
  position: absolute;
  inset: -70% -20%;
  content: "";
  background: linear-gradient(100deg, transparent 38%, rgba(255,255,255,.35) 50%, transparent 62%);
  transform: translateX(-100%) rotate(8deg);
  transition: transform 650ms ease;
}

.brand:hover .brand__mark::after { transform: translateX(100%) rotate(8deg); }

.hero {
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.14;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(255,255,255,.11) 50%, transparent calc(50% + .5px)),
    linear-gradient(0deg, transparent calc(50% - .5px), rgba(255,255,255,.08) 50%, transparent calc(50% + .5px));
  background-size: 25% 100%, 100% 25%;
  mask-image: linear-gradient(90deg, transparent 0 35%, #000 75%);
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle 260px at var(--hero-pointer-x) var(--hero-pointer-y), rgba(255,255,255,.13), transparent 72%);
  opacity: 0.6;
}

.hero__media img {
  width: 104%;
  max-width: none;
  transform: translate3d(-2%, var(--hero-shift), 0) scale(1.035);
  transition: filter 900ms ease;
  will-change: transform;
}

.hero__scrim { z-index: 1; }
.hero__content,
.hero__counter,
.hero__rail,
.hero__live { z-index: 3; }

.hero h1 {
  display: grid;
  gap: 0;
}

.hero-line {
  display: block;
  overflow: hidden;
  margin-block: -0.08em;
}

.hero-line > span {
  display: block;
  transform: translateY(112%);
  animation: hero-line-in 820ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-line:nth-child(1) > span { animation-delay: 900ms; }
.hero-line:nth-child(2) > span { animation-delay: 1000ms; }
.hero-line:nth-child(3) > span { animation-delay: 1100ms; }
.hero-line--red { color: #f24b57; }

@keyframes hero-line-in {
  to { transform: translateY(0); }
}

.hero__intro,
.hero__actions,
.hero__trust {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-content-in 720ms 1220ms ease forwards;
}

.hero__actions { animation-delay: 1320ms; }
.hero__trust { animation-delay: 1420ms; }

@keyframes hero-content-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero__live {
  position: absolute;
  top: calc(var(--header-height) + 30px);
  right: 48px;
  bottom: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.76);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
}

.hero__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(211,38,49,.55);
  animation: signal-pulse 1.8s infinite;
}

.hero__live b {
  color: rgba(255,255,255,.35);
  font-weight: 600;
}

@keyframes signal-pulse {
  70% { box-shadow: 0 0 0 10px rgba(211,38,49,0); }
  100% { box-shadow: 0 0 0 0 rgba(211,38,49,0); }
}

.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(var(--magnetic-x, 0), var(--magnetic-y, 0), 0);
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 180ms ease;
}

.button::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: var(--ink);
  transform: translateY(102%);
  transition: transform 330ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button:hover::before { transform: translateY(0); }
.button--ghost::before,
.button--dark::before { background: var(--red); }
.button--outline::before { background: var(--ink); }
.button--light::before { background: var(--red); }
.button:hover { color: var(--white); }

.value-section {
  position: relative;
  overflow: hidden;
}

.value-section::after {
  position: absolute;
  right: -3vw;
  bottom: -0.31em;
  content: "FM";
  color: rgba(17,19,21,.035);
  font-family: var(--display);
  font-size: clamp(260px, 31vw, 560px);
  font-weight: 900;
  letter-spacing: -.1em;
  line-height: .7;
  pointer-events: none;
}

.vehicles {
  position: relative;
  background:
    linear-gradient(rgba(17,19,21,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,19,21,.04) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
}

.vehicles::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(20px, calc((100vw - 1440px) / 2));
  width: 2px;
  content: "";
  background: linear-gradient(var(--red) 0 34%, transparent 34% 100%);
}

.filter-button::after { transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1); }

.vehicle-card {
  position: relative;
  padding: 8px;
  border-top: 0;
  background: rgba(255,253,248,.72);
  box-shadow: 0 0 0 1px rgba(17,19,21,.15);
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--card-lift, 0));
  transform-style: preserve-3d;
  transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease;
  will-change: transform;
}

.vehicle-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vehicle-card::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: radial-gradient(circle 240px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,.32), transparent 70%);
  transition: opacity 220ms ease;
}

.vehicle-card:hover {
  --card-lift: -8px;
  background: var(--white);
  box-shadow: 0 28px 65px rgba(17,19,21,.18), 0 0 0 1px rgba(17,19,21,.1);
}

.vehicle-card:hover::before { transform: scaleX(1); }
.vehicle-card:hover::after { opacity: 1; }
.vehicle-card__image,
.vehicle-card__body { transform: translateZ(12px); }
.vehicle-card__body { padding: 20px 8px 8px; }

.vehicle-card__number {
  min-width: 44px;
  text-align: center;
  transition: color 220ms ease, background 220ms ease;
}

.vehicle-card:hover .vehicle-card__number {
  color: var(--white);
  background: var(--ink);
}

.vehicle-card__link {
  padding-top: 3px;
  overflow: hidden;
}

.vehicle-card__link::before {
  width: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transition: width 300ms ease;
}

.vehicle-card:hover .vehicle-card__link::before { width: 32px; }

.featured-vehicle {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.featured-vehicle::before {
  position: absolute;
  z-index: -1;
  right: -.05em;
  bottom: -.23em;
  content: "208";
  color: rgba(255,255,255,.025);
  font-family: var(--display);
  font-size: min(32vw, 570px);
  font-weight: 900;
  letter-spacing: -.1em;
  line-height: 1;
}

.featured-vehicle__image {
  position: relative;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.featured-vehicle__image::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease;
}

.featured-vehicle__image.is-visible::after { transform: scaleX(1); }
.featured-vehicle__image img { transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.featured-vehicle:hover .featured-vehicle__image img { transform: scale(1.025); }

.tyres {
  background: var(--carbon);
}

.tyres::before {
  right: auto;
  bottom: auto;
  left: -16vw;
  top: -16vw;
  width: 46vw;
  height: 46vw;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 0 80px rgba(255,255,255,.012), 0 0 0 160px rgba(255,255,255,.009);
}

.tyres::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  content: "";
  background: var(--red);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}

.tyres__grid { z-index: 2; }

.tyre-form {
  position: relative;
  overflow: hidden;
  padding-top: 38px;
  background: var(--white);
  box-shadow: 0 45px 120px rgba(0,0,0,.42);
}

.tyre-form::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--red);
}

.tyre-form__visual {
  display: grid;
  width: auto;
  height: auto;
  place-items: center;
  margin: -6px auto 28px;
  border: 0;
  border-radius: 0;
  line-height: normal;
}

.tyre-form__visual::before,
.tyre-form__visual::after { display: none; }

.tyre-wheel {
  position: relative;
  display: grid;
  width: 230px;
  height: 230px;
  place-items: center;
  border: 3px solid #050607;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 34%, #111315 34.5% 45%, transparent 45.5%),
    repeating-conic-gradient(from 2deg, #08090a 0 4deg, #25282a 4deg 7deg, #08090a 7deg 13deg);
  box-shadow: inset 0 0 0 14px #0a0b0c, inset 0 0 0 16px #3a3d3f, 0 20px 35px rgba(17,19,21,.28);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tyre-wheel::after {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  content: "";
}

.tyre-form__visual.is-changing .tyre-wheel { transform: rotate(42deg) scale(.96); }

.tyre-wheel__tread {
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(255,255,255,.34);
  border-radius: 50%;
}

.tyre-wheel__sidewall {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  color: rgba(255,255,255,.56);
  font-family: var(--display);
  letter-spacing: .11em;
}

.tyre-wheel__sidewall > span {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 170px;
  font-size: 7px;
  text-align: center;
  transform: translateX(-50%);
}

.tyre-wheel__sidewall > b {
  position: absolute;
  right: 8px;
  bottom: 42px;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.tyre-wheel__rim {
  position: relative;
  display: grid;
  width: 102px;
  height: 102px;
  place-items: center;
  border: 8px solid #d4d5d2;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1c1e 0 13%, #b9bcb9 14% 23%, #292c2e 24% 100%);
  box-shadow: inset 0 0 14px rgba(0,0,0,.7), 0 0 0 2px #676a69;
}

.tyre-wheel__rim i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 82px;
  border-radius: 8px;
  background: linear-gradient(#d9dad6 0 39%, transparent 40% 60%, #d9dad6 61% 100%);
  transform: translate(-50%, -50%) rotate(calc(var(--spoke, 0) * 72deg));
}

.tyre-wheel__rim i:nth-child(1) { --spoke: 0; }
.tyre-wheel__rim i:nth-child(2) { --spoke: 1; }
.tyre-wheel__rim i:nth-child(3) { --spoke: 2; }
.tyre-wheel__rim i:nth-child(4) { --spoke: 3; }
.tyre-wheel__rim i:nth-child(5) { --spoke: 4; }

.tyre-wheel__rim strong {
  position: relative;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid #bbbdbb;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-family: var(--display);
  font-size: 13px;
}

.tyre-form__visual > p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0 0;
  color: rgba(17,19,21,.5);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.tyre-form__visual > p span {
  width: 20px;
  height: 2px;
  background: var(--red);
}

.tyre-form select {
  border-width: 0 0 2px;
  background: transparent;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
}

.tyre-form select:focus { border-color: var(--red); outline: 0; }

.service-row {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.service-row::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  content: "";
  background: var(--ink);
  transition: width 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-row::after {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
  background: var(--red);
  transform: scaleY(0);
  transition: transform 280ms ease;
}

.service-row:hover { background: transparent; }
.service-row:hover::before { width: 100%; }
.service-row:hover::after { transform: scaleY(1); }
.service-row__arrow { transition: color 220ms ease, transform 220ms ease; }
.service-row:hover .service-row__arrow { color: var(--red); transform: rotate(-45deg); }

.local-section__image img {
  transform: scale(1.04);
  transition: transform 1.4s cubic-bezier(0.22,1,.36,1);
}

.local-section:hover .local-section__image img { transform: scale(1); }

.local-section__card {
  border-top: 4px solid var(--red);
  box-shadow: -45px 0 100px rgba(0,0,0,.28);
}

.contact {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--white);
  background: var(--carbon);
}

.contact .shell {
  position: relative;
  z-index: 2;
}

.contact .section-index,
.contact .eyebrow { color: rgba(255,255,255,.55); }
.contact .eyebrow span { background: var(--red); }
.contact__details span { color: rgba(255,255,255,.4); }
.contact__details strong,
.contact__details a { color: var(--white); }
.contact .button--outline { color: var(--white); border-color: rgba(255,255,255,.4); }
.contact .button--outline:hover { border-color: var(--white); }

.contact-route {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 36%;
  opacity: .72;
}

.contact-route::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, var(--carbon) 0, transparent 36%), linear-gradient(0deg, var(--carbon), transparent 25% 75%, var(--carbon));
}

.contact-route svg {
  width: 100%;
  height: 100%;
}

.contact-route path {
  fill: none;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.contact-route__base { stroke: rgba(255,255,255,.12); }
.contact-route__signal {
  stroke: var(--red);
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 2.2s cubic-bezier(0.22,1,.36,1);
}

.contact.is-live .contact-route__signal { stroke-dashoffset: 0; }

.contact-route__origin,
.contact-route__destination {
  position: absolute;
  z-index: 3;
  color: rgba(255,255,255,.55);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contact-route__origin { left: 5%; bottom: 12%; }
.contact-route__destination { top: 14%; right: 6%; display: flex; align-items: center; gap: 8px; color: var(--white); }

.contact-route__destination i {
  width: 10px;
  height: 10px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(211,38,49,.18);
}

.contact-route__destination b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  font-size: 12px;
}

.fm-marquee {
  overflow: hidden;
  color: var(--white);
  background: var(--red);
  border-block: 1px solid rgba(255,255,255,.25);
}

.fm-marquee > div {
  display: flex;
  width: max-content;
  align-items: center;
  animation: fm-marquee 28s linear infinite;
}

.fm-marquee span {
  padding: 20px 30px;
  font-family: var(--display);
  font-size: clamp(17px, 1.7vw, 25px);
  font-weight: 780;
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fm-marquee i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--carbon);
}

@keyframes fm-marquee {
  to { transform: translateX(-50%); }
}

/* Vehicle page: large editorial identity and living gallery. */
.detail-page {
  background: var(--white);
}

.vehicle-detail {
  position: relative;
  isolation: isolate;
}

.vehicle-detail__ghost {
  position: absolute;
  z-index: -1;
  top: -.16em;
  right: -.02em;
  color: rgba(17,19,21,.035);
  font-family: var(--display);
  font-size: clamp(220px, 28vw, 520px);
  font-weight: 900;
  letter-spacing: -.1em;
  line-height: .7;
  pointer-events: none;
}

.vehicle-gallery__main {
  overflow: hidden;
}

.vehicle-gallery__main::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
  background: var(--red);
}

.vehicle-gallery__main img {
  transform: scale(1.015);
  transition: opacity 120ms ease, transform 700ms cubic-bezier(0.22,1,.36,1);
}

.vehicle-gallery__main:hover img { transform: scale(1.045); }

.vehicle-gallery__thumbs button {
  position: relative;
  overflow: hidden;
}

.vehicle-gallery__thumbs button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transition: transform 260ms ease;
}

.vehicle-gallery__thumbs button.is-active::after { transform: scaleX(1); }

.vehicle-summary {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  align-self: start;
  background: rgba(255,253,248,.84);
  backdrop-filter: blur(10px);
}

.vehicle-summary__price {
  position: relative;
  display: inline-block;
}

.vehicle-summary__price::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--red);
  transform: scaleX(.28);
  transform-origin: left;
  transition: transform 400ms ease;
}

.vehicle-summary:hover .vehicle-summary__price::after { transform: scaleX(1); }

.vehicle-story {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(17,19,21,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,19,21,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
}

.feature-list > div {
  position: relative;
  overflow: hidden;
  transition: color 240ms ease, padding 240ms ease;
}

.feature-list > div::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: var(--ink);
  transform: translateX(-101%);
  transition: transform 360ms cubic-bezier(0.22,1,.36,1);
}

.feature-list > div:hover { padding-inline: 16px; color: var(--white); }
.feature-list > div:hover::before { transform: translateX(0); }

@media (max-width: 1100px) {
  .redline-progress { right: 12px; }
  .hero__live { display: none; }
  .tyres::after { width: 48%; }
  .tyre-wheel { width: 190px; height: 190px; }
  .tyre-wheel__rim { width: 86px; height: 86px; }
  .tyre-wheel__rim i { height: 68px; }
}

@media (max-width: 900px) {
  .redline-progress,
  .pointer-signal { display: none; }
  .featured-vehicle__image { clip-path: none; }
  .tyres::after { display: none; }
  .contact-route { inset: 32% -20% 0 15%; opacity: .42; }
  .vehicle-summary { position: static; backdrop-filter: none; }
}

@media (max-width: 620px) {
  .fm-intro__mark span { width: 72px; height: 72px; font-size: 28px; }
  .fm-intro__mark i { display: none; }
  .fm-intro > p { font-size: 10px; text-align: center; }
  .hero::before { display: none; }
  .hero::after { opacity: .35; }
  .hero-line { margin-block: -.045em; }
  .hero__media img { width: 108%; transform: translate3d(-4%, var(--hero-shift), 0) scale(1.03); }
  .vehicles::before { left: 8px; }
  .vehicle-card { padding: 6px; }
  .vehicle-card:hover { --card-lift: 0; }
  .tyre-wheel { width: 180px; height: 180px; }
  .tyre-wheel__rim { width: 82px; height: 82px; }
  .tyre-wheel__rim i { height: 64px; }
  .contact { min-height: 760px; }
  .contact-route { inset: 45% -55% 0 -25%; }
  .contact-route__destination { top: 10%; right: 16%; }
  .fm-marquee span { padding: 15px 20px; }
  .vehicle-detail__ghost { top: .1em; font-size: 220px; }
}

@media (hover: none), (pointer: coarse) {
  .vehicle-card { transform: none; }
  .pointer-signal { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fm-intro { display: none !important; }
  .hero-line > span,
  .hero__intro,
  .hero__actions,
  .hero__trust { opacity: 1; animation: none; transform: none; }
  .fm-marquee > div,
  .hero__live i { animation: none; }
  .vehicle-card,
  .tyre-wheel,
  .page-transition,
  .contact-route__signal { transition: none; }
}
