/* =========================================================
   TOKENS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700;800;900&family=Poppins:wght@400;500;600&family=Yellowtail&display=swap');

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

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

:root {
  --purple-900: #3f2360;
  --purple-800: #4b2d6b;
  --purple-600: #6a3d9a;
  --purple-400: #9a86c9;
  --orange: #e0572b;
  --grey-bg: #f3f3f3;
  --text: #1c1c1c;
  --muted: #8b8b8b;
  --radius-lg: 22px;
  --radius-md: 20px;
  --container: 1140px;
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-footer: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Yellowtail', 'Brush Script MT', cursive;
}

html {
  scroll-behavior: smooth
}

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

a {
  color: inherit
}

h1,
h2,
h3,
p {
  margin: 0
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px
}

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

/* =========================================================
   IMAGE PLACEHOLDERS
   Replace any .ph element with an <img> (object-fit:cover)
   ========================================================= */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .08) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #8e8aa0, #5d5873);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  overflow: hidden;
}

.ph::after {
  content: attr(data-label);
  background: rgba(0, 0, 0, .35);
  padding: 6px 12px;
  border-radius: 30px;
  max-width: 80%;
}

.ph--light {
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, .04) 0 14px, transparent 14px 28px), #e7e4ee;
  color: #5a5470
}

.ph--light::after {
  background: rgba(255, 255, 255, .8)
}

.ph--none::after {
  display: none
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(180deg, #a9a7d4 0%, #8c73c0 55%, #7b58b3 100%);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
  max-width: 1400px
}

.hero__title {
  font-family: var(--font-script);
  color: #fff;
  font-weight: 400;
  line-height: .9;
  transform: rotate(-6deg);
  text-shadow:
    0 0 0 #fff, 3px 3px 0 #d7a6d9, 6px 6px 0 rgba(90, 40, 120, .45);
}

.hero__title small {
  display: block;
  font-size: clamp(46px, 5.5vw, 96px);
  margin-left: .6em
}

.hero__title span {
  display: block;
  font-size: clamp(88px, 11vw, 200px)
}

.btn-pill {
  display: inline-block;
  margin-top: 50px;
  background: #fff;
  color: var(--purple-600);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 40px;
  box-shadow: 0 8px 24px rgba(60, 20, 100, .2);
  transition: transform .2s;
}

.btn-pill:hover {
  transform: translateY(-2px)
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 700px
}

.hero__blob {
  position: absolute;
  right: -15%;
  top: -12%;
  width: 95%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--purple-600);
  z-index: 0;
}

.hero__img {
  position: relative;
  z-index: 1;
  aspect-ratio: 16/11;
  border-radius: 18px
}

.topo {
  position: absolute;
  pointer-events: none;
  z-index: 1
}

.topo--hero {
  left: -60px;
  top: 330px;
  width: 420px
}

/* Wave ribbon */
.ribbon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  line-height: 0
}

.ribbon svg {
  width: 100%;
  height: auto;
  display: block
}

.ribbon text {
  font-family: var(--font);
  font-weight: 800;
  font-size: 58px;
  letter-spacing: 6px;
  fill: #fff
}

/* =========================================================
   INTRO
   ========================================================= */
.intro {
  position: relative;
  padding: 40px 0 90px
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center
}

.intro__media {
  position: relative
}

.intro__media .ph {
  aspect-ratio: 4/3;
  border-radius: 18px;
  position: relative;
  z-index: 2
}

.topo--intro {
  left: -120px;
  top: -40px;
  width: 420px;
  z-index: 1
}

.intro h2 {
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 800;
  color: var(--purple-800);
  letter-spacing: -.02em;
  line-height: 1
}

.intro h3 {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  color: var(--purple-800);
  margin: 14px 0 24px
}

.intro p {
  font-size: 16px;
  line-height: 1.45;
  max-width: 62ch
}

.intro p+p {
  margin-top: 0
}

/* =========================================================
   SPEC BANNERS (image with floating stat cards)
   ========================================================= */
.spec-banner {
  position: relative;
  min-height: clamp(380px, 48vw, 860px)
}

.spec-banner>.ph {
  position: absolute;
  inset: 0
}

.stats {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding-top: 40px;
  top: 0;
  width: 100%;
}

.stat {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  min-width: 170px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.stat__label {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 6px
}

.stat__value {
  font-size: 35px;
  font-weight: 800;
  color: var(--purple-800);
  white-space: nowrap
}

.spec-banner--range .stats {
  padding-top: 95px
}

/* =========================================================
   PRICE
   ========================================================= */
.price {
  padding: 0px 0 60px;
  text-align: center;
  color: var(--purple-800)
}

.price__lead {
  font-size: clamp(48px, 6.5vw, 100px);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.1
}

.price__bold {
  font-size: clamp(52px, 7vw, 106px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05
}

.price__block {
  display: inline-block;
  text-align: left;
  margin-top: 40px
}

.price__now {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -.02em
}

.price__row {
  display: flex;
  align-items: center;
  gap: 6px
}

.price__from {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--orange);
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 34px);
  letter-spacing: .02em;
}

