@font-face {
  font-family: "Anybody";
  src: url("/assets/fonts/anybody-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --void: #000;
  --star: #f3eee4;
  --dust: #aaa5b6;
  --amber: #ffa33a;
  --teal: #3fe0cf;
  --rose: #ff4468;
  --display: "Anybody", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --nav-h: 68px;
  --ease: cubic-bezier(.16, .84, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--void);
  color: var(--star);
  font-family: var(--text);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: env(safe-area-inset-top, 0px);
}
body { margin: 0; min-height: 100%; overflow-x: hidden; background: var(--void); }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--amber); color: #000; padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* The world behind everything */
#cosmos { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; background: #000; }
.no-gl #cosmos { display: none; }
.no-gl body { background: #000 url("/assets/img/sky-2k.webp") center / cover fixed; }
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.55) 100%);
}
main, .foot { position: relative; z-index: 2; overflow-x: hidden; overflow-x: clip; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--pad) 0;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .5s ease;
}
.nav.scrolled { background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,0)); }
.nav-mark, .foot-mark { display: inline-flex; align-items: baseline; gap: .12em; text-decoration: none; font-family: var(--display); line-height: 1; }
.nav-mark { font-size: 26px; opacity: 0; transform: translateY(-6px); transition: opacity .6s ease, transform .6s var(--ease); }
.nav.scrolled .nav-mark { opacity: 1; transform: none; }
.nm-1 { font-weight: 900; font-stretch: 150%; }
.nm-of { font-weight: 500; font-stretch: 72%; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.45em; border-radius: 999px;
  font: 600 16px/1 var(--text); letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .35s var(--ease), box-shadow .35s ease, background .35s ease;
}
.btn-primary { background: var(--amber); color: #120a00; box-shadow: 0 0 0 0 rgba(255,163,58,.0), 0 10px 40px -12px rgba(255,163,58,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(255,163,58,.16), 0 16px 50px -12px rgba(255,163,58,.85); }
.btn-ghost { background: rgba(243,238,228,.08); color: var(--star); box-shadow: inset 0 0 0 1px rgba(243,238,228,.22); min-height: 42px; font-size: 15px; }
.btn-ghost:hover { background: rgba(243,238,228,.16); }

/* Shared type */
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; }
h2 { font-size: clamp(44px, 6.6vw, 112px); font-stretch: 122%; line-height: .94; letter-spacing: -.012em; }
p { margin: 0; }
.stop-text p, .within p, .worlds-head p, .passport-copy p, .access > p, .world-body {
  font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: rgba(243,238,228,.8); max-width: 34ch;
}

/* Word rise for headings */
.rise .wm { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .06em .02em .1em; margin: -.06em -.02em -.1em; }
.rise .w { display: inline-block; transform: translate3d(0, 108%, 0); }
.rise.in .w { transform: none; transition: transform 1.05s var(--ease); transition-delay: calc(var(--i) * 75ms); }

