:root {
  --ink: #f7f9ff;
  --muted: rgba(232, 239, 255, 0.62);
  --line: rgba(255, 255, 255, 0.16);
  --blue: #216cff;
  --cyan: #55d8ff;
  --bg: #020409;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #010205;
  transition: opacity .7s cubic-bezier(.7, 0, .2, 1), visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__brand {
  position: absolute;
  top: 42px;
  left: 50%;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  letter-spacing: .2em;
  transform: translateX(-50%);
}
.loader__brand img { width: 23px; height: 23px; object-fit: contain; }
.loader__meter { display: flex; align-items: flex-start; font-size: clamp(76px, 12vw, 180px); font-weight: 500; letter-spacing: -.08em; line-height: 1; }
.loader__meter i { margin: 14px 0 0 12px; font-size: 14px; font-style: normal; letter-spacing: .1em; color: var(--muted); }
.loader__line { position: absolute; bottom: 48px; left: 5vw; right: 5vw; height: 1px; background: rgba(255,255,255,.12); }
.loader__line span { display: block; width: 0; height: 100%; background: white; transition: width .12s linear; }

.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #020409; }
#spaceCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .82; }
.stage__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(14, 74, 197, .18), transparent 30%),
    linear-gradient(180deg, rgba(2,4,9,.18) 0%, rgba(2,4,9,.04) 50%, rgba(2,4,9,.5) 100%);
}
.stage__orbit {
  position: absolute;
  left: 50%; top: 50%;
  border: 1px solid rgba(97, 171, 255, .18);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(69deg);
  box-shadow: inset 0 0 80px rgba(41, 114, 255, .06), 0 0 80px rgba(22, 103, 255, .05);
  will-change: transform;
}
.stage__orbit--one { width: min(72vw, 1020px); aspect-ratio: 1; }
.stage__orbit--two { width: min(49vw, 720px); aspect-ratio: 1; border-color: rgba(108, 214, 255, .26); }
.stage__product {
  position: absolute;
  left: 50%; top: 50%;
  width: min(100vw, 1440px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.025);
  background: #020409;
  filter: drop-shadow(0 34px 100px rgba(0, 63, 176, .24));
  transition: opacity .35s linear;
  will-change: transform, opacity;
}
.stage__product::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2,4,9,.38), transparent 13%, transparent 87%, rgba(2,4,9,.38)),
    linear-gradient(180deg, rgba(2,4,9,.16), transparent 22%, transparent 78%, rgba(2,4,9,.32));
}
.stage__product canvas { position: relative; z-index: 2; display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.88) saturate(.95); }
.stage__halo {
  position: absolute;
  left: 50%; top: 60%;
  width: 90%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 121, 255, .42), rgba(25, 88, 255, .08) 48%, transparent 72%);
  transform: translate(-50%, -50%);
  filter: blur(18px);
}
.stage__progress { position: fixed; right: 24px; top: 25%; bottom: 25%; width: 1px; background: rgba(255,255,255,.12); opacity: .65; }
.stage__progress span { display: block; width: 1px; height: 0; background: linear-gradient(var(--cyan), var(--blue)); box-shadow: 0 0 12px var(--blue); }

.nav {
  position: fixed;
  z-index: 20;
  top: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 25px 4vw;
  background: linear-gradient(180deg, rgba(1,2,5,.68), transparent);
  font-size: 12px;
  letter-spacing: .12em;
}
.nav__brand { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.nav__brand img { width: 25px; height: 25px; object-fit: contain; }
.nav nav { display: flex; gap: 38px; color: rgba(255,255,255,.67); }
.nav nav a, .nav__back { transition: color .25s; }
.nav nav a:hover, .nav__back:hover { color: white; }
.nav__back { justify-self: end; }
.nav__back span { display: inline-block; margin-left: 7px; color: var(--cyan); }

main { position: relative; z-index: 1; }
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 115px 5vw 56px; text-align: center; }
.hero__content { width: min(1180px, 100%); }
.eyebrow { margin: 0 0 27px; color: rgba(232,239,255,.62); font-size: 11px; font-weight: 600; letter-spacing: .32em; }
.hero h1 { margin: 0; font-size: clamp(54px, 8.35vw, 126px); font-weight: 600; letter-spacing: -.065em; line-height: .86; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em {
  position: relative;
  z-index: -1;
  margin: .16em 0 .2em;
  font-family: "Playfair Display", serif;
  font-size: 1.2em;
  font-weight: 600;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(203, 229, 255, .82);
  text-shadow: 0 0 32px rgba(41, 126, 255, .45);
  letter-spacing: -.04em;
}
.hero__intro { margin: 35px auto 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  margin-top: 34px;
  padding: 8px 9px 8px 22px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .08em;
  backdrop-filter: blur(10px);
  transition: border-color .25s, background .25s;
}
.hero__cta:hover { border-color: var(--cyan); background: rgba(37, 112, 255, .13); }
.hero__cta b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: white; color: #03050b; }
.hero__index { position: absolute; left: 4vw; bottom: 35px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.45); font-size: 10px; }
.hero__index i { width: 54px; height: 1px; background: rgba(255,255,255,.3); }

