.hero.hero-banner {
  grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
  gap: 0;
  min-height: clamp(28rem, 34vw, 36rem);
  overflow: hidden;
  border: 1px solid #e0e8df;
  border-radius: clamp(.8rem, 1.2vw, 1.2rem);
  background: linear-gradient(145deg, #fcfdfb, #f0f6ed);
}

.hero-banner .hero-copy {
  grid-column: auto;
  padding: clamp(1.35rem, 3vw, 3.2rem);
}

.hero-carousel {
  position: relative;
  display: grid;
  min-width: 0;
  align-self: stretch;
  min-height: 0;
  isolation: isolate;
  background: #172822;
}

.hero-carousel-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: pan-y;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 400ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 20, 15, .8), transparent 34%);
  pointer-events: none;
  content: "";
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-cnc img { object-position: center 64%; }
.hero-slide-stamping img { object-position: center 14%; }

.hero-slide figcaption {
  position: absolute;
  z-index: 1;
  inset: auto auto clamp(1rem, 2.25vw, 2rem) clamp(1rem, 2.25vw, 2rem);
  max-width: calc(100% - 10.25rem);
  color: #fff;
  font-size: clamp(.95rem, .88rem + .36vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
}

.hero-carousel-controls {
  position: absolute;
  z-index: 2;
  inset: auto clamp(.75rem, 1.85vw, 1.75rem) clamp(.65rem, 1.7vw, 1.5rem) auto;
  display: flex;
  align-items: center;
  padding: .15rem;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(12, 29, 20, .82);
}

.hero-carousel-controls button {
  position: relative;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  padding: 0;
}

@media (hover: hover) {
  .hero-carousel-controls button:hover { background: rgba(255, 255, 255, .16); }
}

.hero-carousel-controls button:focus-visible {
  outline: 2px solid #eaf7dd;
  outline-offset: -3px;
}

.hero-carousel-arrow {
  width: .48rem;
  height: .48rem;
  border: solid currentColor;
  border-width: .1rem .1rem 0 0;
}

.hero-carousel-prev .hero-carousel-arrow { transform: translateX(.1rem) rotate(-135deg); }
.hero-carousel-next .hero-carousel-arrow { transform: translateX(-.1rem) rotate(45deg); }

.hero-carousel-toggle-icon {
  width: .48rem;
  height: .65rem;
  border-inline: .11rem solid currentColor;
}

.hero-carousel.is-paused .hero-carousel-toggle-icon {
  width: 0;
  height: 0;
  border: .32rem solid transparent;
  border-left: .46rem solid currentColor;
  border-right: 0;
}

@media (max-width: 900px) {
  .hero.hero-banner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero-banner .hero-copy {
    padding: clamp(1rem, 3.2vw, 1.7rem);
  }

  .hero-carousel {
    min-height: 0;
    height: clamp(15rem, 56vw, 27rem);
  }

  .hero-slide-cnc img { object-position: center 60%; }
  .hero-slide-stamping img { object-position: center 14%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}
