.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  width: min(100%, 100rem, 136svh);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  background: #202938;
  color: #fff;
}

.hero-band {
  background: #202938;
}

.hero video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgb(14 22 35 / .48), rgb(14 22 35 / .22) 24%, transparent 55%);
}

.hero .wrap {
  padding-bottom: clamp(2rem, 5vw, 4.6rem);
}

.hero h1 {
  font-size: clamp(2.4rem, 6.2vw, 5.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: .035em;
  text-shadow: 0 2px 16px rgb(8 14 23 / .55);
}

.hero h1 .series {
  display: block;
  margin-top: .55em;
  font-size: .49em;
  letter-spacing: .09em;
}

.hero-control {
  position: absolute;
  z-index: 1;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgb(255 255 255 / .38);
  background: rgb(16 19 34 / .38);
  color: #fff;
  font-size: .8rem;
}

.hero-control:hover {
  background: rgb(16 19 34 / .68);
}

.hero-motion-toggle,
.hero-sound-toggle {
  right: clamp(.5rem, 1.5vw, 1.25rem);
  padding: .35rem .65rem;
}

.hero-motion-toggle {
  top: .6rem;
}

.hero-sound-toggle {
  bottom: .6rem;
}

.hero-arrow {
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgb(16 19 34 / .24);
  font: 2rem/1 Arial, sans-serif;
}

.hero-prev {
  left: clamp(.35rem, 1.5vw, 1.25rem);
}

.hero-next {
  right: clamp(.35rem, 1.5vw, 1.25rem);
}

.hero-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (max-width: 700px) {
  .hero {
    width: 100%;
  }

  .hero .wrap {
    padding-bottom: clamp(.8rem, 3.5vw, 1.5rem);
  }

  .hero h1 {
    font-size: clamp(1.2rem, 6.1vw, 2.6rem);
  }

  .hero-motion-toggle,
  .hero-sound-toggle {
    font-size: .72rem;
  }
}
