/* Independent entry scene. No existing page palette or layout is overridden. */
html.follow-intro-pending,
html.follow-intro-pending body {
  background: #030406;
}
.follow-intro-pending #app {
  visibility: hidden;
}
.follow-intro {
  outline:none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #030406;
  overflow: hidden;
  isolation: isolate;
  touch-action: manipulation;
}
.follow-intro:before {
  content: "";
  position: absolute;
  inset: -4px;
  pointer-events: none;
  background: url("/follow/assets/assets/intro/grain.png") repeat;
  background-size: 128px 128px;
  opacity: 0.022;
  /* Rasterized tile: no SVG filter-region seams at fractional zoom.
     Overscan is clipped by the intro, without moving the scene itself. */
}
.follow-intro-planets {
  position: absolute;
  inset: -4px;
  pointer-events: none;
  mix-blend-mode: screen;
  /* Spatial fog fades the inward-facing limbs into a clean dark center. */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000e 15%, transparent 39%, transparent 61%, #000e 85%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000e 15%, transparent 39%, transparent 61%, #000e 85%, #000 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.follow-intro-planet-stage {
  position: absolute;
  inset: 4px;
  /* Preserve the original viewport coordinate system for every animation.
     Only the composited mask boundary extends outside the visible crop. */
}
.follow-intro-planet {
  position: absolute;
  max-width: none;
  aspect-ratio: 1;
  opacity: 0;
  pointer-events: none;
  user-select: none;
}
.follow-intro-planet-surface { position: relative; width: 100%; height: 100%; }
.follow-intro-planet-surface img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  /* Preserve true black: contrast below 1 lifted the rectangular image
     background to gray, exposed by screen blending. Match the old highlights. */
  filter: saturate(0.82) brightness(0.873) blur(var(--planet-blur, 1.15px));
  /* Fade the square source perimeter as well as the inward-facing limb. */
  -webkit-mask-image: radial-gradient(ellipse, #000 57%, #000e 64%, transparent 73%);
  mask-image: radial-gradient(ellipse, #000 57%, #000e 64%, transparent 73%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.follow-intro-planet-surface:after {
  content: "";
  position: absolute;
  inset: 4.5%;
  border-radius: 50%;
  box-shadow: 0 0 19px 3px rgba(207, 173, 124, var(--planet-glow));
  filter: blur(5px);
  pointer-events: none;
}
.follow-intro-planet--earth .follow-intro-planet-surface:after {
  box-shadow: 0 0 17px 2px rgba(104, 151, 196, var(--planet-glow));
}
.follow-intro-planet--saturn .follow-intro-planet-surface:after { inset: 23% 25% 28%; }
.follow-intro-planet--left {
  width: min(112vh, 88vw);
  left: calc(min(112vh, 88vw) * -0.72);
  top: 50%;
  margin-top: calc(min(112vh, 88vw) * -0.47);
}
.follow-intro-planet--saturn {
  width: min(160vh, 120vw);
  left: calc(min(160vh, 120vw) * -0.655);
  margin-top: calc(min(160vh, 120vw) * -0.47);
}
.follow-intro-planet--earth {
  width: min(88vh, 72vw);
  right: calc(min(88vh, 72vw) * -0.73);
  top: 48%;
  margin-top: calc(min(88vh, 72vw) * -0.5);
}
@media (max-width: 760px) {
  .follow-intro-planet--left {
    width: 110vw;
    left: -84vw;
    top: 36%;
    margin-top: -55vw;
  }
  .follow-intro-planet--saturn {
    width: 150vw;
    left: -100vw;
    margin-top: -75vw;
  }
  .follow-intro-planet--earth {
    width: 95vw;
    right: -72vw;
    top: 60%;
    margin-top: -47.5vw;
  }
}
.follow-intro-stars {
  position: absolute;
  inset: -2%;
  opacity: var(--intro-star-opacity, 0.25);
  animation: follow-star-drift 35s ease-in-out infinite alternate;
  pointer-events: none;
}
.follow-intro-stars i {
  position: absolute;
  width: 1px;
  height: 1px;
  background: #c9d1e0;
  border-radius: 50%;
  box-shadow: 0 0 3px #bcc9df36;
}
.follow-intro-stars i.distant {
  width: 2px;
  height: 2px;
  filter: blur(0.35px);
}
.follow-intro-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 180px;
  margin: -90px 0 0 -90px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  background: radial-gradient(
    ellipse at 48% 49%,
    rgba(var(--intro-light), 0.94) 0%,
    rgba(var(--intro-light), 0.67) 2%,
    rgba(var(--intro-light), 0.24) 6%,
    rgba(var(--intro-light), 0.07) 16%,
    rgba(var(--intro-light), 0.018) 37%,
    transparent 68%
  );
  filter: blur(1.7px);
}
.follow-intro-orb:before {
  content: "";
  position: absolute;
  inset: 25%;
  background: radial-gradient(
    ellipse at 44% 53%,
    rgba(var(--intro-light), 0.15),
    transparent 67%
  );
  transform: rotate(-23deg) scale(2.3, 0.65);
  filter: blur(5px);
}
.follow-intro-enter {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(450px, 94vw);
  height: 280px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent !important;
  box-shadow: none;
  color: #e9edf5;
  font:
    400 13px/1.6 ui-sans-serif,
    "Segoe UI",
    sans-serif;
  letter-spacing: 2.1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  transition: none;
  outline-offset: 8px;
  -webkit-tap-highlight-color: transparent;
}
.follow-intro-enter:hover,
.follow-intro-enter:active {
  background: transparent;
  transform: translate(-50%, -50%);
}
.follow-intro-enter:focus-visible {
  outline: 1px solid #a9b3c52b;
}
.follow-intro-text {
  display: block;
  margin-top: 125px;
  opacity: 0;
  transform: translateY(9px);
  filter: blur(4px);
  text-shadow: 0 0 13px #edf1ff32;
  transition:
    opacity 0.85s ease,
    transform 0.85s ease,
    filter 0.85s ease;
}
.follow-intro-underline {
  display: block;
  width: 180px;
  max-width: 55%;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(
    90deg,
    transparent,
    #b9c4d9b5 35%,
    #f0f4ffda 50%,
    #b9c4d9b5 65%,
    transparent
  );
  box-shadow: 0 0 7px #ccd9fc38;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition:
    transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s,
    opacity 0.6s ease 0.15s;
}
.follow-intro.is-ready .follow-intro-text {
  opacity: 0.88;
  transform: translateY(0);
  filter: blur(0);
}
.follow-intro.is-ready .follow-intro-underline {
  opacity: 0.8;
  transform: scaleX(1);
}
.follow-intro.is-exiting .follow-intro-enter {
  pointer-events: none;
}
.follow-intro.is-exiting .follow-intro-text,
.follow-intro.is-exiting .follow-intro-underline {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.follow-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 340px;
  height: 340px;
  z-index: 45;
  pointer-events: none !important;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(
    ellipse at 48% 50%,
    rgba(var(--follow-cursor-color, 202, 107, 52), 0.14),
    rgba(var(--follow-cursor-color, 202, 107, 52), 0.055) 28%,
    rgba(var(--follow-cursor-color, 202, 107, 52), 0.015) 48%,
    transparent 70%
  );
  transition: opacity 0.3s;
  will-change: transform;
}
@keyframes follow-star-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0.4%, -0.35%, 0);
  }
}
@media (max-width: 760px) {
  .follow-intro-orb {
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
  }
  .follow-intro-enter {
    font-size: 11px;
    letter-spacing: 1.65px;
  }
  .follow-intro-text {
    margin-top: 110px;
  }
  .follow-intro-stars {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .follow-intro-planet,
  .follow-intro-stars,
  .follow-intro-orb {
    animation: none !important;
  }
  .follow-intro-text,
  .follow-intro-underline {
    transition: none;
  }
  .follow-cursor-glow {
    display: none;
  }
}
