.stage[data-phase="intro"] {
  --foreground: #f4f4f4;
  --rail: rgb(188 213 245 / 23%);
  --accent: #eec29b;
}

.movie--intro { z-index: 2; background: #070d1e; }

.space-horizon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 77%;
}

.movie--intro::before, .movie--intro::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
}

.movie--intro::before {
  background: linear-gradient(180deg, rgb(4 8 20 / 42%), transparent 34%);
}

.movie--intro::after {
  background: linear-gradient(0deg, #050b17 1%, rgb(5 10 23 / 72%) 8%, transparent 28%);
}

.space-astronaut {
  position: absolute;
  top: 58.1%;
  left: 50%;
  width: min(52vw, 68vh, 49rem);
  aspect-ratio: 3 / 2;
  transform: translateX(-50%);
}

.space-suit {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  mask-image: linear-gradient(180deg, #000 0% 74%, rgb(0 0 0 / 79%) 89%, transparent 100%);
}

.space-suit--rim {
  z-index: 2;
  clip-path: polygon(31% 26%, 35% 29.4%, 40% 31.6%, 45% 32.7%, 50% 33.2%,
    55% 32.7%, 60% 31.5%, 65% 29.4%, 69% 26%, 69% 39%, 31% 39%);
}

.portrait {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 63%;
  width: 71%;
  aspect-ratio: 720 / 572;
  transform: translateX(-50%);
}

.portrait .media {
  position: absolute;
  inset: 0;
  filter: saturate(.9) brightness(.97);
  transform: translate(var(--look-x, 0px), var(--look-y, 0px));
}

.head-clock { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gaze { visibility: hidden; }
.gaze.is-active { visibility: visible; }
.head-poster:has(+ .gaze.is-active) { visibility: hidden; }

.stage[data-phase="intro"] .site-header { padding-bottom: .8rem; }
.stage[data-phase="intro"] .monogram { border-color: #eec29b; border-radius: 50%; color: #f5d8bf; }

.hero.copy {
  top: clamp(5.5rem, 14.6vh, 11rem);
  inset-inline: 50% auto;
  width: min(94vw, 70rem);
  color: #f6f7fb;
  text-align: center;
  transform: translate(-50%, .5rem);
}

.hero.copy.is-visible { transform: translate(-50%, 0); }

.cover-kicker {
  margin: 0 0 clamp(.8rem, 2vh, 1.3rem);
  color: #c3d4ed;
  font: 650 clamp(.69rem, 1.15vw, .87rem)/1.4 "Segoe UI", sans-serif;
  letter-spacing: .23em;
}

.cover-kicker span { padding-inline: .19em; color: #edb791; }

.hero h1 {
  margin: 0;
  color: #f8fbff;
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-size: clamp(3.5rem, min(8.6vw, 10.9vh), 8.25rem);
  font-style: italic;
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.055em;
  text-shadow: 0 .06em .25em rgb(65 112 203 / 42%);
}

.cover-note {
  margin: clamp(.85rem, 2.1vh, 1.3rem) 0 0;
  color: #e8effb;
  font-size: clamp(.9rem, 1.35vw, 1.13rem);
  font-weight: 550;
  letter-spacing: .13em;
  line-height: 1.55;
}

.cover-next {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: max(clamp(1rem, 3.6vh, 2.4rem), env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .55rem 1.25rem;
  border: 1px solid #b7cff082;
  border-radius: 999px;
  background: #0d1830d6;
  color: #f5f8ff;
  box-shadow: 0 0 1.3rem #578bca15, inset 0 1px 0 #c6dcff28;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: border-color .2s, background .2s;
}

.cover-next:hover { border-color: #ffe1ba; background: #243755; }
.stage:not([data-phase="intro"]) .cover-next { visibility: hidden; }

#meteor-cursor {
  position: fixed;
  z-index: 100;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

html[data-meteor] :is(body, button, a, input) { cursor: none; }

@media (max-width: 760px) and (orientation: portrait) {
  .hero.copy { top: 19%; width: 96vw; }
  .cover-kicker { margin-bottom: .75rem; letter-spacing: .16em; }
  .hero h1 { font-size: clamp(1.85rem, 10.3vw, 4.9rem); white-space: nowrap; }
  .cover-note { margin-top: .75rem; font-size: .9rem; letter-spacing: .045em; }
  .space-astronaut { top: 58%; width: min(113vw, 68vh); }
  .space-horizon { object-position: 68% 74%; }
  .movie--intro::after { background: linear-gradient(0deg, #050b17 1%, rgb(5 10 23 / 65%) 11%, transparent 33%); }
}

@media (max-height: 650px) and (orientation: portrait) {
  .hero.copy { top: 17%; }
  .space-astronaut { top: 58%; width: min(113vw, 62vh); }
}

@media (max-height: 560px) and (orientation: landscape) {
  .hero.copy { top: 17.5%; }
  .cover-kicker { margin-bottom: .35rem; font-size: .62rem; }
  .hero h1 { font-size: clamp(2.2rem, 12vh, 4.4rem); }
  .cover-note { margin-top: .45rem; font-size: .8rem; }
  .space-astronaut { top: 64%; width: 66vh; }
  .cover-next { bottom: .65rem; min-height: 2.3rem; padding-block: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .portrait .media { transform: none; }
}
