.slider-hero {
  --slider-hero-min-height: clamp(35rem, 166.667vw, 48rem);

  position: relative;
  width: 100%;
  height: auto;
  min-height: var(--slider-hero-min-height);
  padding: 0;
  overflow: hidden;
  background-color: #dbe5e7;
  color: var(--color-text-default);
}

@media (min-width: 600px) {
  .slider-hero {
    --slider-hero-min-height: clamp(26rem, calc(19.16rem + 12.92vw), 45.5rem);

    padding: 0;
    background-color: #dbe5e7;
    background-image: none;
  }
}

@media (min-width: 900px) and (max-width: 1299px) and (hover: hover) and (pointer: fine) {
  .slider-hero {
    --slider-hero-min-height: max(28rem, clamp(26rem, calc(19.16rem + 12.92vw), 45.5rem));
  }
}

@media (min-width: 1200px) {
  .slider-hero {
    --slider-hero-min-height: clamp(28rem, 38.46vw, 45.5rem);

    max-height: none;
  }
}

.slider-hero__viewport {
  width: 100%;
  height: auto;
  min-height: var(--slider-hero-min-height);
  margin-inline: 0;
  overflow: hidden;
}

.slider-hero__list {
  display: flex;
  width: 100%;
  height: auto;
  min-height: var(--slider-hero-min-height);
  align-items: stretch;
  padding: 0;
  margin: 0;
}

.slider-hero__slide {
  position: relative;
  display: flex;
  width: 100%;
  height: auto;
  min-height: var(--slider-hero-min-height);
  min-width: 0;
  flex: 0 0 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background-color: #dbe5e7;
  box-shadow: none;
}

.slider-hero__media,
.slider-hero__scrim {
  position: absolute;
  inset: 0;
}

.slider-hero__media {
  background-color: #dbe5e7;
}

