.dys-showcase {
  --dys-accent: #bdd844;
  --dys-bg: #111111;
  --dys-height: 680px;
  --dys-radius: 30px;
  --dys-duration: 560ms;
  position: relative;
  width: 100%;
  height: var(--dys-height);
  min-height: 480px;
  overflow: hidden;
  isolation: isolate;
  background: var(--dys-bg);
  color: #fff;
  transition: background-color var(--dys-duration) cubic-bezier(.22, 1, .36, 1);
  font-family: inherit;
  outline: none;
}

.dys-showcase--card {
  border-radius: var(--dys-radius);
  box-shadow: 0 24px 70px rgba(11, 17, 15, .14);
}

.dys-showcase--fullscreen {
  min-height: 100svh;
  border-radius: 0;
}

.dys-showcase:focus-visible {
  outline: 3px solid var(--dys-accent);
  outline-offset: 4px;
}

.dys-showcase *,
.dys-showcase *::before,
.dys-showcase *::after {
  box-sizing: border-box;
}

.dys-showcase__slides,
.dys-showcase__slide {
  position: absolute;
  inset: 0;
}

.dys-showcase__slide {
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "media copy";
  color: var(--dys-slide-text);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity calc(var(--dys-duration) * .72) ease,
              visibility 0s linear var(--dys-duration);
}

.dys-showcase__slide.is-image-right {
  grid-template-areas: "copy media";
}

.dys-showcase__slide.is-active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.dys-showcase__media {
  grid-area: media;
  position: relative;
  z-index: 2;
  width: 108%;
  height: 100%;
  overflow: hidden;
  background: #dfe4df;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.dys-showcase__slide.is-image-right .dys-showcase__media {
  justify-self: end;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.dys-showcase__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 10, .08);
  pointer-events: none;
}

.dys-showcase__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  opacity: .76;
  transform: scale(1.1) translateY(18px);
  transition: transform calc(var(--dys-duration) * 1.3) cubic-bezier(.22, 1, .36, 1),
              opacity var(--dys-duration) ease;
}

.dys-showcase__slide.is-active .dys-showcase__media img {
  opacity: 1;
  transform: scale(1.02) translateY(0);
}

.dys-showcase[data-direction="prev"] .dys-showcase__slide:not(.is-active) .dys-showcase__media img {
  transform: scale(1.08) translateY(-18px);
}

.dys-showcase__copy {
  grid-area: copy;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 64px 72px;
}

.dys-showcase__copy-inner {
  width: min(100%, 650px);
  opacity: 0;
  transform: translateY(34px);
  transition: opacity calc(var(--dys-duration) * .75) ease,
              transform var(--dys-duration) cubic-bezier(.22, 1, .36, 1);
}

.dys-showcase[data-direction="prev"] .dys-showcase__slide:not(.is-active) .dys-showcase__copy-inner {
  transform: translateY(-34px);
}

.dys-showcase__slide.is-active .dys-showcase__copy-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--dys-duration) * .16);
}

.dys-showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  margin: 0 0 22px;
  padding: 8px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: .12em;
  opacity: .86;
}

.dys-showcase__title {
  margin: 0 !important;
  color: inherit !important;
  font-size: clamp(38px, 4.2vw, 76px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.dys-showcase__description {
  max-width: 600px;
  margin: 24px 0 0;
  color: inherit;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 450;
  line-height: 1.62;
  opacity: .78;
}

.dys-showcase__description p {
  margin: 0;
  color: inherit;
}

.dys-showcase__button {
  --dys-button-bg: #090909;
  --dys-button-text: #fff;
  --dys-button-accent: #bdd844;
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 220px;
  min-height: 62px;
  margin-top: 34px;
  padding: 6px 7px 6px 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: var(--dys-button-bg) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  color: var(--dys-button-text) !important;
  text-decoration: none !important;
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

.dys-showcase__button:hover,
.dys-showcase__button:focus-visible {
  background: var(--dys-button-bg) !important;
  color: var(--dys-button-text) !important;
  border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .23);
}

.dys-showcase__button:focus-visible {
  outline: 3px solid var(--dys-button-accent);
  outline-offset: 3px;
}

.dys-showcase__button-text {
  color: inherit;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.dys-showcase__button-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--dys-button-accent) !important;
  color: #0a0a0a !important;
}

.dys-showcase__button-icon svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  overflow: visible;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1);
}

