:root {
  --nav-top: clamp(1.25rem, 4vw, 2.75rem);
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.28);
  --text: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.72);
}

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

html {
  scroll-behavior: smooth;
}

body.media-loading {
  overflow: hidden;
}

/* —— Full-screen media preload gate —— */
.media-load {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: radial-gradient(ellipse 120% 80% at 50% 40%, #1a1a22 0%, #000 55%);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.media-load--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.media-load__panel {
  width: min(22rem, 100%);
  text-align: center;
}

.media-load__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
}

.media-load__headphones {
  margin: 0 0 1.35rem;
  font-size: clamp(0.8125rem, 2.2vw, 0.9375rem);
  line-height: 1.45;
  color: var(--muted);
}

.media-load__bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.media-load__bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.85));
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
  transition: width 0.35s ease;
}

.media-load__status {
  margin: 0;
  font-size: clamp(0.6875rem, 1.8vw, 0.75rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.45);
}

body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "SF Pro Display",
    "Helvetica Neue",
    Helvetica,
    Arial,
    ui-sans-serif,
    sans-serif;
  background: #000;
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.scroll-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  scroll-margin-top: calc(var(--nav-top) + 4.25rem);
}

#page-1,
#page-2,
#page-3 {
  scroll-margin-top: calc(var(--nav-top) + 4.25rem);
}

.site-footer {
  scroll-margin-top: calc(var(--nav-top) + 4rem);
}

