.hero-support-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem .65rem;
  margin-top: 1.25rem;
  color: #fff1c9;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  font-size: .94rem;
}

.hero-support-link span:first-of-type {
  color: var(--amber);
}

.home-showcase {
  padding-top: clamp(26px, 5vw, 60px);
  background: var(--listing-background);
  scroll-margin-top: 18px;
}

.showcase-frame {
  overflow: hidden;
  border: 1px solid #354455;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 28px rgb(16 24 35 / 15%);
}

.showcase-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: 368px;
  background: linear-gradient(120deg, #101823, #1d2d3d);
}

.showcase-slide:not([hidden]) {
  animation: showcase-appear .5s ease-out;
}

@keyframes showcase-appear {
  from { opacity: .3; }
  to { opacity: 1; }
}

.showcase-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(24px, 4vw, 62px);
}

.showcase-copy .eyebrow {
  color: #f5c650;
  text-transform: uppercase;
}

.showcase-copy .eyebrow > span {
  background: var(--amber);
}

.showcase-copy h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.45rem);
  overflow-wrap: anywhere;
}

.showcase-description {
  max-width: 48ch;
  margin-bottom: 1.15rem;
  color: #d5dfe9;
}

.showcase-price {
  margin-bottom: .9rem;
  color: #d5dfe9;
}

.showcase-price strong {
  color: var(--amber);
  font-size: 1.72rem;
  line-height: 1;
}

.showcase-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  background: #202c3a;
}

.showcase-media:not(.showcase-media-product)::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #182635 0%, transparent 30%);
}

.showcase-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-media-product {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at center, #f5f7fa 12%, #d4dde7 85%);
}

.showcase-media-product img {
  inset: 7% 12% 11%;
  width: 76%;
  height: 82%;
  object-fit: contain;
}

.showcase-media figcaption {
  z-index: 1;
  align-self: end;
  margin: 0 .5rem .45rem;
  color: #37475a;
  font-size: .74rem;
}

.showcase-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .55rem;
  padding: 8px clamp(12px, 2.2vw, 24px);
  border-top: 1px solid #354455;
  background: #101923;
}

.showcase-count {
  color: #cfdae6;
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
}

.showcase-controls button {
  justify-self: start;
  min-height: 44px;
  padding: .35rem .74rem;
  border: 1px solid #627287;
  border-radius: 6px;
  background: transparent;
  color: white;
  font-size: .84rem;
  font-weight: 700;
}

.showcase-controls button:hover {
  border-color: var(--amber);
  background: #26384b;
}

.showcase-arrows {
  display: flex;
  justify-self: end;
  gap: .35rem;
}

.showcase-arrows button {
  min-width: 44px;
  font-size: 1.1rem;
}

.home-showcase + .service-overview {
  padding-top: clamp(34px, 5vw, 60px);
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: clip;
  border: 1px solid #344356;
  border-radius: 11px;
  background: linear-gradient(150deg, #1c2b3b, #101823 80%);
  color: white;
  box-shadow: 0 4px 14px rgb(16 24 35 / 13%);
}

.home-card-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1.52;
  object-fit: cover;
}

.home-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 15px 17px 17px;
  border-top: 2px solid #bb8a32;
}

.home-card-copy h3 {
  margin: 0 0 .4rem;
  font-size: 1.13rem;
}

.home-card-copy h3 a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.home-card-copy p {
  margin-bottom: .5rem;
  color: #d5dfe9;
  font-size: .89rem;
}

.home-card-links {
  margin-top: auto;
  padding-top: .4rem;
  color: #ffd778;
  font-size: .82rem;
  font-weight: 720;
}

.home-card-copy a:hover {
  color: var(--amber);
}

@media (max-width: 930px) {
  .home-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .showcase-slide {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 175px minmax(290px, auto);
  }

  .showcase-copy {
    justify-content: flex-start;
    padding: 21px 19px 24px;
  }

  .showcase-media {
    grid-row: 1;
  }

  .showcase-media:not(.showcase-media-product)::after {
    background: linear-gradient(0deg, #182635 0%, transparent 30%);
  }
}

@media (max-width: 490px) {
  .home-service-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .home-service-card {
    grid-template: 1fr / minmax(0, 37fr) minmax(0, 63fr);
  }

  .home-card-photo {
    position: relative;
    min-height: 134px;
  }

  .home-card-photo img {
    position: absolute;
    height: 100%;
  }

  .home-card-copy {
    padding: 13px 12px;
    border-top: 0;
    border-left: 2px solid #bb8a32;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-slide:not([hidden]) {
    animation: none;
  }
}