.dys-showcase__button:hover .dys-showcase__button-icon svg,
.dys-showcase__button:focus-visible .dys-showcase__button-icon svg {
  transform: translate(2px, -2px);
}

.dys-showcase__navigation {
  position: absolute;
  z-index: 8;
  top: 50%;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}

.dys-showcase__nav {
  display: grid !important;
  width: 50px !important;
  min-width: 50px !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 !important;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 50% !important;
  background: #090909 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
  color: #fff !important;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease !important;
}

.dys-showcase__nav:hover,
.dys-showcase__nav:focus-visible {
  border-color: var(--dys-accent) !important;
  color: var(--dys-accent) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .27);
}

.dys-showcase__nav:focus-visible {
  outline: 2px solid var(--dys-accent);
  outline-offset: 3px;
}

.dys-showcase__nav[disabled] {
  opacity: .34;
  cursor: not-allowed;
}

.dys-showcase__nav svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dys-showcase__status {
  position: absolute;
  z-index: 7;
  top: 25px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: .08em;
  mix-blend-mode: difference;
}

.dys-showcase__status-line {
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.dys-showcase__dots {
  position: absolute;
  z-index: 7;
  right: 28px;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.dys-showcase__dot {
  display: block !important;
  width: 8px !important;
  min-width: 8px !important;
  height: 8px !important;
  min-height: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .5) !important;
  cursor: pointer;
  transition: width 220ms ease, background-color 220ms ease !important;
}

.dys-showcase__dot.is-active {
  width: 27px !important;
  background: var(--dys-accent) !important;
}

.dys-showcase__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .dys-showcase__copy {
    padding: 48px 48px;
  }

  .dys-showcase__title {
    font-size: clamp(34px, 5vw, 58px);
  }

  .dys-showcase__navigation {
    right: 16px;
  }
}

@media (max-width: 767px) {
  .dys-showcase {
    --dys-height: 720px;
    min-height: 640px;
  }

  .dys-showcase--card {
    border-radius: min(var(--dys-radius), 22px);
  }

  .dys-showcase--fullscreen {
    min-height: max(680px, 100svh);
  }

  .dys-showcase__slide,
  .dys-showcase__slide.is-image-right {
    grid-template-columns: 1fr;
    grid-template-rows: 42% minmax(0, 58%);
    grid-template-areas: "media" "copy";
  }

  .dys-showcase__media,
  .dys-showcase__slide.is-image-right .dys-showcase__media {
    justify-self: auto;
    width: 100%;
    height: 108%;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .dys-showcase__copy {
    align-items: flex-start;
    padding: 34px 26px 72px;
  }

  .dys-showcase__copy-inner {
    width: 100%;
  }

  .dys-showcase__eyebrow {
    min-height: 30px;
    margin-bottom: 15px;
    padding: 7px 11px;
    font-size: 10px;
  }

  .dys-showcase__title {
    font-size: clamp(31px, 10vw, 44px);
    line-height: 1.04;
  }

  .dys-showcase__description {
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.48;
  }

  .dys-showcase__button {
    min-width: 202px;
    min-height: 56px;
    margin-top: 22px;
    padding-left: 22px;
  }

  .dys-showcase__button-icon {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
  }

  .dys-showcase__navigation {
    top: auto;
    right: 20px;
    bottom: 53px;
    flex-direction: row;
    transform: none;
  }

  .dys-showcase__nav {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  .dys-showcase__status {
    top: 18px;
    left: 20px;
  }

  .dys-showcase__dots {
    right: auto;
    bottom: 26px;
    left: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dys-showcase,
  .dys-showcase *,
  .dys-showcase *::before,
  .dys-showcase *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