.price__amount {
  font-size: clamp(72px, 12vw, 176px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .85
}

.price__tc {
  display: block;
  text-align: right;
  color: var(--orange);
  font-size: 17px;
  margin-top: 10px
}

/* =========================================================
   EXPANDING GALLERY
   ========================================================= */
.expand {
  display: flex;
  gap: 14px;
  height: 560px;
  max-width: 70%;
  margin: 0 auto 60px;
  padding: 0 20px
}

.expand__item {
  position: relative;
  flex: 0 0 128px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: flex .6s cubic-bezier(.6, .05, .3, 1);
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  font: inherit;
  color: #fff;
}
button.expand__item{
  color: #fff;
}
button.expand__item img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
}
.expand__item.is-active {
  flex: 1 1 auto;
  cursor: default
}

.expand__item .ph {
  position: absolute;
  inset: 0
}

.expand__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .65));
}

.expand__vertical {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
  transition: opacity .3s;
}

.expand__content {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 22px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s .15s, transform .35s .15s;
}

.expand__content h4 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 600
}

.expand__content p {
  font-size: 14.5px;
  line-height: 1.4;
  max-width: 60ch
}

.expand__item.is-active .expand__content {
  opacity: 1;
  transform: none
}

.expand__item.is-active .expand__vertical {
  opacity: 0
}

/* =========================================================
   CAPTION SLIDERS (Swiper)
   ========================================================= */
.cap-slider {
  position: relative;
  max-width: var(--container);
  margin: 60px auto;
  padding: 0 20px
}

.cap-slider .swiper {
  border-radius: var(--radius-lg);
  overflow: hidden
}

.cap-slider .swiper-slide .ph {
  aspect-ratio: 1560/1000;
  width: 100%
}

.cap-slider__caption {
  position: absolute;
  z-index: 5;
  left: 42px;
  right: 42px;
  bottom: 22px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 70px 16px;
  text-align: center;
}

.cap-slider__eyebrow {
  font-size: 14px;
  margin-bottom: 4px
}

.cap-slider__title {
  font-size: clamp(17px, 2.2vw, 30px);
  font-weight: 800;
  color: var(--purple-600);
  line-height: 1.2;
  transition: opacity .25s
}

.cap-slider__title.is-fading {
  opacity: 0
}

.cap-slider__eyebrow {
  transition: opacity .25s
}

.cap-slider__eyebrow.is-fading {
  opacity: 0
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  background: none !important;
  color: var(--purple-600);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.arrow svg {
  width: 22px;
  height: 38px
}

.arrow--prev {
  left: 10px
}

.arrow--next {
  right: 10px
}

.arrow.swiper-button-disabled {
  opacity: .3;
  cursor: default
}

/* =========================================================
   FEATURE GRID
   ========================================================= */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 320px);
  gap: 28px;
  max-width: var(--container);
  margin: 70px auto;
  padding: 0 20px;
}

.feature {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: #fff;
  display: flex;
}

.feature--tall {
  grid-row: span 2
}

.feature .ph {
  position: absolute;
  inset: 0
}

/*.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .6))
}*/

.feature__label {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 24px;
  text-align: center;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}

/* =========================================================
   FULL-WIDTH SLIDER (Swiper)
   ========================================================= */
.full-slider {
  position: relative;
  margin: 0 0 60px
}

.full-slider .ph {
  width: 100%;
  aspect-ratio: 1920/790
}

.full-slider .arrow {
  color: #fff
}

.full-slider .arrow--prev {
  left: 18px
}

.full-slider .arrow--next {
  right: 18px
}

.full-slider .swiper-pagination-bullet {
  background: #fff;
  opacity: .5
}

.full-slider .swiper-pagination-bullet-active {
  opacity: 1
}

/* =========================================================
   COLOURS
   ========================================================= */
.colour-bar {
  background: var(--purple-800);
  color: #fff;
  padding: 44px 20px
}

.colour-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap
}

.colour-bar__text {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
  max-width: 600px
}

.colour-bar__pick {
  border-left: 1px solid rgba(255, 255, 255, .5);
  padding-left: 60px
}

.colour-bar__pick p {
  font-size: 18px;
  margin-bottom: 14px
}

.swatches {
  display: flex;
  gap: 14px
}

.swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--c);
  box-shadow: 0 0 0 0 #fff;
  transition: box-shadow .2s;
}
.colour-name {
  font-size: 14px;
  margin-top: 12px;
  opacity: .85
}

.colour-car {
  padding: 60px 20px 20px;
  display: flex;
  justify-content: center
}

.colour-car__stage {
  position: relative;
  width: 100%;
  max-width: 900px
}

