.home-scene-page {
  min-height: 100svh;
}

.home-scene,
.home-scene__stage {
  min-height: 100svh;
}

.home-scene__stage {
  position: relative;
  overflow: hidden;
  background: #090909;
  --scene-focus-x: 50%;
  --scene-focus-y: 50%;
  --scene-focus-scale: 1;
}

.home-scene__backdrop,
.home-scene__panorama,
.home-scene__desktop-layer {
  position: absolute;
  inset: 0;
}

.home-scene__panorama {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34)),
    var(--home-scene-image);
  background-position: center;
  background-size: cover;
  transform-origin: var(--scene-focus-x) var(--scene-focus-y);
  transform: scale(var(--scene-focus-scale));
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 360ms ease;
  filter: saturate(1.02) contrast(1.02);
}

.home-scene__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.44) 88%);
  pointer-events: none;
}

.home-slogan {
  position: absolute;
  left: clamp(28px, 5vw, 56px);
  bottom: clamp(28px, 4vw, 52px);
  z-index: 4;
  color: #fff;
  opacity: 0;
  animation: home-slogan-fade 2200ms ease 1.2s forwards;
}

.home-slogan__year {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.home-slogan__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

@keyframes home-slogan-fade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.scene-hotspot {
  position: absolute;
  z-index: 5;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.16),
    0 0 22px rgba(255, 255, 255, 0.72);
}

.scene-hotspot::before,
.scene-hotspot::after {
  content: "";
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  animation: hotspot-pulse 2400ms infinite;
}

.scene-hotspot::after {
  animation-delay: 1200ms;
}

@keyframes hotspot-pulse {
  0% {
    width: 18px;
    height: 18px;
    opacity: 0.56;
  }

  100% {
    width: 88px;
    height: 88px;
    opacity: 0;
  }
}

.scene-panel[hidden] {
  display: none;
}

.scene-panel {
  position: absolute;
  z-index: 6;
  width: min(360px, calc(100vw - 48px));
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(6, 6, 6, 0.58);
  color: #fff;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(22px);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
}

.scene-panel.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scene-panel__eyebrow {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scene-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.scene-panel__text {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.scene-panel__link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
}

.home-mobile-storybook {
  display: none;
}

@media (max-width: 1100px) {
  .home-scene__desktop-layer {
    display: none;
  }

  .home-mobile-storybook {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .home-mobile-storybook::-webkit-scrollbar {
    display: none;
  }

  .home-mobile-storybook__slide {
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 100svh;
    scroll-snap-align: start;
    display: flex;
    align-items: flex-end;
    padding: 18px 14px 22px;
  }

  .home-mobile-story {
    width: min(320px, calc(100vw - 28px));
    padding: 18px 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(9, 9, 9, 0.58);
    color: #fff;
    backdrop-filter: blur(18px);
  }

  .home-mobile-story__eyebrow {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .home-mobile-story__title {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(1.7rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1.06;
  }

  .home-mobile-story__text {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .home-mobile-story__progress {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24px, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  .home-mobile-story__progress-bar {
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
  }

  .home-mobile-story__progress-bar.is-active {
    background: rgba(255, 255, 255, 0.92);
  }

  .home-mobile-story__link {
    display: inline-flex;
    margin-top: 14px;
    color: #fff;
    font-weight: 600;
  }
}
