/* Editable styles from the published Hactually site. */
.scroll-site {
  position: relative;
  overflow: visible;
}

.video-scroll {
  --split-progress: 0;
  --handoff-progress: 0;
  position: relative;
  height: 175svh;
  background: var(--ink);
}

.video-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.video-stage .hero-video {
  z-index: -3;
  filter: saturate(.78) contrast(1.06) brightness(.72);
  opacity: calc(1 - var(--handoff-progress));
  will-change: opacity;
}

.video-stage .hero-wash {
  z-index: -2;
  opacity: calc(1 - var(--handoff-progress));
  will-change: opacity;
}

.video-stage .hero-copy {
  z-index: 2;
  pointer-events: none;
}

.hero-line {
  display: block;
  opacity: calc(1 - var(--split-progress));
  will-change: transform,opacity;
}

.hero-line-dubai {
  transform: translateX(calc(var(--split-progress) * -82vw));
}

.hero-line-question {
  color: var(--cream) !important;
  transform: translateX(calc(var(--split-progress) * 82vw));
}

.tunnel-content {
  position: absolute;
  inset: 0;
  z-index: 6;
  min-height: 0;
  padding: max(48px,env(safe-area-inset-top)) clamp(20px,7vw,112px) max(34px,env(safe-area-inset-bottom));
  opacity: 0;
  transform: scale(.985);
  pointer-events: none;
  background: radial-gradient(circle at 50% 17%,rgba(244,235,223,.24),transparent 27%),linear-gradient(180deg,#28222d 0%,#5b414d 43%,#b97873 71%,#f3c3ae 100%);
  transition: opacity .55s ease,transform .7s cubic-bezier(.2,.76,.2,1);
}

.tunnel-content>h2 {
  font-size: clamp(48px,min(8.25vw,12.75dvh),120px);
  line-height: .88;
}

.tunnel-content .waitlist-form {
  margin-top: clamp(28px,5vh,54px);
}

.tunnel-content .waitlist-form label span {
  font-size: 12px;
  letter-spacing: .08em;
}

.tunnel-content .waitlist-form button {
  font-size: 14px;
  padding-inline: 24px;
}

@media (max-width:650px) {
  .video-scroll {
    height: 175svh;
  }

  .tunnel-content {
    padding: 56px 20px;
  }

  .tunnel-content>h2 {
    font-size: clamp(42px,min(13.5vw,9dvh),67.5px);
  }

  .tunnel-content .waitlist-form {
    max-width: 420px;
    gap: 8px;
  }

  .tunnel-content .waitlist-form label {
    padding: 10px 16px;
  }

  .tunnel-content .waitlist-form button {
    min-height: 52px;
  }

}

@media (max-height:680px) {
  .tunnel-content {
    justify-content: flex-start;
    overflow-y: auto;
    padding-top: 42px;
  }

  .tunnel-content>h2 {
    font-size: clamp(42px,11.5vh,76px);
  }

  .tunnel-content .waitlist-form {
    margin-top: 22px;
  }

}

@media (prefers-reduced-motion:reduce) {
  .video-scroll {
    height: 100svh;
  }

  .tunnel-content {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
    background: linear-gradient(180deg,rgba(40,34,45,.9),rgba(185,120,115,.94),rgba(243,195,174,.96));
  }

}

