/* ==========================================================================
   Automatrix Global — Studio Experience
   Static build: HTML + CSS + vanilla JS (GSAP + Three.js via CDN)
   ========================================================================== */

:root {
  --ink: #07080b;
  --white: #ffffff;
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-15: rgba(255, 255, 255, 0.15);
  --accent: #d4a95c;
  --font: "Outfit", "Jost", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --nav-h: 80px;
  --gutter: clamp(16px, 2.8vw, 40px);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-title: clamp(22px, 2.75vw, 44px);
  --t-lead: clamp(15px, 1.22vw, 20px);
  --t-caps: clamp(13px, 1.15vw, 18px);
  color-scheme: dark;
}

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

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
  touch-action: none;
}

body {
  position: fixed;
  inset: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

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

.br-m {
  display: none;
}

/* ---------------------------------------------------------------- Stage -- */

.backdrop,
.backdrop__layer,
#stage,
.vignette,
.veil {
  position: fixed;
  inset: 0;
}

.backdrop {
  z-index: 0;
  background: var(--ink);
}

.backdrop__layer {
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}

.backdrop__layer.is-on {
  opacity: 1;
}

/* luxury architectural pavilion background at dusk */
.backdrop__layer[data-mood="dawn"] {
  background:
    radial-gradient(120% 80% at 20% 50%, rgba(7, 8, 11, 0.4) 0%, rgba(7, 8, 11, 0.1) 60%, transparent 100%),
    url("assets/images/hero-bg.jpg") center center / cover no-repeat;
}

.backdrop__layer[data-mood="dark"] {
  background:
    radial-gradient(90% 60% at 50% 62%, rgba(70, 72, 80, 0.55) 0%, rgba(24, 25, 30, 0.6) 50%, transparent 80%),
    linear-gradient(180deg, #0b0c0f 0%, #16171b 55%, #08090b 100%);
}

.backdrop__layer[data-mood="black"] {
  background: radial-gradient(80% 60% at 50% 30%, #121318 0%, #050506 70%);
}

.backdrop__layer[data-mood="sunrise"] {
  background:
    radial-gradient(80% 55% at 50% 100%, rgba(255, 170, 110, 0.95) 0%, rgba(212, 169, 92, 0.7) 22%, rgba(120, 50, 90, 0.45) 45%, transparent 72%),
    linear-gradient(180deg, #0a0d18 0%, #1b1f33 45%, #4b2f4a 72%, #8a4a4a 100%);
}

#stage {
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}

.vignette {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 22%, transparent 62%, rgba(0, 0, 0, 0.55) 100%),
    radial-gradient(140% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
}

.vignette::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 150px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent);
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

body[data-mood="black"] .vignette::before {
  opacity: 1;
}

.veil {
  z-index: 3;
  pointer-events: none;
  background: #000;
  opacity: 0;
}

/* -------------------------------------------------------------- Header -- */

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 24px) var(--gutter) 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 1s var(--ease-out) 0.4s,
    transform 1s var(--ease-out) 0.4s;
}

body.is-live .site-header {
  opacity: 1;
  transform: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand {
  position: relative;
  display: inline-grid;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
}

.brand__word {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.2em;
}

.brand__x {
  color: var(--accent);
}

.brand__slash {
  width: 112px;
  height: 12px;
  margin: 1px 0 1px -4px;
  fill: var(--accent);
}

.brand__sub {
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.72em;
  padding-left: 1px;
}

/* --------------------------------------------------------------- Pills -- */

.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition:
    color 0.45s var(--ease),
    border-color 0.45s var(--ease),
    background-color 0.45s var(--ease);
}

.pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.55s var(--ease);
}

.pill:hover::before,
.pill:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.pill--outline {
  border: 1.5px solid var(--white);
  color: var(--white);
}

.pill--outline::before {
  background: var(--white);
}

.pill--outline:hover,
.pill--outline:focus-visible {
  color: #111;
}