/* Reveal once */
.reveal { opacity: 0; transform: translate3d(0, 26px, 0); }
.reveal.in { opacity: 1; transform: none; transition: opacity .9s ease .12s, transform 1.1s var(--ease) .12s; }
.tilt { opacity: 0; transform: perspective(1000px) rotateX(9deg) translate3d(0, 46px, 0); transform-origin: 50% 100%; }
.tilt.in { opacity: 1; transform: none; transition: opacity .9s ease, transform 1.2s var(--ease); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 4vh) var(--pad) 12vh; }
.hero-inner { position: relative; max-width: 1100px; }
.hero-inner::before { content: ""; position: absolute; inset: -18% -20% -22% -30%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(0,0,0,.5), rgba(0,0,0,0)); }
.wordmark {
  display: flex; align-items: center; gap: .07em; margin: 0 0 .22em -.04em;
  font-size: clamp(92px, 16vw, 290px); line-height: .8; letter-spacing: -.02em;
  text-shadow: 0 0 60px rgba(0,0,0,.35);
}
.wm-1 { font-weight: 900; font-stretch: 150%; }
.wm-of { font-weight: 300; font-stretch: 60%; }
.wordmark > span:not(.sr) { display: inline-block; opacity: 0; transform: translate3d(0, .22em, 0) scale(.97); filter: blur(6px); }
.hero.lit .wordmark > span:not(.sr) { opacity: 1; transform: none; filter: none; transition: opacity .7s ease, transform 1.1s var(--ease), filter .7s ease; }
.hero.lit .wordmark > span:nth-child(2) { transition-delay: .08s; }
.hero.lit .wordmark > span:nth-child(3) { transition-delay: .16s; }
.tagline { font-family: var(--display); font-weight: 500; font-stretch: 100%; font-size: clamp(26px, 3.3vw, 52px); line-height: 1.05; letter-spacing: -.01em; margin-bottom: 1.1em; }
.lead { font-size: clamp(17px, 1.45vw, 22px); line-height: 1.5; color: rgba(243,238,228,.82); max-width: 36ch; margin-bottom: 1.6em; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-meta { font-size: 15px; color: var(--dust); }
.hero-fade { opacity: 0; transform: translate3d(0, 18px, 0); }
.hero.lit .hero-fade { opacity: 1; transform: none; transition: opacity .9s ease .45s, transform 1.1s var(--ease) .45s; }
.scroll-cue { position: absolute; right: var(--pad); bottom: 12vh; width: 44px; height: 72px; border-radius: 30px; box-shadow: inset 0 0 0 1px rgba(243,238,228,.3); }
.scroll-cue span { position: absolute; left: 50%; top: 14px; width: 2px; height: 16px; margin-left: -1px; border-radius: 2px; background: var(--star); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { transform: translateY(28px); opacity: 0; } 100% { opacity: 0; } }

/* Descent stops */
.stop { min-height: 138vh; display: flex; align-items: center; padding: 0 var(--pad); }
.stop-l { justify-content: flex-start; }
.stop-r { justify-content: flex-end; }
.stop-c { justify-content: center; text-align: center; }
.stop-c .stop-text { margin-top: 40vh; }
.stop-c .stop-text p { margin-inline: auto; }
.stop-text { position: relative; max-width: 620px; }
.stop-text::before, .within::before, .worlds-head::before, .world-text::before, .passport-copy::before, .access::before {
  content: ""; position: absolute; inset: -30% -35%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,0,0,.62), rgba(0,0,0,0));
}
.stop-text h2 { margin-bottom: .32em; }
.stop-c .stop-text { max-width: 900px; }

/* Humans are unlimited */
.within { position: relative; min-height: 150vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--pad); }
.within-title { font-size: clamp(46px, 8.4vw, 150px); line-height: .92; font-stretch: 100%; margin-bottom: .45em; }
.within-title .rise { display: block; }
.stretch { display: block; white-space: nowrap; font-weight: 900; font-stretch: 150%; font-variation-settings: "wdth" var(--wd, 150), "wght" var(--wg, 900); color: var(--star); }
.within p { max-width: 30ch; margin-inline: auto; }

/* Four worlds */
.worlds { position: relative; }
.worlds-head { position: relative; min-height: 120vh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); max-width: 900px; }
.worlds-head h2 { margin-bottom: .4em; }
.world { position: relative; min-height: 150vh; display: flex; align-items: center; padding: 0 var(--pad); }
.world-text { position: relative; width: min(560px, 44vw); }
.world-name { font-size: clamp(64px, 9.6vw, 176px); font-weight: 900; font-stretch: 150%; line-height: .84; letter-spacing: -.015em; margin: 0 0 .12em -.03em; }
.world-sub { font-family: var(--display); font-size: clamp(20px, 1.9vw, 30px); font-weight: 500; margin-bottom: .8em; }
#move .world-sub { color: #ffc27f; }
#create .world-sub { color: #ff8aa0; }
#build .world-sub { color: #ffd08a; }
#sound .world-sub { color: #9fc6ff; }
.world-body { margin-bottom: 26px; }
.world-film { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #050505 radial-gradient(80% 90% at 50% 60%, #1a1622, #050505); box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(243,238,228,.1); transform: translateZ(0); }
.world-film video { width: 100%; height: 100%; object-fit: cover; }
.world-film::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }

/* Passport */
.passport { position: relative; min-height: 130vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 6vw; padding: 0 var(--pad); }
.passport-copy { position: relative; }
.passport-copy h2 { margin-bottom: .4em; }
.passport-card {
  position: relative; justify-self: center; width: min(520px, 100%); aspect-ratio: 1.42; border-radius: 26px; padding: 26px 28px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255,163,58,.16), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(63,224,207,.14), transparent 60%),
    linear-gradient(160deg, #15131c, #07070a 70%);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.9), inset 0 0 0 1px rgba(243,238,228,.12);
  display: grid; grid-template-rows: auto 1fr auto;
}
.passport-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(115deg, rgba(243,238,228,.035) 0 1px, transparent 1px 9px); pointer-events: none; }
.pc-top, .pc-foot { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--dust); }
.pc-mark { font-family: var(--display); font-weight: 900; font-stretch: 150%; font-size: 22px; color: var(--star); }
.pc-type { font-family: var(--display); font-stretch: 70%; font-size: 18px; letter-spacing: .06em; }
.pc-stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 10px; }
.stamp { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; opacity: 0; transform: scale(1.7) rotate(-18deg); }
.stamp i { position: absolute; inset: 12%; border-radius: 50%; background: #111 center / cover no-repeat; box-shadow: inset -10px -8px 18px rgba(0,0,0,.7), inset 4px 3px 10px rgba(255,255,255,.12); }
.stamp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px currentColor, inset 0 0 0 1px currentColor; opacity: .75; }
.stamp b { position: absolute; bottom: -1.9em; font: 700 12px/1 var(--text); letter-spacing: .08em; color: currentColor; }
.s-move { color: #ffc27f; } .s-create { color: #ff8aa0; } .s-build { color: #ffd08a; } .s-sound { color: #9fc6ff; }
.passport.near .s-move i { background-image: url("/assets/img/stamp-move.webp"); }
.passport.near .s-create i { background-image: url("/assets/img/stamp-create.webp"); }
.passport.near .s-build i { background-image: url("/assets/img/stamp-build.webp"); }
.passport.near .s-sound i { background-image: url("/assets/img/stamp-sound.webp"); }
.passport-card.in .stamp { animation: stamp .7s var(--ease) forwards; animation-delay: calc(.45s + var(--i) * .32s); }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.7) rotate(-18deg); } 55% { opacity: 1; transform: scale(.94) rotate(4deg); } 100% { opacity: 1; transform: scale(1) rotate(calc(var(--i) * 5deg - 7deg)); } }

/* Access */
.access { position: relative; min-height: 118vh; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 0 var(--pad) 18vh; }
.access h2 { font-size: clamp(46px, 7.4vw, 128px); margin-bottom: .35em; }
.access > p { margin-inline: auto; max-width: 38ch; }
.access-form { display: flex; gap: 10px; width: min(560px, 100%); margin: 34px auto 12px; padding: 7px; border-radius: 999px; background: rgba(12,11,16,.72); box-shadow: inset 0 0 0 1px rgba(243,238,228,.18), 0 30px 80px -30px rgba(0,0,0,.9); }
.access-form input { flex: 1; min-width: 0; height: 50px; padding: 0 20px; border: 0; background: transparent; color: var(--star); font: 500 17px var(--text); outline: none; }
.access-form input::placeholder { color: rgba(243,238,228,.45); }
.access-form:focus-within { box-shadow: inset 0 0 0 1px rgba(255,163,58,.7), 0 30px 80px -30px rgba(0,0,0,.9); }
.access-form.done { opacity: .6; pointer-events: none; }
.form-note { min-height: 1.5em; font-size: 15px; color: var(--amber); }
.access-more { margin-top: 18px; font-size: 15px !important; color: var(--dust) !important; }
.access-more a { color: var(--star); text-underline-offset: 3px; }

