.aa-video-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: #05080d;
}

.aa-video-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 8, 14, .16), rgba(3, 8, 14, .04) 48%, rgba(3, 8, 14, .22));
  content: "";
  pointer-events: none;
}

.aa-video-hero__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #05080d;
  object-fit: cover;
  object-position: center;
}

.aa-video-hero__title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(92%, 1200px);
  margin: 0;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 3.7rem);
  font-weight: 600;
  letter-spacing: clamp(.09em, .35vw, .2em);
  line-height: 1.08;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .72), 0 10px 34px rgba(0, 0, 0, .38);
  pointer-events: none;
}

.aa-video-hero__scroll {
  display: none;
}

#header-layer #logo {
  overflow: hidden;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  object-fit: cover !important;
  object-position: center;
}

.aa-category-button .aa-category-image {
  display: block;
  width: min(100%, 120px);
  height: 52px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 767px) {
  .aa-video-hero {
    height: 62svh;
    aspect-ratio: auto;
  }

  .aa-video-hero__title {
    top: 78%;
    width: min(90%, 430px);
    font-size: clamp(1.05rem, 5vw, 1.35rem);
    letter-spacing: .08em;
    line-height: 1.22;
  }

  .aa-video-hero__scroll {
    position: absolute;
    bottom: 12px;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    gap: .38rem;
    align-items: center;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .82);
    font-family: "Inter", sans-serif;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .62);
    white-space: nowrap;
  }

  .aa-video-hero__scroll span {
    animation: aa-hero-scroll-cue 1.8s ease-in-out infinite;
  }
}

@keyframes aa-hero-scroll-cue {
  0%, 100% { transform: translateY(-1px); }
  50% { transform: translateY(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .aa-video-hero__video {
    animation: none;
  }

  .aa-video-hero__scroll span {
    animation: none;
  }
}