.colour-car .ph {
  aspect-ratio: 900/460;
  border-radius: 50% 50% 20px 20px / 40% 40% 20px 20px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .12) 0 14px, transparent 14px 28px),
    var(--car-colour, #9b8bb4);
  color: #3a3350;
  transition: background-color .4s;
}

.colour-car .ph::after {
  background: rgba(255, 255, 255, .7)
}

.colour-car__shadow {
  height: 40px;
  margin: -10px auto 0;
  width: 80%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .18), transparent 70%)
}

.colour-car__stage { position: relative; }
.colour-car__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity .35s ease;
}
.colour-car__img.is-active { position: relative; opacity: 1; }

/* =========================================================
   VARIANTS
   ========================================================= */
.variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 540px));
  justify-content: center;
  gap: 34px;
  padding: 40px 20px 70px
}

.variant {
  background: #fff;
  border-radius: var(--radius-md);
  text-align: center;
  padding: 0 0 56px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(75, 45, 107, .15);
  color: var(--purple-800);
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.variant .image-wrap{
  height: 300px;
  overflow: hidden;
}
.variant:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(75, 45, 107, .22)
}

.variant .ph {
  aspect-ratio: 360/200;
  margin: 0 26px
}

.variant__name {
  font-size: 30px;
  font-weight: 300;
  margin-top: 26px
}

.variant__trim {
  font-size: 30px;
  font-weight: 800;
  margin-top: 0px;
  text-transform: uppercase;
}

.variant__from {
  font-size: 22px;
  font-weight: 300;
  margin-top: 20px
}

.variant__price {
  font-size: 23px;
  font-weight: 700
}
.variant__cta{
  margin-top: 20px;
}
.variant__cta a{
  display: inline-block;
  background: var(--purple-800);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 40px;
  box-shadow: 0 8px 24px rgba(60, 20, 100, .2);
}
/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--grey-bg);
  font-family: var(--font-footer);
  padding: 40px 20px 24px;
  font-size: 12px
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 40px;
  max-width: 640px;
  margin: 0 auto
}

.footer h5 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 14px
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.footer li {
  margin-bottom: 14px
}

.footer a {
  color: var(--muted);
  text-decoration: none
}

.footer a:hover {
  color: var(--purple-800)
}

.footer__models {
  columns: 2;
  column-gap: 22px
}

.footer__brand {
  font-weight: 600;
  letter-spacing: .25em;
  font-size: 15px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px
}

.footer__brand svg {
  width: 34px
}

.footer__branch {
  font-size: 13px;
  margin-bottom: 2px
}

.footer__branch+a {
  display: block;
  margin-bottom: 14px
}

.footer__bottom {
  text-align: center;
  margin-top: 32px;
  line-height: 1.5
}

.footer__powered {
  width: 90px;
  height: 42px;
  margin: 14px auto 0;
  border-radius: 8px
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:900px) {
  .hero {
    padding: 60px 0 150px
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center
  }

  .hero__title {
    transform: rotate(-4deg)
  }

  .hero__title small {
    margin-left: 0
  }

  .btn-pill {
    margin-top: 30px
  }

  .hero__visual {
    justify-self: center
  }

  .topo--hero {
    top: auto;
    bottom: 120px;
    width: 260px
  }

  .ribbon text {
    font-size: 70px
  }

  .intro__grid {
    grid-template-columns: 1fr
  }

  .stat {
    min-width: 140px;
    padding: 12px 16px
  }

  .stat__label {
    font-size: 15px
  }

  .stat__value {
    font-size: 22px
  }

  .spec-banner--range .stats {
    padding-top: 40px
  }

  .expand {
    flex-direction: column;
    height: auto
  }

  .expand__item {
    flex: 0 0 70px;
    transition: flex-basis .5s
  }

  .expand__item.is-active {
    flex: 0 0 380px
  }

  .expand__vertical {
    writing-mode: horizontal-tb;
    transform: translateX(-50%);
    bottom: 24px
  }

  .features {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 240px
  }

  .feature--tall {
    grid-row: span 1;
    grid-column: span 2
  }

  .colour-bar__pick {
    border-left: 0;
    padding-left: 0
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:600px) {
  .cap-slider__caption {
    left: 28px;
    right: 28px;
    bottom: 12px;
    padding: 10px 48px 12px
  }

  .cap-slider .swiper-slide .ph {
    aspect-ratio: 4/5
  }

  .arrow--prev {
    left: 2px
  }

  .arrow--next {
    right: 2px
  }

  .features {
    grid-template-columns: 1fr
  }

  .feature--tall {
    grid-column: span 1;
    grid-row: span 1
  }

  .variants {
    grid-template-columns: 1fr
  }

  .footer__grid {
    grid-template-columns: 1fr
  }

  .full-slider .ph {
    aspect-ratio: 4/3
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    animation: none !important
  }
}