/* Footer */
.foot { padding: 12vh var(--pad) calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: end; background: linear-gradient(180deg, transparent, rgba(0,0,0,.55) 40%); }
.foot-mark { font-size: clamp(48px, 7vw, 96px); }
.foot-links { display: flex; gap: 26px; justify-content: flex-end; flex-wrap: wrap; }
.foot-links a { text-decoration: none; color: rgba(243,238,228,.8); font-size: 15px; }
.foot-links a:hover { color: var(--star); }
.credits, .copy { grid-column: 1 / -1; font-size: 13px; color: rgba(170,165,182,.75); }
.copy { margin-top: -8px; }

/* Anchored labels on the maps */
.anchors { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.anchor { position: absolute; left: 0; top: 0; opacity: 0; padding: 4px 10px 4px 16px; font: 500 13px/1.2 var(--text); letter-spacing: .01em; color: var(--star); white-space: nowrap; text-shadow: 0 1px 8px rgba(0,0,0,.9); will-change: transform, opacity; }
.anchor::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255,163,58,.18), 0 0 14px rgba(255,163,58,.9); }
.anchor.flip { padding: 4px 16px 4px 10px; }
.anchor.flip::before { left: auto; right: 0; }
.anchor[data-label="beltline"]::before, .anchor[data-label="trail"]::before { background: var(--teal); box-shadow: 0 0 0 4px rgba(63,224,207,.18), 0 0 14px rgba(63,224,207,.9); }

/* Sticky CTA on phones */
.sticky-cta { position: fixed; z-index: 21; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: none; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s ease, transform .5s var(--ease); }
.sticky-cta.show { opacity: 1; transform: none; pointer-events: auto; }

/* Tablet and phone */
@media (max-width: 900px) {
  .world-text { width: min(560px, 100%); }
  .passport { grid-template-columns: minmax(0, 1fr); gap: 42px; align-content: center; }
}
@media (max-width: 760px) {
  :root { --nav-h: 58px; }
  .nav-cta { display: none; }
  .nav-mark { font-size: 22px; }
  .sticky-cta { display: flex; }
  .hero { padding-bottom: 15vh; align-items: flex-end; }
  .wordmark { font-size: clamp(76px, 24vw, 140px); }
  .tagline { font-size: clamp(26px, 7.4vw, 36px); }
  .scroll-cue { display: none; }
  .stop { min-height: 132vh; align-items: center; }
  .stop-l, .stop-r { justify-content: flex-start; }
  .stop-text, .stop-c .stop-text { margin-top: 50vh; }
  .stop-c { text-align: left; }
  .stop-c .stop-text p { margin-inline: 0; }
  h2 { font-size: clamp(40px, 12.4vw, 64px); }
  .within { min-height: 138vh; }
  .within-title { margin-top: 46vh; }
  .within-title { font-size: clamp(40px, 12.6vw, 70px); }
  .worlds-head { min-height: 118vh; justify-content: center; }
  .worlds-head h2 { margin-top: 46vh; }
  .world { min-height: 160vh; align-items: center; }
  .world-text { margin-top: 62vh; }
  .world-name { font-size: clamp(56px, 17vw, 92px); }
  .world-film { border-radius: 16px; }
  .passport { min-height: 150vh; align-content: center; }
  .passport-copy { margin-top: 30vh; }
  .passport-card { padding: 18px 18px 22px; border-radius: 20px; }
  .stamp b { font-size: 10px; bottom: -1.7em; }
  .access { padding-bottom: 20vh; }
  .access-form { flex-direction: column; border-radius: 24px; padding: 10px; }
  .access-form input { height: 50px; text-align: center; }
  .access-form .btn { width: 100%; }
  .foot { grid-template-columns: minmax(0, 1fr); padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .foot-links { justify-content: flex-start; gap: 18px; }
  .anchor { font-size: 12px; }
  .stop-text::before, .within::before, .worlds-head::before, .world-text::before, .passport-copy::before, .access::before { inset: -18% -12%; background: radial-gradient(closest-side, rgba(0,0,0,.7), rgba(0,0,0,0)); }
  .reveal.reveal-lite { transform: translate3d(0, 18px, 0); }
  .reveal.reveal-lite.in { transform: none; transition: opacity .56s ease, transform .56s var(--ease); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .tilt, .hero-fade, .rise .w, .wordmark > span:not(.sr), .stamp { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; animation: none !important; }
  .scroll-cue span { animation: none; }
}
