.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.showcase {
  min-width: 0;
  width: min(100%, 34rem);
  justify-self: end;
}

.showcase-slides {
  min-width: 0;
  overflow: hidden;
  background: white;
  border-radius: .65rem;
  box-shadow: 0 1.2rem 3rem #081c36a0;
}

.showcase-slide {
  display: grid;
  grid-template-rows: 1fr auto;
  text-decoration: none;
  color: var(--navy);
}

.showcase-slide:focus-visible {
  outline-offset: -5px;
}

.showcase-slide img {
  width: 100%;
  height: clamp(12rem, 24vw, 20rem);
  padding: clamp(1rem, 3vw, 2.25rem);
  object-fit: contain;
  animation: showcase-enter .45s ease-out;
}

.showcase-slide span {
  min-height: 3.25rem;
  padding: .8rem 1.05rem;
  background: #edf3f7;
  font-weight: 700;
  text-decoration: underline;
}

.showcase-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
  padding-top: .65rem;
}

.showcase-controls button {
  min-width: 4.3rem;
  min-height: 44px;
  padding: .4rem .65rem;
  border: 1px solid #b1cadb;
  border-radius: .3rem;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.showcase-controls button:hover {
  background: #ffffff24;
}

.showcase-controls button:focus-visible {
  outline-color: var(--gold);
}

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

@keyframes showcase-enter {
  from { opacity: .2; }
  to { opacity: 1; }
}

@media (max-width: 56rem) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .showcase {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-slide img {
    animation: none;
  }
}
