.home-video .masthead { color: #fff; }
.home-video .masthead .logo img { filter: brightness(0) invert(1); }
.home-video .masthead nav { color: #141512; }

.home-video .video-cover .hero-runway { height: auto; }
.video-cover .hero-stage {
  position: relative;
  height: 100svh;
  min-height: 400px;
  align-content: center;
  text-align: center;
  color: #fff;
  background: #14262b url("assets/creba-cover-1440.webp") center / cover no-repeat;
}
.cover-film, .video-cover .hero-stage::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cover-film { object-fit: cover; }
.video-cover .hero-stage::after {
  content: "";
  background: linear-gradient(180deg, #0a151c82, #0a151c37 36%, #0a151c44 68%, #0a151ca3);
  pointer-events: none;
}
.video-cover .hero-type { transform: none; z-index: 1; pointer-events: none; }
.video-cover .hero-type .eyebrow { display: block; margin-bottom: clamp(20px, 5svh, 45px); }
.video-cover .hero-stage h1 {
  font-size: clamp(70px, min(17vw, 29svh), 275px);
  line-height: .82;
}
.video-cover .hero-stage h1 img {
  width: min(100%, 3.23em);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 2px 18px #08131835);
}
.video-cover .scroll-icon { border-color: #fff9; }
.cover-film-toggle {
  position: absolute;
  z-index: 3;
  bottom: 26px;
  left: var(--gutter);
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid #fff8;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: 400 10px/1.3 Inter, Arial, sans-serif;
}

.helicopter-intro {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  align-items: center;
  min-height: 92svh;
  padding: clamp(65px, 10vw, 150px) var(--gutter);
}
.helicopter-picture {
  position: absolute;
  inset: 50% auto auto 0;
  width: min(49vw, 110svh, 1140px);
  translate: 0 -50%;
  transform: scale(var(--helicopter-scale, 1));
  transform-origin: left center;
  pointer-events: none;
}
.helicopter-picture img {
  height: auto;
  scale: -1 1;
  mask-image: linear-gradient(to right, transparent, #000 21%),
    linear-gradient(to bottom, #000 49%, transparent 87%);
  mask-composite: intersect;
}
.helicopter-intro .hero-intro {
  position: relative;
  z-index: 1;
  width: min(47vw, 850px);
  min-height: auto;
  margin: 0;
  padding: 0;
  justify-self: end;
  justify-items: end;
  text-align: right;
}
.helicopter-intro h2 { font-size: clamp(54px, 7.4vw, 116px); }
.helicopter-intro .hero-intro p { max-width: 56ch; margin-inline: 0; }
.stay-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 37rem);
  margin-top: clamp(28px, 4vw, 48px);
}
.stay-paths .text-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 12px 12px;
  border-bottom: 0;
  text-align: center;
}
.stay-paths .text-link + .text-link { border-inline-start: 1px solid #1c282525; }
.stay-paths .section-icon { --icon-size: clamp(52px, 5vw, 72px); }
.stay-paths .text-link:is(:hover, :focus-visible) .stay-path-label {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.stay-paths .text-link:focus-visible { outline-offset: -2px; }

@media (prefers-reduced-motion: no-preference) {
  .motion .helicopter-picture:not(.seen) img { opacity: 0; }
  .motion .helicopter-picture.seen img { animation: helicopter-appear 1.3s ease-out both; }
}

@keyframes helicopter-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 760px) {
  .helicopter-intro { min-height: 0; gap: 24px; padding-block: 62px 16px; }
  .helicopter-intro .hero-intro { grid-row: 1; width: 100%; }
  .helicopter-picture {
    position: relative;
    inset: auto;
    width: min(86vw, 100% + var(--gutter));
    margin-left: calc(-1 * var(--gutter));
    translate: 0;
  }
  .helicopter-intro h2 { font-size: clamp(49px, 11vw, 76px); }
  .stay-paths { grid-template-columns: 1fr; }
  .stay-paths .text-link {
    flex-direction: row;
    gap: 12px;
    padding: 6px 8px;
    text-align: start;
  }
  .stay-paths .text-link + .text-link {
    border-inline-start: 0;
    border-block-start: 1px solid #1c282525;
  }
  .stay-paths .section-icon { --icon-size: 46px; }
  .video-cover .scroll-link { bottom: 61px; }
  .cover-film-toggle { left: 50%; translate: -50% 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .home-video .masthead > *,
  .video-cover :is(.hero-type .eyebrow, .hero-caption, .cover-film-toggle, .scroll-link) {
    animation: cover-fade-in 1.75s ease-out both;
  }
  .home-video .masthead > .logo { animation-delay: .10s; }
  .home-video .masthead > .location { animation-delay: .68s; }
  .home-video .masthead > .menu { animation-delay: 1.26s; }
  .video-cover .hero-type .eyebrow { animation-delay: 1.84s; }
  .video-cover .hero-caption { animation-delay: 2.42s; }
  .video-cover .scroll-link { animation-delay: 3s; }
  .video-cover .cover-film-toggle { animation-delay: 3.58s; }
  .home-video .masthead > :focus-within,
  .video-cover :is(.cover-film-toggle, .scroll-link):focus-visible { animation: none; }
}

@keyframes cover-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