.pill--solid {
  min-height: 56px;
  padding: 0 38px;
  background: var(--white);
  color: #111;
  letter-spacing: 0.2em;
  font-size: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.pill--solid::before {
  background: var(--accent);
}

.pill--solid:hover,
.pill--solid:focus-visible {
  color: var(--white);
}

.pill__short {
  display: none;
}

/* ---------------------------------------------------------------- Gate -- */

.gate {
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #000;
}

.gate__sky,
.gate__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gate__sky {
  background: linear-gradient(180deg, #030612 0%, #111829 40%, #3a2c3e 78%, #8b5a64 100%);
  opacity: 0;
  transition: opacity 2.4s var(--ease);
}

.gate__glow {
  opacity: 0;
  background: radial-gradient(
    circle at 50% calc(50% + var(--disc) * 0.5 + 8vh),
    rgba(255, 238, 230, 1) 0%,
    rgba(255, 170, 150, 0.95) calc(var(--disc) * 0.42),
    rgba(212, 169, 92, 0.75) calc(var(--disc) * 0.52),
    rgba(120, 50, 110, 0.35) calc(var(--disc) * 0.75),
    transparent calc(var(--disc) * 1.1)
  );
  transition: opacity 2.4s var(--ease);
}

.gate {
  --disc: min(112vw, 128vh);
}

.gate__disc {
  position: absolute;
  left: 50%;
  top: calc(50% + 8vh);
  width: var(--disc);
  height: var(--disc);
  margin-left: calc(var(--disc) / -2);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #000 62%, #050308 70%, #0b0610 100%);
  box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.6) inset;
  transform: translateY(40vh);
  transition: transform 2.6s var(--ease-out);
}

.gate.is-ready .gate__sky,
.gate.is-ready .gate__glow {
  opacity: 1;
}

.gate.is-ready .gate__disc {
  transform: translateY(0);
}

.gate__head {
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
  display: grid;
  justify-items: center;
  gap: 26px;
  padding: 0 var(--gutter);
  text-align: center;
}

.mark {
  width: 102px;
  height: 40px;
  fill: var(--white);
  overflow: visible;
}

.gate__head .mark {
  opacity: 0;
  transform: translateX(-26px);
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 1.2s var(--ease),
    transform 1.6s var(--ease-out),
    clip-path 1.6s var(--ease-out);
}

.gate__title {
  font-weight: 300;
  font-size: var(--t-title);
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  transition: color 2.4s var(--ease);
}

.gate__title .ch {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transition:
    opacity 1s var(--ease),
    filter 1.2s var(--ease);
  transition-delay: calc(var(--i) * 28ms + 0.5s);
}

.gate.is-booting .gate__head .mark {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

.gate.is-booting .gate__title .ch {
  opacity: 1;
  filter: blur(0);
}

.gate.is-ready .gate__title {
  color: var(--white);
}

.gate__loader,
.ignite {
  position: absolute;
  left: 50%;
  top: calc(50% + 8vh + 6px);
  width: 150px;
  height: 150px;
  margin-left: -75px;
}

.gate__loader {
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.8s var(--ease) 1s;
}

.gate.is-booting .gate__loader {
  opacity: 1;
}

.gate.is-ready .gate__loader {
  opacity: 0;
  transition-delay: 0s;
}

.gate__loader svg,
.ignite__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.gate__track,
.gate__bar,
.ignite__ring circle {
  fill: none;
  stroke-width: 1.5;
}

.gate__track {
  stroke: rgba(255, 255, 255, 0.14);
}

.gate__bar {
  stroke: var(--white);
  stroke-dasharray: 458.67;
  stroke-dashoffset: 458.67;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.5s var(--ease-out);
}

.gate__pct {
  font-weight: 200;
  font-size: 30px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--white-70);
}

.ignite {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
  transition:
    opacity 1.2s var(--ease) 1.2s,
    transform 1.2s var(--ease-out) 1.2s,
    visibility 0s linear 1.2s;
}

.gate.is-ready .ignite {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ignite__ring circle {
  stroke: var(--white);
  stroke-dasharray: 380 80;
  transform-origin: 50% 50%;
  animation: spin 9s linear infinite;
}

.ignite__ring {
  transition: transform 0.6s var(--ease-out);
}

.ignite:hover .ignite__ring,
.ignite:focus-visible .ignite__ring {
  transform: scale(1.08);
}

.ignite:hover .ignite__ring circle {
  stroke-dasharray: 460 0;
  transition: stroke-dasharray 0.8s var(--ease);
}

.ignite__label {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* launch sequence */
.gate.is-launch {
  pointer-events: none;
}

.gate.is-launch .gate__disc {
  transform: translateY(0) scale(3.2);
  transition: transform 1.8s var(--ease);
}

.gate.is-launch .gate__head,
.gate.is-launch .ignite {
  opacity: 0;
  transform: translateY(-30px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.9s var(--ease);
}

.gate.is-launch .gate__glow {
  filter: brightness(1.6);
  transition: filter 0.8s var(--ease);
}

.gate.is-gone {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.1s var(--ease),
    visibility 0s linear 1.1s;
}

/* -------------------------------------------------------------- Panels -- */

.chapters {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--gutter);
  text-align: center;
  visibility: hidden;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.panel.is-active {
  visibility: visible;
}

.panel.is-active .pill,
.panel.is-active .hotspot {
  pointer-events: auto;
}

.panel--top {
  padding-top: max(15vh, 110px);
}

.panel--center {
  justify-content: center;
  gap: 26px;
  padding-bottom: calc(var(--nav-h) + 4vh);
}

.panel--bottom {
  justify-content: flex-end;
  padding-bottom: calc(var(--nav-h) + clamp(22px, 6vh, 64px));
}

.panel__title {
  font-weight: 300;
  font-size: var(--t-title);
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel--bottom .panel__title {
  margin-bottom: clamp(18px, 3.6vh, 36px);
}

.panel__title .w {
  display: inline-block;
  white-space: nowrap;
}

.panel__title .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  filter: blur(6px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease),
    filter 0.5s var(--ease);
  transition-delay: 0s;
}

.panel.is-active .panel__title .ch {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition:
    opacity 1.1s var(--ease-out),
    transform 1.2s var(--ease-out),
    filter 1.1s var(--ease-out);
  transition-delay: calc(var(--i) * 22ms + var(--d, 0.6s));
}

.panel.is-continued .panel__title .ch {
  transition: none !important;
}

.panel__lead,
.panel__caps,
.panel__cta,
.panel .mark,
.stat,
.ruler {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel.is-active .panel__lead,
.panel.is-active .panel__caps,
.panel.is-active .panel__cta,
.panel.is-active .mark,
.panel.is-active .stat,
.panel.is-active .ruler {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.2s var(--ease-out) var(--d2, 1.25s),
    transform 1.3s var(--ease-out) var(--d2, 1.25s);
}

.panel.is-active .mark {
  --d2: 0.45s;
}

.panel.is-active .panel__cta {
  --d2: 1.5s;
}

.panel__lead {
  max-width: 50em;
  font-weight: 400;
  font-size: var(--t-lead);
  line-height: 1.45;
}

.panel--top .panel__lead {
  margin-top: 22px;
  font-weight: 300;
  font-size: calc(var(--t-lead) * 1.12);
  letter-spacing: 0.02em;
}

.panel__caps {
  font-weight: 500;
  font-size: var(--t-caps);
  line-height: 1.55;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel__caps--bottom {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(var(--nav-h) + clamp(28px, 7vh, 72px));
}

.panel__cta {
  margin-top: clamp(22px, 5vh, 44px);
}

.panel--center .panel__cta {
  margin-top: 8px;
}

.panel--ready .mark,
.panel--center .mark {
  width: 70px;
  height: 28px;
}

/* stat counter */
.stat {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.stat__num {
  font-weight: 200;
  font-size: clamp(44px, 5.2vw, 82px);
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.stat__unit {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ruler */
.ruler {
  position: absolute;
  left: var(--rx, 25%);
  width: var(--rw, 50%);
  top: var(--ry, 70%);
  height: 20px;
  transition-property: opacity, transform;
}

.ruler__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1.5px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.panel.is-active .ruler__line {
  transform: scaleX(1);
  transition: transform 1.8s var(--ease) 1.1s;
}

.ruler__ticks {
  position: absolute;
  inset: 0;
}

.ruler__ticks i {
  position: absolute;
  top: 0;
  width: 1.5px;
  height: 10px;
  margin-left: -0.75px;
  background: var(--white);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease);
}

.ruler__ticks i.is-major {
  height: 20px;
  top: -5px;
}

.panel.is-active .ruler__ticks i {
  transform: scaleY(1);
  transition: transform 0.7s var(--ease-out) calc(1.2s + var(--i) * 90ms);
}

.panel__caps--ruler {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(var(--ry, 70%) + 40px);
}

/* hotspots */
.hotspots {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hotspot {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  will-change: transform;
}

.panel.is-active .hotspot {
  opacity: 1;
  transition: opacity 1s var(--ease-out) calc(1.6s + var(--i, 0) * 180ms);
}

.hotspot__dot {
  position: relative;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.hotspot__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--white);
  animation: pulse 2.2s var(--ease-out) infinite;
}

.hotspot__label {
  margin-top: -7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 9, 12, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: none;
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* --------------------------------------------------------------- Prompt -- */

.prompt {
  position: fixed;
  z-index: 11;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.prompt.is-on {
  opacity: 1;
}

.prompt__msg {
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.5);
}

.prompt__touch {
  display: none;
}

@media (hover: none) and (pointer: coarse) {
  .prompt__desk {
    display: none;
  }
  .prompt__touch {
    display: inline;
  }
}

/* ------------------------------------------------------------ Step nav -- */

.stepnav {
  position: fixed;
  z-index: 15;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(16px, 9vw, 170px) env(safe-area-inset-bottom);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.45));
  opacity: 0;
  transform: translateY(100%);
  transition:
    opacity 1s var(--ease-out) 0.6s,
    transform 1s var(--ease-out) 0.6s;
}

body.is-live .stepnav {
  opacity: 1;
  transform: none;
}

.stepnav__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.stepnav__btn--prev {
  justify-self: start;
}

.stepnav__btn--next {
  justify-self: end;
}

.stepnav__btn svg {
  width: 18px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.5s var(--ease);
}

.stepnav__btn--prev:hover svg {
  transform: translateX(-6px);
}

.stepnav__btn--next:hover svg {
  transform: translateX(6px);
}

.stepnav__btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.stepnav__btn:disabled svg {
  transform: none;
}

.stepnav__progress {
  display: flex;
  gap: 4px;
}

.stepnav__progress i {
  width: clamp(12px, 2.6vw, 42px);
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  transition: background-color 0.6s var(--ease);
}

.stepnav__progress i.is-on {
  background: var(--accent);
}

/* ------------------------------------------------------------- Overlays -- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  touch-action: pan-x pan-y;
}

.overlay[hidden] {
  display: none;
}

.overlay__bg {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 8, 0.74);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}

.overlay.is-open .overlay__bg {
  opacity: 1;
}

.overlay__inner {
  position: relative;
  width: 100%;
  max-height: 100%;
  padding: calc(env(safe-area-inset-top) + 96px) 0 48px;
  overflow: auto;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.9s var(--ease-out);
}

.overlay.is-open .overlay__inner {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

.overlay__title {
  font-weight: 300;
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 var(--gutter);
}

.close {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 22px);
  right: var(--gutter);
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--white);
  border-radius: 50%;
  z-index: 2;
  transition:
    transform 0.6s var(--ease),
    background-color 0.4s var(--ease);
}

.close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 1.5px;
  margin: -0.75px 0 0 -10px;
  background: var(--white);
  transform: rotate(45deg);
  transition: background-color 0.4s var(--ease);
}

.close span + span {
  transform: rotate(-45deg);
}

.close:hover {
  transform: rotate(90deg);
  background: var(--white);
}

.close:hover span {
  background: #111;
}

/* services cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  max-width: 1440px;
  margin: clamp(28px, 6vh, 56px) auto 0;
  padding: 0 var(--gutter);
  outline: none;
}

.card {
  text-align: left;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 1s var(--ease-out);
}

.overlay.is-open .card {
  opacity: 1;
  transform: none;
}

.overlay.is-open .card:nth-child(1) { transition-delay: 0.25s; }
.overlay.is-open .card:nth-child(2) { transition-delay: 0.35s; }
.overlay.is-open .card:nth-child(3) { transition-delay: 0.45s; }
.overlay.is-open .card:nth-child(4) { transition-delay: 0.55s; }

.card__media {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, #23262e, #0d0e12);
}

.card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.12);
  transition:
    opacity 0.9s var(--ease),
    transform 1.6s var(--ease-out);
}

.card__media img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.card:hover .card__media img.is-loaded {
  transform: scale(1.06);
}

.card__title {
  margin: 22px 0 12px;
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 20px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card__title::after {
  content: "";
  display: block;
  width: 28px;
  height: 1.5px;
  margin-top: 14px;
  background: var(--accent);
  transition: width 0.6s var(--ease);
}

.card:hover .card__title::after {
  width: 64px;
}

.card__text {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.overlay__hint {
  display: none;
  margin-top: 22px;
  text-align: center;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--white-70);
}

/* booking form */
.overlay__inner--form {
  max-width: 820px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.book__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 32px;
  margin-top: clamp(28px, 5vh, 48px);
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-70);
}

.field input,
.field select {
  width: 100%;
  height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font: 300 17px/1 var(--font);
  letter-spacing: 0.03em;
  transition: border-color 0.4s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='white' stroke-width='1.4'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 4px center / 12px 8px no-repeat;
}

.field select option {
  background: #111318;
  color: var(--white);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--white);
  box-shadow: 0 1px 0 0 var(--white);
}

.field.is-invalid input,
.field.is-invalid select {
  border-bottom-color: var(--accent);
}

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 34px;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.check input {
  position: absolute;
  opacity: 0;
  width: 20px;
  height: 20px;
  margin: 0;
}

.check__box {
  flex: 0 0 20px;
  height: 20px;
  border: 1.5px solid var(--white);
  border-radius: 3px;
  position: relative;
  transition: background-color 0.3s var(--ease);
}

.check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid #111;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.3s var(--ease-out);
}

.check input:checked + .check__box {
  background: var(--white);
}

.check input:checked + .check__box::after {
  transform: rotate(45deg) scale(1);
}

.check input:focus-visible + .check__box {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.check.is-invalid .check__box {
  border-color: var(--accent);
}

.book__error {
  min-height: 22px;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #ecc98a;
}

.book__submit {
  display: flex;
  margin: 18px auto 0;
}

.book__thanks {
  display: grid;
  justify-items: center;
  gap: 40px;
  padding-top: 12vh;
}

.book__thanks[hidden] {
  display: none;
}

/* ---------------------------------------------------------- Misc/utility -- */

.rotate {
  display: none;
}

.noscript {
  position: fixed;
  inset: auto 0 40% 0;
  z-index: 50;
  text-align: center;
  padding: 0 20px;
}

body.no-webgl #stage {
  display: none;
}

body.no-webgl .backdrop__layer {
  transition-duration: 0.9s;
}

/* ------------------------------------------------------------ Responsive -- */

@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .cards::-webkit-scrollbar {
    display: none;
  }
  .card {
    scroll-snap-align: center;
  }
  .overlay__hint {
    display: block;
  }
}

@media (max-width: 767px) {
  :root {
    --nav-h: 64px;
    --t-title: clamp(20px, 5.8vw, 26px);
    --t-lead: 15px;
    --t-caps: 12.5px;
  }
  .br-m {
    display: inline;
  }
  .site-header {
    padding-top: calc(env(safe-area-inset-top) + 18px);
  }
  .brand__word {
    font-size: 15px;
  }
  .brand__slash {
    width: 94px;
    height: 10px;
  }
  .brand__sub {
    font-size: 9.5px;
  }
  .pill--outline {
    min-height: 40px;
    padding: 0 16px;
    font-size: 11.5px;
  }
  .pill__long {
    display: none;
  }
  .pill__short {
    display: inline;
  }
  .pill--solid {
    min-height: 50px;
    padding: 0 28px;
    font-size: 12.5px;
  }
  .panel--top {
    padding-top: max(15vh, 96px);
  }
  .panel__title {
    letter-spacing: 0.12em;
  }
  .panel__lead {
    max-width: 30em;
  }
  .gate {
    --disc: max(150vw, 60vh);
  }
  .gate__head {
    top: 14%;
  }
  .gate__loader,
  .ignite {
    width: 128px;
    height: 128px;
    margin-left: -64px;
  }
  .ignite__label {
    font-size: 15px;
  }
  .cards {
    grid-template-columns: repeat(4, 78vw);
    gap: 16px;
  }
  .book__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hotspot__label {
    font-size: 9.5px;
    padding: 6px 9px;
  }
  .close {
    width: 44px;
    height: 44px;
  }
}

/* landscape phones: mirror the reference's "turn back to portrait" notice */
@media (max-height: 500px) and (orientation: landscape) and (hover: none) {
  .rotate {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    background: #07080b;
    text-align: center;
    font-weight: 300;
    font-size: 18px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
}

/* -------------------------------------------------------- Reduced motion -- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .panel__title .ch,
  .panel.is-active .panel__title .ch,
  .gate__title .ch {
    transform: none !important;
    filter: none !important;
    transition-delay: 0s !important;
  }
  .ignite__ring circle {
    animation: none;
  }
}

/* hotspot labels that sit to the left of their dot */
.hotspot[data-side="left"] .hotspot__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 0;
  margin-top: -14px;
}

@media (max-width: 767px) {
  .br-d {
    display: none;
  }
}

/* ------------------------------------------------------ PPF packages -- */

.panel--pkg {
  justify-content: space-between;
  padding-top: max(8.5vh, 76px);
  padding-bottom: calc(var(--nav-h) + clamp(14px, 2.4vh, 26px));
}

.pkg-head {
  display: grid;
  justify-items: center;
}

.pkg-head__eyebrow {
  margin-bottom: 10px;
  font-weight: 400;
  font-size: clamp(12px, 0.95vw, 16px);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.panel.is-active .pkg-head__eyebrow {
  opacity: 1;
  transition: opacity 1.2s var(--ease-out) 0.35s;
}

.pkg-head__title {
  font-size: clamp(24px, 3.1vw, 50px);
  letter-spacing: 0.1em;
}

.pkg-head__title .accent .ch {
  color: var(--accent);
}

.panel--pkg .pkg-head__lead {
  margin-top: 12px;
  font-weight: 400;
  font-size: clamp(14px, 1.05vw, 18px);
  letter-spacing: 0.01em;
}

.pkg-tagline {
  position: absolute;
  right: clamp(16px, 8.5vw, 160px);
  top: 34%;
  padding-left: 20px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.3em;
  text-align: left;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel.is-active .pkg-tagline {
  opacity: 0.9;
  transform: none;
  transition:
    opacity 1.2s var(--ease-out) 1.4s,
    transform 1.4s var(--ease-out) 1.4s;
}

.pkgs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 22px);
  width: 100%;
  max-width: 1560px;
  text-align: left;
  text-shadow: none;
}

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 1.5vw, 26px) clamp(16px, 1.5vw, 26px) clamp(14px, 1.2vw, 20px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(26, 27, 32, 0.78), rgba(8, 9, 11, 0.82));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.panel.is-active .pkg {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition:
    opacity 1s var(--ease-out) calc(1.2s + var(--i) * 0.12s),
    transform 1.2s var(--ease-out) calc(1.2s + var(--i) * 0.12s),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.pkg:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.pkg.is-selected {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent) inset,
    0 18px 50px rgba(212, 169, 92, 0.18);
}

.pkg__select {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.pkg__select:focus-visible {
  outline-offset: -3px;
}

.pkg__badge {
  position: absolute;
  z-index: 2;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 3px;
  background: var(--accent);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pkg__name {
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 25px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pkg__cover {
  margin-top: 3px;
  font-size: clamp(10.5px, 0.78vw, 13px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.pkg__price {
  margin-top: clamp(10px, 1.4vh, 16px);
  font-weight: 500;
  font-size: clamp(12px, 0.9vw, 15px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
}

.pkg__price::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1.5px;
  margin: 0 10px 4px 0;
  vertical-align: middle;
  background: var(--accent);
}

.pkg__body {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-start;
  margin-top: clamp(10px, 1.4vh, 16px);
}

.pkg__list {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 300;
  font-size: clamp(12px, 0.86vw, 14.5px);
}

.pkg__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.pkg__list li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 5px;
  margin-top: -3px;
  border: solid var(--white);
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg);
}

.pkg__img {
  position: absolute;
  right: -10%;
  top: 50%;
  width: 62%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  transform: translateY(-50%) scale(1.04);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.9s var(--ease),
    transform 1.4s var(--ease-out);
}

.pkg__img.is-loaded {
  opacity: 0.95;
  transform: translateY(-50%);
}

.pkg:hover .pkg__img.is-loaded {
  transform: translateY(-50%) scale(1.05);
}

.pkg__cta {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(8px, 1.4vh, 16px);
  padding: 8px 0;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.pkg__cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 34px;
  bottom: 3px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.pkg__cta:hover::after,
.pkg__cta:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.pkg__cta svg {
  width: 18px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.5s var(--ease);
}

.pkg__cta:hover svg {
  transform: translateX(6px);
}

@media (max-width: 1180px) {
  .pkg__img {
    display: none;
  }
  .pkg-tagline {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 768px) {
  .pkg__list li:nth-child(n + 4) {
    display: none;
  }
  .pkg-head__lead {
    display: none;
  }
}

@media (max-width: 767px) {
  .panel--pkg {
    padding-top: max(11vh, 88px);
  }
  .pkg-head__eyebrow {
    letter-spacing: 0.4em;
    font-size: 11px;
  }
  .pkg-head__title {
    font-size: 20px;
  }
  .pkgs {
    display: flex;
    gap: 12px;
    width: auto;
    margin: 0 calc(var(--gutter) * -1);
    padding: 14px var(--gutter) 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x;
    scroll-padding-inline: var(--gutter);
    align-self: stretch;
  }
  .pkgs::-webkit-scrollbar {
    display: none;
  }
  .pkg {
    flex: 0 0 74vw;
    scroll-snap-align: start;
  }
  .pkg__list li:nth-child(n + 4) {
    display: none;
  }
  .stepnav__progress i {
    width: 8px;
  }
  .stepnav__btn {
    gap: 10px;
    font-size: 12.5px;
  }
}

/* compact package cards: keep the whole car visible above them */
.panel--pkg {
  padding-bottom: calc(var(--nav-h) + clamp(12px, 2vh, 22px));
}

.pkg-head__title {
  font-size: clamp(22px, 2.6vw, 42px);
}

.pkgs {
  max-width: 1320px;
  gap: clamp(10px, 1vw, 18px);
}

.panel.is-active .pkgs {
  pointer-events: auto;
}

.pkg {
  padding: clamp(12px, 1.1vw, 18px) clamp(14px, 1.2vw, 20px) clamp(8px, 0.8vw, 12px);
  border-radius: 6px;
}

.pkg__name {
  font-size: clamp(15px, 1.2vw, 20px);
}

.pkg__cover {
  font-size: clamp(9.5px, 0.66vw, 11px);
}

.pkg__price {
  margin-top: clamp(6px, 0.9vh, 10px);
  font-size: clamp(10.5px, 0.75vw, 12.5px);
}

.pkg__body {
  margin-top: clamp(6px, 0.9vh, 10px);
}

.pkg__list {
  font-size: clamp(11px, 0.76vw, 13px);
}

.pkg__list li {
  padding: 3px 0;
}

.pkg__list li:nth-child(n + 4) {
  display: none;
}

.pkg__img {
  width: 50%;
  right: -6%;
}

.pkg__cta {
  margin-top: clamp(4px, 0.8vh, 10px);
  padding: 6px 0;
  font-size: 11.5px;
}

.pkg__badge {
  top: -9px;
  padding: 3px 10px;
  font-size: 9.5px;
}

.pkg-rail-hint {
  display: none;
}

@media (max-width: 767px) {
  .pkgs {
    padding-top: 12px;
  }
  .pkg {
    flex: 0 0 64vw;
    padding: 12px 14px 8px;
  }
  .pkg__list li:nth-child(n + 3) {
    display: none;
  }
  .pkg-rail-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
    font-weight: 500;
    font-size: 10.5px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--white-70);
  }
  .pkg-rail-hint__dots {
    display: flex;
    gap: 6px;
  }
  .pkg-rail-hint__dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition:
      background-color 0.4s var(--ease),
      width 0.4s var(--ease);
  }
  .pkg-rail-hint__dots i.is-on {
    width: 18px;
    border-radius: 3px;
    background: var(--accent);
  }
}

.credit {
  margin-top: 26px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

.credit a {
  color: inherit;
}

/* keep the card rail (and its swipe hint) anchored above the nav */
.panel--pkg .pkgs {
  margin-top: auto;
}

/* ------------------------------------------------------------ Brand logo -- */

.brand__logo {
  display: block;
  width: clamp(150px, 12vw, 200px);
  height: auto;
}

.gate__logo {
  display: block;
  width: clamp(220px, 21vw, 330px);
  height: auto;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  filter: blur(6px);
  transition:
    opacity 1.4s var(--ease),
    transform 1.8s var(--ease-out),
    filter 1.4s var(--ease);
}

.gate.is-booting .gate__logo {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.gate__head {
  top: 7%;
  gap: 18px;
}

.mark--car,
.panel--ready .mark--car,
.panel--center .mark--car {
  width: clamp(110px, 9vw, 150px);
  height: auto;
}

@media (max-width: 767px) {
  .brand__logo {
    width: 128px;
  }
  .gate__logo {
    width: 200px;
  }
}

/* --------------------------------------------------- Intro (chapter 01) -- */

.panel--intro {
  align-items: stretch;
  padding: 0;
  text-align: left;
}

.intro {
  position: absolute;
  left: clamp(20px, 3.8vw, 72px);
  top: 50%;
  transform: translateY(-54%);
  max-width: min(560px, 42vw);
}

.intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: clamp(11.5px, 0.9vw, 15px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #dfb76c;
}

.intro__eyebrow::before {
  content: "";
  display: inline-block;
  width: 44px;
  height: 1.5px;
  background: #dfb76c;
  opacity: 0.9;
}

.panel__title.intro__title {
  margin-top: clamp(8px, 1.4vh, 14px);
  font-family: "Cinzel", "Cormorant Garamond", "Bodoni Moda", Georgia, serif;
  font-weight: 400;
  font-size: clamp(38px, 4.3vw, 76px);
  line-height: 1.05;
  letter-spacing: 0.08em;
}

.intro__title-white,
.intro__title-gold {
  display: inline-block;
}

/* white Automatrix heading */
.intro__title-white .ch {
  color: #ffffff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* gold Global wordmark */
.intro__title-gold .ch {
  color: transparent;
  background: linear-gradient(180deg, #fbeec2 0%, #e9c77a 38%, #c99a45 70%, #a9782c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

.intro__tag {
  margin-top: clamp(16px, 2.6vh, 26px);
  font-weight: 400;
  font-size: clamp(14px, 1.25vw, 20px);
  line-height: 1.55;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.intro__rule {
  display: block;
  width: 54px;
  height: 1.5px;
  margin: clamp(18px, 2.8vh, 28px) 0;
  background: #dfb76c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.intro__lead {
  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.intro__features {
  display: flex;
  margin: clamp(26px, 5vh, 56px) 0 0;
  padding: 0;
  list-style: none;
}

.intro__features li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  padding: 0 clamp(12px, 1.4vw, 24px);
  text-align: center;
  font-weight: 500;
  font-size: clamp(10px, 0.72vw, 12.5px);
  line-height: 1.35;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.intro__features li:first-child {
  padding-left: 0;
}

.intro__features li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.intro__features svg {
  width: clamp(28px, 2.3vw, 38px);
  height: clamp(28px, 2.3vw, 38px);
  fill: none;
  stroke: var(--white);
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* film layer call-outs */
.layers {
  position: absolute;
  right: clamp(20px, 5vw, 96px);
  top: 36%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(14px, 2.6vh, 30px);
}

.layers li {
  position: relative;
  padding: 0 0 10px 0;
  min-width: clamp(190px, 17vw, 270px);
  font-weight: 500;
  font-size: clamp(10.5px, 0.78vw, 13px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

/* underline that runs back toward the car and ends in a dot */
.layers li::after {
  content: "";
  position: absolute;
  left: calc(clamp(40px, 6vw, 110px) * -1);
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.45));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.layers li::before {
  content: "";
  position: absolute;
  left: calc(clamp(40px, 6vw, 110px) * -1 - 4px);
  bottom: -3.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.15),
    0 0 14px rgba(255, 255, 255, 0.8);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.intro__motto {
  position: absolute;
  right: clamp(20px, 5vw, 96px);
  bottom: calc(var(--nav-h) + clamp(28px, 5vh, 52px));
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 500;
  font-size: clamp(11px, 0.8vw, 14px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.intro__motto span {
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}

/* reveal sequence */
.panel--intro .intro__eyebrow,
.panel--intro .intro__tag,
.panel--intro .intro__lead {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel--intro.is-active .intro__eyebrow,
.panel--intro.is-active .intro__tag,
.panel--intro.is-active .intro__lead,
.panel--intro.is-active .intro__features li,
.panel--intro.is-active .layers li {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s var(--ease-out) var(--d3),
    transform 1.2s var(--ease-out) var(--d3);
}

.panel--intro.is-active .intro__eyebrow { --d3: 0.4s; }
.panel--intro .intro__title { --d: 0.6s; }
.panel--intro.is-active .intro__tag { --d3: 1.2s; }
.panel--intro.is-active .intro__lead { --d3: 1.55s; }
.panel--intro.is-active .intro__features li:nth-child(1) { --d3: 1.8s; }
.panel--intro.is-active .intro__features li:nth-child(2) { --d3: 1.92s; }
.panel--intro.is-active .intro__features li:nth-child(3) { --d3: 2.04s; }
.panel--intro.is-active .intro__features li:nth-child(4) { --d3: 2.16s; }
.panel--intro.is-active .layers li:nth-child(1) { --d3: 2.2s; }
.panel--intro.is-active .layers li:nth-child(2) { --d3: 2.35s; }
.panel--intro.is-active .layers li:nth-child(3) { --d3: 2.5s; }
.panel--intro.is-active .layers li:nth-child(4) { --d3: 2.65s; }
.panel--intro.is-active .layers li:nth-child(5) { --d3: 2.8s; }

.panel--intro.is-active .intro__rule {
  transform: scaleX(1);
  transition: transform 1.2s var(--ease-out) 1.4s;
}

.panel--intro.is-active .layers li::after {
  transform: scaleX(1);
  transition: transform 1.3s var(--ease-out) calc(var(--d3) + 0.2s);
}

.panel--intro.is-active .layers li::before {
  opacity: 1;
  transition: opacity 0.6s var(--ease) calc(var(--d3) + 1.2s);
}

.panel--intro.is-active .intro__motto {
  opacity: 1;
  transition: opacity 1.4s var(--ease-out) 3s;
}

@media (max-width: 1100px) {
  .layers {
    display: none;
  }
}

@media (max-width: 767px) {
  .intro {
    left: var(--gutter);
    right: var(--gutter);
    top: max(13vh, 100px);
    transform: none;
    max-width: none;
  }
  .panel__title.intro__title {
    font-size: 40px;
  }
  .intro__eyebrow {
    font-size: 11px;
  }
  .intro__tag {
    font-size: 13px;
    letter-spacing: 0.26em;
  }
  .intro__rule {
    margin: 14px 0;
  }
  .intro__lead {
    font-size: 14px;
  }
  .intro__features {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(var(--nav-h) + 22px);
    margin: 0;
    justify-content: space-between;
  }
  .intro__features li {
    flex: 1;
    padding: 0 6px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .intro__features svg {
    width: 26px;
    height: 26px;
  }
  .intro__motto {
    display: none;
  }
}

/* idle hint sits low so it never covers chapter layouts */
.prompt {
  top: auto;
  bottom: calc(var(--nav-h) + 18px);
  transform: none;
}

.prompt__msg {
  font-size: clamp(11px, 0.85vw, 13px);
  letter-spacing: 0.3em;
  font-weight: 500;
}

.brand__logo {
  width: clamp(170px, 13vw, 220px);
}

/* ------------------------------------------- Engineered (chapter 02) -- */

.panel--eng {
  align-items: stretch;
  padding: 0;
  text-align: left;
}

.eng {
  position: absolute;
  left: clamp(20px, 4.4vw, 84px);
  top: clamp(96px, 17vh, 150px);
  max-width: min(640px, 44vw);
}

.eng__eyebrow {
  font-weight: 400;
  font-size: clamp(11px, 0.85vw, 14px);
  letter-spacing: 0.56em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.panel__title.eng__title {
  margin-top: clamp(10px, 1.8vh, 18px);
  font-weight: 300;
  font-size: clamp(34px, 3.7vw, 66px);
  line-height: 1.08;
  letter-spacing: 0.12em;
}

.eng__title .accent .ch {
  color: var(--accent);
}

.eng__rule {
  display: block;
  width: 80px;
  height: 2px;
  margin: clamp(16px, 2.8vh, 28px) 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.eng__lead {
  font-weight: 400;
  font-size: clamp(14px, 1.08vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

/* "YEARS | OF SELF-HEALING PROTECTION" */
.eng__years {
  position: absolute;
  left: 70%;
  top: clamp(200px, 25vh, 250px);
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 40px);
  text-transform: uppercase;
}

.eng__years-unit {
  font-weight: 400;
  font-size: clamp(14px, 1.15vw, 20px);
  letter-spacing: 0.6em;
}

.eng__years-rule {
  width: 1.5px;
  height: clamp(60px, 10vh, 90px);
  background: rgba(255, 255, 255, 0.75);
  transform: scaleY(0);
  transition: transform 0.5s var(--ease);
}

.eng__years-text {
  font-weight: 400;
  font-size: clamp(10.5px, 0.8vw, 13.5px);
  line-height: 1.75;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.8);
}

/* feature row */
.eng__features {
  position: absolute;
  left: clamp(20px, 4.4vw, 84px);
  right: clamp(20px, 4.4vw, 84px);
  bottom: calc(var(--nav-h) + clamp(22px, 4.5vh, 44px));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.eng__features li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  padding: 0 12px;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.eng__features li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.eng__features svg {
  width: clamp(28px, 2.2vw, 38px);
  height: clamp(28px, 2.2vw, 38px);
  margin-bottom: 8px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.eng__features strong {
  font-weight: 500;
  font-size: clamp(10.5px, 0.8vw, 13.5px);
  letter-spacing: 0.24em;
}

.eng__features span {
  font-weight: 400;
  font-size: clamp(9px, 0.62vw, 11px);
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.62);
}

/* giant numeral behind the car (inside .backdrop, under the canvas) */
.bignum {
  position: absolute;
  left: 41%;
  top: 7vh;
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition:
    opacity 0.8s var(--ease),
    transform 1s var(--ease);
}

.bignum__num {
  display: block;
  font-family: "Cormorant Garamond", "Bodoni Moda", Georgia, serif;
  font-weight: 300;
  font-size: clamp(200px, 43vh, 420px);
  line-height: 0.8;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(210, 214, 222, 0.5) 45%, rgba(150, 156, 168, 0.12) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
}

/* floor light streaks */
.streak {
  position: absolute;
  height: 3px;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transform-origin: var(--from) center;
  transform: rotate(var(--angle)) scaleX(0);
  transition:
    opacity 0.6s var(--ease),
    transform 0.8s var(--ease);
}

.streak--red {
  --from: left;
  --angle: -6deg;
  left: -2%;
  top: 70%;
  width: 34%;
  background: linear-gradient(90deg, rgba(212, 169, 92, 0.9), rgba(236, 201, 138, 1) 70%, rgba(236, 201, 138, 0.4));
  box-shadow: 0 0 18px 3px rgba(212, 169, 92, 0.65), 0 0 60px 10px rgba(212, 169, 92, 0.25);
}

.streak--white {
  --from: right;
  --angle: -11deg;
  right: -2%;
  top: 49%;
  width: 30%;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.6), #fff 60%, rgba(255, 255, 255, 0.5));
  box-shadow: 0 0 16px 3px rgba(255, 255, 255, 0.55), 0 0 60px 12px rgba(200, 215, 255, 0.2);
}

body[data-step="engineered"] .bignum {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.6s var(--ease-out) 0.7s,
    transform 1.8s var(--ease-out) 0.7s;
}

body[data-step="engineered"] .streak {
  opacity: 1;
  transform: rotate(var(--angle)) scaleX(1);
  transition:
    opacity 0.8s var(--ease-out) 1.2s,
    transform 1.8s var(--ease-out) 1.2s;
}

/* reveal sequence */
.panel--eng .eng__eyebrow,
.panel--eng .eng__lead,
.panel--eng .eng__years {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel--eng.is-active .eng__eyebrow,
.panel--eng.is-active .eng__lead,
.panel--eng.is-active .eng__years,
.panel--eng.is-active .eng__features li {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s var(--ease-out) var(--d3),
    transform 1.2s var(--ease-out) var(--d3);
}

.panel--eng.is-active .eng__eyebrow { --d3: 0.35s; }
.panel--eng .eng__title { --d: 0.55s; }
.panel--eng.is-active .eng__lead { --d3: 1.45s; }
.panel--eng.is-active .eng__years { --d3: 1.7s; }
.panel--eng.is-active .eng__features li:nth-child(1) { --d3: 1.9s; }
.panel--eng.is-active .eng__features li:nth-child(2) { --d3: 2s; }
.panel--eng.is-active .eng__features li:nth-child(3) { --d3: 2.1s; }
.panel--eng.is-active .eng__features li:nth-child(4) { --d3: 2.2s; }
.panel--eng.is-active .eng__features li:nth-child(5) { --d3: 2.3s; }

.panel--eng.is-active .eng__rule {
  transform: scaleX(1);
  transition: transform 1.2s var(--ease-out) 1.3s;
}

.panel--eng.is-active .eng__years-rule {
  transform: scaleY(1);
  transition: transform 1s var(--ease-out) 2s;
}

@media (max-width: 1100px) {
  .eng__years {
    left: auto;
    right: var(--gutter);
  }
  .eng__features span {
    display: none;
  }
}

@media (max-width: 767px) {
  .eng {
    left: var(--gutter);
    right: var(--gutter);
    top: max(12vh, 92px);
    max-width: none;
  }
  .panel__title.eng__title {
    font-size: 30px;
  }
  .eng__eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.4em;
  }
  .eng__rule {
    margin: 14px 0;
  }
  .eng__lead {
    font-size: 14px;
  }
  .eng__years {
    top: auto;
    right: var(--gutter);
    bottom: calc(var(--nav-h) + 150px);
    gap: 14px;
  }
  .eng__years-unit {
    font-size: 12px;
    letter-spacing: 0.4em;
  }
  .eng__years-rule {
    height: 48px;
  }
  .eng__years-text {
    font-size: 9.5px;
  }
  .eng__features {
    left: 8px;
    right: 8px;
    bottom: calc(var(--nav-h) + 18px);
  }
  .eng__features li {
    padding: 0 4px;
    gap: 4px;
  }
  .eng__features svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
  }
  .eng__features strong {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .bignum {
    left: calc(50% - 78px);
    top: 30vh;
  }
  .bignum__num {
    font-size: 150px;
  }
  .streak--red {
    width: 50%;
    top: 62%;
  }
  .streak--white {
    width: 45%;
    top: 50%;
  }
}

/* ---------------------------------------------- Services (chapter 03) -- */

.panel--svc {
  align-items: stretch;
  padding: 0;
  text-align: left;
}

.svc {
  position: absolute;
  left: clamp(20px, 3.8vw, 72px);
  top: 50%;
  transform: translateY(-50%);
  max-width: min(560px, 34vw);
}

.svc__eyebrow {
  font-weight: 400;
  font-size: clamp(10.5px, 0.8vw, 13.5px);
  letter-spacing: 0.56em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.panel__title.svc__title {
  margin-top: clamp(10px, 1.8vh, 18px);
  font-weight: 300;
  font-size: clamp(32px, 3.3vw, 60px);
  line-height: 1.1;
  letter-spacing: 0.1em;
}

.svc__title .accent .ch {
  color: var(--accent);
}

.svc__rule {
  display: block;
  width: 80px;
  height: 2px;
  margin: clamp(16px, 2.8vh, 28px) 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.svc__lead {
  font-weight: 400;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.svc__features {
  display: flex;
  margin: clamp(30px, 7vh, 80px) 0 0;
  padding: 0;
  list-style: none;
}

.svc__features li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 0 clamp(12px, 1.4vw, 26px);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.svc__features li:first-child {
  padding-left: 0;
}

.svc__features li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.svc__features strong {
  font-weight: 500;
  font-size: clamp(10px, 0.72vw, 12.5px);
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.svc__features span {
  font-weight: 400;
  font-size: clamp(8.5px, 0.58vw, 10.5px);
  line-height: 1.5;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
}

.svc__tagline {
  position: absolute;
  right: clamp(20px, 4.6vw, 88px);
  top: clamp(150px, 18vh, 180px);
  font-weight: 400;
  font-size: clamp(13px, 1.02vw, 18px);
  line-height: 1.45;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.svc__tagline::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 18px;
  background: var(--accent);
}

/* hotspots with elbow leader lines. --dx / --dy = where the label sits relative to the dot */
.panel--svc .hotspot {
  display: block;
  gap: 0;
}

.hs__dot {
  position: absolute;
  left: -9px;
  top: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow:
    0 0 0 4px rgba(212, 169, 92, 0.55),
    0 0 0 9px rgba(212, 169, 92, 0.18),
    0 0 22px 6px rgba(212, 169, 92, 0.45);
  transform: scale(0);
  transition: transform 0.4s var(--ease);
}

.hs__dot::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1.5px solid rgba(236, 201, 138, 0.8);
  animation: pulse 2.4s var(--ease-out) infinite;
}

.hs__line {
  position: absolute;
  left: min(0px, var(--dx));
  top: min(0px, var(--dy));
  width: max(var(--dx), calc(var(--dx) * -1));
  height: max(var(--dy), calc(var(--dy) * -1));
  border: 0 solid rgba(255, 255, 255, 0.75);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.4s var(--ease);
}

.hs--right .hs__line { border-left-width: 1px; }
.hs--left .hs__line { border-right-width: 1px; }
.hs--up .hs__line { border-top-width: 1px; }
.hs--down .hs__line { border-bottom-width: 1px; }

.hs__label {
  position: absolute;
  top: calc(var(--dy) - 22px);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.hs--right .hs__label {
  left: calc(var(--dx) + 14px);
}

.hs--left .hs__label {
  right: calc(var(--dx) * -1 + 14px);
  flex-direction: row-reverse;
  text-align: right;
}

.hs__label svg {
  flex: 0 0 auto;
  width: 38px;
  height: 30px;
  margin-top: 4px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.hs__text {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  white-space: nowrap;
}

.hs--left .hs__text {
  padding: 0 14px 0 0;
  border-left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.45);
}

.hs__text strong {
  margin-bottom: 4px;
  font-weight: 600;
  font-size: clamp(10.5px, 0.78vw, 13px);
  letter-spacing: 0.2em;
}

.hs__text span {
  font-weight: 400;
  font-size: clamp(9px, 0.62vw, 11px);
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
}

/* reveal sequence */
.panel--svc .svc__eyebrow,
.panel--svc .svc__lead,
.panel--svc .svc__tagline {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel--svc.is-active .svc__eyebrow,
.panel--svc.is-active .svc__lead,
.panel--svc.is-active .svc__tagline,
.panel--svc.is-active .svc__features li {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s var(--ease-out) var(--d3),
    transform 1.2s var(--ease-out) var(--d3);
}

.panel--svc.is-active .svc__eyebrow { --d3: 0.35s; }
.panel--svc .svc__title { --d: 0.55s; }
.panel--svc.is-active .svc__lead { --d3: 1.4s; }
.panel--svc.is-active .svc__tagline { --d3: 1.6s; }
.panel--svc.is-active .svc__features li:nth-child(1) { --d3: 1.7s; }
.panel--svc.is-active .svc__features li:nth-child(2) { --d3: 1.8s; }
.panel--svc.is-active .svc__features li:nth-child(3) { --d3: 1.9s; }
.panel--svc.is-active .svc__features li:nth-child(4) { --d3: 2s; }

.panel--svc.is-active .svc__rule {
  transform: scaleX(1);
  transition: transform 1.2s var(--ease-out) 1.25s;
}

.panel--svc.is-active .hotspot {
  opacity: 1;
  transition: opacity 0.3s linear calc(1.6s + var(--i, 0) * 0.2s);
}

.panel--svc.is-active .hs__dot {
  transform: scale(1);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) calc(1.6s + var(--i, 0) * 0.2s);
}

.panel--svc.is-active .hs__line {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.9s var(--ease-out) calc(1.9s + var(--i, 0) * 0.2s);
}

.panel--svc.is-active .hs__label {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s var(--ease-out) calc(2.3s + var(--i, 0) * 0.2s),
    transform 1s var(--ease-out) calc(2.3s + var(--i, 0) * 0.2s);
}

@media (max-width: 1100px) {
  .svc__tagline {
    display: none;
  }
  .hs__label svg,
  .hs__text span {
    display: none;
  }
}

@media (max-width: 767px) {
  .svc {
    left: var(--gutter);
    right: var(--gutter);
    top: max(12vh, 92px);
    transform: none;
    max-width: none;
  }
  .panel__title.svc__title {
    font-size: 28px;
  }
  .svc__eyebrow {
    font-size: 10px;
    letter-spacing: 0.4em;
  }
  .svc__rule {
    margin: 12px 0;
  }
  .svc__lead {
    font-size: 13.5px;
  }
  .svc__features {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(var(--nav-h) + 18px);
    margin: 0;
    justify-content: space-between;
  }
  .svc__features li {
    flex: 1;
    padding: 0 6px;
  }
  .svc__features strong {
    font-size: 8px;
    letter-spacing: 0.1em;
    white-space: normal;
  }
  .svc__features span {
    display: none;
  }
  .hs__dot {
    left: -7px;
    top: -7px;
    width: 14px;
    height: 14px;
  }
  .hs__label {
    top: calc(var(--dy) - 9px);
  }
  .hs__text {
    padding-left: 8px;
  }
  .hs--left .hs__text {
    padding-right: 8px;
  }
  .hs__text strong {
    margin: 0;
    font-size: 8.5px;
    letter-spacing: 0.12em;
  }
}

/* never let chapter overlays widen the page */
.chapters {
  overflow: hidden;
}

@media (max-width: 767px) {
  .panel--svc .hs__line {
    display: none;
  }
  .panel--svc .hs__label,
  .panel--svc .hs--left .hs__label {
    left: 12px;
    right: auto;
    top: -7px;
    flex-direction: row;
    text-align: left;
  }
  .panel--svc .hs__text,
  .panel--svc .hs--left .hs__text {
    padding: 3px 7px;
    border: 0;
    border-radius: 999px;
    background: rgba(8, 9, 12, 0.6);
  }
}

@media (max-width: 767px) {
  .panel--svc .hs[data-anchor="hood"] .hs__label,
  .panel--svc .hs[data-anchor="bumper"] .hs__label,
  .panel--svc .hs[data-anchor="window"] .hs__label {
    left: auto;
    right: 12px;
  }
}

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

/* -------------------------------------------- Dimensions (chapter 04) -- */

.panel--len {
  align-items: stretch;
  padding: 0;
  text-align: left;
}

.len {
  position: absolute;
  left: clamp(20px, 3.8vw, 72px);
  top: clamp(110px, 18vh, 160px);
  max-width: min(560px, 34vw);
}

.len__eyebrow {
  font-weight: 400;
  font-size: clamp(10.5px, 0.8vw, 13.5px);
  letter-spacing: 0.56em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.panel__title.len__title {
  margin-top: clamp(10px, 1.8vh, 18px);
  font-weight: 300;
  font-size: clamp(32px, 3.3vw, 60px);
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.len__title .accent .ch {
  color: var(--accent);
}

.len__rule {
  display: block;
  width: 80px;
  height: 2px;
  margin: clamp(14px, 2.4vh, 24px) 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.len__lead {
  font-weight: 400;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.len__tagline {
  position: absolute;
  right: clamp(20px, 5.4vw, 104px);
  top: clamp(130px, 17vh, 170px);
  font-weight: 400;
  font-size: clamp(12px, 0.95vw, 16px);
  line-height: 1.7;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.len__tagline::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 16px;
  background: var(--accent);
}

/* length ruler: line with a gap in the middle for its label */
.panel--len .ruler {
  top: calc(var(--ry, 70%) - 6px);
}

.panel--len .ruler__line {
  -webkit-mask-image: linear-gradient(90deg, #000 0 40%, transparent 40% 60%, #000 60% 100%);
  mask-image: linear-gradient(90deg, #000 0 40%, transparent 40% 60%, #000 60% 100%);
}

.panel--len .ruler__ticks i:nth-child(n + 9):nth-child(-n + 13) {
  display: none;
}

.ruler__label {
  position: absolute;
  left: 50%;
  top: -20px;
  display: grid;
  justify-items: center;
  gap: 16px;
  transform: translateX(-50%);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.ruler__label span {
  font-weight: 500;
  font-size: clamp(10px, 0.72vw, 12px);
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
}

.ruler__label strong {
  font-weight: 500;
  font-size: clamp(11px, 0.8vw, 13.5px);
  letter-spacing: 0.1em;
}

.panel--len.is-active .ruler__label {
  opacity: 1;
  transition: opacity 1s var(--ease-out) 2.2s;
}

/* height ruler */
.hruler {
  position: absolute;
  left: var(--hx, 85%);
  top: var(--hy, 35%);
  height: var(--hh, 30%);
  width: 20px;
}

.hruler__line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: var(--white);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}

.hruler__line::before,
.hruler__line::after {
  content: "";
  position: absolute;
  left: -9px;
  width: 20px;
  height: 1.5px;
  background: var(--white);
}

.hruler__line::before {
  top: 0;
}

.hruler__line::after {
  bottom: 0;
}

.hruler__label {
  position: absolute;
  left: 30px;
  top: 50%;
  display: grid;
  gap: 4px;
  transform: translateY(-50%);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.hruler__label span {
  margin-bottom: 4px;
  font-weight: 500;
  font-size: clamp(9.5px, 0.66vw, 11px);
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.75);
}

.hruler__label strong {
  font-weight: 500;
  font-size: clamp(12px, 0.95vw, 16px);
  letter-spacing: 0.08em;
}

.panel--len.is-active .hruler__line {
  transform: scaleY(1);
  transition: transform 1.3s var(--ease-out) 1.6s;
}

.panel--len.is-active .hruler__label {
  opacity: 1;
  transition: opacity 1s var(--ease-out) 2.4s;
}

/* floor light streak from the left */
.streak--floor {
  --from: left;
  --angle: -9deg;
  left: -2%;
  top: 66%;
  width: 26%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), #fff 70%, rgba(255, 255, 255, 0.3));
  box-shadow:
    0 0 14px 2px rgba(255, 255, 255, 0.5),
    0 0 50px 10px rgba(200, 215, 255, 0.18);
}

body[data-step="ruler"] .streak--floor {
  opacity: 1;
  transform: rotate(var(--angle)) scaleX(1);
  transition:
    opacity 0.8s var(--ease-out) 1s,
    transform 1.8s var(--ease-out) 1s;
}

/* feature row */
.len__features {
  position: absolute;
  left: 50%;
  bottom: calc(var(--nav-h) + clamp(22px, 4vh, 40px));
  display: grid;
  grid-template-columns: repeat(4, auto);
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(-42%);
}

.len__features li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  padding: 0 clamp(16px, 2.6vw, 50px);
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.len__features li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.len__features svg {
  width: clamp(28px, 2.2vw, 38px);
  height: clamp(28px, 2.2vw, 38px);
  margin-bottom: 8px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.len__features strong {
  font-weight: 500;
  font-size: clamp(10.5px, 0.82vw, 14px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.len__features span {
  font-weight: 400;
  font-size: clamp(10px, 0.78vw, 13.5px);
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.7);
}

/* reveal sequence */
.panel--len .len__eyebrow,
.panel--len .len__lead,
.panel--len .len__tagline {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel--len.is-active .len__eyebrow,
.panel--len.is-active .len__lead,
.panel--len.is-active .len__tagline,
.panel--len.is-active .len__features li {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s var(--ease-out) var(--d3),
    transform 1.2s var(--ease-out) var(--d3);
}

.panel--len.is-active .len__eyebrow { --d3: 0.35s; }
.panel--len .len__title { --d: 0.55s; }
.panel--len.is-active .len__lead { --d3: 1.4s; }
.panel--len.is-active .len__tagline { --d3: 1.6s; }
.panel--len.is-active .len__features li:nth-child(1) { --d3: 2s; }
.panel--len.is-active .len__features li:nth-child(2) { --d3: 2.1s; }
.panel--len.is-active .len__features li:nth-child(3) { --d3: 2.2s; }
.panel--len.is-active .len__features li:nth-child(4) { --d3: 2.3s; }

.panel--len.is-active .len__rule {
  transform: scaleX(1);
  transition: transform 1.2s var(--ease-out) 1.25s;
}

@media (max-width: 1100px) {
  .len__tagline {
    display: none;
  }
  .len__features {
    left: var(--gutter);
    right: var(--gutter);
    grid-template-columns: repeat(4, 1fr);
    transform: none;
  }
  .len__features li {
    padding: 0 8px;
  }
  .len__features span {
    display: none;
  }
}

@media (max-width: 767px) {
  .len {
    left: var(--gutter);
    right: var(--gutter);
    top: max(12vh, 92px);
    max-width: none;
  }
  .panel__title.len__title {
    font-size: 28px;
  }
  .len__eyebrow {
    font-size: 10px;
    letter-spacing: 0.4em;
  }
  .len__rule {
    margin: 12px 0;
  }
  .len__lead {
    font-size: 13.5px;
  }
  .hruler__label {
    left: auto;
    right: 16px;
    text-align: right;
  }
  .len__features {
    left: 8px;
    right: 8px;
    bottom: calc(var(--nav-h) + 18px);
  }
  .len__features li {
    padding: 0 4px;
  }
  .len__features svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
  }
  .len__features strong {
    font-size: 8px;
    letter-spacing: 0.08em;
    white-space: normal;
  }
  .streak--floor {
    width: 45%;
  }
}

@media (max-width: 767px) {
  .hruler {
    display: none;
  }
}

/* ------------------------------------------- Go beyond (chapter 05) -- */

.panel--gb {
  align-items: stretch;
  padding: 0;
}

.gb__head {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(80px, 11vh, 110px);
  display: grid;
  justify-items: center;
  text-align: center;
}

.gb__eyebrow {
  font-weight: 400;
  font-size: clamp(13px, 1.1vw, 19px);
  letter-spacing: 0.62em;
  padding-left: 0.62em;
  text-transform: uppercase;
}

.panel__title.gb__title {
  margin-top: clamp(8px, 1.4vh, 14px);
  font-weight: 300;
  font-size: clamp(40px, 4.6vw, 84px);
  line-height: 1;
  letter-spacing: 0.1em;
}

.gb__title .ch {
  color: transparent;
  background: linear-gradient(180deg, #ffffff 30%, #b8bcc4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

.gb__title .accent .ch {
  background: linear-gradient(180deg, #ecc98a 0%, #d4a95c 60%, #9c783c 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.gb__sub {
  margin-top: clamp(14px, 2.2vh, 22px);
  font-weight: 400;
  font-size: clamp(11px, 0.9vw, 15px);
  letter-spacing: 0.5em;
  padding-left: 0.5em;
  text-transform: uppercase;
}

.gb__rule {
  display: block;
  width: 48px;
  height: 2px;
  margin-top: clamp(14px, 2.2vh, 22px);
  background: rgba(255, 255, 255, 0.8);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}

/* numbered process on the left */
.gb__steps {
  position: absolute;
  left: clamp(20px, 4.4vw, 84px);
  top: 30%;
  display: grid;
  gap: clamp(26px, 5vh, 50px);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.gb__steps li {
  position: relative;
  display: flex;
  gap: clamp(22px, 2.2vw, 36px);
  padding-left: 18px;
  font-weight: 500;
  font-size: clamp(10.5px, 0.78vw, 13px);
  line-height: 1.6;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.gb__steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  bottom: -6px;
  width: 1.5px;
  background: rgba(255, 255, 255, 0.28);
}

.gb__steps li.is-current::before {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(212, 169, 92, 0.8);
}

.gb__num {
  font-weight: 600;
  letter-spacing: 0.12em;
}

.gb__steps li:not(.is-current) {
  color: rgba(255, 255, 255, 0.78);
}

.gb__tagline {
  position: absolute;
  right: clamp(20px, 5vw, 96px);
  top: 36%;
  font-weight: 400;
  font-size: clamp(12px, 0.95vw, 16px);
  line-height: 1.7;
  letter-spacing: 0.42em;
  text-align: left;
  text-transform: uppercase;
}

.gb__tagline::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 18px;
  background: var(--accent);
}

/* glowing CTA */
.gb__cta {
  position: absolute;
  left: 50%;
  bottom: calc(var(--nav-h) + clamp(26px, 4vh, 40px));
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 58px;
  padding: 0 clamp(34px, 3.4vw, 60px);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.72);
  box-shadow:
    0 0 0 1px rgba(212, 169, 92, 0.35),
    0 10px 40px rgba(212, 169, 92, 0.35),
    inset 0 0 22px rgba(212, 169, 92, 0.18);
  font-weight: 600;
  font-size: clamp(12px, 0.95vw, 15px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease),
    background-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.gb__cta svg {
  width: 18px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.5s var(--ease);
}

.gb__cta:hover,
.gb__cta:focus-visible {
  background: var(--accent);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 12px 50px rgba(212, 169, 92, 0.6);
}

.gb__cta:hover svg {
  transform: translateX(6px);
}

.panel--gb.is-active .gb__cta {
  pointer-events: auto;
  opacity: 1;
  transform: translate(-50%, 0);
  transition:
    opacity 1.1s var(--ease-out) 2.6s,
    transform 1.2s var(--ease-out) 2.6s,
    background-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

/* studio light architecture (inside .backdrop, behind the car) */
.gb-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.gb-stage__glow {
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(62vw, 110vh);
  height: 46vh;
  transform: translateX(-50%);
  background:
    radial-gradient(60% 70% at 50% 60%, rgba(212, 169, 92, 0.55) 0%, rgba(156, 120, 60, 0.28) 45%, transparent 75%);
  filter: blur(8px);
}

.gb-stage__panel {
  position: absolute;
  top: 36%;
  width: 16vw;
  height: 30vh;
  border: 1.5px solid rgba(236, 201, 138, 0.85);
  background: linear-gradient(180deg, rgba(212, 169, 92, 0.35), rgba(120, 8, 20, 0.12));
  box-shadow:
    0 0 30px rgba(212, 169, 92, 0.55),
    inset 0 0 40px rgba(212, 169, 92, 0.3);
}

.gb-stage__panel--l {
  left: 31%;
  transform: skewY(-24deg);
  transform-origin: right bottom;
  border-right: 0;
}

.gb-stage__panel--r {
  right: 31%;
  transform: skewY(24deg);
  transform-origin: left bottom;
  border-left: 0;
}

.gb-stage__beam {
  position: absolute;
  top: -5%;
  width: 3px;
  height: 78%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), #fff 55%, rgba(255, 255, 255, 0.7));
  box-shadow:
    0 0 16px 3px rgba(255, 255, 255, 0.55),
    0 0 60px 14px rgba(220, 230, 255, 0.16);
  transform-origin: top center;
}

.gb-stage__beam--l {
  left: 24%;
  transform: rotate(-17deg) scaleY(0);
}

.gb-stage__beam--r {
  right: 24%;
  transform: rotate(17deg) scaleY(0);
}

body[data-step="beyond"] .gb-stage {
  opacity: 1;
  transition: opacity 1.4s var(--ease-out) 0.6s;
}

body[data-step="beyond"] .gb-stage__beam--l {
  transform: rotate(-17deg) scaleY(1);
  transition: transform 1.6s var(--ease-out) 0.9s;
}

body[data-step="beyond"] .gb-stage__beam--r {
  transform: rotate(17deg) scaleY(1);
  transition: transform 1.6s var(--ease-out) 1.05s;
}

/* reveal sequence */
.panel--gb .gb__eyebrow,
.panel--gb .gb__sub,
.panel--gb .gb__tagline {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel--gb.is-active .gb__eyebrow,
.panel--gb.is-active .gb__sub,
.panel--gb.is-active .gb__tagline,
.panel--gb.is-active .gb__steps li {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s var(--ease-out) var(--d3),
    transform 1.2s var(--ease-out) var(--d3);
}

.panel--gb.is-active .gb__eyebrow { --d3: 0.35s; }
.panel--gb .gb__title { --d: 0.55s; }
.panel--gb.is-active .gb__sub { --d3: 1.3s; }
.panel--gb.is-active .gb__steps li:nth-child(1) { --d3: 1.6s; }
.panel--gb.is-active .gb__steps li:nth-child(2) { --d3: 1.75s; }
.panel--gb.is-active .gb__steps li:nth-child(3) { --d3: 1.9s; }
.panel--gb.is-active .gb__tagline { --d3: 1.8s; }

.panel--gb.is-active .gb__rule {
  transform: scaleX(1);
  transition: transform 1s var(--ease-out) 1.5s;
}

@media (max-width: 1100px) {
  .gb__steps,
  .gb__tagline {
    display: none;
  }
}

@media (max-width: 767px) {
  .gb__head {
    top: max(12vh, 92px);
    padding: 0 var(--gutter);
  }
  .panel__title.gb__title {
    font-size: 38px;
    letter-spacing: 0.08em;
  }
  .gb__eyebrow {
    font-size: 11px;
  }
  .gb__sub {
    font-size: 9.5px;
    letter-spacing: 0.3em;
  }
  .gb__cta {
    min-height: 52px;
    font-size: 11.5px;
  }
  .gb-stage__glow {
    width: 110vw;
  }
  .gb-stage__panel {
    width: 26vw;
    height: 22vh;
    top: 40%;
  }
  .gb-stage__panel--l {
    left: 18%;
  }
  .gb-stage__panel--r {
    right: 18%;
  }
  .gb-stage__beam--l {
    left: 8%;
  }
  .gb-stage__beam--r {
    right: 8%;
  }
}

@media (max-width: 767px) {
  .gb-stage__beam {
    height: 60%;
  }
  body[data-step="beyond"] .gb-stage__beam--l {
    transform: rotate(-5deg) scaleY(1);
  }
  body[data-step="beyond"] .gb-stage__beam--r {
    transform: rotate(5deg) scaleY(1);
  }
  .gb-stage__beam--l {
    left: 5%;
    transform: rotate(-5deg) scaleY(0);
  }
  .gb-stage__beam--r {
    right: 5%;
    transform: rotate(5deg) scaleY(0);
  }
  .gb-stage__panel {
    width: 18vw;
    height: 13vh;
    top: 44%;
  }
  .gb-stage__panel--l {
    left: 22%;
  }
  .gb-stage__panel--r {
    right: 22%;
  }
}

/* -------------------------------------- Beauty that lasts (chapter 06) -- */

.panel--heal {
  align-items: stretch;
  padding: 0;
  text-align: left;
}

.heal {
  position: absolute;
  left: clamp(20px, 3.8vw, 72px);
  top: clamp(110px, 19vh, 170px);
  max-width: min(520px, 30vw);
}

.heal__eyebrow {
  font-weight: 400;
  font-size: clamp(10.5px, 0.82vw, 14px);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.panel__title.heal__title {
  margin-top: clamp(10px, 1.8vh, 18px);
  font-weight: 300;
  font-size: clamp(38px, 4vw, 74px);
  line-height: 1.02;
  letter-spacing: 0.08em;
}

.heal__title .accent .ch {
  color: var(--accent);
  font-weight: 400;
}

.heal__rule {
  display: block;
  width: 80px;
  height: 2px;
  margin: clamp(14px, 2.4vh, 24px) 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.heal__lead {
  font-weight: 400;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.88);
}

.heal__features {
  display: flex;
  margin: clamp(22px, 4.5vh, 46px) 0 0;
  padding: 0;
  list-style: none;
}

.heal__features li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  padding: 0 clamp(14px, 1.6vw, 28px);
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.heal__features li:first-child {
  padding-left: 0;
}

.heal__features li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.heal__features svg {
  width: clamp(30px, 2.4vw, 40px);
  height: clamp(30px, 2.4vw, 40px);
  margin-bottom: 8px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.heal__features strong {
  font-weight: 600;
  font-size: clamp(10px, 0.72vw, 12.5px);
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.heal__features span {
  margin-top: 4px;
  font-weight: 400;
  font-size: clamp(10px, 0.72vw, 12.5px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

/* the diagonal "film" sheet slicing across the car */
.heal__sheet {
  position: absolute;
  left: 43%;
  top: -12%;
  width: clamp(80px, 8vw, 150px);
  height: 124%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.16) 94%, rgba(255, 255, 255, 0.85) 98%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-60vw) rotate(21deg);
  opacity: 0;
  transition:
    transform 0.6s var(--ease),
    opacity 0.4s var(--ease);
}

.panel--heal.is-active .heal__sheet {
  opacity: 1;
  transform: translateX(0) rotate(21deg);
  transition:
    transform 2.4s var(--ease-out) 0.7s,
    opacity 0.8s var(--ease) 0.7s;
}

/* detail cards */
.heal__cards {
  position: absolute;
  right: clamp(20px, 3.4vw, 64px);
  top: clamp(120px, 17vh, 150px);
  display: grid;
  gap: clamp(14px, 3.2vh, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.heal-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 1.3vw, 24px);
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.heal-card__media {
  flex: 0 0 auto;
  width: clamp(110px, 7.9vw, 150px);
  aspect-ratio: 1.45;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: linear-gradient(135deg, #2a0b10, #0d0e11);
}

.heal-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.15);
  transition:
    opacity 0.9s var(--ease),
    transform 1.6s var(--ease-out);
}

.heal-card__media img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.heal-card__text {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.heal-card__text strong {
  font-weight: 500;
  font-size: clamp(10.5px, 0.8vw, 13.5px);
  line-height: 1.55;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.heal-card__text span {
  font-weight: 400;
  font-size: clamp(11px, 0.82vw, 14px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
}

/* leader lines running from the cards back toward the car */
.heal-card__lead {
  position: absolute;
  right: calc(100% + 12px);
  top: 42%;
  width: clamp(60px, 7vw, 130px);
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.heal-card__lead::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(40px, 4.4vw, 80px);
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  transform-origin: left;
  transform: rotate(118deg);
}

.heal-card:nth-child(2) .heal-card__lead::after {
  transform: rotate(145deg);
  width: clamp(30px, 3vw, 56px);
}

.heal__motto {
  position: absolute;
  right: clamp(20px, 3.4vw, 64px);
  bottom: calc(var(--nav-h) + clamp(60px, 11vh, 110px));
  display: flex;
  align-items: flex-start;
  gap: 20px;
  font-weight: 400;
  font-size: clamp(10.5px, 0.8vw, 14px);
  line-height: 1.8;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.heal__motto span {
  flex: 0 0 auto;
  width: 48px;
  height: 2px;
  margin-top: 0.8em;
  background: var(--accent);
}

/* reveal sequence */
.panel--heal .heal__eyebrow,
.panel--heal .heal__lead,
.panel--heal .heal__motto {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel--heal.is-active .heal__eyebrow,
.panel--heal.is-active .heal__lead,
.panel--heal.is-active .heal__motto,
.panel--heal.is-active .heal__features li,
.panel--heal.is-active .heal-card {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s var(--ease-out) var(--d3),
    transform 1.2s var(--ease-out) var(--d3);
}

.panel--heal.is-active .heal__eyebrow { --d3: 0.35s; }
.panel--heal .heal__title { --d: 0.55s; }
.panel--heal.is-active .heal__lead { --d3: 1.35s; }
.panel--heal.is-active .heal__features li:nth-child(1) { --d3: 1.6s; }
.panel--heal.is-active .heal__features li:nth-child(2) { --d3: 1.72s; }
.panel--heal.is-active .heal__features li:nth-child(3) { --d3: 1.84s; }
.panel--heal.is-active .heal-card:nth-child(1) { --d3: 1.7s; }
.panel--heal.is-active .heal-card:nth-child(2) { --d3: 1.9s; }
.panel--heal.is-active .heal-card:nth-child(3) { --d3: 2.1s; }
.panel--heal.is-active .heal__motto { --d3: 2.4s; }

.panel--heal.is-active .heal__rule {
  transform: scaleX(1);
  transition: transform 1.2s var(--ease-out) 1.25s;
}

.panel--heal.is-active .heal-card__lead {
  transform: scaleX(1);
  transition: transform 1s var(--ease-out) calc(var(--d3) + 0.4s);
}

@media (max-width: 1100px) {
  .heal-card__lead,
  .heal__motto {
    display: none;
  }
  .heal-card__text span {
    display: none;
  }
}

@media (max-width: 767px) {
  .heal {
    left: var(--gutter);
    right: var(--gutter);
    top: max(12vh, 92px);
    max-width: none;
  }
  .panel__title.heal__title {
    font-size: 36px;
  }
  .heal__eyebrow {
    font-size: 10px;
    letter-spacing: 0.4em;
  }
  .heal__rule {
    margin: 12px 0;
  }
  .heal__lead {
    font-size: 13.5px;
  }
  .heal__features {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(var(--nav-h) + 18px);
    margin: 0;
    justify-content: space-between;
  }
  .heal__features li {
    flex: 1;
    padding: 0 6px;
  }
  .heal__features svg {
    width: 26px;
    height: 26px;
    margin-bottom: 4px;
  }
  .heal__features strong {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .heal__features span {
    display: none;
  }
  .heal__cards {
    display: none;
  }
  .heal__sheet {
    left: 55%;
    top: 30%;
    height: 45%;
  }
}

/* ------------------------------------- See your reflection (chapter 08) -- */

.panel--cer {
  align-items: stretch;
  padding: 0;
  text-align: left;
}

.cer {
  position: absolute;
  left: clamp(20px, 3.3vw, 64px);
  top: clamp(110px, 19vh, 170px);
  max-width: min(520px, 29vw);
}

.cer__eyebrow {
  font-weight: 400;
  font-size: clamp(10.5px, 0.82vw, 14px);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.panel__title.cer__title {
  margin-top: clamp(10px, 1.8vh, 18px);
  font-weight: 300;
  font-size: clamp(34px, 3.6vw, 66px);
  line-height: 1.04;
  letter-spacing: 0.06em;
}

.cer__title .accent .ch {
  color: var(--accent);
}

.cer__rule {
  display: block;
  width: 80px;
  height: 2px;
  margin: clamp(14px, 2.4vh, 24px) 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.cer__rule--short {
  width: 48px;
  margin: clamp(12px, 2vh, 20px) 0 0;
}

.cer__lead {
  font-weight: 400;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.cer__features {
  display: flex;
  margin: clamp(18px, 3.5vh, 34px) 0 0;
  padding: 0;
  list-style: none;
}

.cer__features li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  padding: 0 clamp(14px, 1.5vw, 26px);
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.cer__features li:first-child {
  padding-left: 0;
}

.cer__features li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.cer__features svg {
  width: clamp(30px, 2.4vw, 40px);
  height: clamp(30px, 2.4vw, 40px);
  margin-bottom: 8px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.cer__features strong {
  font-weight: 600;
  font-size: clamp(10px, 0.72vw, 12.5px);
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cer__features span {
  margin-top: 4px;
  font-weight: 400;
  font-size: clamp(10px, 0.72vw, 12.5px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.cer__beyond {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(22px, 5vh, 50px);
  font-weight: 400;
  font-size: clamp(10px, 0.72vw, 12.5px);
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.cer__beyond span {
  flex: 1;
  height: 1px;
  min-width: 40px;
  background: rgba(255, 255, 255, 0.35);
}

/* before / after divider */
.cer-split {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cer-split__line {
  position: absolute;
  left: var(--split);
  top: 8vh;
  bottom: calc(var(--nav-h) + 20px);
  width: 1px;
  margin-left: -0.5px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.8) 12%, rgba(255, 255, 255, 0.8) 88%, transparent);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  transform: scaleY(0);
  transition: transform 0.5s var(--ease);
}

.cer-split__handle {
  position: absolute;
  left: var(--split);
  top: 45%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: ew-resize;
  touch-action: none;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    background-color 0.3s var(--ease);
}

.cer-split__handle svg {
  width: 22px;
  height: 12px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cer-split__handle:hover {
  background: rgba(212, 169, 92, 0.75);
}

.cer-split__tag {
  position: absolute;
  bottom: calc(var(--nav-h) + clamp(30px, 5.5vh, 56px));
  font-weight: 500;
  font-size: clamp(10.5px, 0.78vw, 13px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.cer-split__tag--before {
  right: calc(100% - var(--split) + clamp(36px, 4vw, 72px));
}

.cer-split__tag--after {
  left: calc(var(--split) + clamp(36px, 4vw, 72px));
}

.panel--cer.is-active .cer-split__line {
  transform: scaleY(1);
  transition: transform 1.3s var(--ease-out) 0.9s;
}

.panel--cer.is-active .cer-split__handle {
  pointer-events: auto;
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s var(--ease-out) 1.5s,
    transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s,
    background-color 0.3s var(--ease);
}

.panel--cer.is-active .cer-split__tag {
  opacity: 1;
  transition: opacity 1s var(--ease-out) 2s;
}

/* detail cards */
.cer__cards {
  position: absolute;
  right: clamp(20px, 3.4vw, 64px);
  top: clamp(116px, 17vh, 150px);
  display: grid;
  gap: clamp(14px, 2.8vh, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cer-card {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 1.3vw, 24px);
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.cer-card__media {
  position: relative;
  flex: 0 0 auto;
  width: clamp(120px, 10vw, 184px);
  aspect-ratio: 1.45;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: linear-gradient(135deg, #2a0b10, #0d0e11);
}

.cer-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.15);
  transition:
    opacity 0.9s var(--ease),
    transform 1.6s var(--ease-out);
}

.cer-card__media img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

/* water beads on the hydrophobic sample */
.cer-card__media--beads::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.85) 0 2px, rgba(255, 255, 255, 0.15) 3px 7px, transparent 8px),
    radial-gradient(circle at 44% 58%, rgba(255, 255, 255, 0.85) 0 2px, rgba(255, 255, 255, 0.15) 3px 9px, transparent 10px),
    radial-gradient(circle at 68% 26%, rgba(255, 255, 255, 0.85) 0 1.5px, rgba(255, 255, 255, 0.15) 2px 6px, transparent 7px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.85) 0 2px, rgba(255, 255, 255, 0.15) 3px 8px, transparent 9px),
    radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.8) 0 1.5px, rgba(255, 255, 255, 0.12) 2px 5px, transparent 6px),
    radial-gradient(circle at 58% 84%, rgba(255, 255, 255, 0.8) 0 1px, rgba(255, 255, 255, 0.12) 2px 4px, transparent 5px),
    radial-gradient(circle at 88% 40%, rgba(255, 255, 255, 0.8) 0 1px, rgba(255, 255, 255, 0.12) 2px 4px, transparent 5px);
  mix-blend-mode: screen;
}

.cer-card__text {
  display: grid;
  gap: 8px;
  padding-top: 6px;
}

.cer-card__text strong {
  font-weight: 500;
  font-size: clamp(10.5px, 0.8vw, 13.5px);
  line-height: 1.45;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.cer-card__text i {
  display: block;
  width: 26px;
  height: 1.5px;
  margin: 4px 0;
  background: var(--accent);
}

.cer-card__text span {
  font-weight: 400;
  font-size: clamp(10px, 0.72vw, 12.5px);
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.78);
}

.cer__motto {
  position: absolute;
  right: clamp(20px, 3.4vw, 64px);
  bottom: calc(var(--nav-h) + clamp(58px, 11vh, 110px));
  display: flex;
  align-items: flex-start;
  gap: 22px;
  font-weight: 400;
  font-size: clamp(10.5px, 0.8vw, 14px);
  line-height: 1.8;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.cer__motto span {
  flex: 0 0 auto;
  width: 40px;
  height: 2px;
  margin-top: 0.8em;
  background: var(--accent);
}

/* reveal sequence */
.panel--cer .cer__eyebrow,
.panel--cer .cer__lead,
.panel--cer .cer__beyond,
.panel--cer .cer__motto {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel--cer.is-active .cer__eyebrow,
.panel--cer.is-active .cer__lead,
.panel--cer.is-active .cer__beyond,
.panel--cer.is-active .cer__motto,
.panel--cer.is-active .cer__features li,
.panel--cer.is-active .cer-card {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s var(--ease-out) var(--d3),
    transform 1.2s var(--ease-out) var(--d3);
}

.panel--cer.is-active .cer__eyebrow { --d3: 0.35s; }
.panel--cer .cer__title { --d: 0.55s; }
.panel--cer.is-active .cer__lead { --d3: 1.35s; }
.panel--cer.is-active .cer__features li:nth-child(1) { --d3: 1.6s; }
.panel--cer.is-active .cer__features li:nth-child(2) { --d3: 1.72s; }
.panel--cer.is-active .cer__features li:nth-child(3) { --d3: 1.84s; }
.panel--cer.is-active .cer__beyond { --d3: 2.1s; }
.panel--cer.is-active .cer-card:nth-child(1) { --d3: 1.7s; }
.panel--cer.is-active .cer-card:nth-child(2) { --d3: 1.9s; }
.panel--cer.is-active .cer-card:nth-child(3) { --d3: 2.1s; }
.panel--cer.is-active .cer__motto { --d3: 2.4s; }

.panel--cer.is-active .cer__rule {
  transform: scaleX(1);
  transition: transform 1.2s var(--ease-out) 1.25s;
}

@media (max-width: 1100px) {
  .cer__motto,
  .cer__beyond {
    display: none;
  }
  .cer-card__text span,
  .cer-card__text i {
    display: none;
  }
}

@media (max-width: 767px) {
  .cer {
    left: var(--gutter);
    right: var(--gutter);
    top: max(12vh, 92px);
    max-width: none;
  }
  .panel__title.cer__title {
    font-size: 34px;
  }
  .cer__eyebrow {
    font-size: 10px;
    letter-spacing: 0.4em;
  }
  .cer__rule {
    margin: 12px 0;
  }
  .cer__rule--short {
    display: none;
  }
  .cer__lead {
    font-size: 13.5px;
  }
  .cer__features {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(var(--nav-h) + 18px);
    margin: 0;
    justify-content: space-between;
  }
  .cer__features li {
    flex: 1;
    padding: 0 6px;
  }
  .cer__features svg {
    width: 26px;
    height: 26px;
    margin-bottom: 4px;
  }
  .cer__features strong {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .cer__features span,
  .cer__cards {
    display: none;
  }
  .cer-split__line {
    top: 36vh;
    bottom: calc(var(--nav-h) + 110px);
  }
  .cer-split__handle {
    top: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
  }
  .cer-split__tag {
    bottom: calc(var(--nav-h) + 118px);
    font-size: 9.5px;
    letter-spacing: 0.3em;
  }
  .cer-split__tag--before {
    right: calc(100% - var(--split) + 16px);
  }
  .cer-split__tag--after {
    left: calc(var(--split) + 16px);
  }
}

/* --------------------------------- Details under pressure (chapter 09) -- */

.panel--lit {
  align-items: stretch;
  padding: 0;
  text-align: left;
}

.lit {
  position: absolute;
  left: clamp(20px, 3.4vw, 64px);
  top: clamp(120px, 21vh, 180px);
  max-width: min(640px, 36vw);
}

.lit__title .accent {
  white-space: nowrap;
}

.lit__eyebrow {
  font-weight: 400;
  font-size: clamp(10.5px, 0.85vw, 14.5px);
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.panel__title.lit__title {
  margin-top: clamp(10px, 1.6vh, 16px);
  font-weight: 300;
  font-size: clamp(32px, 3.3vw, 60px);
  line-height: 1.02;
  letter-spacing: 0.1em;
}

.lit__title .accent .ch {
  color: var(--accent);
}

.lit__rule {
  display: block;
  width: 64px;
  height: 2px;
  margin: clamp(14px, 2.4vh, 24px) 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.lit__lead {
  font-weight: 400;
  font-size: clamp(13.5px, 1vw, 17px);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.lit__tagline {
  position: absolute;
  right: clamp(20px, 3.8vw, 72px);
  top: clamp(180px, 29vh, 250px);
  font-weight: 400;
  font-size: clamp(12px, 0.95vw, 16px);
  line-height: 1.75;
  letter-spacing: 0.48em;
  text-transform: uppercase;
}

.lit__tagline::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 18px;
  background: var(--accent);
}

.lit__features {
  position: absolute;
  left: 50%;
  bottom: calc(var(--nav-h) + clamp(24px, 4.2vh, 44px));
  display: grid;
  grid-template-columns: repeat(4, auto);
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(-47%);
}

.lit__features li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  padding: 0 clamp(18px, 3vw, 58px);
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.lit__features li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.lit__features svg {
  width: clamp(30px, 2.4vw, 42px);
  height: clamp(30px, 2.4vw, 42px);
  margin-bottom: 10px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.lit__features strong {
  font-weight: 500;
  font-size: clamp(10.5px, 0.82vw, 14px);
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lit__features span {
  font-weight: 400;
  font-size: clamp(10.5px, 0.82vw, 14px);
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

/* neon bars around the studio walls, with floor reflections (behind the car) */
.lit-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.lit-stage span {
  position: absolute;
  left: var(--x);
  top: calc(60% - var(--h));
  width: 3px;
  height: var(--h);
  border-radius: 2px;
  background: #fff;
  box-shadow:
    0 0 10px 2px rgba(255, 255, 255, 0.55),
    0 0 40px 8px rgba(210, 225, 255, 0.14);
  transform: scaleY(0);
  transform-origin: bottom;
}

.lit-stage span.is-red {
  background: #ecc98a;
  box-shadow:
    0 0 10px 2px rgba(236, 201, 138, 0.7),
    0 0 44px 10px rgba(212, 169, 92, 0.25);
}

/* reflection on the wet floor */
.lit-stage span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 120%;
  background: inherit;
  opacity: 0.28;
  filter: blur(2px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  mask-image: linear-gradient(180deg, #000, transparent);
}

body[data-step="lights"] .lit-stage {
  opacity: 1;
  transition: opacity 1.2s var(--ease-out) 0.6s;
}

body[data-step="lights"] .lit-stage span {
  transform: scaleY(1);
  transition: transform 1.1s var(--ease-out) calc(1s + var(--d));
}

/* reveal sequence */
.panel--lit .lit__eyebrow,
.panel--lit .lit__lead,
.panel--lit .lit__tagline {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel--lit.is-active .lit__eyebrow,
.panel--lit.is-active .lit__lead,
.panel--lit.is-active .lit__tagline,
.panel--lit.is-active .lit__features li {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s var(--ease-out) var(--d3),
    transform 1.2s var(--ease-out) var(--d3);
}

.panel--lit.is-active .lit__eyebrow { --d3: 0.35s; }
.panel--lit .lit__title { --d: 0.55s; }
.panel--lit.is-active .lit__lead { --d3: 1.4s; }
.panel--lit.is-active .lit__tagline { --d3: 1.7s; }
.panel--lit.is-active .lit__features li:nth-child(1) { --d3: 2s; }
.panel--lit.is-active .lit__features li:nth-child(2) { --d3: 2.12s; }
.panel--lit.is-active .lit__features li:nth-child(3) { --d3: 2.24s; }
.panel--lit.is-active .lit__features li:nth-child(4) { --d3: 2.36s; }

.panel--lit.is-active .lit__rule {
  transform: scaleX(1);
  transition: transform 1.2s var(--ease-out) 1.3s;
}

@media (max-width: 1100px) {
  .lit__tagline {
    display: none;
  }
  .lit__features {
    left: var(--gutter);
    right: var(--gutter);
    grid-template-columns: repeat(4, 1fr);
    transform: none;
  }
  .lit__features li {
    padding: 0 8px;
  }
  .lit__features strong {
    white-space: normal;
  }
  .lit__features span {
    display: none;
  }
}

@media (max-width: 767px) {
  .lit {
    left: var(--gutter);
    right: var(--gutter);
    top: max(12vh, 92px);
    max-width: none;
  }
  .panel__title.lit__title {
    font-size: 28px;
  }
  .lit__eyebrow {
    font-size: 10px;
    letter-spacing: 0.36em;
  }
  .lit__rule {
    margin: 12px 0;
  }
  .lit__lead {
    font-size: 13px;
  }
  .lit__features {
    left: 8px;
    right: 8px;
    bottom: calc(var(--nav-h) + 18px);
  }
  .lit__features li {
    padding: 0 4px;
  }
  .lit__features svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
  }
  .lit__features strong {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  .lit-stage span {
    top: calc(62% - var(--h) * 0.6);
    height: calc(var(--h) * 0.6);
  }
}

@media (max-width: 767px) {
  /* the hex ceiling sits here on phones */
  .lit__lead {
    display: none;
  }
}

/* ------------------------------------ See less, experience more (ch 10) -- */

.panel--tint {
  align-items: stretch;
  padding: 0;
  text-align: left;
}

.tint {
  position: absolute;
  left: clamp(20px, 3.4vw, 64px);
  top: clamp(120px, 21vh, 180px);
  max-width: min(640px, 34vw);
}

.tint__eyebrow {
  font-weight: 400;
  font-size: clamp(10.5px, 0.82vw, 14px);
  letter-spacing: 0.56em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.panel__title.tint__title {
  margin-top: clamp(10px, 1.6vh, 16px);
  font-weight: 300;
  font-size: clamp(32px, 3.4vw, 62px);
  line-height: 1.06;
  letter-spacing: 0.08em;
}

.tint__title .accent {
  white-space: nowrap;
}

.tint__title .accent .ch {
  color: var(--accent);
}

.tint__rule {
  display: block;
  width: 80px;
  height: 2px;
  margin: clamp(14px, 2.4vh, 24px) 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.tint__lead {
  font-weight: 400;
  font-size: clamp(14px, 1.06vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.tint__service {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(16px, 3vh, 28px);
  padding: 11px 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.tint__service svg {
  width: 16px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.4s var(--ease);
}

.tint__service:hover,
.tint__service:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.tint__service:hover svg {
  transform: translateX(5px);
}

/* red neon slash in the background architecture */
.tint__beam {
  position: absolute;
  left: 60%;
  top: -10%;
  width: 3px;
  height: 58%;
  background: linear-gradient(180deg, rgba(236, 201, 138, 0), #ecc98a 40%, rgba(236, 201, 138, 0.2));
  box-shadow:
    0 0 14px 3px rgba(236, 201, 138, 0.6),
    0 0 60px 14px rgba(212, 169, 92, 0.2);
  transform: rotate(-24deg) scaleY(0);
  transform-origin: top;
  opacity: 0.85;
  transition: transform 0.6s var(--ease);
}

.panel--tint.is-active .tint__beam {
  transform: rotate(-24deg) scaleY(1);
  transition: transform 1.8s var(--ease-out) 0.6s;
}

/* before / after divider across the windows */
.tint-split {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tint-split__line {
  position: absolute;
  left: var(--split);
  top: 14vh;
  height: 32vh;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 18%, #fff 82%, rgba(255, 255, 255, 0));
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  transform: rotate(7deg) scaleY(0);
  transform-origin: center;
  transition: transform 0.5s var(--ease);
}

.tint-split__handle {
  position: absolute;
  left: var(--split);
  top: 30vh;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: ew-resize;
  touch-action: none;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    background-color 0.3s var(--ease);
}

.tint-split__handle svg {
  width: 20px;
  height: 11px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tint-split__handle:hover {
  background: rgba(212, 169, 92, 0.75);
}

.tint-split__tag {
  position: absolute;
  top: 16vh;
  display: grid;
  gap: 10px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.tint-split__tag strong {
  font-weight: 500;
  font-size: clamp(12px, 1vw, 17px);
  letter-spacing: 0.34em;
}

.tint-split__tag span {
  font-weight: 400;
  font-size: clamp(9.5px, 0.72vw, 12.5px);
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.78);
}

.tint-split__tag--before {
  right: calc(100% - var(--split) + clamp(40px, 5.5vw, 100px));
}

.tint-split__tag--after {
  left: calc(var(--split) + clamp(28px, 2.4vw, 44px));
}

.tint-split__tag--after::after {
  content: "";
  display: block;
  width: 34px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.7);
}

.panel--tint.is-active .tint-split__line {
  transform: rotate(7deg) scaleY(1);
  transition: transform 1.2s var(--ease-out) 1s;
}

.panel--tint.is-active .tint-split__handle {
  pointer-events: auto;
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s var(--ease-out) 1.5s,
    transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s,
    background-color 0.3s var(--ease);
}

.panel--tint.is-active .tint-split__tag {
  opacity: 1;
  transition: opacity 1s var(--ease-out) 2s;
}

/* feature row */
.tint__features {
  position: absolute;
  left: clamp(20px, 3.4vw, 64px);
  right: clamp(170px, 16vw, 300px);
  bottom: calc(var(--nav-h) + clamp(28px, 5vh, 56px));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tint__features li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  padding: 0 10px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.tint__features li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.tint__features svg {
  width: clamp(30px, 2.4vw, 40px);
  height: clamp(30px, 2.4vw, 40px);
  margin-bottom: 8px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.tint__features strong {
  font-weight: 500;
  font-size: clamp(10.5px, 0.82vw, 14px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tint__features span {
  font-weight: 400;
  font-size: clamp(10.5px, 0.8vw, 13.5px);
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.tint__motto {
  position: absolute;
  right: clamp(20px, 3.4vw, 64px);
  bottom: calc(var(--nav-h) + clamp(20px, 3vh, 34px));
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 400;
  font-size: clamp(10.5px, 0.8vw, 14px);
  line-height: 1.7;
  letter-spacing: 0.46em;
  text-transform: uppercase;
}

.tint__motto span {
  flex: 0 0 auto;
  width: 2px;
  height: 76px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(212, 169, 92, 0.6);
  transform: rotate(28deg);
}

/* reveal sequence */
.panel--tint .tint__eyebrow,
.panel--tint .tint__lead,
.panel--tint .tint__service,
.panel--tint .tint__motto {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease),
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.panel--tint.is-active .tint__eyebrow,
.panel--tint.is-active .tint__lead,
.panel--tint.is-active .tint__service,
.panel--tint.is-active .tint__motto,
.panel--tint.is-active .tint__features li {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s var(--ease-out) var(--d3),
    transform 1.2s var(--ease-out) var(--d3),
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.panel--tint.is-active .tint__service {
  pointer-events: auto;
}

.panel--tint.is-active .tint__eyebrow { --d3: 0.35s; }
.panel--tint .tint__title { --d: 0.55s; }
.panel--tint.is-active .tint__lead { --d3: 1.35s; }
.panel--tint.is-active .tint__service { --d3: 1.6s; }
.panel--tint.is-active .tint__features li:nth-child(1) { --d3: 1.9s; }
.panel--tint.is-active .tint__features li:nth-child(2) { --d3: 2s; }
.panel--tint.is-active .tint__features li:nth-child(3) { --d3: 2.1s; }
.panel--tint.is-active .tint__features li:nth-child(4) { --d3: 2.2s; }
.panel--tint.is-active .tint__features li:nth-child(5) { --d3: 2.3s; }
.panel--tint.is-active .tint__motto { --d3: 2.5s; }

.panel--tint.is-active .tint__rule {
  transform: scaleX(1);
  transition: transform 1.2s var(--ease-out) 1.25s;
}

@media (max-width: 1100px) {
  .tint__motto {
    display: none;
  }
  .tint__features {
    right: clamp(20px, 3.4vw, 64px);
  }
  .tint__features strong {
    white-space: normal;
  }
  .tint__features span {
    display: none;
  }
}

@media (max-width: 767px) {
  .tint {
    left: var(--gutter);
    right: var(--gutter);
    top: max(12vh, 92px);
    max-width: none;
  }
  .panel__title.tint__title {
    font-size: 30px;
  }
  .tint__eyebrow {
    font-size: 10px;
    letter-spacing: 0.4em;
  }
  .tint__rule {
    margin: 12px 0;
  }
  .tint__lead {
    font-size: 13px;
  }
  .tint__service {
    margin-top: 12px;
    padding: 9px 16px;
    font-size: 10px;
  }
  .tint__features {
    left: 6px;
    right: 6px;
    bottom: calc(var(--nav-h) + 18px);
  }
  .tint__features li {
    padding: 0 3px;
  }
  .tint__features svg {
    width: 22px;
    height: 22px;
    margin-bottom: 4px;
  }
  .tint__features strong {
    font-size: 7.5px;
    letter-spacing: 0.06em;
  }
  .tint-split__tag {
    top: auto;
    bottom: calc(var(--nav-h) + 110px);
  }
  .tint-split__tag span {
    display: none;
  }
  .tint-split__tag--before {
    right: calc(100% - var(--split) + 14px);
  }
  .tint-split__tag--after {
    left: calc(var(--split) + 14px);
  }
  .tint-split__line {
    top: 50vh;
    height: 16vh;
  }
  .tint-split__handle {
    top: 58vh;
  }
  .tint__beam {
    display: none;
  }
}

@media (min-width: 768px) {
  .tint-split__line {
    top: 17vh;
    height: 34vh;
  }
  .tint-split__handle {
    top: 35vh;
  }
}

@media (max-width: 767px) {
  .tint-split__line {
    top: 40vh;
    height: 13vh;
  }
  .tint-split__handle {
    top: 46.5vh;
  }
}

/* ------------------------------------------ Ready to drive (final ch.) -- */

.panel--rd {
  align-items: stretch;
  padding: 0;
}

.rd__head {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(84px, 11vh, 110px);
  display: grid;
  justify-items: center;
  padding: 0 var(--gutter);
  text-align: center;
}

.rd__mark {
  width: clamp(110px, 9vw, 170px);
  height: auto;
  margin-bottom: clamp(12px, 2.4vh, 24px);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.rd__eyebrow {
  font-weight: 400;
  font-size: clamp(11px, 0.9vw, 15px);
  letter-spacing: 0.56em;
  padding-left: 0.56em;
  text-transform: uppercase;
}

.panel__title.rd__title {
  margin-top: clamp(8px, 1.4vh, 14px);
  font-weight: 300;
  font-size: clamp(40px, 4.4vw, 80px);
  line-height: 1;
  letter-spacing: 0.08em;
}

.rd__title .accent .ch {
  color: var(--accent);
  font-weight: 500;
}

.rd__sub {
  margin-top: clamp(12px, 2vh, 20px);
  font-weight: 400;
  font-size: clamp(10.5px, 0.85vw, 14.5px);
  letter-spacing: 0.36em;
  padding-left: 0.36em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.rd__sub b {
  font-weight: 600;
  color: var(--white);
}

/* side badges */
.rd__col {
  position: absolute;
  top: 20%;
  display: grid;
  gap: clamp(16px, 3.4vh, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.rd__col--left {
  left: clamp(20px, 5vw, 96px);
}

.rd__col--right {
  right: clamp(20px, 5vw, 96px);
}

.rd__col li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: clamp(130px, 9vw, 170px);
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

/* thin connector between badges */
.rd__col li + li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(clamp(16px, 3.4vh, 34px) * -1);
  width: 1px;
  height: calc(clamp(16px, 3.4vh, 34px) - 6px);
  background: rgba(255, 255, 255, 0.28);
}

.rd__icon {
  display: grid;
  place-items: center;
  width: clamp(52px, 4vw, 64px);
  height: clamp(52px, 4vw, 64px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: radial-gradient(circle at 50% 50%, rgba(30, 30, 34, 0.9), rgba(8, 8, 10, 0.9));
  box-shadow:
    -4px 0 14px -4px rgba(236, 201, 138, 0.8),
    inset 2px 0 0 rgba(236, 201, 138, 0.7);
}

.rd__col--right .rd__icon {
  box-shadow:
    4px 0 14px -4px rgba(236, 201, 138, 0.8),
    inset -2px 0 0 rgba(236, 201, 138, 0.7);
}

.rd__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.rd__label {
  font-weight: 600;
  font-size: clamp(9.5px, 0.72vw, 12px);
  line-height: 1.5;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* glowing CTA */
.rd__cta {
  position: absolute;
  left: 50%;
  bottom: calc(var(--nav-h) + clamp(28px, 5vh, 50px));
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 1.6vw, 28px);
  padding: 8px 8px 8px clamp(30px, 2.8vw, 46px);
  border-radius: 999px;
  background: #fff;
  color: #111;
  box-shadow:
    0 0 0 2px rgba(236, 201, 138, 0.55),
    0 0 26px 4px rgba(212, 169, 92, 0.55),
    0 16px 50px rgba(212, 169, 92, 0.3);
  font-weight: 600;
  font-size: clamp(12px, 0.95vw, 15px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease),
    box-shadow 0.4s var(--ease);
}

.rd__cta-arrow {
  display: grid;
  place-items: center;
  width: clamp(42px, 3.4vw, 54px);
  height: clamp(42px, 3.4vw, 54px);
  border-radius: 50%;
  background: #111;
  color: #fff;
  transition: background-color 0.4s var(--ease);
}

.rd__cta-arrow svg {
  width: 18px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.4s var(--ease);
}

.rd__cta:hover,
.rd__cta:focus-visible {
  box-shadow:
    0 0 0 2px rgba(236, 201, 138, 0.8),
    0 0 36px 8px rgba(212, 169, 92, 0.7),
    0 16px 60px rgba(212, 169, 92, 0.4);
}

.rd__cta:hover .rd__cta-arrow {
  background: var(--accent);
}

.rd__cta:hover .rd__cta-arrow svg {
  transform: translateX(4px);
}

.panel--rd.is-active .rd__cta {
  pointer-events: auto;
  opacity: 1;
  transform: translate(-50%, 0);
  transition:
    opacity 1.1s var(--ease-out) 2.3s,
    transform 1.2s var(--ease-out) 2.3s,
    box-shadow 0.4s var(--ease);
}

/* studio: red neon pillars, floor arc, horizon (behind the car) */
.rd-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.rd-stage__pillar {
  position: absolute;
  top: 0;
  width: 4px;
  height: 58%;
  background: linear-gradient(180deg, #ecc98a, #ecc98a 70%, rgba(236, 201, 138, 0.3));
  box-shadow:
    0 0 14px 3px rgba(236, 201, 138, 0.7),
    0 0 70px 18px rgba(212, 169, 92, 0.25);
  transform: scaleY(0);
  transform-origin: top;
}

.rd-stage__pillar--l {
  left: 24.5%;
}

.rd-stage__pillar--r {
  right: 24.5%;
}

.rd-stage__arc {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 64%;
  height: 50%;
  border-radius: 50%;
  border-top: 2px solid rgba(236, 201, 138, 0.85);
  box-shadow: 0 -6px 26px -8px rgba(236, 201, 138, 0.7);
  -webkit-mask-image: linear-gradient(90deg, #000 0 30%, transparent 38% 62%, #000 70%);
  mask-image: linear-gradient(90deg, #000 0 30%, transparent 38% 62%, #000 70%);
  transform: scaleX(0.6);
  opacity: 0;
}

.rd-stage__horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 57%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.05) 70%, rgba(255, 255, 255, 0.5));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

body[data-step="ready"] .rd-stage {
  opacity: 1;
  transition: opacity 1.2s var(--ease-out) 0.5s;
}

body[data-step="ready"] .rd-stage__pillar {
  transform: scaleY(1);
  transition: transform 1.6s var(--ease-out) 0.8s;
}

.panel--rd.is-active .rd-stage__arc {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.2s var(--ease-out) 1.2s,
    transform 2s var(--ease-out) 1.2s;
}

/* reveal sequence */
.panel--rd .rd__eyebrow,
.panel--rd .rd__sub {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel--rd.is-active .rd__mark,
.panel--rd.is-active .rd__eyebrow,
.panel--rd.is-active .rd__sub,
.panel--rd.is-active .rd__col li {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s var(--ease-out) var(--d3),
    transform 1.2s var(--ease-out) var(--d3);
}

.panel--rd.is-active .rd__mark { --d3: 0.3s; }
.panel--rd.is-active .rd__eyebrow { --d3: 0.5s; }
.panel--rd .rd__title { --d: 0.7s; }
.panel--rd.is-active .rd__sub { --d3: 1.4s; }
.panel--rd.is-active .rd__col li:nth-child(1) { --d3: 1.6s; }
.panel--rd.is-active .rd__col li:nth-child(2) { --d3: 1.75s; }
.panel--rd.is-active .rd__col li:nth-child(3) { --d3: 1.9s; }

@media (max-width: 1100px) {
  .rd__col {
    display: none;
  }
}

@media (max-width: 767px) {
  .rd__head {
    top: max(11vh, 88px);
  }
  .rd__mark {
    width: 96px;
    margin-bottom: 10px;
  }
  .rd__eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.34em;
  }
  .panel__title.rd__title {
    font-size: 34px;
  }
  .rd__sub {
    font-size: 9px;
    letter-spacing: 0.2em;
    line-height: 1.6;
  }
  .rd__cta {
    font-size: 11px;
    padding-left: 24px;
  }
  .rd-stage__pillar--l {
    left: 8%;
  }
  .rd-stage__pillar--r {
    right: 8%;
  }
}

/* full lockup (car outline + wordmark) in the header */
.brand__logo {
  width: clamp(120px, 9.2vw, 168px);
}

.site-header {
  padding-top: calc(env(safe-area-inset-top) + 14px);
}

@media (max-width: 767px) {
  .brand__logo {
    width: 104px;
  }
  .site-header {
    padding-top: calc(env(safe-area-inset-top) + 10px);
  }
}

.brand__logo {
  width: clamp(150px, 12.5vw, 196px);
}

@media (max-width: 767px) {
  .brand__logo {
    width: 118px;
  }
}

/* smaller header logo */
.brand__logo {
  width: clamp(110px, 8.4vw, 136px);
}

@media (max-width: 767px) {
  .brand__logo {
    width: 92px;
  }
}

/* ================================================ Loader: dark studio gate == */

.gate--studio {
  display: block;
  background: radial-gradient(90% 70% at 50% 60%, #120708 0%, #060506 55%, #020203 100%);
}

/* architecture */
.gs__walls,
.gs__walls span {
  position: absolute;
  pointer-events: none;
}

.gs__walls {
  inset: 0;
}

.gs__wall {
  top: -2%;
  bottom: 18%;
  width: 22vw;
  background: linear-gradient(180deg, #0d0d10, #070708);
}

.gs__wall--l {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 55% 100%, 0 100%);
  box-shadow: inset -1px 0 0 rgba(236, 201, 138, 0.3);
}

.gs__wall--r {
  right: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 45% 100%);
}

/* red neon uprights + angled edge lights */
.gs__neon {
  top: 40%;
  height: 42%;
  width: 3px;
  background: linear-gradient(180deg, rgba(236, 201, 138, 0.2), #ecc98a 35%, #ecc98a);
  box-shadow:
    0 0 12px 2px rgba(236, 201, 138, 0.75),
    0 0 60px 14px rgba(212, 169, 92, 0.22);
  transform: scaleY(0);
  transform-origin: bottom;
}

.gs__neon::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 3px;
  height: 118%;
  background: linear-gradient(180deg, rgba(236, 201, 138, 0), #ecc98a 55%, #ecc98a);
  box-shadow: 0 0 12px 2px rgba(236, 201, 138, 0.6);
  transform-origin: bottom;
}

.gs__neon--l {
  left: 19.5%;
}

.gs__neon--l::after {
  left: -7vw;
  transform: rotate(21deg);
}

.gs__neon--r {
  right: 19.5%;
}

.gs__neon--r::after {
  right: -7vw;
  transform: rotate(-21deg);
}

.gs__floor {
  left: 0;
  right: 0;
  top: 82%;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(236, 201, 138, 0.28), transparent 3px),
    linear-gradient(180deg, #0b0506 0%, #030304 100%);
  border-top: 1px solid rgba(236, 201, 138, 0.7);
  box-shadow: 0 -8px 40px -6px rgba(236, 201, 138, 0.45);
}

.gs__haze {
  left: 50%;
  top: 44%;
  width: min(62vw, 110vh);
  height: 44vh;
  transform: translateX(-50%);
  background:
    radial-gradient(40% 55% at 30% 70%, rgba(212, 169, 92, 0.4), transparent 70%),
    radial-gradient(40% 55% at 70% 70%, rgba(212, 169, 92, 0.4), transparent 70%),
    radial-gradient(50% 60% at 50% 80%, rgba(156, 120, 60, 0.35), transparent 72%);
  filter: blur(14px);
  opacity: 0;
}

/* header replica (the site header is hidden until ignition) */
.gs__bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 14px) var(--gutter) 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
}

.gs__brand {
  display: block;
  width: clamp(110px, 8.4vw, 136px);
  height: auto;
}

.gs__book {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.gs__book svg {
  width: 16px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.gs__book:hover,
.gs__book:focus-visible {
  background: #fff;
  color: #111;
}

/* headline block */
.gate--studio .gate__head {
  top: clamp(64px, 9vh, 84px);
  gap: 0;
}

.gate--studio .gate__logo {
  width: clamp(120px, 11vw, 200px);
  margin-bottom: clamp(18px, 4vh, 38px);
}

.gs__eyebrow {
  font-weight: 400;
  font-size: clamp(11px, 0.9vw, 15px);
  letter-spacing: 0.56em;
  padding-left: 0.56em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.gate--studio .gate__title {
  margin-top: clamp(10px, 1.8vh, 18px);
  font-size: clamp(26px, 2.6vw, 48px);
  letter-spacing: 0.2em;
  color: #fff;
}

.gate--studio .gate__title .accent .ch {
  color: var(--accent);
}

.gs__sub {
  margin-top: clamp(10px, 1.6vh, 16px);
  font-weight: 400;
  font-size: clamp(10.5px, 0.82vw, 14px);
  letter-spacing: 0.5em;
  padding-left: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.gs__rule {
  display: block;
  width: 100px;
  height: 2px;
  margin-top: clamp(14px, 2.4vh, 24px);
  background: var(--accent);
  box-shadow: 0 0 10px rgba(236, 201, 138, 0.6);
  transform: scaleX(0);
  transition: transform 1s var(--ease-out) 1.4s;
}

.gs__eyebrow,
.gs__sub {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 1s var(--ease-out),
    transform 1.1s var(--ease-out);
}

.gate--studio.is-booting .gs__eyebrow {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
}

.gate--studio.is-booting .gs__sub {
  opacity: 1;
  transform: none;
  transition-delay: 1.2s;
}

.gate--studio.is-booting .gs__rule {
  transform: scaleX(1);
}

/* side captions */
.gs__side {
  position: absolute;
  top: 40%;
  font-weight: 400;
  font-size: clamp(10.5px, 0.8vw, 14px);
  line-height: 1.75;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  transition: opacity 1.2s var(--ease-out) 1.6s;
}

.gs__side span {
  display: block;
  width: 40px;
  height: 2px;
  margin-bottom: 22px;
  background: var(--accent);
}

.gs__side--l {
  left: clamp(20px, 4.4vw, 84px);
}

.gs__side--r {
  right: clamp(20px, 4.4vw, 84px);
  text-align: right;
}

.gs__side--r span {
  margin-left: auto;
}

.gate--studio.is-booting .gs__side,
.gate--studio.is-booting .gs__bar {
  opacity: 1;
}

/* the arch: grey track, red progress + glowing tip */
.gate--studio .gate__loader {
  position: absolute;
  left: 50%;
  top: 33vh;
  width: min(34vw, 88vh);
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  display: block;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 1s var(--ease) 0.6s;
}

.gs__arch {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.gate--studio .gate__track,
.gate--studio .gate__bar {
  fill: none;
  stroke-linecap: round;
}

.gate--studio .gate__track {
  stroke: rgba(210, 205, 200, 0.55);
  stroke-width: 2.4;
}

.gate--studio .gate__bar {
  stroke: #ecc98a;
  stroke-width: 4;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transform: none;
  filter: drop-shadow(0 0 6px rgba(236, 201, 138, 0.9)) drop-shadow(0 0 18px rgba(236, 201, 138, 0.5));
  transition: stroke-dashoffset 0.5s var(--ease-out);
}

.gs__dot {
  fill: #fff;
  filter: drop-shadow(0 0 6px #ecc98a) drop-shadow(0 0 14px rgba(236, 201, 138, 0.9));
  transition: cx 0.5s var(--ease-out), cy 0.5s var(--ease-out);
}

.gate--studio.is-booting .gate__loader {
  opacity: 1;
}

/* keep the arch visible once loaded (the old gate hid its loader here) */
.gate--studio.is-ready .gate__loader {
  opacity: 1;
}

/* car silhouette */
.gs__car {
  position: absolute;
  left: 50%;
  bottom: 18vh;
  width: min(27vw, 60vh);
  height: auto;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  transition:
    opacity 1.6s var(--ease-out) 0.9s,
    transform 1.8s var(--ease-out) 0.9s;
}

.gs__car-body {
  fill: url(#gsBody);
}

.gs__car-glass {
  fill: #050506;
}

.gs__car-rim {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.2;
}

.gs__car-light {
  fill: #ecc98a;
  filter: drop-shadow(0 0 4px #ecc98a) drop-shadow(0 0 14px rgba(236, 201, 138, 0.9));
  opacity: 0.35;
  transition: opacity 0.8s var(--ease);
}

.gate--studio.is-booting .gs__car {
  opacity: 1;
  transform: translateX(-50%);
}

.gate--studio.is-booting .gs__neon {
  transform: scaleY(1);
  transition: transform 1.6s var(--ease-out) 0.4s;
}

.gate--studio.is-booting .gs__haze {
  opacity: 1;
  transition: opacity 2s var(--ease) 0.8s;
}

.gate--studio.is-ready .gs__car-light {
  opacity: 1;
  animation: gsBreath 2.6s ease-in-out infinite;
}

@keyframes gsBreath {
  50% {
    opacity: 0.65;
  }
}

/* ignite text block inside the arch (the button itself) */
.gate--studio .ignite {
  position: absolute;
  left: 50%;
  top: calc(33vh + min(34vw, 88vh) * 0.2);
  width: auto;
  height: auto;
  margin: 0;
  padding: 18px 28px;
  display: grid;
  justify-items: center;
  gap: 12px;
  border-radius: 14px;
  transform: translateX(-50%);
  opacity: 0;
  visibility: visible;
  transition: opacity 1s var(--ease) 1s;
  cursor: default;
}

.gate--studio.is-booting .ignite {
  opacity: 1;
}

.gate--studio.is-ready .ignite {
  cursor: pointer;
}

.gate--studio .ignite__label {
  font-weight: 300;
  font-size: clamp(22px, 1.9vw, 34px);
  letter-spacing: 0.6em;
  padding-left: 0.6em;
}

.gs__status {
  position: relative;
  font-weight: 400;
  font-size: clamp(10px, 0.74vw, 12.5px);
  letter-spacing: 0.44em;
  padding-left: 0.44em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.gs__status-ready {
  display: none;
}

.gate--studio.is-ready .gs__status-load {
  display: none;
}

.gate--studio.is-ready .gs__status-ready {
  display: inline;
}

.gs__line {
  width: 120px;
  height: 1.5px;
  margin-top: 6px;
  background: linear-gradient(90deg, #ecc98a 55%, rgba(255, 255, 255, 0.35) 55%);
}

.gs__dots {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.gs__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  animation: gsDots 1.6s ease-in-out infinite;
}

.gs__dots i:nth-child(2) { animation-delay: 0.2s; }
.gs__dots i:nth-child(3) { animation-delay: 0.4s; }
.gs__dots i:nth-child(4) { animation-delay: 0.6s; }

@keyframes gsDots {
  0%,
  100% {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: none;
  }
  25% {
    background: #ecc98a;
    box-shadow: 0 0 8px #ecc98a;
  }
}

.gate--studio .ignite:hover .ignite__label,
.gate--studio .ignite:focus-visible .ignite__label {
  text-shadow: 0 0 18px rgba(236, 201, 138, 0.9);
}

.gs__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(26px, 5vh, 56px);
  text-align: center;
  font-weight: 400;
  font-size: clamp(10.5px, 0.82vw, 14px);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  transition: opacity 1.2s var(--ease-out) 1.8s;
}

.gate--studio.is-booting .gs__foot {
  opacity: 1;
}

.gs__ellipsis {
  display: inline-block;
  animation: gsBreath 1.6s ease-in-out infinite;
}

.gate--studio.is-ready .gs__ellipsis {
  display: none;
}

/* ignition: tail lights flare, arch closes to full red, everything lifts away */
.gate--studio.is-launch .gate__bar {
  stroke-dashoffset: 0 !important;
}

.gate--studio.is-launch .gs__car-light {
  opacity: 1;
  animation: none;
  filter: drop-shadow(0 0 8px #ecc98a) drop-shadow(0 0 40px rgba(236, 201, 138, 1));
}

.gate--studio.is-launch .gate__loader,
.gate--studio.is-launch .gs__car {
  transform: translateX(-50%) scale(1.25);
  opacity: 0;
  transition:
    transform 1.1s var(--ease),
    opacity 1s var(--ease) 0.15s;
}

.gate--studio.is-launch .gs__side,
.gate--studio.is-launch .gs__foot,
.gate--studio.is-launch .gs__bar {
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

@media (max-width: 767px) {
  .gs__book {
    min-height: 40px;
    padding: 0 14px;
    font-size: 10.5px;
  }
  .gs__book svg {
    display: none;
  }
  .gs__brand {
    width: 92px;
  }
  .gate--studio .gate__head {
    top: 82px;
  }
  .gate--studio .gate__logo {
    width: 110px;
    margin-bottom: 16px;
  }
  .gate--studio .gate__title {
    font-size: 24px;
    letter-spacing: 0.14em;
  }
  .gs__eyebrow,
  .gs__sub {
    font-size: 9.5px;
    letter-spacing: 0.3em;
  }
  .gs__side {
    display: none;
  }
  .gate--studio .gate__loader {
    top: 38vh;
    width: 84vw;
  }
  .gate--studio .ignite {
    top: calc(38vh + 84vw * 0.2);
  }
  .gs__car {
    width: 70vw;
    bottom: 20vh;
  }
  .gs__wall {
    width: 16vw;
  }
  .gs__neon--l {
    left: 6%;
  }
  .gs__neon--r {
    right: 6%;
  }
  .gs__foot {
    font-size: 9.5px;
    letter-spacing: 0.34em;
  }
}

/* keep the ignite block centred through every gate state */
.gate--studio.is-booting .ignite,
.gate--studio.is-ready .ignite {
  transform: translateX(-50%);
}

.gate--studio.is-launch .ignite {
  transform: translate(-50%, -30px);
}

/* angled edge lights run from the floor up along the wall edges */
.gs__neon::after {
  height: 200%;
}

.gs__neon--l::after {
  left: -7.5vw;
  transform: rotate(10deg);
}

.gs__neon--r::after {
  right: -7.5vw;
  transform: rotate(-10deg);
}

@media (max-width: 767px) {
  .gs__neon::after {
    display: none;
  }
}

/* ============================================ Loader: ring + silhouette == */

.gate--ring {
  --ring: min(46vh, 30vw);
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(40, 42, 48, 0.35), transparent 70%),
    radial-gradient(90% 70% at 50% 70%, #0d0707 0%, #050506 55%, #020203 100%);
}

/* red horizon glow on the floor */
.gate--ring .gs__haze {
  position: absolute;
  left: -10%;
  right: -10%;
  top: calc(37vh + var(--ring) * 0.62);
  width: auto;
  height: 22vh;
  transform: none;
  background:
    radial-gradient(50% 30% at 50% 40%, rgba(212, 169, 92, 0.55), transparent 70%),
    radial-gradient(70% 12% at 50% 42%, rgba(236, 201, 138, 0.45), transparent 75%);
  filter: blur(10px);
  pointer-events: none;
}

.gate--ring .gate__head {
  top: clamp(90px, 13vh, 118px);
}

.gate--ring .gate__title {
  margin-top: clamp(14px, 2.6vh, 26px);
  font-size: clamp(30px, 3.3vw, 62px);
  line-height: 1.18;
  letter-spacing: 0.16em;
}

.gate--ring .gs__rule {
  width: 64px;
  margin-top: clamp(14px, 2.6vh, 24px);
  box-shadow: none;
}

.gate--ring .gs__brand {
  width: clamp(120px, 11vw, 196px);
}

/* the progress ring */
.gate--ring .gate__loader {
  top: 37vh;
  width: var(--ring);
}

.gate--ring .gate__track {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1.6;
}

.gate--ring .gate__bar {
  stroke-width: 3.5;
}

/* ignite text sits inside the top of the ring */
.gate--ring .ignite {
  top: calc(37vh + var(--ring) * 0.2);
  padding: 12px 24px;
  gap: 14px;
}

.gate--ring .ignite__label {
  font-weight: 400;
  font-size: clamp(20px, 1.6vw, 30px);
  letter-spacing: 0.5em;
  padding-left: 0.5em;
}

.gate--ring .gs__status {
  font-size: clamp(10px, 0.74vw, 12.5px);
  letter-spacing: 0.5em;
  padding-left: 0.5em;
}

/* rim-lit silhouette overlapping the lower half of the ring */
.gate--ring .gs__car {
  bottom: auto;
  top: calc(37vh + var(--ring) * 0.44);
  width: calc(var(--ring) * 1.24);
}

.gs__car-edge {
  fill: none;
  stroke: rgba(236, 201, 138, 0.85);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 3px rgba(236, 201, 138, 0.9)) drop-shadow(0 -2px 8px rgba(236, 201, 138, 0.5));
}

.gate--ring .gs__car-light {
  opacity: 0.6;
}

/* bottom caption */
.gate--ring .gs__foot {
  bottom: clamp(56px, 8vh, 80px);
  display: grid;
  justify-items: center;
  gap: 26px;
  letter-spacing: 0.56em;
}

.gs__foot-rule {
  display: block;
  width: 56px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
}

/* launch: ring and car push forward and fade */
.gate--ring.is-launch .gate__loader,
.gate--ring.is-launch .gs__car {
  transform: translateX(-50%) scale(1.2);
}

@media (max-width: 767px) {
  .gate--ring {
    --ring: 76vw;
  }
  .gate--ring .gate__head {
    top: 96px;
  }
  .gate--ring .gate__title {
    font-size: 26px;
    letter-spacing: 0.12em;
  }
  .gate--ring .gate__loader {
    top: 36vh;
  }
  .gate--ring .ignite {
    top: calc(36vh + var(--ring) * 0.2);
  }
  .gate--ring .gs__car {
    top: calc(36vh + var(--ring) * 0.44);
    width: 92vw;
  }
  .gate--ring .gs__haze {
    top: calc(36vh + var(--ring) * 0.62);
  }
  .gate--ring .gs__foot {
    bottom: 48px;
    font-size: 9.5px;
    letter-spacing: 0.34em;
  }
}

.gate--ring .gs__status {
  white-space: nowrap;
}

/* phones: larger, lower car silhouette on the loading screen */
@media (max-width: 767px) {
  .gate--ring .gs__car {
    top: calc(36vh + var(--ring) * 0.6);
    width: 100vw;
  }
  .gate--ring .gs__haze {
    top: calc(36vh + var(--ring) * 0.82);
  }
}

/* ================================================= "Scroll to drive" nav == */

.stepnav {
  --p: 0;
  --gold: #f2b24a;
  --gold-hi: #ffd88a;
  display: block;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.55), rgba(4, 4, 6, 0.85));
}

.drive {
  position: absolute;
  inset: 0 0 env(safe-area-inset-bottom);
}

/* progress track in the middle */
.drive__track {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(560px, 42vw);
  height: 2px;
  transform: translateX(-50%);
  /* remaining chapters: grey dashes */
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0 8.2%, transparent 8.2% 10%);
}

.drive__fill {
  position: absolute;
  left: 0;
  top: -0.5px;
  height: 3px;
  width: calc(var(--p) * 100%);
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(242, 178, 74, 0.55), var(--gold) 60%, var(--gold-hi));
  box-shadow:
    0 0 8px rgba(255, 190, 90, 0.8),
    0 0 22px rgba(255, 170, 60, 0.35);
  transition: width 1.2s var(--ease);
}

.drive__car {
  position: absolute;
  left: calc(var(--p) * 100%);
  bottom: 1px;
  width: 38px;
  height: 16px;
  transform: translateX(-50%);
  transition: left 1.2s var(--ease);
}

.drive__car svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--gold-hi);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgba(255, 200, 110, 0.9)) drop-shadow(0 0 10px rgba(255, 170, 60, 0.55));
}

/* headlight bloom where the car meets the line */
.drive__car::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -6px;
  width: 26px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 220, 150, 0.9), rgba(255, 170, 60, 0.25) 60%, transparent);
  filter: blur(1px);
}

/* decorative gold flares running in from each side */
.drive__flare {
  position: absolute;
  top: 42%;
  height: 2px;
  margin-top: -0.5px;
  pointer-events: none;
}

.drive__flare--l {
  left: 4%;
  right: calc(50% + min(280px, 21vw));
  background: linear-gradient(90deg, rgba(242, 178, 74, 0), rgba(242, 178, 74, 0.35) 30%, var(--gold) 80%, var(--gold-hi));
  box-shadow: 0 0 10px rgba(255, 180, 80, 0.45);
  transform: scaleX(calc(0.25 + var(--p) * 0.75));
  transform-origin: right;
  transition: transform 1.2s var(--ease);
}

.drive__flare--r {
  right: 4%;
  left: calc(50% + min(280px, 21vw) + 20px);
  background: linear-gradient(90deg, rgba(242, 178, 74, 0), rgba(242, 178, 74, 0.15) 40%, rgba(255, 200, 120, 0.85) 82%, rgba(242, 178, 74, 0));
  box-shadow: 0 0 10px rgba(255, 180, 80, 0.3);
  opacity: 0.8;
}

/* lens-flare glints at the outer ends */
.drive__flare::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 70px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 230, 170, 0.95), rgba(255, 180, 80, 0.3) 55%, transparent);
}

.drive__flare--l::after {
  right: -24px;
}

.drive__flare--r::after {
  right: 12%;
}

.drive__hint {
  position: absolute;
  left: 0;
  right: 0;
  top: 58%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(240, 200, 140, 0.85);
}

.drive__dash {
  width: 30px;
  height: 1px;
  background: rgba(240, 200, 140, 0.55);
}

/* the old visible Back / Next are now screen-reader only */
.stepnav__btn.sr-only {
  position: absolute;
}

@media (max-width: 767px) {
  .drive__track {
    width: 62vw;
    top: 38%;
  }
  .drive__flare {
    top: 38%;
  }
  .drive__flare--l {
    left: 2%;
    right: calc(50% + 31vw);
  }
  .drive__flare--r {
    right: 2%;
    left: calc(50% + 31vw + 12px);
  }
  .drive__flare::after {
    width: 36px;
  }
  .drive__car {
    width: 30px;
    height: 13px;
  }
  .drive__hint {
    top: 56%;
    font-size: 9.5px;
    letter-spacing: 0.34em;
    gap: 12px;
  }
  .drive__dash {
    width: 20px;
  }
}

/* full-width drive track, padded from both edges */
.drive__track {
  left: clamp(20px, 4vw, 72px);
  right: clamp(20px, 4vw, 72px);
  width: auto;
  transform: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 calc(100% / 11 - 8px), transparent calc(100% / 11 - 8px) calc(100% / 11));
}

/* soft glint at the finish end of the track */
.drive__track::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 50%;
  width: 70px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 220, 150, 0.7), rgba(255, 180, 80, 0.2) 55%, transparent);
}

.drive__flare {
  display: none;
}

@media (max-width: 767px) {
  .drive__track {
    left: 16px;
    right: 16px;
    width: auto;
  }
}

/* solid (not dashed) remaining track */
.drive__track {
  background: rgba(255, 255, 255, 0.28);
}

/* ------------------------------------------------------ Typography pairing
   Outfit (via --font) carries headings, labels, buttons and navigation.
   Inter carries running text so paragraphs read cleanly at small sizes. */
.panel__lead,
.intro__lead,
.eng__lead,
.svc__lead,
.len__lead,
.heal__lead,
.cer__lead,
.lit__lead,
.tint__lead,
.card__text,
.pkg__list,
.heal-card__text span,
.cer-card__text span,
.eng__features span,
.len__features span,
.heal__features span,
.cer__features span,
.lit__features span,
.tint__features span,
.svc__features span,
.check,
.book__error,
.credit,
.field input,
.field select {
  font-family: var(--font-body);
  letter-spacing: 0;
}

/* comfortable reading rhythm for paragraphs */
.intro__lead,
.eng__lead,
.svc__lead,
.len__lead,
.heal__lead,
.cer__lead,
.lit__lead,
.tint__lead,
.panel__lead {
  line-height: 1.65;
  font-weight: 400;
}

/* crisper display headings */
.panel__title,
.gate__title,
.overlay__title {
  font-feature-settings: "ss01" 1;
  text-rendering: optimizeLegibility;
}

/* ------------------------------------------ Stronger, modern type weights
   No hairline weights anywhere: headings sit at medium-bold, supporting
   text at regular/medium. Tracking eases slightly as the strokes get heavier. */
.panel__title,
.gate__title,
.overlay__title,
.panel__title.intro__title,
.panel__title.eng__title,
.panel__title.svc__title,
.panel__title.len__title,
.panel__title.gb__title,
.panel__title.heal__title,
.panel__title.cer__title,
.panel__title.lit__title,
.panel__title.tint__title,
.panel__title.rd__title,
.gate--studio .gate__title {
  font-weight: 500;
  letter-spacing: 0.07em;
}

.gate--studio .ignite__label,
.prompt__msg,
.rotate,
.brand__sub,
.gate__pct {
  font-weight: 500;
}

.panel--top .panel__lead,
.card__text,
.check,
.pkg__list {
  font-weight: 400;
}

/* the big "10": bold modern numerals instead of the hairline serif */
.bignum__num {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.04em;
}

/* accents inside headings stay a step heavier */
.panel__title .accent .ch,
.gate__title .accent .ch {
  font-weight: 600;
}

/* eyebrows, small caps lines and feature labels: medium, never light */
.intro__eyebrow,
.eng__eyebrow,
.svc__eyebrow,
.len__eyebrow,
.gb__eyebrow,
.heal__eyebrow,
.cer__eyebrow,
.lit__eyebrow,
.tint__eyebrow,
.rd__eyebrow,
.gs__eyebrow,
.pkg-head__eyebrow,
.intro__tag,
.gb__sub,
.gs__sub,
.rd__sub,
.gs__status,
.gs__foot,
.svc__tagline,
.len__tagline,
.gb__tagline,
.lit__tagline,
.heal__motto,
.cer__motto,
.tint__motto,
.eng__years-unit,
.eng__years-text,
.cer__beyond {
  font-weight: 500;
}

/* ============================================== Booking: solid two-panel == */

.overlay--book .overlay__bg {
  background: rgba(3, 3, 5, 0.82);
}

.overlay__inner.overlay__inner--form {
  max-width: none;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: clamp(16px, 4vh, 48px) var(--gutter);
}

.bk {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.25fr);
  width: min(1120px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  background: #0e0f12;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(212, 169, 92, 0.08);
  text-align: left;
}

/* close button inside the card */
.close.bk__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.35);
}

.close.bk__close span {
  width: 16px;
  margin-left: -8px;
}

/* ---- left: brand panel */
.bk__side {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 48px);
  background:
    radial-gradient(120% 60% at 20% 100%, rgba(212, 169, 92, 0.28), transparent 60%),
    linear-gradient(180deg, #16171c 0%, #0c0c0f 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.bk__logo {
  width: 118px;
  height: auto;
}

.bk__eyebrow {
  margin-top: clamp(26px, 5vh, 46px);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
}

.bk__title {
  margin-top: 10px;
  font-weight: 600;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.bk__title span {
  display: block;
  color: rgba(255, 255, 255, 0.92);
}

.bk__intro {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.bk__points {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.bk__points li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bk__points svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(212, 169, 92, 0.18);
  fill: none;
  stroke: #ecc98a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bk__visual {
  margin-top: auto;
  padding-top: 24px;
}

.bk__visual img {
  display: block;
  width: 110%;
  margin-left: -5%;
  height: auto;
  aspect-ratio: 1.7;
  object-fit: contain;
  opacity: 0;
  transform: translateX(-16px);
  transition:
    opacity 1s var(--ease),
    transform 1.4s var(--ease-out);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.6));
}

.bk__visual img.is-loaded {
  opacity: 1;
  transform: none;
}

/* ---- right: form */
.bk__main {
  padding: clamp(28px, 3.4vw, 48px);
  padding-top: clamp(30px, 3.6vw, 52px);
}

.overlay--book .book {
  display: grid;
}

.bk__step {
  margin: 0 0 14px;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.bk__step ~ .bk__step {
  margin-top: 26px;
}

.overlay--book .book__grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
}

.overlay--book .field {
  gap: 8px;
}

.overlay--book .field--wide {
  grid-column: 1 / -1;
}

.overlay--book .field > span {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.78);
}

.overlay--book .field em {
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.4);
}

.overlay--book .field input,
.overlay--book .field select,
.overlay--book .field textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background-color: #17181d;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  box-shadow: none;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.overlay--book .field textarea {
  height: auto;
  min-height: 96px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}

.overlay--book .field input::placeholder,
.overlay--book .field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.overlay--book .field select {
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='white' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}

.overlay--book .field select:invalid {
  color: rgba(255, 255, 255, 0.4);
}

.overlay--book .field input:hover,
.overlay--book .field select:hover,
.overlay--book .field textarea:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.overlay--book .field input:focus,
.overlay--book .field select:focus,
.overlay--book .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #1b1c22;
  box-shadow: 0 0 0 4px rgba(212, 169, 92, 0.18);
}

.overlay--book .field.is-invalid input,
.overlay--book .field.is-invalid select {
  border-color: #ecc98a;
  box-shadow: 0 0 0 3px rgba(236, 201, 138, 0.14);
}

.overlay--book .check {
  margin-top: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
}

.overlay--book .check__box {
  border-radius: 5px;
  border-color: rgba(255, 255, 255, 0.5);
}

.overlay--book .check input:checked + .check__box {
  background: var(--accent);
  border-color: var(--accent);
}

.overlay--book .check input:checked + .check__box::after {
  border-color: #fff;
}

.overlay--book .book__error {
  margin-top: 10px;
  min-height: 20px;
}

/* solid red call to action */
.bk__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  margin-top: 6px;
  border-radius: 12px;
  background: linear-gradient(180deg, #d4a95c, #9c783c);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow:
    0 12px 34px rgba(212, 169, 92, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    filter 0.25s var(--ease);
}

.bk__submit svg {
  width: 18px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 0.3s var(--ease);
}

.bk__submit:hover,
.bk__submit:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 16px 44px rgba(212, 169, 92, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.bk__submit:hover svg {
  transform: translateX(5px);
}

.bk__submit--ghost {
  width: auto;
  padding: 0 34px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.bk__submit--ghost:hover,
.bk__submit--ghost:focus-visible {
  background: #fff;
  color: #111;
  box-shadow: none;
}

.overlay--book .credit {
  margin-top: 16px;
  font-size: 10.5px;
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
}

/* thank-you state */
.overlay--book .book__thanks {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 16px;
  min-height: 100%;
  padding: 40px 0;
  text-align: center;
}

.overlay--book .book__thanks[hidden] {
  display: none;
}

.bk__done {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(212, 169, 92, 0.16);
  box-shadow: 0 0 0 10px rgba(212, 169, 92, 0.06);
}

.bk__done svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #ecc98a;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bk__thanks-title {
  margin-top: 8px;
  font-weight: 600;
  font-size: clamp(24px, 2.2vw, 34px);
}

.bk__thanks-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.overlay--book .book__thanks .bk__submit {
  margin-top: 12px;
}

/* ---- responsive */
@media (max-width: 900px) {
  .bk {
    grid-template-columns: 1fr;
  }
  .bk__side {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .bk__visual,
  .bk__points {
    display: none;
  }
}

@media (max-width: 767px) {
  .overlay__inner.overlay__inner--form {
    place-items: start center;
    padding: 12px 12px 24px;
  }
  .bk {
    border-radius: 14px;
  }
  .bk__side,
  .bk__main {
    padding: 22px 18px;
  }
  .bk__logo {
    width: 92px;
  }
  .bk__eyebrow {
    margin-top: 18px;
  }
  .bk__title {
    font-size: 26px;
  }
  .bk__intro {
    font-size: 13.5px;
  }
  .overlay--book .book__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .close.bk__close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }
}

.overlay--book .book[hidden] {
  display: none;
}

/* ====================================== Loader: live 3D car in the studio == */

/* see-through, so the WebGL car behind it is the hero */
.gate--3d {
  display: block;
  background: transparent;
}

/* before the car is ready, a dark curtain hides the empty stage */
.gate--3d::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #050506;
  transition: opacity 1.6s var(--ease);
  pointer-events: none;
}

.gate--3d.is-ready::before {
  opacity: 0;
}

/* studio architecture: concrete walls with red neon, bright horizon lines */
.g3__stage,
.g3__stage span {
  position: absolute;
  pointer-events: none;
}

.g3__stage {
  inset: 0;
}

.g3__wall {
  top: 0;
  height: 69%;
  width: 26%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 100%) 0 0 / 7vw 100%,
    linear-gradient(180deg, #0c0c0e 0%, #121114 70%, #1a0e10 100%);
  opacity: 0;
  transition: opacity 1.4s var(--ease) 0.2s;
}

.g3__wall--l {
  left: 0;
  box-shadow: inset -40px 0 60px -30px rgba(212, 169, 92, 0.25);
}

.g3__wall--r {
  right: 0;
  box-shadow: inset 40px 0 60px -30px rgba(212, 169, 92, 0.25);
}

.g3__neon {
  top: 0;
  height: 69%;
  width: 4px;
  background: linear-gradient(180deg, #ecc98a 0%, #ecc98a 55%, #ecc98a 100%);
  box-shadow:
    0 0 14px 3px rgba(236, 201, 138, 0.75),
    0 0 70px 18px rgba(212, 169, 92, 0.25);
  transform: scaleY(0);
  transform-origin: top;
}

.g3__neon--l {
  left: 25%;
}

.g3__neon--r {
  right: 25%;
}

.g3__horizon {
  top: 69%;
  height: 2px;
  width: 26%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(255, 210, 200, 0.6) 60%, rgba(236, 201, 138, 0.8));
  box-shadow: 0 0 14px rgba(255, 180, 170, 0.45);
  transform: scaleX(0);
}

.g3__horizon--l {
  left: 0;
  transform-origin: right;
}

.g3__horizon--r {
  right: 0;
  transform-origin: left;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.85), rgba(255, 210, 200, 0.6) 60%, rgba(236, 201, 138, 0.8));
}

.gate--3d.is-booting .g3__wall {
  opacity: 1;
}

.gate--3d.is-booting .g3__neon {
  transform: scaleY(1);
  transition: transform 1.8s var(--ease-out) 0.4s;
}

.gate--3d.is-booting .g3__horizon {
  transform: scaleX(1);
  transition: transform 1.6s var(--ease-out) 0.9s;
}

/* headline */
.gate--3d .gate__head {
  top: clamp(100px, 16vh, 140px);
  gap: 0;
}

.g3__ignite {
  font-weight: 500;
  font-size: clamp(20px, 2vw, 36px);
  letter-spacing: 0.62em;
  padding-left: 0.62em;
  text-transform: uppercase;
  color: #ecc98a;
  text-shadow: 0 0 18px rgba(236, 201, 138, 0.55);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 1s var(--ease-out) 0.3s,
    transform 1.1s var(--ease-out) 0.3s;
}

.g3__glow {
  display: block;
  width: min(36vw, 520px);
  height: 2px;
  margin: clamp(10px, 1.8vh, 18px) auto 0;
  background: linear-gradient(90deg, transparent, rgba(236, 201, 138, 0.5) 20%, #fff 50%, rgba(236, 201, 138, 0.5) 80%, transparent);
  box-shadow: 0 0 12px rgba(236, 201, 138, 0.6);
  transform: scaleX(0);
  transition: transform 1.4s var(--ease-out) 0.7s;
}

.gate--3d.is-booting .g3__ignite {
  opacity: 1;
  transform: none;
}

.gate--3d.is-booting .g3__glow {
  transform: scaleX(1);
}

.gate--3d .gate__title {
  margin-top: clamp(14px, 2.4vh, 24px);
  font-weight: 500;
  font-size: clamp(34px, 3.7vw, 68px);
  line-height: 1.1;
  letter-spacing: 0.1em;
  color: #fff;
}

.g3__sub {
  display: block;
  margin-top: clamp(8px, 1.6vh, 16px);
  font-size: 0.5em;
  letter-spacing: 0.56em;
  padding-left: 0.56em;
  color: rgba(255, 255, 255, 0.82);
}

/* status line above the button */
.g3__status {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(clamp(96px, 13vh, 124px) + 56px + 16px);
  margin: 0;
  text-align: center;
  font-weight: 500;
  font-size: clamp(10.5px, 0.78vw, 13px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  transition: opacity 1s var(--ease) 1s;
}

.g3__status > span {
  display: none;
}

.g3__status-done {
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 230, 225, 0.9);
}

.g3__status-done svg {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(212, 169, 92, 0.25);
  fill: none;
  stroke: #ecc98a;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gate--3d.is-booting .g3__status {
  opacity: 1;
}

.gate--3d:not(.is-ready) .g3__status-load,
.gate--3d.is-filming .g3__status-film {
  display: inline;
}

.gate--3d.is-filmed .g3__status-done {
  display: inline-flex;
}

.gate--3d.is-filming .g3__status-film::after {
  content: "...";
  animation: gsBreath 1.2s ease-in-out infinite;
}

/* START pill: its outline doubles as the loading bar */
.gate--3d .gate__loader,
.gate--3d .ignite {
  position: absolute;
  left: 50%;
  bottom: clamp(96px, 13vh, 124px);
  top: auto;
  width: clamp(220px, 18vw, 272px);
  height: 58px;
  margin: 0;
}

.gate--3d .gate__loader {
  display: block;
  z-index: 1;
  pointer-events: none;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 1s var(--ease) 0.8s;
}

.gate--3d.is-booting .gate__loader,
.gate--3d.is-ready .gate__loader {
  opacity: 1;
}

.g3__ring {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.gate--3d .gate__track,
.gate--3d .gate__bar {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.gate--3d .gate__track {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.5;
}

.gate--3d .gate__bar {
  stroke: #ecc98a;
  stroke-width: 2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transform: none;
  filter: drop-shadow(0 0 5px rgba(236, 201, 138, 0.9));
  transition: stroke-dashoffset 0.5s var(--ease-out);
}

.gate--3d .ignite {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0;
  border-radius: 999px;
  background: rgba(12, 8, 9, 0.72);
  box-shadow:
    0 0 26px rgba(212, 169, 92, 0.35),
    inset 0 0 18px rgba(212, 169, 92, 0.18);
  color: #fff;
  opacity: 0;
  visibility: visible;
  transform: translateX(-50%);
  cursor: default;
  transition:
    opacity 1s var(--ease) 0.9s,
    background-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.gate--3d.is-booting .ignite,
.gate--3d.is-ready .ignite {
  opacity: 1;
  transform: translateX(-50%);
}

.gate--3d.is-ready .ignite {
  cursor: pointer;
}

.gate--3d .ignite__label {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  text-transform: uppercase;
}

.gate--3d .gate__pct {
  font-variant-numeric: tabular-nums;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0.1em;
}

.g3__start,
.gate--3d.is-ready .g3__load {
  display: none;
}

.gate--3d.is-ready .g3__start {
  display: inline;
}

.g3__arrow {
  display: none;
  width: 18px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.35s var(--ease);
}

.gate--3d.is-ready .g3__arrow {
  display: block;
}

.gate--3d.is-ready .ignite:hover,
.gate--3d.is-ready .ignite:focus-visible {
  background: #d4a95c;
  box-shadow:
    0 0 36px rgba(212, 169, 92, 0.65),
    0 12px 40px rgba(212, 169, 92, 0.35);
}

.gate--3d.is-ready .ignite:hover .g3__arrow {
  transform: translateX(6px);
}

/* services strip */
.g3__services {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(30px, 5vh, 48px);
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0 var(--gutter);
  list-style: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease) 1.4s;
}

.g3__services li {
  padding: 0 clamp(14px, 1.6vw, 28px);
  font-weight: 500;
  font-size: clamp(10px, 0.72vw, 12.5px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.g3__services li + li {
  border-left: 1px solid rgba(236, 201, 138, 0.55);
}

.gate--3d.is-booting .g3__services {
  opacity: 1;
}

/* launch */
.gate--3d.is-launch .gate__head,
.gate--3d.is-launch .g3__status,
.gate--3d.is-launch .g3__services,
.gate--3d.is-launch .gs__bar,
.gate--3d.is-launch .g3__stage {
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.9s var(--ease);
}

.gate--3d.is-launch .ignite,
.gate--3d.is-launch .gate__loader {
  opacity: 0;
  transform: translate(-50%, 20px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.8s var(--ease);
}

@media (max-width: 767px) {
  .g3__wall {
    width: 10%;
    height: 62%;
  }
  .g3__neon {
    height: 62%;
  }
  .g3__neon--l {
    left: 9%;
  }
  .g3__neon--r {
    right: 9%;
  }
  .g3__horizon {
    top: 62%;
    width: 10%;
  }
  .gate--3d .gate__head {
    top: 118px;
  }
  .gate--3d .gate__title {
    font-size: 28px;
    letter-spacing: 0.08em;
  }
  .g3__ignite {
    font-size: 18px;
  }
  .g3__glow {
    width: 70vw;
  }
  .g3__services {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .g3__services li {
    font-size: 9px;
    letter-spacing: 0.18em;
    padding: 0 10px;
  }
  .gate--3d .gate__loader,
  .gate--3d .ignite {
    bottom: 96px;
    width: 220px;
    height: 54px;
  }
  .g3__status {
    bottom: calc(96px + 54px + 14px);
    font-size: 9.5px;
    letter-spacing: 0.22em;
  }
}

/* status sits between the START pill and the services strip */
.g3__status {
  bottom: clamp(64px, 8.4vh, 80px);
}

@media (max-width: 767px) {
  .g3__status {
    bottom: 66px;
  }
}

/* header replica on the 3D loading screen */
.gate--3d.is-booting .gs__bar {
  opacity: 1;
}

@media (max-width: 767px) {
  .g3__services {
    bottom: 14px;
  }
  .g3__status {
    bottom: 64px;
  }
}

/* loading screen: no red neon light strips */
.g3__neon {
  display: none;
}

/* loading screen: no horizon light lines, no red edge glow on the walls */
.g3__horizon {
  display: none;
}

.g3__wall--l,
.g3__wall--r {
  box-shadow: none;
}

/* loading screen: plain black background, no side wall panels */
.g3__wall {
  display: none;
}

/* =========================================================== Top navigation == */

.topnav {
  position: absolute;
  left: 50%;
  top: calc(env(safe-area-inset-top) + 14px);
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
  height: clamp(52px, 4.6vw, 64px);
  transform: translateX(-50%);
}

.topnav a {
  position: relative;
  padding: 6px 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.3s var(--ease);
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.2em;
  bottom: 0;
  height: 1px;
  background: #d4a95c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.topnav a:hover,
.topnav a:focus-visible,
.topnav a[aria-current="page"] {
  color: #fff;
}

.topnav a:hover::after,
.topnav a:focus-visible::after,
.topnav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.4);
  cursor: pointer;
}

.burger-btn span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: #fff;
  top: 18px;
}

.burger-btn span + span {
  top: 24px;
  left: 17px;
}

/* mobile menu overlay */
.overlay--menu .overlay__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: calc(env(safe-area-inset-top) + 90px) var(--gutter) 40px;
}

.mnav {
  display: flex;
  flex-direction: column;
}

.mnav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(28px, 8vw, 44px);
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
}

.mnav a small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #ecc98a;
}

.mnav a[aria-current="page"] {
  color: #ecc98a;
}

.mnav__foot {
  margin: 28px 0 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1100px) {
  .topnav {
    display: none;
  }
  .burger-btn {
    display: block;
  }
}

@media (max-width: 767px) {
  .burger-btn {
    width: 38px;
    height: 38px;
  }
  .burger-btn span {
    left: 11px;
    right: 11px;
    top: 15px;
  }
  .burger-btn span + span {
    top: 21px;
    left: 15px;
  }
}

/* ========================================= Gate headline: "Keep it like new" == */

.gate--3d .gate__head {
  top: 50%;
  left: var(--gutter);
  right: auto;
  width: min(34vw, 560px);
  padding: 0;
  justify-items: start;
  gap: 0;
  text-align: left;
  transform: translateY(-58%);
}

.kn__eyebrow {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(11px, 0.82vw, 14px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.kn__title {
  margin: clamp(10px, 1.4vh, 16px) 0 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(44px, 5.2vw, 96px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #fff;
}

.kn__line {
  display: block;
}

.kn__line--gold {
  background: linear-gradient(180deg, #e6c998 0%, #cfa66a 55%, #b88f55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kn__text {
  max-width: 30em;
  margin: clamp(16px, 2.4vh, 26px) 0 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

/* same staggered entrance as before */
.kn__eyebrow,
.kn__line,
.kn__text {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 1s var(--ease-out),
    transform 1.1s var(--ease-out);
}

.kn__eyebrow { transition-delay: 0.3s; }
.kn__line { transition-delay: 0.5s; }
.kn__line--gold { transition-delay: 0.65s; }
.kn__text { transition-delay: 0.85s; }

.gate--3d.is-booting .kn__eyebrow,
.gate--3d.is-booting .kn__line,
.gate--3d.is-booting .kn__text {
  opacity: 1;
  transform: none;
}

.gate--3d.is-launch .gate__head {
  transform: translateY(calc(-58% - 20px));
}

@media (max-width: 767px) {
  .gate--3d .gate__head {
    top: 96px;
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    transform: none;
  }
  .gate--3d.is-launch .gate__head {
    transform: translateY(-20px);
  }
  .kn__eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.26em;
  }
  .kn__title {
    font-size: clamp(40px, 12vw, 54px);
  }
  .kn__text {
    font-size: 14.5px;
    max-width: 24em;
  }
}

/* keep the headline clear of the car at every desktop size */
@media (min-width: 768px) {
  .gate--3d .gate__head {
    width: min(31vw, 560px);
  }
  .kn__title {
    font-size: clamp(30px, 4.7vw, 96px);
  }
  .kn__eyebrow {
    font-size: clamp(9.5px, 0.72vw, 14px);
  }
  .kn__text {
    font-size: clamp(12.5px, 0.95vw, 18px);
  }
}

/* squarer screens (tablets, 4:3 laptops): the car fills the middle, so the
   headline sits above it instead of beside it */
@media (min-width: 768px) and (max-aspect-ratio: 3/2) {
  .gate--3d .gate__head {
    top: clamp(96px, 12vh, 130px);
    width: min(62vw, 620px);
    transform: none;
  }
  .gate--3d.is-launch .gate__head {
    transform: translateY(-20px);
  }
  .kn__title {
    font-size: clamp(34px, 5.2vw, 64px);
  }
  .kn__text {
    font-size: clamp(13px, 1.5vw, 16px);
  }
}

/* size the headline from the free space left of the car (car is ~59vh wide) */
@media (min-width: 768px) and (min-aspect-ratio: 3/2) {
  .gate--3d .gate__head {
    --hw: calc((100vw - 59vh) / 2 - var(--gutter) - 28px);
    width: min(var(--hw), 560px);
  }
  .kn__title {
    font-size: min(96px, calc(var(--hw) / 5.5));
  }
  .kn__eyebrow {
    font-size: min(14px, calc(var(--hw) / 34));
  }
  .kn__text {
    font-size: max(12px, min(18px, calc(var(--hw) / 30)));
  }
}

/* gate headline: centred above the car at every size */
.gate--3d .gate__head,
.gate--3d .gate__head[class] {
  top: clamp(92px, 12vh, 132px);
  left: 0;
  right: 0;
  width: auto;
  padding: 0 var(--gutter);
  justify-items: center;
  text-align: center;
  transform: none;
}

.gate--3d.is-launch .gate__head {
  transform: translateY(-20px);
}

.gate--3d .kn__title {
  font-size: clamp(38px, min(6.6vh, 5vw), 84px);
  line-height: 0.98;
}

.gate--3d .kn__eyebrow {
  font-size: clamp(10.5px, 1.5vh, 14px);
  padding-left: 0.32em;
}

.gate--3d .kn__text {
  max-width: 44em;
  font-size: clamp(13px, 1.9vh, 18px);
}

@media (max-width: 767px) {
  .gate--3d .gate__head,
  .gate--3d .gate__head[class] {
    top: 96px;
  }
  .gate--3d .kn__title {
    font-size: clamp(40px, 12vw, 54px);
  }
  .gate--3d .kn__text {
    max-width: 24em;
    font-size: 14.5px;
  }
}

/* ================================================= Gold theme: text on gold == */

.pill--solid:hover,
.pill--solid:focus-visible,
.gb__cta:hover,
.gb__cta:focus-visible,
.tint__service:hover,
.tint__service:focus-visible,
.bk__submit,
.gate--3d.is-ready .ignite:hover,
.gate--3d.is-ready .ignite:focus-visible,
.pkg__badge {
  color: #0b0b0d;
}

.bk__submit svg,
.gb__cta:hover svg,
.tint__service:hover svg,
.gate--3d.is-ready .ignite:hover .g3__arrow,
.rd__cta:hover .rd__cta-arrow svg,
.cer-split__handle:hover svg,
.tint-split__handle:hover svg {
  stroke: #0b0b0d;
}

.overlay--book .check input:checked + .check__box::after,
.overlay--book .check input:checked + .check__box svg {
  border-color: #0b0b0d;
  stroke: #0b0b0d;
}

.bk__submit:hover,
.bk__submit:focus-visible {
  background: #ecc98a;
}

/* ============================================ Intro: studio background + type == */

/* no photo behind the intro: same dark studio as the other chapters */
.backdrop__layer[data-mood="dawn"] {
  background:
    radial-gradient(90% 60% at 50% 62%, rgba(70, 72, 80, 0.55) 0%, rgba(24, 25, 30, 0.6) 50%, transparent 80%),
    linear-gradient(180deg, #0b0c0f 0%, #16171b 55%, #08090b 100%);
}

/* heading in the same modern sans as every other chapter */
.panel__title.intro__title {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(34px, 3.7vw, 66px);
  line-height: 1.08;
  letter-spacing: 0.07em;
}

/* ================================================ Chapter: three years later == */

.panel--peel {
  align-items: stretch;
  padding: 0;
  text-align: left;
}

.pl {
  position: absolute;
  left: clamp(20px, 3.3vw, 64px);
  top: clamp(110px, 19vh, 170px);
  max-width: min(520px, 31vw);
}

.pl__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: clamp(10.5px, 0.82vw, 14px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
}

.pl__eyebrow::before {
  content: "";
  width: 40px;
  height: 1.5px;
  background: currentColor;
}

.panel__title.pl__title {
  margin-top: clamp(10px, 1.8vh, 18px);
  font-size: clamp(34px, 3.6vw, 66px);
  line-height: 1.06;
}

.pl__title .accent .ch {
  color: transparent;
  background: linear-gradient(180deg, #f0d49e 0%, #d4a95c 55%, #a8813f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.pl__rule {
  display: block;
  width: 80px;
  height: 2px;
  margin: clamp(14px, 2.4vh, 24px) 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.pl__lead {
  font-weight: 400;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.pl__stats {
  display: flex;
  margin: clamp(20px, 3.6vh, 36px) 0 0;
  padding: 0;
  list-style: none;
}

.pl__stats li {
  padding: 0 clamp(16px, 1.8vw, 30px);
}

.pl__stats li:first-child {
  padding-left: 0;
}

.pl__stats li + li {
  border-left: 1px solid rgba(212, 169, 92, 0.45);
}

.pl__stats strong {
  display: block;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(24px, 2.1vw, 36px);
  line-height: 1;
  color: #fff;
}

.pl__stats span {
  display: block;
  margin-top: 8px;
  font-weight: 500;
  font-size: clamp(9.5px, 0.7vw, 12px);
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

/* the gold line that rides the lifting edge of the film */
.pl-line {
  position: absolute;
  left: var(--px, 60%);
  top: var(--py, 30%);
  height: var(--ph, 30%);
  width: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.pl-line::before {
  content: "";
  position: absolute;
  top: -8%;
  bottom: -4%;
  left: -1px;
  width: 2px;
  background: linear-gradient(180deg, transparent, #ecc98a 20%, #fff 50%, #ecc98a 80%, transparent);
  box-shadow: 0 0 16px 2px rgba(236, 201, 138, 0.6);
}

.pl-line__tag {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 18%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(212, 169, 92, 0.45);
  border-radius: 999px;
  background: rgba(8, 8, 9, 0.7);
  font-family: var(--font);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  transform: translateX(-50%);
}

.pl-line__tag i,
.pl-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ecc98a;
  box-shadow: 0 0 0 4px rgba(212, 169, 92, 0.2);
}

body.is-peeling .panel--peel.is-active .pl-line {
  opacity: 1;
}

/* phase readout: aged film -> peeling -> factory fresh */
.pl-status {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(118px, 16vh, 150px);
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(10.5px, 0.8vw, 13px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 0.8s var(--ease) 1.8s;
}

.pl-status > span {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border: 1px solid rgba(212, 169, 92, 0.4);
  border-radius: 999px;
  background: rgba(8, 8, 9, 0.6);
  animation: plIn 0.6s var(--ease-out);
}

@keyframes plIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

body:not(.is-peeling):not(.is-peeled) .pl-status__aged,
body.is-peeling .pl-status__peel,
body.is-peeled .pl-status__new {
  display: inline-flex;
}

body.is-peeled .pl-status__new {
  border-color: rgba(236, 201, 138, 0.8);
  box-shadow: 0 0 30px rgba(212, 169, 92, 0.25);
}

/* reveal sequence */
.panel--peel .pl__eyebrow,
.panel--peel .pl__lead,
.panel--peel .pl__stats li {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel--peel.is-active .pl__eyebrow,
.panel--peel.is-active .pl__lead,
.panel--peel.is-active .pl__stats li {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s var(--ease-out) var(--d3),
    transform 1.2s var(--ease-out) var(--d3);
}

.panel--peel.is-active .pl__eyebrow { --d3: 0.35s; }
.panel--peel .pl__title { --d: 0.55s; }
.panel--peel.is-active .pl__lead { --d3: 1.35s; }
.panel--peel.is-active .pl__stats li:nth-child(1) { --d3: 1.6s; }
.panel--peel.is-active .pl__stats li:nth-child(2) { --d3: 1.72s; }
.panel--peel.is-active .pl__stats li:nth-child(3) { --d3: 1.84s; }

.panel--peel.is-active .pl__rule {
  transform: scaleX(1);
  transition: transform 1.2s var(--ease-out) 1.25s;
}

.panel--peel.is-active .pl-status {
  opacity: 1;
}

@media (max-width: 767px) {
  .pl {
    left: var(--gutter);
    right: var(--gutter);
    top: max(12vh, 92px);
    max-width: none;
  }
  .panel__title.pl__title {
    font-size: 34px;
  }
  .pl__eyebrow {
    font-size: 10px;
    letter-spacing: 0.34em;
  }
  .pl__rule {
    margin: 12px 0;
  }
  .pl__lead {
    font-size: 13.5px;
  }
  .pl__stats {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(var(--nav-h) + 18px);
    margin: 0;
    justify-content: space-between;
  }
  .pl__stats li {
    flex: 1;
    padding: 0 8px;
    text-align: center;
  }
  .pl__stats li:first-child {
    padding-left: 0;
  }
  .pl__stats strong {
    font-size: 22px;
  }
  .pl__stats span {
    font-size: 8.5px;
    letter-spacing: 0.12em;
  }
  .pl-status {
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(var(--nav-h) + 96px);
    text-align: center;
    font-size: 9.5px;
    letter-spacing: 0.16em;
  }
  .pl-line__tag {
    font-size: 9px;
    padding: 6px 10px;
  }
}

/* peel tag rides under the car, clear of the chapter heading */
.pl-line__tag {
  top: calc(100% + 16px);
  bottom: auto;
}

@media (max-width: 767px) {
  .pl-line__tag {
    display: none;
  }
}

/* room for the floating WhatsApp button at the right end of the drive bar */
.drive__track {
  right: calc(clamp(20px, 4vw, 72px) + 62px);
}

@media (max-width: 767px) {
  .drive__track {
    right: 72px;
  }
}

/* seven nav links: hand over to the menu button a little earlier */
@media (max-width: 1240px) {
  .topnav {
    display: none;
  }
  .burger-btn {
    display: block;
  }
}

/* ==================================================== Chapter: our film range == */

.panel--rg {
  justify-content: space-between;
  padding-top: max(10vh, 92px);
  padding-bottom: calc(var(--nav-h) + clamp(14px, 2.4vh, 26px));
}

.rg-head {
  display: grid;
  justify-items: center;
}

.rg-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: clamp(11px, 0.85vw, 14px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
}

.rg-head__eyebrow::before,
.rg-head__eyebrow::after {
  content: "";
  width: 36px;
  height: 1.5px;
  background: currentColor;
}

.panel__title.rg-head__title {
  font-size: clamp(26px, 2.8vw, 48px);
  line-height: 1.1;
}

.rg-head__title .accent .ch {
  color: transparent;
  background: linear-gradient(180deg, #f0d49e 0%, #d4a95c 55%, #a8813f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.panel--rg .rg-head__lead {
  margin-top: 12px;
  font-weight: 400;
  font-size: clamp(14px, 1.05vw, 18px);
  color: rgba(255, 255, 255, 0.82);
}

/* five product cards */
.rg-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.1vw, 20px);
  width: 100%;
  max-width: 1480px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  text-shadow: none;
}

.panel.is-active .rg-cards {
  pointer-events: auto;
}

.rg-card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel--rg.is-active .rg-card {
  opacity: 1;
  transform: none;
  transition:
    opacity 1s var(--ease-out) var(--d3),
    transform 1.2s var(--ease-out) var(--d3);
}

.panel--rg.is-active .rg-card:nth-child(1) { --d3: 1.1s; }
.panel--rg.is-active .rg-card:nth-child(2) { --d3: 1.22s; }
.panel--rg.is-active .rg-card:nth-child(3) { --d3: 1.34s; }
.panel--rg.is-active .rg-card:nth-child(4) { --d3: 1.46s; }
.panel--rg.is-active .rg-card:nth-child(5) { --d3: 1.58s; }

.rg-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(170deg, rgba(28, 28, 32, 0.92), rgba(12, 12, 14, 0.95));
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  transition:
    border-color 0.4s var(--ease),
    transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease);
}

.rg-card__link:hover,
.rg-card__link:focus-visible {
  border-color: rgba(212, 169, 92, 0.75);
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(212, 169, 92, 0.25);
}

.rg-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1.55;
  background: linear-gradient(180deg, #20232b, #101216);
  overflow: hidden;
}

.rg-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.8s var(--ease),
    transform 0.9s var(--ease-out);
}

.rg-card__media img.is-loaded {
  opacity: 1;
  transform: none;
}

.rg-card__link:hover .rg-card__media img {
  transform: scale(1.06);
}

/* gold sheen line where the image meets the text */
.rg-card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 169, 92, 0.8), transparent);
}

.rg-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(212, 169, 92, 0.45);
  border-radius: 999px;
  background: rgba(8, 8, 9, 0.7);
  font-family: var(--font);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ecc98a;
}

.rg-card__body {
  display: grid;
  gap: 6px;
  padding: clamp(14px, 1.3vw, 22px) clamp(14px, 1.3vw, 20px) clamp(14px, 1.3vw, 20px);
}

.rg-card__title {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(15px, 1.15vw, 19px);
  letter-spacing: 0.01em;
}

.rg-card__sub {
  font-family: var(--font-body);
  font-size: clamp(12px, 0.85vw, 14px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.6);
}

.rg-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.rg-card__more svg {
  width: 15px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.4s var(--ease);
}

.rg-card__link:hover .rg-card__more svg {
  transform: translateX(5px);
}

/* reveal for the heading pieces */
.panel--rg .rg-head__eyebrow,
.panel--rg .rg-head__lead {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel--rg.is-active .rg-head__eyebrow,
.panel--rg.is-active .rg-head__lead {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s var(--ease-out) var(--d3),
    transform 1.2s var(--ease-out) var(--d3);
}

.panel--rg.is-active .rg-head__eyebrow { --d3: 0.35s; }
.panel--rg .rg-head__title { --d: 0.5s; }
.panel--rg.is-active .rg-head__lead { --d3: 0.95s; }

@media (max-width: 1180px) {
  .rg-card__sub {
    display: none;
  }
}

/* phones: swipeable card rail */
@media (max-width: 767px) {
  .panel--rg {
    padding-top: max(11vh, 84px);
  }
  .panel__title.rg-head__title {
    font-size: 27px;
  }
  .rg-head__eyebrow {
    font-size: 10px;
    letter-spacing: 0.3em;
  }
  .rg-head__eyebrow::before,
  .rg-head__eyebrow::after {
    width: 22px;
  }
  .panel--rg .rg-head__lead {
    font-size: 13.5px;
  }
  .rg-cards {
    display: flex;
    gap: 12px;
    width: calc(100% + 2 * var(--gutter));
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .rg-cards::-webkit-scrollbar {
    display: none;
  }
  .rg-card {
    flex: none;
    width: 64vw;
    scroll-snap-align: center;
  }
  .rg-card__sub {
    display: block;
  }
}

/* ================================================== Chapter: franchise == */

.panel--fr {
  align-items: stretch;
  padding: 0;
  text-align: left;
}

.fr {
  position: absolute;
  left: clamp(20px, 3.3vw, 64px);
  top: clamp(100px, 16vh, 150px);
  max-width: min(560px, 36vw);
}

.fr__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: clamp(10.5px, 0.82vw, 14px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
}

.fr__eyebrow::before {
  content: "";
  width: 40px;
  height: 1.5px;
  background: currentColor;
}

.panel__title.fr__title {
  margin-top: clamp(10px, 1.8vh, 18px);
  font-size: clamp(34px, 3.6vw, 66px);
  line-height: 1.04;
}

.fr__title .accent .ch {
  color: transparent;
  background: linear-gradient(180deg, #f0d49e 0%, #d4a95c 55%, #a8813f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.fr__rule {
  display: block;
  width: 80px;
  height: 2px;
  margin: clamp(14px, 2.2vh, 22px) 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.fr__lead {
  font-weight: 400;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.fr__perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: clamp(18px, 3vh, 28px) 0 0;
  padding: 0;
  list-style: none;
}

.fr__perks li {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(28, 28, 32, 0.75), rgba(10, 10, 12, 0.8));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: none;
}

.fr__perks svg {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
  background: rgba(212, 169, 92, 0.14);
  fill: none;
  stroke: #ecc98a;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fr__perks strong {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(12.5px, 0.9vw, 14.5px);
  color: #fff;
}

.fr__perks span {
  font-family: var(--font-body);
  font-size: clamp(11.5px, 0.78vw, 13px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.6);
}

.fr__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(18px, 3vh, 28px);
}

.fr__cta,
.fr__ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: none;
  transition:
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.fr__cta {
  background: linear-gradient(180deg, #f0d49e 0%, #d4a95c 55%, #a8813f 100%);
  color: #0b0b0d;
  box-shadow: 0 10px 30px -10px rgba(212, 169, 92, 0.6);
}

.fr__cta:hover,
.fr__cta:focus-visible {
  box-shadow: 0 14px 40px -8px rgba(212, 169, 92, 0.85);
}

.fr__cta svg {
  width: 17px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.35s var(--ease);
}

.fr__cta:hover svg {
  transform: translateX(5px);
}

.fr__ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.fr__ghost:hover,
.fr__ghost:focus-visible {
  border-color: var(--accent);
  color: #ecc98a;
}

.panel.is-active .fr__ctas,
.panel.is-active .fr__perks {
  pointer-events: auto;
}

/* four steps to opening, bottom right */
.fr-steps {
  position: absolute;
  right: var(--gutter);
  bottom: calc(var(--nav-h) + clamp(18px, 3.4vh, 36px));
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  text-shadow: none;
}

.fr-steps li {
  position: relative;
  display: grid;
  gap: 3px;
  width: clamp(110px, 9vw, 150px);
  padding-top: 26px;
}

/* gold rail joining the steps */
.fr-steps li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(212, 169, 92, 0.35);
}

.fr-steps li::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #0b0b0d;
  box-shadow: inset 0 0 0 1.5px #d4a95c, 0 0 12px rgba(212, 169, 92, 0.5);
}

.fr-steps span {
  font-family: var(--font);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.fr-steps strong {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(14px, 1.05vw, 17px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.fr-steps em {
  padding-right: 14px;
  font-style: normal;
  font-family: var(--font-body);
  font-size: clamp(11px, 0.75vw, 12.5px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.58);
}

/* reveal sequence */
.panel--fr .fr__eyebrow,
.panel--fr .fr__lead,
.panel--fr .fr__perks li,
.panel--fr .fr__ctas,
.panel--fr .fr-steps li {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.panel--fr.is-active .fr__eyebrow,
.panel--fr.is-active .fr__lead,
.panel--fr.is-active .fr__perks li,
.panel--fr.is-active .fr__ctas,
.panel--fr.is-active .fr-steps li {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s var(--ease-out) var(--d3),
    transform 1.2s var(--ease-out) var(--d3);
}

.panel--fr.is-active .fr__eyebrow { --d3: 0.35s; }
.panel--fr .fr__title { --d: 0.55s; }
.panel--fr.is-active .fr__lead { --d3: 1.25s; }
.panel--fr.is-active .fr__perks li:nth-child(1) { --d3: 1.45s; }
.panel--fr.is-active .fr__perks li:nth-child(2) { --d3: 1.55s; }
.panel--fr.is-active .fr__perks li:nth-child(3) { --d3: 1.65s; }
.panel--fr.is-active .fr__perks li:nth-child(4) { --d3: 1.75s; }
.panel--fr.is-active .fr__ctas { --d3: 1.95s; }
.panel--fr.is-active .fr-steps li:nth-child(1) { --d3: 1.7s; }
.panel--fr.is-active .fr-steps li:nth-child(2) { --d3: 1.85s; }
.panel--fr.is-active .fr-steps li:nth-child(3) { --d3: 2s; }
.panel--fr.is-active .fr-steps li:nth-child(4) { --d3: 2.15s; }

.panel--fr.is-active .fr__rule {
  transform: scaleX(1);
  transition: transform 1.2s var(--ease-out) 1.15s;
}

@media (max-width: 1180px) {
  .fr-steps {
    display: none;
  }
}

@media (max-width: 767px) {
  .fr {
    left: var(--gutter);
    right: var(--gutter);
    top: max(11vh, 84px);
    max-width: none;
  }
  .panel__title.fr__title {
    font-size: 34px;
  }
  .fr__eyebrow {
    font-size: 10px;
    letter-spacing: 0.34em;
  }
  .fr__rule {
    margin: 12px 0;
  }
  .fr__lead {
    font-size: 13.5px;
  }
  .fr__perks {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(var(--nav-h) + 78px);
    gap: 8px;
  }
  .fr__perks li {
    grid-template-columns: 28px 1fr;
    padding: 9px 10px;
  }
  .fr__perks svg {
    grid-row: auto;
    width: 28px;
    height: 28px;
    padding: 5px;
  }
  .fr__perks span {
    display: none;
  }
  .fr__perks strong {
    align-self: center;
    font-size: 11.5px;
  }
  .fr__ctas {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(var(--nav-h) + 16px);
    flex-wrap: nowrap;
    margin: 0;
  }
  .fr__cta,
  .fr__ghost {
    flex: 1;
    justify-content: center;
    height: 46px;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .fr__ghost {
    flex: 0 0 auto;
  }
}
