.hero-cinema__ghost,
.hero-cinema__reticle,
.hero-cinema__meter,
.hero-curtain,
.hero-curtain span {
  position: absolute;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 5;
}

.hero-cinema {
  z-index: 0;
}

.hero-cinema__ghost {
  right: -0.035em;
  top: 8%;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(9rem, 21vw, 27rem);
  font-weight: 950;
  line-height: .72;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(236, 236, 234, .14);
  opacity: .34;
  mix-blend-mode: screen;
  transform: rotate(-90deg) translateY(58%);
  transform-origin: right top;
}

.hero-cinema__reticle {
  right: clamp(18px, 3.4vw, 64px);
  top: 50%;
  width: clamp(76px, 8vw, 138px);
  aspect-ratio: 1;
  border: 1px solid rgba(236, 236, 234, .25);
  border-radius: 50%;
  opacity: .62;
  mix-blend-mode: screen;
}

.hero-cinema__reticle::before,
.hero-cinema__reticle::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  background: rgba(230, 25, 25, .86);
  box-shadow: 0 0 18px rgba(230, 25, 25, .68);
  transform: translate(-50%, -50%);
}

.hero-cinema__reticle::before {
  width: 142%;
  height: 1px;
}

.hero-cinema__reticle::after {
  width: 1px;
  height: 142%;
}

.hero-cinema__meter {
  right: clamp(18px, 2vw, 38px);
  bottom: clamp(30px, 5vh, 72px);
  width: 3px;
  height: min(26vh, 220px);
  overflow: hidden;
  background: rgba(236, 236, 234, .12);
}

.hero-cinema__meter::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 64%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(230, 25, 25, .8);
  transform-origin: bottom;
}

.hero-curtain {
  inset: 0;
  z-index: 9;
  overflow: hidden;
}

.hero-curtain span {
  left: 0;
  width: 100%;
  height: calc(50% + 1px);
  background: #050607;
  animation: curtainFallback 900ms cubic-bezier(.76, 0, .24, 1) 260ms forwards;
}

.hero-curtain span:first-child {
  top: 0;
  transform-origin: top;
}

.hero-curtain span:last-child {
  bottom: 0;
  transform-origin: bottom;
}

.gsap-cinema .hero-curtain span,
.gsap-cinema .hero-logo-plate,
.gsap-cinema .system-strip span,
.gsap-cinema .hero h1,
.gsap-cinema .hero .lead,
.gsap-cinema .hero-actions,
.gsap-cinema .hero-launches,
.gsap-cinema .cover-node {
  animation: none !important;
}

.gsap-cinema .hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.gsap-cinema .hero-bg {
  will-change: transform, filter, opacity;
}

.gsap-cinema .hero-heading-line {
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform, clip-path, opacity;
}

@media (min-width: 1121px) {
  .gsap-cinema .hero h1 {
    font-size: clamp(4.2rem, 6vw, 6.7rem);
  }
}

.gsap-cinema .hero-copy::before {
  transform-origin: top;
  will-change: transform;
}

.gsap-cinema .cover-node {
  will-change: transform, opacity;
}

.gsap-cinema .hero-cinema__beam,
.gsap-cinema .hero-cinema__reticle,
.gsap-cinema .hero-cinema__ghost {
  will-change: transform, opacity;
}

@keyframes curtainFallback {
  to { transform: scaleY(0); }
}

@media (min-width: 861px) and (max-height: 950px) {
  .hero {
    min-height: calc(100dvh - 16px);
  }

  .hero-launches a {
    min-height: 82px;
  }
}

@media (max-width: 860px) {
  .gsap-cinema .hero-launches {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(178px, 42vw);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .gsap-cinema .hero-launches::-webkit-scrollbar {
    display: none;
  }

  .gsap-cinema .hero-launches a {
    min-height: 82px;
    scroll-snap-align: start;
  }

  .hero-cinema__ghost {
    right: -.12em;
    top: 20%;
    font-size: clamp(8rem, 48vw, 14rem);
    opacity: .18;
  }

  .hero-cinema__reticle {
    right: -32px;
    top: 40%;
    width: 88px;
    opacity: .3;
  }

  .hero-cinema__meter {
    right: 10px;
    bottom: 24px;
    height: 120px;
  }
}

@media (max-width: 560px) {
  .gsap-cinema .hero {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .gsap-cinema .hero-logo-plate {
    width: 92px;
    margin-top: 16px;
    margin-bottom: 14px;
  }

  .gsap-cinema .hero-kicker {
    display: none;
  }

  .gsap-cinema .hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.2rem);
  }

  .gsap-cinema .hero .lead {
    margin-top: 14px;
    font-size: .95rem;
    line-height: 1.48;
  }

  .gsap-cinema .hero-actions {
    margin-top: 16px;
  }

  .gsap-cinema .hero-actions .button {
    min-height: 46px;
  }

  .gsap-cinema .hero-launches {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-curtain {
    display: none;
  }

  .hero-cinema__ghost,
  .hero-cinema__reticle,
  .hero-cinema__meter {
    transform: none;
    animation: none;
  }
}
