.hero--home {
  background: var(--c-white);
}

@media (min-width: 720px) {
  .hero--home .home-hero__inner {
    min-height: 690px;
    justify-content: center;
  }

  .hero--home .home-hero__content .hero__title {
    font-size: clamp(24px, 3.2vw, 52px);
  }
}

.home-hero__logo {
  position: absolute;
  top: -50px;
  right: clamp(-152px, -8.33vw, -58px);
  display: block;
  width: clamp(420px, 54.17vw, 920px);
  max-width: none;
  height: auto;
  aspect-ratio: 167 / 154;
  object-fit: contain;
  pointer-events: none;
}

.home-hero__content {
  width: min(100%, 51%, 640px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: inherit;
}

.home-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--c-white);
  pointer-events: none;
}

.home-backdrop::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  background: linear-gradient(90deg, #07133270, #071332c9 42%, #07133280);
}

.home-backdrop__image {
  /* The original banners include a light border around the artwork. */
  position: absolute;
  inset: -4%;
  width: 108%;
  max-width: none;
  height: 108%;
  object-fit: cover;
  object-position: center top;
}

.home-backdrop__image[hidden],
.home-slider[hidden] {
  display: none;
}

.home-backdrop__image[data-previous-slide] {
  display: block;
  z-index: 1;
}

.home-backdrop__image:not([hidden]) {
  z-index: 2;
}

@media (prefers-reduced-motion: no-preference) {
  [data-slide-direction="next"] {
    --banner-entry: 100%;
    --banner-exit: -100%;
  }
  [data-slide-direction="previous"] {
    --banner-entry: -100%;
    --banner-exit: 100%;
  }
  [data-slide-direction] .home-backdrop__image:not([hidden]) {
    animation: home-banner-in 2s ease both;
  }
  [data-slide-direction] .home-backdrop__image[data-previous-slide] {
    animation: home-banner-out 2s ease both;
  }
}

@keyframes home-banner-in {
  from { transform: translateX(var(--banner-entry)); }
  to { transform: translateX(0); }
}

@keyframes home-banner-out {
  from { transform: translateX(0); }
  to { transform: translateX(var(--banner-exit)); }
}

html:not(.a11y--images-off) .hero--has-banners {
  color: var(--c-white);
}

html:not(.a11y--images-off) .hero--has-banners .hero__title .hb {
  padding: 0;
  background: transparent;
}

html:not(.a11y--images-off) .hero--has-banners .eyebrow,
html:not(.a11y--images-off) .hero--has-banners .hero__lead {
  color: inherit;
}

.home-slider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}

.home-slider .icon-btn {
  min-width: var(--tap);
  width: var(--tap);
  height: var(--tap);
  border-color: currentColor;
  background: #0713329c;
  color: var(--c-white);
}

html.a11y--images-off .home-backdrop,
html.a11y--images-off .home-slider {
  display: none;
}

html.a11y--images-off .home-hero__content {
  width: 100%;
}

@media (max-width: 719px) {
  .home-hero__content {
    width: 100%;
  }

  .home-hero__logo {
    display: none;
  }

  .home-backdrop::after {
    background: linear-gradient(180deg, #071332df, #071332ab 50%, #071332df);
  }
}
