.hero-slide-image {
  transition:
    opacity 180ms ease,
    transform 450ms ease;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-media-frame {
  z-index: 2;
  position: relative;
  display: grid;
  place-items: center;
  width: min(108%, 900px);
  max-width: 100%;
}

.hero-media-frame .hero-slide-image {
  width: 100%;
  max-width: none;
}

.hero-slide-image.is-changing {
  opacity: 0;
  transform: scale(0.985);
}

.hero-visual .hero-media-frame.is-generated-frame {
  aspect-ratio: 1.875 / 1;
  width: min(100%, 900px);
}

.hero-visual .hero-media-frame.is-generated-frame .hero-slide-image {
  aspect-ratio: 1.865 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 22px;
  box-shadow: 0 32px 70px rgb(0 0 0 / 42%);
  filter: none;
}

.hero-slide-tagline {
  z-index: 3;
  position: absolute;
  top: 50%;
  left: 4.7%;
  display: none;
  width: 37%;
  margin: 0;
  color: #08264a;
  font-size: clamp(9px, 0.92vw, 15px);
  line-height: 1.22;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.is-generated-frame .hero-slide-tagline {
  display: grid;
  gap: 4px;
}

.hero-slide-tagline strong {
  color: #008eac;
  font-size: 1.08em;
}

.hero-slide-tagline span {
  font-weight: 700;
}

.product-title-prefix {
  display: block;
  margin-bottom: 7px;
  color: #008eac;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-slide-controls {
  z-index: 5;
  position: absolute;
  right: 4%;
  bottom: 2%;
  display: flex;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 999px;
  background: rgb(5 16 29 / 72%);
  backdrop-filter: blur(12px);
}

.hero-slide-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 38%);
  cursor: pointer;
  transition:
    width 180ms ease,
    background-color 180ms ease;
}

.hero-slide-dot[aria-current="true"] {
  width: 28px;
  background: #00d8ff;
}

.hero-slide-dot:focus-visible {
  outline: 2px solid #ff8a1f;
  outline-offset: 4px;
}

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

  .hero-visual .hero-media-frame.is-generated-frame {
    width: 100%;
    max-width: 100%;
  }

  .hero-visual .hero-media-frame.is-generated-frame .hero-slide-image {
    border-radius: 16px;
  }

  .hero-slide-tagline {
    top: 51%;
    width: 40%;
    font-size: clamp(7px, 2.25vw, 11px);
  }

  .hero-slide-controls {
    right: 50%;
    bottom: -8px;
    transform: translateX(50%);
  }
}
