.home-hero {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100dvh;
  max-height: none;
  overflow: hidden;
  color: #fff;
  background: #050a19 url('/videos/stellar-nebula-poster.jpg') center / cover no-repeat;
}

.home-hero__video,
.home-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__video {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.home-hero__shade {
  z-index: -1;
  background: rgb(0 0 0 / 20%);
}

.home-hero__inner {
  box-sizing: border-box;
  width: min(100% - 64px, 1120px);
  height: 100%;
  margin: 0 auto;
}

.home-hero__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
}

.home-hero a {
  color: inherit;
  text-decoration: none;
}

.home-hero__brand {
  font-size: 18px;
  font-weight: 700;
}

.home-hero__nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.home-hero__nav-links a,
.home-hero__brand {
  text-shadow: 0 1px 10px rgb(0 0 0 / 45%);
}

.home-hero__nav-links a:hover,
.home-hero__brand:hover {
  color: #d6e9ed;
}

.home-hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100% - 64px, 1120px);
  transform: translate(-50%, -42%);
}

.home-hero__eyebrow {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 600;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
}

.home-hero__description {
  margin: 24px 0 32px;
  font-size: 18px;
  line-height: 1.6;
}

.home-hero__action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  box-sizing: border-box;
  padding: 8px 18px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 4px;
  background: rgb(5 10 25 / 35%);
  font-size: 15px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.home-hero__action:hover {
  color: #fff;
  background: rgb(255 255 255 / 18%);
}

@media (max-width: 700px) {
  .home-hero {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100dvh;
  }

  .home-hero__inner,
  .home-hero__content {
    width: calc(100% - 40px);
  }

  .home-hero__nav {
    padding-top: 20px;
  }

  .home-hero__brand {
    font-size: 16px;
  }

  .home-hero__nav-links {
    gap: 14px;
  }

  .home-hero__content {
    transform: translate(-50%, -35%);
  }

  .home-hero h1 {
    font-size: 38px;
  }

  .home-hero__description {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .home-hero h1 {
    font-size: 34px;
  }
}

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