:root {
  color-scheme: light;
  --ink: #19152e;
  --brand: #45388a;
  --brand-dark: #332766;
  --muted: #554e69;
  --line: #dedbe9;
  --paper: #f7f6fb;
  --white: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}

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

body { margin: 0; line-height: 1.55; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #8a72e8; outline-offset: 4px; }

.wrap { width: min(75rem, calc(100% - 5rem)); margin-inline: auto; }
.section { padding-block: clamp(3.75rem, 7.5vw, 7rem); }

.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 2;
  inset: 0.75rem auto auto 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--brand);
}

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

h1, h2, h3 {
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  color: inherit;
  font-weight: 700;
  line-height: 1.08;
}

h2 { font-size: clamp(2.15rem, 4.5vw, 3.65rem); letter-spacing: -0.048em; }
h3 { font-size: 1.33rem; letter-spacing: -0.02em; }

sup { font-size: 0.43em; line-height: 0; vertical-align: 0.9em; margin-left: 0.12em; }

.site-header { background: var(--white); }

.header-inner {
  min-height: 5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 750;
  letter-spacing: 0.015em;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 3.04rem;
  height: 1.94rem;
  overflow: hidden;
}

.brand-mark img {
  width: 3.45rem;
  height: auto;
  max-width: none;
  transform: translate(-0.2rem, -0.17rem);
}

nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.55rem); }
nav a { color: var(--muted); font-weight: 650; font-size: 0.94rem; text-decoration: none; }
nav a:hover, .brand:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 0.22em; }

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.73rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.42rem;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.header-quote { justify-self: end; }
.button-outline { border-color: #bcb3da; color: var(--brand-dark); background: transparent; }
.button-outline:hover { background: #efeafa; }
.button-white { color: var(--brand-dark); background: var(--white); }
.button-white:hover { background: #eee8ff; }
.button-ghost { border-color: #a79ec5; color: var(--white); background: transparent; }
.button-ghost:hover { background: #ffffff1c; }
.button-primary { color: var(--white); background: var(--brand); }
.button-primary:hover { background: var(--brand-dark); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: #19152e;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 42%;
  background: radial-gradient(ellipse at 68% 47%, #6958a8 0%, #49407e 28%, #2d254c 62%, #19152e 96%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  min-height: clamp(28rem, 43vw, 36rem);
  padding-block: 2.9rem;
}

.hero-copy { position: relative; z-index: 1; }

.hero-label {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.68rem;
  margin-bottom: 1.05rem;
  color: #dfd8f8;
  font-size: 0.98rem;
  font-weight: 650;
}

.hero-label::before {
  content: "";
  flex: 0 0 1.15rem;
  width: 1.15rem;
  height: 2px;
  background: #beadff;
}

.hero-label a { text-decoration-thickness: 0.075em; text-underline-offset: 0.22em; }
.hero-label a:hover { color: var(--white); }

.hero h1 { max-width: 12ch; font-size: clamp(3.05rem, 6.05vw, 5.6rem); letter-spacing: -0.064em; line-height: 0.99; }
.hero-copy > p:not(.hero-label) { max-width: 36rem; margin-top: 1.45rem; color: #e4def5; font-size: clamp(1rem, 1.52vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.hero-visual {
  --hero-angle: -19deg;
  --hero-offset: -3.5%;
  --hero-entry-distance: 3.75rem;
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: clamp(21rem, 36vw, 30.7rem);
  display: grid;
  align-items: center;
  justify-items: center;
}

.hero-visual::before, .hero-visual::after {
  content: "";
  position: absolute;
  inset: 20% 4%;
  z-index: -1;
  border: 1px solid #c0b4ee35;
  border-radius: 100rem;
  transform: rotate(-40deg);
}

.hero-visual::before { background: linear-gradient(115deg, #c5b7fa29, #e5dcff05 75%); }
.hero-visual::after { inset: 12% -2%; border-color: #c0b4ee22; }

.hero-drive {
  position: relative;
  width: min(104%, 33rem);
  aspect-ratio: 1;
  transform: rotate(var(--hero-angle)) translateY(var(--hero-offset));
}

.hero-drive img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px #100b2ca1);
}

.hero-drive-sheen {
  position: absolute;
  inset: 31% 36.5% 14% 34.75%;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(transparent, black 18%, black 84%, transparent);
}

.hero-drive-sheen::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(108deg, transparent 25%, #d5bbff65 44%, #fff6ffcf 50%, #cfb3ff6e 56%, transparent 76%);
}

.hero-visual figcaption {
  position: absolute;
  inset: auto 0 0 auto;
  padding-top: 0.5rem;
  border-top: 1px solid #b9a8f68a;
  color: #e5dbff;
  font-size: 0.8rem;
  line-height: 1.4;
}

.showcase { background: var(--white); }
.showcase-heading { margin-bottom: clamp(1.35rem, 3vw, 2.4rem); }
.showcase-stage, .showcase-controls, .showcase-timeline { display: none; }
.showcase-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.1rem; }

.showcase-step {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
}

.showcase-step-image {
  display: grid;
  place-items: center;
  min-height: 10.5rem;
  background: radial-gradient(ellipse at center, #f9f6ff, #eae4f5);
}

.showcase-step-image img { width: min(55%, 10rem); height: auto; }
.showcase-step-copy { padding: 1.2rem 1.25rem 1.35rem; }
.showcase-step h3 { font-size: clamp(1.48rem, 2.65vw, 2.5rem); }
.showcase-step p { max-width: 40ch; margin-top: 0.75rem; color: var(--muted); }
.model-specs.showcase-specs { margin-top: 1.1rem; }
.showcase-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.catalog { background: var(--paper); }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.2rem 2.5rem; margin-bottom: 1.8rem; }
.catalog-heading p { max-width: 37rem; margin-top: 0.8rem; color: var(--muted); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  padding: 0.28rem;
  border: 1px solid #e0daef;
  border-radius: 0.53rem;
  background: #ece8f6;
  width: fit-content;
}

.filters button {
  min-height: 2.35rem;
  padding: 0.38rem 0.66rem;
  border: 0;
  border-radius: 0.33rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 650;
  cursor: pointer;
}

.filters button:hover { color: var(--brand-dark); }
.filters button[aria-pressed="true"] { background: var(--white); color: var(--brand-dark); box-shadow: 0 1px 2px #21144918; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.62rem;
  background: var(--white);
}

.product-image {
  display: grid;
  place-items: center;
  height: clamp(10.5rem, 18vw, 13.5rem);
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 65%, #faf8ff 12%, #eeeaf7 100%);
}

.product-image img { width: min(67%, 14.15rem); height: auto; }
.product-copy { display: flex; flex-direction: column; flex: 1; padding: 1.32rem 1.35rem 1.05rem; }
.product-copy p { margin: 0.55rem 0 1rem; color: var(--muted); }

.product-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem 0.9rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.product-links a { color: var(--brand-dark); font-size: 0.91rem; font-weight: 700; text-decoration: none; }
.product-links a:hover { text-decoration: underline; text-underline-offset: 0.22em; }
.product-links a:first-child { color: var(--muted); font-weight: 650; }

.about-inner, .contact-inner { display: grid; grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr); gap: clamp(2rem, 6vw, 5.2rem); }
.about { border-top: 1px solid var(--line); }
.about h2 { max-width: 15ch; }
.about p, .contact-copy p { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.18rem); }
.about p + p { margin-top: 1rem; }

.contact { background: #eeebf8; }
.contact-copy p { max-width: 31rem; margin-top: 1rem; }
.email-link {
  display: inline-block;
  max-width: 100%;
  color: var(--brand-dark);
  font-weight: 750;
  line-height: 1.25;
  text-underline-offset: 0.24em;
  overflow-wrap: anywhere;
}

.email-link:hover { color: #6a51b9; }
.contact-email { margin-top: 1rem; font-size: clamp(1.23rem, 2.25vw, 1.9rem); }

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
  margin-top: 1.3rem;
  padding-left: 0.75rem;
  border-left: 2px solid #b9a7f1;
  color: #dfd8f8;
  font-size: 0.9rem;
}

.hero-email { color: var(--white); font-size: clamp(1.1rem, 1.65vw, 1.3rem); }
.hero-email:hover { color: #dfd5ff; }

.quote-box { border: 1px solid #ddd5ef; border-radius: 0.69rem; background: var(--white); padding: clamp(1.15rem, 3vw, 2rem); }
form { display: grid; gap: 0.95rem; }
.form-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.85rem; }
form label { color: var(--ink); font-size: 0.93rem; font-weight: 650; }
.optional { color: var(--muted); font-weight: 400; }

form input, form select, form textarea {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  margin-top: 0.32rem;
  padding: 0.48rem 0.56rem;
  border: 1px solid #c5bdd7;
  border-radius: 0.34rem;
  background-color: var(--white);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
}

form textarea { resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
#quote-status { color: var(--muted); font-size: 0.91rem; }
#quote-status:empty { display: none; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2.5rem; padding-block: 1.65rem; }
.footer-inner .brand { flex: 0 0 auto; }
.footer-inner p { max-width: 36rem; color: var(--muted); font-size: 0.83rem; }

.detail-hero {
  padding-block: clamp(1.75rem, 5vw, 4rem);
  color: var(--white);
  background: radial-gradient(ellipse at 80% 50%, #564888, #2e254e 47%, #19152e 78%);
}

.detail-breadcrumb { gap: 0.65rem; color: #ddd3f6; font-size: 0.875rem; }
.detail-breadcrumb a, .detail-breadcrumb a:hover { color: inherit; }

.detail-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: 1.4rem;
}

.detail-lead h1 { max-width: 15ch; font-size: clamp(2.7rem, 5.5vw, 5.15rem); letter-spacing: -0.057em; }
.detail-lead p { max-width: 36rem; margin-top: 1.1rem; color: #e4def5; font-size: 1.1rem; }
.detail-lead .button { margin-top: 1.3rem; }
.detail-lead img { width: min(100%, 23rem); height: auto; justify-self: center; }

.detail-section { background: var(--paper); }
.detail-guide { max-width: 46rem; margin-top: 1.05rem; color: var(--muted); font-size: 1.08rem; }
.detail-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.detail-series {
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2.5vw, 1.45rem);
  border: 1px solid var(--line);
  border-radius: 0.62rem;
  background: var(--white);
}

.detail-series p { margin: 0.65rem 0 1rem; color: var(--muted); }
.model-specs { margin: 0 0 1.2rem; }

.model-specs div {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0.35rem 0.75rem;
  padding-block: 0.58rem;
  border-top: 1px solid var(--line);
}

.model-specs dt { color: var(--muted); font-size: 0.92rem; font-weight: 650; }
.model-specs dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.model-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1rem; margin-top: auto; }
.model-source { color: var(--muted); font-size: 0.875rem; text-underline-offset: 0.2em; }
.model-source:hover { color: var(--brand-dark); }
.model-note { max-width: 54rem; margin-top: 1.1rem; color: var(--muted); font-size: 0.93rem; }

.detail-order { border-top: 1px solid var(--line); }
.detail-order-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 1.2rem 3.25rem; }
.detail-order-inner p { margin-top: 1rem; color: var(--muted); }
.detail-order-inner .button { margin-top: 1.25rem; }
.detail-order ul { margin-block: 0; padding-left: 1.25rem; color: var(--muted); }
.detail-order li + li { margin-top: 0.65rem; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .hero-drive { animation: drive-entrance 2.8s cubic-bezier(0.32, 0.08, 0.44, 1) both paused; }
  .hero-drive-sheen::before { animation: drive-sheen 1.65s linear 560ms both paused; }
  .hero-visual::before { animation: ring-entrance 2.55s ease-out both paused; }
  .hero-visual::after { animation: ring-entrance 2.6s ease-out 190ms both paused; }

  .hero-visual.is-ready .hero-drive,
  .hero-visual.is-ready .hero-drive-sheen::before,
  .hero-visual.is-ready::before,
  .hero-visual.is-ready::after { animation-play-state: running; }

  @keyframes drive-entrance {
    from {
      transform: translate3d(var(--hero-entry-distance), 0.85rem, 0) rotate(calc(var(--hero-angle) + 19deg)) translateY(var(--hero-offset)) scale(0.88);
    }
    to {
      transform: translate3d(0, 0, 0) rotate(var(--hero-angle)) translateY(var(--hero-offset)) scale(1);
    }
  }

  @keyframes ring-entrance {
    from { opacity: 0.3; transform: rotate(-55deg) scale(0.75); }
    to { opacity: 1; transform: rotate(-40deg) scale(1); }
  }

  @keyframes drive-sheen {
    from { opacity: 0; transform: translateX(-100%); }
    22% { opacity: 0.36; }
    67% { opacity: 0.38; }
    to { opacity: 0; transform: translateX(100%); }
  }
}

@media (min-width: 48rem) and (min-height: 34rem) and (prefers-reduced-motion: no-preference) {
  .showcase-layout.has-scroll-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .has-scroll-showcase .showcase-sticky {
    position: sticky;
    z-index: 1;
    top: clamp(1.15rem, 9svh, 5rem);
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(0.9rem, 2.4vw, 2.1rem);
  }

  .has-scroll-showcase .showcase-timeline { display: block; grid-area: 1 / 1; }
  .showcase-timeline > div { min-height: max(28rem, 100svh); scroll-margin-top: 10svh; }
  .has-scroll-showcase .showcase-stage { display: block; }

  .showcase-frame {
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    place-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 100%;
    min-height: min(26rem, 61svh);
    border: 1px solid #3c315d;
    border-radius: 1.1rem;
    background: radial-gradient(ellipse at 53% 46%, #7461ab, #4d3d7d 46%, #271f41 90%);
  }

  .showcase-frame::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 26% 14%;
    border: 1px solid #d5c8ff4d;
    border-radius: 50%;
    transform: rotate(-29deg);
  }

  .showcase-frame-image {
    grid-area: 1 / 1;
    width: min(82%, 23rem);
    height: 85%;
    object-fit: contain;
    opacity: 0;
    transform: translateX(2.5rem) rotate(6deg) scale(0.9);
    filter: drop-shadow(0 14px 18px #2013378a);
    transition: opacity 580ms ease, transform 940ms cubic-bezier(0.24, 0.65, 0.25, 1);
  }

  .showcase-frame-image.is-current {
    z-index: 1;
    opacity: 1;
    translate: 0 var(--showcase-drift, 0px);
    transform: translateX(0) rotate(0) scale(1);
  }

  .showcase-progress {
    position: absolute;
    inset: auto 1.5rem 1.15rem;
    z-index: 2;
    height: 2px;
    background: #ddd1fd55;
  }

  .showcase-progress::before {
    content: "";
    display: block;
    height: 100%;
    background: #e8deff;
    transform: scaleX(var(--showcase-progress, 0));
    transform-origin: left;
  }

  .has-scroll-showcase .showcase-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: clamp(1rem, 2.8vw, 2rem);
    border: 1px solid #e2dbee;
    border-radius: 1.1rem;
    background: linear-gradient(145deg, #faf7ff 0%, var(--white) 68%);
  }

  .has-scroll-showcase .showcase-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.2rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
  }

  .showcase-controls a {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0.42rem;
    font-size: 0.9rem;
    text-decoration: none;
  }

  .showcase-controls a[aria-current="location"], .showcase-controls a:hover {
    border-color: #bdb1dd;
    color: var(--brand-dark);
    background: #f0ebfb;
  }

  .has-scroll-showcase .showcase-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .has-scroll-showcase .showcase-step-image { display: none; }

  .has-scroll-showcase .showcase-step {
    grid-area: 1 / 1;
    min-width: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    opacity: 0.25;
    visibility: hidden;
    transform: translateY(0.7rem);
    transition: opacity 430ms ease, transform 510ms cubic-bezier(0.24, 0.65, 0.25, 1);
  }

  .has-scroll-showcase .showcase-step.is-current {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .has-scroll-showcase .showcase-step-copy { padding: 0; }
}

@media (max-width: 62rem) {
  .catalog-heading { flex-direction: column; align-items: start; }
  .hero h1 { font-size: clamp(3rem, 6.6vw, 5rem); }
}

@media (max-width: 46rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.7rem 1rem; padding-block: 0.75rem; }
  .header-quote { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-top: 2.6rem; padding-bottom: 1.25rem; }
  .hero h1 { font-size: clamp(2.75rem, 9.3vw, 4.5rem); }
  .hero-break { display: none; }
  .hero::before { inset: 45% 0 0; background: radial-gradient(ellipse at 50% 62%, #6353a0, #30264e 55%, #19152e 85%); }
  .hero-visual { --hero-angle: -18deg; --hero-offset: -6%; --hero-entry-distance: 1.5rem; width: min(100%, 24rem); height: clamp(14rem, 63vw, 21rem); justify-self: center; }
  .hero-drive { width: min(92%, 22rem); }
  .hero-visual::before, .hero-visual::after { inset-inline: 8%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-inner, .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 1.45rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .detail-lead, .detail-order-inner { grid-template-columns: minmax(0, 1fr); }
  .detail-lead img { width: min(72%, 17rem); }
}

@media (max-width: 47.99rem) {
  .showcase-steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 32rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { gap: 0.5rem; }
  .header-inner nav { width: 100%; justify-content: flex-start; padding-left: 0.1rem; }
  .hero-label { margin-bottom: 0.85rem; }
  .hero-copy > p:not(.hero-label) { margin-top: 1.1rem; }
  .hero-actions { margin-top: 1.3rem; }
  .hero-visual figcaption { font-size: 0.78rem; }
  .filters button { padding-inline: 0.5rem; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-image img { width: min(65%, 12rem); }
  .form-fields { grid-template-columns: minmax(0, 1fr); }
  .detail-range { grid-template-columns: minmax(0, 1fr); }
}