@media (min-width: 600px) {
  .slider-hero__media {
    background-image: linear-gradient(135deg, #d8e8e8, #f0e2ce);
  }
}

.slider-hero__image,
.slider-hero__image-placeholder {
  width: 100%;
  height: 100%;
}

.slider-hero__image {
  --slider-hero-image-x: 50%;
  --slider-hero-image-y: 56%;

  object-fit: cover;
  object-position: var(--slider-hero-image-x) var(--slider-hero-image-y);
  opacity: 0;
  transition: opacity 320ms ease;
}

.slider-hero__slide:first-child .slider-hero__image,
.slider-hero__image.is-loaded {
  opacity: 1;
}

.slider-hero__slide--image-left .slider-hero__image {
  --slider-hero-image-x: 30%;
}

.slider-hero__slide--image-right .slider-hero__image {
  --slider-hero-image-x: 68%;
}

.slider-hero__slide--image-far-right .slider-hero__image {
  --slider-hero-image-x: 76%;
}

.slider-hero__slide--mobile-image-left .slider-hero__image {
  --slider-hero-image-x: 28%;
}

.slider-hero__slide--mobile-image-center .slider-hero__image {
  --slider-hero-image-x: 50%;
}

.slider-hero__slide--mobile-image-right .slider-hero__image {
  --slider-hero-image-x: 82%;
}

.slider-hero__slide--mobile-image-far-right .slider-hero__image {
  --slider-hero-image-x: 100%;
}

@media (min-width: 600px) {
  .slider-hero__slide--image-left .slider-hero__image {
    --slider-hero-image-x: 30%;
  }
}

@media (min-width: 600px) {
  .slider-hero__slide--image-center .slider-hero__image {
    --slider-hero-image-x: 50%;
  }
}

@media (min-width: 600px) {
  .slider-hero__slide--image-right .slider-hero__image {
    --slider-hero-image-x: 68%;
  }
}

@media (min-width: 600px) {
  .slider-hero__slide--image-far-right .slider-hero__image {
    --slider-hero-image-x: 76%;
  }
}

.slider-hero__slide--image-y-top .slider-hero__image {
  --slider-hero-image-y: 0%;
}

.slider-hero__slide--image-y-center .slider-hero__image {
  --slider-hero-image-y: 56%;
}

.slider-hero__slide--image-y-bottom .slider-hero__image {
  --slider-hero-image-y: 100%;
}

.slider-hero__image-placeholder {
  display: block;
  background-color: #dbe5e7;
}

@media (min-width: 600px) {
  .slider-hero__image-placeholder {
    background-image:
      radial-gradient(circle at 72% 36%, rgb(255 255 255 / 72%), transparent 21%),
      linear-gradient(135deg, #c8dedf 0%, #efe1ce 52%, #8aa9a4 100%);
  }
}

.slider-hero__scrim {
  z-index: 1;
  background: transparent;
  pointer-events: none;
}

.slider-hero__content-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: auto;
  min-height: var(--slider-hero-min-height);
  align-items: flex-start;
  padding: max(6.5rem, calc(5.25rem + env(safe-area-inset-top))) 1rem calc(6.25rem + env(safe-area-inset-bottom));
  flex: 1 1 auto;
}

.slider-hero--has-controls .slider-hero__content-wrap {
  padding-bottom: calc(8.5rem + env(safe-area-inset-bottom));
}

@media (max-width: 599px) {
  .slider-hero--with-navigation-context .slider-hero__content-wrap {
    padding-top: max(8.75rem, calc(8rem + env(safe-area-inset-top)));
  }
}

@media (min-width: 600px) {
  .slider-hero__content-wrap {
    align-items: center;
    padding: 7.75rem clamp(2rem, 6.5vw, 6rem) 2.5rem;
  }
}

@media (min-width: 600px) {
  .slider-hero--has-controls .slider-hero__content-wrap {
    padding-bottom: 5rem;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .slider-hero__content-wrap {
    padding-top: 9.75rem;
  }
}

@media (min-width: 900px) and (max-width: 1299px) and (hover: hover) and (pointer: fine) {
  .slider-hero__content-wrap {
    align-items: flex-start;
    padding-top: 10.75rem;
  }
}

@media (min-width: 1200px) {
  .slider-hero__content-wrap {
    padding-inline: clamp(6rem, 6.5vw, 7.75rem);
  }
}

.slider-hero__content {
  width: 100%;
  padding: 1.125rem;
  border: 1px solid rgb(255 255 255 / 56%);
  border-radius: 1rem;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 42%),
    0 0.75rem 2rem rgb(11 24 38 / 14%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

@media (min-width: 900px) {
  .slider-hero__content {
    width: min(100%, 33.5rem);
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .slider-hero__content {
    width: min(100%, 33.5rem);
  }
}

.slider-hero__slide--dark-copy .slider-hero__content {
  background-color: rgb(250 246 239 / 78%);
  color: var(--color-text-on-light);
}

.slider-hero__slide--light-copy .slider-hero__content {
  background-color: rgb(8 17 28 / 72%);
  color: var(--color-text-on-dark);
  text-shadow: 0 1px 16px rgb(0 0 0 / 18%);
}

@media (min-width: 900px) {
  .slider-hero__slide--dark-copy .slider-hero__content {
    background-color: transparent;
  }
}

@media (min-width: 900px) {
  .slider-hero__slide--light-copy .slider-hero__content {
    background-color: transparent;
  }
}

.slider-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .slider-hero__eyebrow {
    margin-bottom: 0.875rem;
    font-size: 0.875rem;
  }
}

.slider-hero__heading {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2rem, 9.5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.01;
  text-wrap: balance;
}

@media (min-width: 600px) {
  .slider-hero__heading {
    font-size: clamp(2.25rem, 5vw, 3rem);
  }
}

@media (min-width: 1200px) {
  .slider-hero__heading {
    font-size: 3rem;
  }
}

.slider-hero__body {
  max-width: 20rem;
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.45;
  text-wrap: pretty;
}

@media (min-width: 900px) {
  .slider-hero__body {
    margin-top: 1rem;
    font-size: 1.125rem;
    line-height: 1.35;
  }
}

.slider-hero__cta {
  position: relative;
  display: inline-flex;
  min-width: 10.75rem;
  min-height: var(--button-action-min-height);
  align-items: center;
  justify-content: center;
  padding: var(--button-action-padding);
  border: 0;
  border-radius: var(--button-action-radius);
  margin-top: 1.25rem;
  background: transparent;
  color: var(--color-text-on-dark);
  font-size: var(--button-action-font-size);
  font-weight: var(--button-action-font-weight);
  line-height: 1.2;
  text-decoration: none;
  text-shadow: 0 1px 2px rgb(0 0 0 / 20%);
  transition: transform var(--control-transition-duration) ease;
}

.slider-hero__cta::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: var(--button-action-radius);
  background-image:
    linear-gradient(180deg, rgb(255 255 255 / 22%), transparent 52%),
    var(--gradient-action-go);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 36%),
    0 8px 20px rgb(3 55 43 / 18%);
  content: "";
  pointer-events: none;
  transition: box-shadow var(--control-transition-duration) ease;
}

.slider-hero__cta span {
  position: relative;
  z-index: 1;
}

@media (hover: hover) {
  .slider-hero__cta:hover {
    transform: translateY(-1px);
  }
}

@media (hover: hover) {
  .slider-hero__cta:hover::before {
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 40%),
      0 10px 24px rgb(3 55 43 / 24%);
  }
}

