.hns-home-hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: #080808;
  color: #fff;
}

@supports (height: 100svh) {
  .hns-home-hero-video {
    height: 100svh;
  }
}

.hns-home-hero-video *,
.hns-home-hero-video *::before,
.hns-home-hero-video *::after {
  box-sizing: border-box;
}

.hns-home-hero-video__media,
.hns-home-hero-video__poster,
.hns-home-hero-video__poster img,
.hns-home-hero-video__video,
.hns-home-hero-video__youtube {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hns-home-hero-video__poster img,
.hns-home-hero-video__video {
  object-fit: cover;
  object-position: center;
}

.hns-home-hero-video__youtube {
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hns-home-hero-video__youtube iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: max(100%, 177.78vh);
  height: max(100%, 56.25vw);
  border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hns-home-hero-video.is-video-ready .hns-home-hero-video__youtube {
  opacity: 1;
}

.hns-home-hero-video__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.04) 0, rgba(0, 0, 0, 0.22) 46%, rgba(0, 0, 0, 0.48) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.52) 100%);
  pointer-events: none;
}

.hns-home-hero-video__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(118px, 14vh, 170px) 24px 72px;
  text-align: center;
  transition: opacity 760ms ease, transform 760ms ease, visibility 760ms ease;
}

.hns-home-hero-video.is-content-hidden .hns-home-hero-video__content {
  visibility: hidden;
  opacity: 0;
  transform: translate3d(0, -10px, 0);
  pointer-events: none;
}

.hns-home-hero-video__logo {
  display: block;
  width: clamp(120px, 9.6vw, 156px);
  max-width: 45vw;
  height: auto;
  margin: 0 auto clamp(16px, 2.2vw, 30px);
  opacity: 0;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.28));
  transform: translate3d(0, 16px, 0) scale(0.96);
  animation: hns-home-hero-content-in 900ms cubic-bezier(0.2, 0.9, 0.25, 1) 120ms forwards;
}

.hns-home-hero-video__tagline {
  width: min(62vw, 760px);
  max-width: 94vw;
  margin: 0 auto;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  animation: hns-home-hero-content-in 800ms cubic-bezier(0.2, 0.9, 0.25, 1) 360ms forwards;
}

.hns-home-hero-video .maydo-vector-text,
.hns-home-hero-video__tagline-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.hns-home-hero-video__tagline-img {
  width: min(62vw, 760px);
  max-width: 94vw;
  opacity: 0;
  filter: drop-shadow(0 0 12px rgba(254, 235, 167, 0.28));
  transform: translate3d(0, 12px, 0);
  animation: hns-home-hero-content-in 800ms cubic-bezier(0.2, 0.9, 0.25, 1) 360ms forwards;
}

.hns-home-hero-video .maydo-vector-text path {
  stroke: #fff4bd;
  stroke-width: 1.12;
  opacity: 0;
  fill-opacity: 0;
  animation: none;
}

.hns-home-hero-video .maydo-vector-text.is-ready path {
  animation: maydo-draw 2.4s cubic-bezier(0.22, 1, 0.36, 1) forwards, maydo-rise 1.05s cubic-bezier(0.2, 0.9, 0.25, 1) forwards, maydo-glow 3.8s ease-in-out infinite;
}

.hns-home-hero-video .maydo-vector-text.is-ready path:nth-of-type(1) {
  animation-delay: 0s, 0s, 2.4s;
}

.hns-home-hero-video .maydo-vector-text.is-ready path:nth-of-type(2) {
  animation-delay: 0.08s, 0.08s, 2.48s;
}

.hns-home-hero-video .maydo-vector-text.is-ready path:nth-of-type(3) {
  animation-delay: 0.16s, 0.16s, 2.56s;
}

.hns-home-hero-video .maydo-vector-text.is-ready path:nth-of-type(4) {
  animation-delay: 0.24s, 0.24s, 2.64s;
}

.hns-home-hero-video .maydo-vector-text.is-ready path:nth-of-type(5) {
  animation-delay: 0.32s, 0.32s, 2.72s;
}

.hns-home-hero-video .maydo-vector-text.is-ready path:nth-of-type(6) {
  animation-delay: 0.4s, 0.4s, 2.8s;
}

.hns-home-hero-video .maydo-vector-text.is-ready path:nth-of-type(7) {
  animation-delay: 0.48s, 0.48s, 2.88s;
}

.hns-home-hero-video .maydo-vector-text.is-ready path:nth-of-type(8) {
  animation-delay: 0.56s, 0.56s, 2.96s;
}

.hns-home-hero-video .maydo-vector-text.is-ready path:nth-of-type(9) {
  animation-delay: 0.64s, 0.64s, 3.04s;
}

.hns-home-hero-video .maydo-vector-text.is-ready path:nth-of-type(10) {
  animation-delay: 0.72s, 0.72s, 3.12s;
}

.hns-home-hero-video .maydo-vector-text.is-ready path:nth-of-type(11) {
  animation-delay: 0.8s, 0.8s, 3.2s;
}

.hns-home-hero-video__subtitle {
  max-width: 980px;
  margin: clamp(10px, 1.3vw, 18px) auto 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 400;
  line-height: 1.45;
  white-space: nowrap;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  animation: hns-home-hero-content-in 760ms cubic-bezier(0.2, 0.9, 0.25, 1) 760ms forwards;
}

.hns-home-hero-video__button.hns-brand-button {
  margin-top: clamp(22px, 2.5vw, 34px);
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: background 760ms ease, border-color 760ms ease, box-shadow 980ms ease, color 760ms ease, opacity 760ms ease, transform 760ms ease;
  animation: hns-home-hero-content-in 760ms cubic-bezier(0.2, 0.9, 0.25, 1) 980ms forwards;
}

@keyframes hns-home-hero-content-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 767px) {
  .hns-home-hero-video {
    min-height: 620px;
  }

  .hns-home-hero-video__content {
    padding: 106px 18px 58px;
  }

  .hns-home-hero-video__logo {
    width: 112px;
    margin-bottom: 14px;
  }

  .hns-home-hero-video__tagline,
  .hns-home-hero-video__tagline-img {
    width: min(92vw, 520px);
  }

  .hns-home-hero-video__subtitle {
    max-width: 92vw;
    margin-top: 9px;
    font-size: 16px;
    line-height: 1.5;
    white-space: normal;
  }

  .hns-home-hero-video__button.hns-brand-button {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hns-home-hero-video__youtube,
  .hns-home-hero-video__content,
  .hns-home-hero-video__logo,
  .hns-home-hero-video__tagline,
  .hns-home-hero-video__tagline-img,
  .hns-home-hero-video__subtitle,
  .hns-home-hero-video__button {
    transition: none;
    animation: none;
  }

  .hns-home-hero-video .maydo-vector-text path,
  .hns-home-hero-video .maydo-vector-text.is-ready path {
    animation: none;
    opacity: 1;
    fill-opacity: 1;
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
  }

  .hns-home-hero-video__logo,
  .hns-home-hero-video__tagline,
  .hns-home-hero-video__tagline-img,
  .hns-home-hero-video__subtitle,
  .hns-home-hero-video__button {
    opacity: 1;
    transform: none;
  }
}
