.showcase {
  position: relative;
  color: #fff;
  background: #012d56;
  touch-action: pan-y pinch-zoom;
}
.showcase [hidden] { display: none; }
.showcase-slide {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(32rem, 46vw, 45rem);
  padding: 3rem 7% 5.5rem;
}
.showcase-slide > img, .showcase-slide::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.showcase-slide > img {
  object-fit: cover;
  object-position: center 50%;
  z-index: -2;
}
.showcase-slide::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #051a2df5 0%, #051a2dd9 34%, #051a2d8f 56%, #051a2d10 84%);
}
.showcase-roof > img { object-position: center 35%; }
.showcase-text { width: min(100%, 34rem); }
.showcase-text h1, .showcase-text h2 {
  color: inherit;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  margin: 0 0 .75rem;
}
.showcase-text h1 span, .showcase-text h2 span {
  display: block;
  margin-top: .45rem;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: .58em;
  font-weight: 400;
  letter-spacing: normal;
}
.showcase-text p {
  max-width: 38ch;
  margin-bottom: 1.15rem;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.5;
}
.showcase-text .button {
  background: #fff;
  color: #012d56;
  font-weight: 700;
  min-height: 44px;
  padding: .7rem .95rem;
}
.showcase-text .button:hover { background: #eaf1f7; }
.showcase-controls {
  position: absolute;
  left: 7%;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .125rem .25rem;
  border-radius: 1.5rem;
  background: #061b2eea;
}
.showcase-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font: 1.5rem/1 system-ui, sans-serif;
}
.showcase-controls button:hover { background: #ffffff26; }
.showcase-controls button:focus-visible { outline: 2px solid #ffae78; outline-offset: -4px; }
.showcase-controls .showcase-dot { width: 34px; }
.showcase-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid #fff;
  border-radius: 50%;
}
.showcase-dot[aria-current="true"]::after { background: #fff; }
.showcase-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 760px) {
  .showcase-slide {
    align-items: flex-end;
    min-height: clamp(26.5rem, 105vw, 32rem);
    padding: 7rem 5% 4.75rem;
  }
  .showcase-slide::after {
    background: linear-gradient(180deg, #051a2d00 12%, #051a2d9e 43%, #051a2df5 80%);
  }
  .showcase-intro > img { object-position: 61% 27%; }
  .showcase-roof > img { object-position: 71% 25%; }
  .showcase-text h1, .showcase-text h2 { font-size: clamp(1.95rem, 7.8vw, 3.2rem); }
  .showcase-text p { margin-bottom: .85rem; }
  .showcase-controls { left: 5%; bottom: .65rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .showcase-slide:not([hidden]) > img { animation: showcase-reveal .28s ease-out; }
  @keyframes showcase-reveal { from { opacity: .65; } to { opacity: 1; } }
}