.site-footer--bar {
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__bar {
  margin: 0 auto;
  max-width: min(100%, 72rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.25rem 0.45rem;
  font-size: clamp(0.5625rem, 1.65vw, 0.6875rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
}

@media (min-width: 900px) {
  .site-footer__bar {
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .site-footer__bar::-webkit-scrollbar {
    display: none;
  }
}

.site-footer__bar-sep {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

.site-footer__bar-part {
  color: rgba(255, 255, 255, 0.38);
}

.site-footer__bar-link {
  color: rgba(255, 255, 255, 0.52);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.18);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.site-footer__bar-link:hover,
.site-footer__bar-link:focus-visible {
  color: rgba(255, 255, 255, 0.82);
  text-decoration-color: rgba(255, 255, 255, 0.4);
  outline: none;
}

.site-footer__bar-link--mono {
  font-variant-numeric: tabular-nums;
}

.page-bridge--p1-p2 {
  min-height: 32vh;
  width: 100%;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 35%,
    #000 92%
  );
}

.page-bridge--p2-p3 {
  min-height: 28vh;
  width: 100%;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 38%,
    #000 94%
  );
}

/* ——— Side drawer: menu bottom-left + audio bottom-right (same faded FAB style) ——— */
.side-nav__toggle {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: max(0.75rem, env(safe-area-inset-left));
  z-index: 9998;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.58);
  opacity: 0.4;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

.side-nav__toggle:hover,
.side-nav__toggle:focus-visible {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.82;
  outline: none;
}

.side-nav__toggle-bars {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin: 0 auto;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.side-nav__overlay {
  position: fixed;
  inset: 0;
  z-index: 10004;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.side-nav__overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10005;
  width: min(18.5rem, 88vw);
  height: 100dvh;
  height: 100vh;
  padding: calc(var(--nav-top) + 0.5rem) 1.1rem 1.5rem;
  padding-left: max(1.1rem, env(safe-area-inset-left));
  background: linear-gradient(165deg, rgba(22, 22, 28, 0.94) 0%, rgba(8, 8, 12, 0.98) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.45);
  transform: translateX(-105%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.side-nav.is-open {
  transform: translateX(0);
}

.side-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.side-nav__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.side-nav__close {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.side-nav__close:hover,
.side-nav__close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.side-nav__label {
  margin: 1rem 0 0.4rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.side-nav__label:first-of-type {
  margin-top: 0;
}

.side-nav__link {
  display: block;
  padding: 0.55rem 0.35rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.side-nav__link:hover,
.side-nav__link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.side-nav__audio {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.side-nav__audio-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 0.5rem;
}

.side-nav__mute {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.side-nav__mute:hover,
.side-nav__mute:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.side-nav__mute-icon {
  display: flex;
  flex-shrink: 0;
}

.side-nav__mute-icon--off {
  display: none;
}

.side-nav__mute.is-muted .side-nav__mute-icon--on {
  display: none;
}

.side-nav__mute.is-muted .side-nav__mute-icon--off {
  display: flex;
}

.side-nav__mute-text {
  font-size: 0.8125rem;
  font-weight: 500;
}

.audio-fab {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom));
  right: max(0.75rem, env(safe-area-inset-right));
  z-index: 9998;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  opacity: 0.4;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

.audio-fab:hover,
.audio-fab:focus-visible {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.82;
  outline: none;
}

.audio-fab__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.audio-fab__icon--off {
  display: none;
}

.audio-fab.is-muted .audio-fab__icon--on {
  display: none;
}

.audio-fab.is-muted .audio-fab__icon--off {
  display: flex;
}

body.side-nav-open {
  overflow: hidden;
}

/* ——— Nav: one horizontal row, main pill + detached glowing credit ——— */
.glass-nav-stack {
  position: fixed;
  top: var(--nav-top);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  width: min(96vw, 38rem);
  padding: 0 env(safe-area-inset-right, 0) 0 env(safe-area-inset-left, 0);
  pointer-events: none;
}

.glass-nav-stack .glass-nav-row {
  pointer-events: auto;
}

.glass-nav-row {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.65rem;
}

.glass-nav {
  padding: 0.35rem 0.35rem 0.35rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.14) 100%
  );
  border: 1px solid var(--glass-border);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.glass-nav--main {
  flex: 1 1 auto;
  min-width: min(100%, 14rem);
  max-width: 100%;
}

.glass-nav--main .glass-nav__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.08rem 0.2rem;
  justify-content: center;
}

.glass-nav__link {
  color: var(--text);
  text-decoration: none;
  font-size: clamp(0.7rem, 2.4vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.45rem clamp(0.45rem, 1.8vw, 0.65rem);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.glass-nav__link:hover,
.glass-nav__link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

/* Detached credit — faded label, glow still visible; hover / focus / active: full + bold */
.glass-nav--credit {
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.95rem;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
  overflow: visible;
  animation: glass-pill-glow-shadow-credit 3s ease-in-out infinite;
}

.glass-nav--credit__label {
  position: relative;
  z-index: 2;
  font-size: clamp(0.68rem, 2.2vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: none;
  opacity: 0.48;
  transition: opacity 0.35s ease, font-weight 0.2s ease, color 0.25s ease;
  color: rgba(255, 255, 255, 0.82);
}

.glass-nav--credit:hover .glass-nav--credit__label,
.glass-nav--credit:focus-visible .glass-nav--credit__label,
.glass-nav--credit:active .glass-nav--credit__label {
  opacity: 1;
  font-weight: 700;
  color: #fff;
}

.glass-nav--credit:hover,
.glass-nav--credit:focus-visible {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.18) 100%
  );
  outline: none;
}

.glass-nav--credit .glass-pill-glow__ring {
  opacity: 0.5;
  animation: glass-pill-glow-ring-credit 3s ease-in-out infinite;
  border-color: rgba(255, 255, 255, 0.28);
}

.glass-nav--credit .glass-pill-glow__bloom {
  opacity: 0.42;
  animation: glass-pill-glow-bloom-credit 3s ease-in-out infinite;
}

.glass-nav--credit:hover .glass-pill-glow__ring,
.glass-nav--credit:focus-visible .glass-pill-glow__ring,
.glass-nav--credit:active .glass-pill-glow__ring {
  opacity: 0.88;
  border-color: rgba(255, 255, 255, 0.45);
}

.glass-nav--credit:hover .glass-pill-glow__bloom,
.glass-nav--credit:focus-visible .glass-pill-glow__bloom,
.glass-nav--credit:active .glass-pill-glow__bloom {
  opacity: 0.78;
}

.glass-pill-glow__ring {
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  opacity: 0.85;
  animation: glass-pill-glow-ring 2.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.glass-pill-glow__bloom {
  position: absolute;
  inset: -14px;
  border-radius: 999px;
  background: radial-gradient(
    ellipse 80% 100% at 50% 50%,
    rgba(200, 230, 255, 0.38) 0%,
    rgba(180, 200, 255, 0.14) 40%,
    transparent 72%
  );
  filter: blur(10px);
  opacity: 0.78;
  animation: glass-pill-glow-bloom 2.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.glass-pill-glow__ring--btn {
  inset: -2px;
}

.glass-pill-glow__bloom--btn {
  inset: -12px;
}

@keyframes glass-pill-glow-shadow {
  0%,
  100% {
    box-shadow:
      0 0 18px rgba(200, 220, 255, 0.22),
      0 0 40px rgba(160, 190, 255, 0.1),
      0 12px 40px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.38);
  }
  50% {
    box-shadow:
      0 0 32px rgba(220, 235, 255, 0.5),
      0 0 56px rgba(180, 210, 255, 0.26),
      0 14px 44px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.48);
  }
}

@keyframes glass-pill-glow-ring {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes glass-pill-glow-bloom {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.92;
    transform: scale(1.06);
  }
}

@keyframes glass-pill-glow-shadow-credit {
  0%,
  100% {
    box-shadow:
      0 0 14px rgba(200, 220, 255, 0.14),
      0 0 32px rgba(160, 190, 255, 0.06),
      0 10px 28px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }
  50% {
    box-shadow:
      0 0 24px rgba(220, 235, 255, 0.32),
      0 0 44px rgba(180, 210, 255, 0.14),
      0 12px 32px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }
}

@keyframes glass-pill-glow-ring-credit {
  0%,
  100% {
    opacity: 0.38;
    transform: scale(1);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.02);
  }
}

@keyframes glass-pill-glow-bloom-credit {
  0%,
  100% {
    opacity: 0.32;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.58;
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass-pill-glow,
  .glass-nav--credit,
  .glass-btn--glow,
  .glass-pill-glow__ring,
  .glass-pill-glow__bloom {
    animation: none;
  }

  .glass-pill-glow__bloom,
  .glass-pill-glow__bloom--btn {
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ——— Pages ——— */
.page {
  position: relative;
  width: 100%;
}

/* Page 1 */
.page--video {
  min-height: 520vh;
}

.page--video__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #030303;
}

.page--video__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.page--video__el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.page--video__blur-layer {
  --v-blur: 0px;
  --v-dim: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  backdrop-filter: blur(var(--v-blur));
  -webkit-backdrop-filter: blur(var(--v-blur));
  background: rgba(0, 0, 0, var(--v-dim));
}

.page--video__exit-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    to top,
    #000 0%,
    rgba(0, 0, 0, 0.88) 22%,
    rgba(0, 0, 0, 0.4) 48%,
    transparent 78%
  );
}

.page--video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 2rem;
  pointer-events: none;
  z-index: 3;
}

.page--video__quote {
  margin: 0 0 1rem;
  max-width: 22rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.page--video__quote.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page--video__headline {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: lowercase;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.page--video__headline.is-visible {
  opacity: 1;
  transform: scale(1);
}

.scroll-hint__cues {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
}

.scroll-hint__cue {
  display: flex;
  margin-top: -0.55rem;
  animation: scroll-cue-stream 1.45s ease-in-out infinite;
  opacity: 0.85;
}

.scroll-hint__cue:first-child {
  margin-top: 0;
}

.scroll-hint__cue:nth-child(2) {
  animation-delay: 0.12s;
}

.scroll-hint__cue:nth-child(3) {
  animation-delay: 0.24s;
}

.scroll-hint__cue svg {
  display: block;
}

.page--video__hint {
  position: absolute;
  bottom: clamp(0.85rem, 3.5vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.page--video__hint.is-visible {
  opacity: 1;
}

.page--scene__exit-gradient {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    to top,
    #000 0%,
    rgba(0, 0, 0, 0.9) 24%,
    rgba(0, 0, 0, 0.42) 52%,
    transparent 80%
  );
}

.page--scene__hint {
  position: absolute;
  bottom: clamp(0.85rem, 3.5vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  margin: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.page--scene__hint.is-visible {
  opacity: 1;
}

.page--sky__exit-gradient {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    to top,
    #000 0%,
    rgba(0, 0, 0, 0.88) 30%,
    rgba(0, 0, 0, 0.38) 58%,
    transparent 82%
  );
}

.page--sky__hint {
  position: absolute;
  bottom: clamp(0.85rem, 3.5vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  margin: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.page--sky__hint.is-visible {
  opacity: 1;
}

.page--sky__hint--lower {
  bottom: clamp(4.5rem, 14vh, 7rem);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint__cue {
    animation: none;
    opacity: 0.65;
  }
}

@keyframes scroll-cue-stream {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  45% {
    opacity: 1;
  }
  100% {
    transform: translateY(11px);
    opacity: 0.25;
  }
}

/* Page 2 */
.page--scene {
  min-height: 400vh;
  background: #000;
  position: relative;
}

.page--scene::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(42vh, 280px);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.72) 45%, transparent 100%);
}

.page--scene__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
  z-index: 2;
}

.page--scene__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  perspective: 1400px;
  background: #000;
  opacity: 0;
  will-change: opacity, filter;
}

.page--scene__layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.page--scene__layer img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.page--scene__message {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 1rem);
  padding-top: calc(var(--nav-top) + 3rem);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.page--scene__message-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    ellipse 140% 120% at 50% 42%,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.82) 45%,
    rgba(0, 0, 0, 0.9) 100%
  );
  pointer-events: none;
}

.page--scene__message-text {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  max-width: min(100%, calc(100vw - 1.25rem));
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(0.65rem, 3.5vw, 2rem);
  box-sizing: border-box;
  text-align: center;
  font-size: clamp(1.75rem, 7vw, 4.35rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.9),
    0 4px 48px rgba(0, 0, 0, 0.65);
}

.page--scene__black-veil {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: #000;
  opacity: 0;
}

.page--scene__tail {
  min-height: 80vh;
  background: #000;
}

/* Page 3 */
.page--sky {
  min-height: 300vh;
  position: relative;
  background: #000;
}

.page--sky::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(50vh, 360px);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.65) 50%, transparent 100%);
}

.page--sky__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.page--sky__parallax {
  position: absolute;
  inset: -12% 0 -8% 0;
  will-change: transform;
}

.page--sky__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page--sky__scroll-reveal {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 1;
  background: linear-gradient(
    180deg,
    #000 0%,
    rgba(0, 0, 0, 0.82) 28%,
    rgba(0, 0, 0, 0.35) 58%,
    transparent 88%
  );
}

.page--sky__fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.92) 0%,
    transparent 38%,
    transparent 62%,
    rgba(0, 0, 0, 0.88) 100%
  );
  z-index: 5;
}

.page--sky__cta {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

.page--sky__cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.glass-btn {
  position: relative;
  cursor: pointer;
  font: inherit;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  overflow: visible;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-btn--glow {
  animation: glass-pill-glow-shadow 2.8s ease-in-out infinite;
}

.glass-btn:hover,
.glass-btn:focus-visible {
  transform: translateY(-2px) scale(1.02);
  outline: none;
}

.glass-btn--glow:hover,
.glass-btn--glow:focus-visible {
  box-shadow:
    0 16px 52px rgba(200, 220, 255, 0.2),
    0 16px 48px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.glass-btn:not(.glass-btn--glow):hover,
.glass-btn:not(.glass-btn--glow):focus-visible {
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.glass-btn__label {
  position: relative;
  z-index: 2;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
