:root {
  color-scheme: dark;
  --black: #070707;
  --white: #f0efe9;
  --grey: #8b8a85;
  --line: rgba(240, 239, 233, 0.16);
  --cyan: #34dfcb;
  --orange: #ff4a22;
  --pad: clamp(1.25rem, 4vw, 4rem);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; background: var(--black); color: var(--white); }
body { overflow: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: var(--black); background: var(--white); }

.skip-link {
  position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .65rem 1rem;
  background: var(--white); color: var(--black); transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed; z-index: 30; inset: 0 0 auto; height: 5rem; display: flex;
  align-items: center; justify-content: flex-end; padding: 0 var(--pad); pointer-events: none;
}
.site-header nav { display: flex; gap: clamp(1.4rem, 4vw, 4rem); pointer-events: auto; }
.site-header nav a, .eyebrow, .scroll-hint, .copyright {
  font-size: .64rem; letter-spacing: .13em; text-transform: uppercase;
}
.site-header nav a { position: relative; }
.site-header nav a::after {
  content: ""; position: absolute; right: 0; bottom: -.4rem; left: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.site-header nav a:hover::after, .site-header nav a:focus-visible::after,
.site-header nav a.is-active::after { transform: scaleX(1); }

.mark {
  position: fixed; top: 0; left: 0; width: 13rem; height: 7.5rem; display: block;
  clip-path: polygon(0 0, 100% 0, 0 100%); pointer-events: auto;
  background: radial-gradient(circle at 0 0, rgba(52,223,203,.18), transparent 56%),
    linear-gradient(150deg, rgba(255,255,255,.15), rgba(255,255,255,.02) 68%);
  backdrop-filter: blur(22px) saturate(1.35); border-left: 1px solid rgba(255,255,255,.18);
}
.mark::after {
  content: ""; position: absolute; top: 0; right: 0; width: 15rem; height: 1px;
  background: rgba(240,239,233,.25); transform: rotate(-30deg); transform-origin: right;
}
.mark span {
  position: absolute; top: 1.6rem; left: 1.8rem; font: 400 1.8rem/1 "Arial Narrow", sans-serif;
  letter-spacing: -.12em; text-shadow: 0 0 .8rem rgba(255,255,255,.75);
}

.viewport {
  width: 100%; height: 100vh; height: 100dvh; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.viewport::-webkit-scrollbar { display: none; }
.rail { display: flex; width: max-content; height: 100%; }
.scene {
  position: relative; flex: 0 0 100vw; width: 100vw; height: 100vh; height: 100dvh;
  display: flex; align-items: flex-end; overflow: hidden; padding: max(7.5rem, 14vh) var(--pad) max(4.5rem, 8vh);
  border-right: 1px solid var(--line); scroll-snap-align: start; isolation: isolate;
}
.scene::before {
  content: ""; position: absolute; inset: 0; z-index: -3; opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 5rem 5rem; mask-image: linear-gradient(to right, black, transparent 72%);
}
.scene-copy { position: relative; z-index: 4; width: min(54rem, 60%); }
.eyebrow { margin: 0 0 1.3rem; color: var(--grey); }
h1, h2 {
  margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 400; font-size: clamp(5rem, 12vw, 12rem); line-height: .77;
  letter-spacing: -.025em; text-transform: uppercase;
}
h1 { max-width: 8em; font-size: clamp(4.4rem, 10vw, 10rem); }
.lede { max-width: 33rem; margin: 1.8rem 0 0; color: var(--grey); font-size: clamp(.82rem, 1vw, 1rem); line-height: 1.6; }
.text-link {
  display: inline-flex; gap: 1.6rem; align-items: center; margin-top: 2rem; padding-bottom: .4rem;
  border-bottom: 1px solid var(--line); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
}
.text-link span { transition: transform .35s ease; }
.text-link:hover span { transform: translateX(.5rem); }
.scene-number {
  position: absolute; z-index: -1; right: var(--pad); bottom: 0; margin: 0; color: rgba(240,239,233,.025);
  font: 400 clamp(12rem, 32vw, 32rem)/.7 Impact, sans-serif;
}

.light-form { position: absolute; z-index: 1; pointer-events: none; }
.light-form--orb { top: 8%; right: 3%; width: min(55vw, 48rem); aspect-ratio: 1; }
.orbit { position: absolute; inset: 15%; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; }
.orbit--one { border-width: clamp(1rem, 2.8vw, 2.5rem); border-color: var(--orange); box-shadow: 0 0 6rem rgba(255,74,34,.25), inset 0 0 4rem rgba(255,74,34,.35); animation: orbit 11s linear infinite; }
.orbit--two { inset: 28%; transform: rotateX(72deg); animation: orbit-reverse 8s linear infinite; }
.orbit--three { inset: 5% 35%; transform: rotateY(62deg); border-color: rgba(52,223,203,.45); animation: orbit 14s linear infinite; }
.light-core { position: absolute; inset: 48%; border-radius: 50%; background: #fff; box-shadow: 0 0 2rem #fff, 0 0 8rem 2rem var(--orange); }
@keyframes orbit { to { transform: rotateY(360deg) rotateZ(180deg); } }
@keyframes orbit-reverse { to { transform: rotateX(72deg) rotateZ(-360deg); } }

.light-form--beam { top: 8%; right: 0; width: 58%; height: 82%; }
.beam { position: absolute; top: 50%; right: 8%; width: 95%; height: 1px; transform-origin: right; transform: rotate(-17deg); background: linear-gradient(90deg, transparent, var(--orange)); filter: drop-shadow(0 0 .5rem var(--orange)); animation: sweep 7s ease-in-out infinite alternate; }
.beam--two { transform: rotate(26deg); animation-delay: -3.5s; }
.flare { position: absolute; top: 49.5%; right: 7.5%; width: .5rem; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 2rem #fff, 0 0 8rem 2rem var(--orange); }
@keyframes sweep { to { transform: rotate(38deg); } }

.launch-link {
  display: inline-flex; align-items: center; gap: 1.5rem; margin-top: 2.2rem; text-transform: uppercase;
  font-size: .69rem; letter-spacing: .12em;
}
.launch-icon {
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%; background: rgba(255,255,255,.04); transition: background .35s, color .35s, transform .35s;
}
.launch-link:hover .launch-icon { background: var(--white); color: var(--black); transform: rotate(45deg); }

.light-form--grid { top: 8%; right: -3%; width: 58%; height: 80%; perspective: 700px; }
.grid { position: absolute; inset: 8%; background-image: linear-gradient(rgba(52,223,203,.48) 1px, transparent 1px), linear-gradient(90deg, rgba(52,223,203,.48) 1px, transparent 1px); background-size: 9% 9%; transform: rotateX(57deg) rotateZ(-17deg); box-shadow: 0 0 7rem rgba(52,223,203,.12); }
.scanner { position: absolute; top: 10%; left: 20%; width: 66%; height: 2px; background: #fff; box-shadow: 0 0 2rem var(--cyan); animation: scan 4s ease-in-out infinite; }
@keyframes scan { 50% { transform: translateY(58vh); } }

.contact-rings { position: absolute; top: 6%; right: 5%; width: min(50vw, 42rem); aspect-ratio: 1; }
.contact-rings span { position: absolute; inset: calc(var(--i, 0) * 12%); border: 1px solid rgba(240,239,233,.18); border-radius: 50%; box-shadow: 0 0 3rem rgba(52,223,203,.08); }
.contact-rings span:nth-child(1) { --i: 0; }
.contact-rings span:nth-child(2) { --i: 1; border-color: rgba(52,223,203,.34); }
.contact-rings span:nth-child(3) { --i: 2; background: radial-gradient(circle, rgba(52,223,203,.15), transparent 68%); }
.copyright { position: absolute; right: var(--pad); bottom: 2.2rem; margin: 0; color: var(--grey); }

.scene-dots { position: fixed; z-index: 30; left: var(--pad); bottom: 1.5rem; display: flex; gap: .6rem; }
.scene-dots button { width: .42rem; height: .42rem; padding: 0; border: 1px solid var(--grey); border-radius: 50%; background: transparent; cursor: pointer; transition: transform .3s, background .3s; }
.scene-dots button.is-active { background: var(--white); transform: scale(1.35); }
.progress { position: fixed; z-index: 31; right: 0; bottom: 0; left: 0; height: 2px; background: var(--line); }
.progress span { display: block; width: 100%; height: 100%; background: var(--white); transform: scaleX(.25); transform-origin: left; transition: transform .55s cubic-bezier(.16,1,.3,1); }
.next-scene {
  position: fixed; z-index: 30; right: 0; bottom: 0; width: 12rem; height: 7rem; padding: 0; border: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%); cursor: pointer;
  background: radial-gradient(circle at 100% 100%, rgba(52,223,203,.2), transparent 58%), linear-gradient(330deg, rgba(255,255,255,.18), rgba(255,255,255,.02) 72%);
  backdrop-filter: blur(20px); transition: background .35s;
}
.next-scene span { position: absolute; right: 1.6rem; bottom: 1.25rem; font-size: 1.6rem; text-shadow: 0 0 1rem #fff; }
.next-scene:hover { background-color: rgba(255,255,255,.08); }
.scroll-hint { position: fixed; z-index: 20; right: var(--pad); top: 50%; margin: 0; color: var(--grey); writing-mode: vertical-rl; transform: translateY(-50%); }

@media (max-width: 700px) {
  :root { --pad: 1.15rem; }
  .site-header { height: 4rem; }
  .site-header nav { gap: 1rem; }
  .site-header nav a { font-size: .56rem; }
  .mark { width: 10rem; height: 5.8rem; }
  .mark::after { width: 11.6rem; }
  .mark span { top: 1.25rem; left: 1.25rem; font-size: 1.35rem; }
  .scene { padding-top: 6.5rem; padding-bottom: 5rem; }
  .scene-copy { width: 100%; }
  h1, h2 { font-size: clamp(4.1rem, 20vw, 7.4rem); }
  h1 { font-size: clamp(3.7rem, 17vw, 6.5rem); }
  .lede { max-width: 84vw; }
  .light-form--orb { top: 14%; right: -40%; width: 105vw; opacity: .72; }
  .light-form--beam { top: 5%; right: -20%; width: 105%; height: 66%; opacity: .7; }
  .light-form--grid { top: 8%; right: -32%; width: 112%; height: 61%; opacity: .58; }
  .contact-rings { top: 15%; right: -42%; width: 100vw; opacity: .65; }
  .next-scene { width: 9.5rem; height: 5.5rem; }
  .scroll-hint { display: none; }
  .copyright { right: auto; left: var(--pad); bottom: 3.2rem; }
}

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