.scroll-story { position: relative; min-height: 590vh; }
.story-copy {
  position: absolute;
  left: 50%;
  width: min(760px, 88vw);
  text-align: center;
  transform: translateX(-50%);
}
.story-copy--intro { top: 10vh; }
.story-copy--end { bottom: 48vh; }
.story-copy p { margin: 0 0 28px; color: var(--cyan); font-size: 10px; font-weight: 600; letter-spacing: .32em; }
.story-copy h2 { margin: 0; font-size: clamp(56px, 8.5vw, 126px); line-height: 1.08; letter-spacing: -.07em; }
.product-card {
  position: fixed;
  z-index: 8;
  width: min(340px, calc(100vw - 40px));
  min-height: 210px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 23px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(19, 31, 55, .74), rgba(5, 9, 18, .52));
  box-shadow: 0 28px 90px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(18px) saturate(125%);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.product-card--camera { right: 5vw; top: 21vh; }
.product-card--wear { right: 5vw; top: 38vh; }
.product-card--training { left: 14vw; bottom: 10vh; }
.product-card__num { color: rgba(255,255,255,.42); font-size: 10px; }
.product-card__tag { margin: 0 0 10px; color: var(--cyan); font-size: 9px; letter-spacing: .22em; }
.product-card h3 { margin: 0 0 16px; font-size: 24px; letter-spacing: -.04em; }
.product-card div > p:last-child { margin: 0; color: rgba(238,243,255,.67); font-size: 12px; line-height: 1.8; }
.product-card__arrow { position: absolute; right: 20px; bottom: 18px; color: rgba(255,255,255,.65); }

.finale {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 100px 5vw 38px;
  background: radial-gradient(circle at 50% 55%, rgba(19, 87, 211, .2), transparent 34%), rgba(1,3,7,.2);
  text-align: center;
}
.finale__content { position: relative; z-index: 2; }
.finale h2 { margin: 0; font-size: clamp(58px, 8.4vw, 126px); line-height: .9; letter-spacing: -.07em; }
.finale h2 span, .finale h2 em { display: block; }
.finale h2 em { font-family: "Playfair Display", serif; font-weight: 600; color: #8dc9ff; }
.finale__content > p:not(.eyebrow) { margin: 30px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.finale__actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.finale__actions a { padding: 14px 22px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 12px; letter-spacing: .08em; }
.finale__actions a:first-child { background: white; color: #05070b; }
.finale__rings { position: absolute; left: 50%; top: 52%; width: min(78vw, 1060px); aspect-ratio: 1; transform: translate(-50%, -50%) rotateX(70deg); }
.finale__rings i { position: absolute; inset: calc(var(--i, 0) * 11%); border: 1px solid rgba(94, 168, 255, .14); border-radius: 50%; }
.finale__rings i:nth-child(2) { --i: 1; }
.finale__rings i:nth-child(3) { --i: 2; }
.finale footer { position: absolute; left: 4vw; right: 4vw; bottom: 26px; display: flex; justify-content: space-between; color: rgba(255,255,255,.35); font-size: 9px; letter-spacing: .16em; }

@media (max-width: 800px) {
  .nav { grid-template-columns: 1fr auto; padding: 19px 20px; }
  .nav nav { display: none; }
  .nav__brand span { font-size: 10px; }
  .nav__back { font-size: 10px; }
  .hero { padding-inline: 18px; }
  .hero h1 { font-size: clamp(48px, 15vw, 84px); line-height: .86; }
  .hero h1 em { margin-block: .2em .26em; }
  .hero__intro br { display: none; }
  .hero__index { left: 20px; }
  .stage__product { width: auto; height: 100svh; top: 50%; }
  .stage__product canvas { width: auto; min-width: 100vw; }
  .stage__orbit--one { width: 150vw; }
  .stage__orbit--two { width: 105vw; }
  .stage__progress { right: 10px; }
  .scroll-story { min-height: 650vh; }
  .product-card--camera, .product-card--wear, .product-card--training { left: 50%; right: auto; top: auto; bottom: 7vh; }
  .product-card { min-height: 190px; }
  .story-copy--end { bottom: 60vh; }
  .finale h2 { font-size: clamp(50px, 15vw, 82px); }
  .finale__actions { flex-direction: column; align-items: center; }
  .finale footer { left: 20px; right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
