/* Vancouver homepage hero. */
.home-page .hero {
  --hero-shade-left: rgba(5, 22, 42, .90);
  --hero-shade-right: rgba(5, 22, 42, .75);
  --hero-shade-bottom: rgba(5, 21, 40, .35);
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(580px, calc(100svh - 135px), 760px);
  padding-block: clamp(84px, 8vw, 125px);
  background: #102941 url('assets/hero-vancouver-poster.jpg') center 54% / cover no-repeat;
}

.home-page .hero::before {
  display: block;
  z-index: 0;
  background:
    linear-gradient(90deg, var(--hero-shade-left), var(--hero-shade-right)),
    linear-gradient(0deg, var(--hero-shade-bottom), transparent 50%);
  -webkit-mask-image: none;
  mask-image: none;
}

.home-page .hero-film {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-page .hero-film video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 54%;
}

.home-page .hero .hero-dots { z-index: 0; opacity: .22; }
.home-page .hero .hero-inner { z-index: 1; width: 100%; }
.home-page .hero .hero-sub {
  color: #fff;
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .65);
}
.home-page .hero-video-card { box-shadow: 0 18px 54px rgba(0, 8, 20, .32); }
.home-page .hero-video-figure figcaption { color: rgba(255, 255, 255, .9); }

.home-page .hero-motion-toggle {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100vw - 1240px) / 2));
  right: auto;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 4px;
  background: rgba(4, 20, 39, .58);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.home-page .hero-motion-toggle[hidden] { display: none; }
.home-page .hero-motion-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 760px) {
  .home-page .hero {
    min-height: 0;
    padding-block: 58px 82px;
    background-position: center;
  }
  .home-page .hero::before {
    background: linear-gradient(180deg, var(--hero-shade-left), var(--hero-shade-right) 58%, var(--hero-shade-left));
  }
  .home-page .hero-film video { object-position: 55% center; }
  .home-page .hero-motion-toggle { left: 24px; right: auto; bottom: 20px; }
}

@media not all and (min-width: 768px) {
  .home-page .hero-film,
  .home-page .hero-motion-toggle { display: none; }

  .home-page .hero .hero-ctas {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .home-page .hero .hero-ctas .btn:not(.hero-cta-tertiary) {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    height: 52px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .home-page .hero .hero-ctas .hero-cta-tertiary { display: none; }

  .home-page.mobile-hero-controls:not(.mobile-hero-passed) .mobile-booking-bar,
  .home-page.mobile-hero-controls:not(.mobile-hero-passed) .finexa-assistant {
    display: none;
  }
}