.slider-hero__pagination {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: calc(5rem + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.125rem 0.25rem;
  border: 1px solid rgb(245 248 247 / 24%);
  border-radius: 2rem;
  background-color: rgb(8 17 28 / 78%);
  transform: translateX(50%);
}

@media (min-width: 600px) {
  .slider-hero__pagination {
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
}

@media (min-width: 600px) and (max-width: 633px) {
  .slider-hero__pagination {
    right: calc(50% - 1rem);
  }
}

.slider-hero__playback {
  display: inline-grid;
  width: var(--control-hit-area-min);
  height: var(--control-hit-area-min);
  padding: 0;
  border: 0;
  margin-right: 0.25rem;
  background: transparent;
  color: var(--color-text-on-dark);
  cursor: pointer;
  place-items: center;
}

.slider-hero__playback-icon {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  filter: drop-shadow(0 1px 4px rgb(0 0 0 / 32%));
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.slider-hero__playback-icon--play {
  display: none;
  fill: currentcolor;
}

.is-autoplay-paused .slider-hero__playback-icon--pause {
  display: none;
}

.is-autoplay-paused .slider-hero__playback-icon--play {
  display: block;
}

.slider-hero__playback:focus-visible {
  border-radius: 50%;
}

.slider-hero__dot {
  display: inline-grid;
  width: var(--control-hit-area-min);
  height: var(--control-hit-area-min);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-on-dark);
  cursor: pointer;
  place-items: center;
}

.slider-hero__dot:disabled {
  cursor: default;
}

.slider-hero__dot span {
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background-color: transparent;
  box-shadow: 0 1px 6px rgb(0 0 0 / 32%);
  transition:
    background-color var(--control-transition-duration) ease,
    transform var(--control-transition-duration) ease;
}

.slider-hero__dot[aria-current="true"] span {
  background-color: currentColor;
  transform: scale(1.12);
}

.slider-hero__dot:focus-visible {
  border-radius: 50%;
}

@media (min-width: 900px) {
  .slider-hero__slide--image-right .slider-hero__image {
    --slider-hero-image-x: 60%;
  }
}

@media (min-width: 900px) {
  .slider-hero__slide--image-far-right .slider-hero__image {
    --slider-hero-image-x: 68%;
  }
}

@media (min-width: 600px) {
  .slider-hero__slide--dark-copy .slider-hero__scrim {
    background-image: linear-gradient(90deg, rgb(250 246 239 / 96%) 0%, rgb(250 246 239 / 86%) 25%, rgb(250 246 239 / 50%) 42%, rgb(250 246 239 / 0%) 64%);
  }
}

@media (min-width: 600px) {
  .slider-hero__slide--light-copy .slider-hero__scrim {
    background-image: linear-gradient(90deg, rgb(8 17 28 / 88%) 0%, rgb(8 17 28 / 72%) 40%, rgb(8 17 28 / 26%) 65%, rgb(8 17 28 / 0%) 85%);
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  .slider-hero__cta::before {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slider-hero__dot span {
    transition: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .slider-hero__slide--dark-copy .slider-hero__content {
    background-color: rgb(250 246 239 / 96%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .slider-hero__slide--light-copy .slider-hero__content {
    background-color: rgb(8 17 28 / 94%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (forced-colors: active) {
  .slider-hero__content {
    text-shadow: none;
  }
}

@media (forced-colors: active) {
  .slider-hero__cta {
    color: LinkText;
  }
}

@media (forced-colors: active) {
  .slider-hero__cta::before {
    border-color: LinkText;
    background: Canvas;
  }
}

@media (forced-colors: active) {
  .slider-hero__dot span {
    border-color: ButtonText;
  }
}
