.hero-about-stack {
  position: relative;
}

.hero-section {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background-color: var(--color-black);
}

@media (prefers-reduced-motion: reduce) {
  .hero-section {
    position: relative;
  }
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: 100vh;
  height: 100dvh;
}

.hero-section .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Faster crossfade than Bootstrap's default 0.6s */
.hero-section .carousel-item {
  transition-duration: 0.35s;
}

.hero-section .carousel-fade .active.carousel-item-start,
.hero-section .carousel-fade .active.carousel-item-end {
  transition: opacity 0s 0.35s;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.55) 0%, rgba(11, 11, 12, 0.45) 40%, rgba(11, 11, 12, 0.78) 100%),
    rgba(11, 11, 12, 0.35);
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14%;
  z-index: 3;
  padding: 0 1.5rem;
  color: var(--color-white);
  text-align: left;
}

.hero-caption .eyebrow {
  color: var(--color-gold);
}

.hero-caption h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  max-width: 14ch;
  margin: 0.6rem 0 1rem;
}

.hero-caption p {
  max-width: 44ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
  width: 3.25rem;
  height: 3.25rem;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  border-radius: var(--radius-circle);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background-color: rgba(11, 11, 12, 0.35);
  opacity: 1;
  transition: border-color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out);
}

.hero-section .carousel-control-prev {
  left: 1.5rem;
}

.hero-section .carousel-control-next {
  right: 1.5rem;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
  border-color: var(--color-gold);
  background-color: rgba(11, 11, 12, 0.55);
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.hero-section .carousel-indicators {
  bottom: 2.25rem;
  margin-bottom: 0;
  gap: 0.4rem;
}

.hero-section .carousel-indicators [data-bs-target] {
  width: 2rem;
  height: 3px;
  border: none;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: background-color var(--duration-fast) var(--ease-out);
}

.hero-section .carousel-indicators .active {
  background: var(--gradient-gold);
}

.hero-counter {
  position: absolute;
  right: 1.5rem;
  bottom: 2.25rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  color: var(--color-white);
}

.hero-counter-current {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-gold);
}

.hero-counter-divider {
  width: 28px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}

.hero-counter-total {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 767.98px) {
  .hero-caption {
    bottom: 10%;
  }

  .hero-caption h1 {
    max-width: 12ch;
  }

  .hero-section .carousel-control-prev,
  .hero-section .carousel-control-next {
    width: 2.6rem;
    height: 2.6rem;
  }

  .hero-counter {
    right: 1rem;
    bottom: 1.25rem;
  }
}
