.rwps {
  --rwps-active-radius: 0;
  --rwps-count: 3;
  --rwps-mobile-card-height: 72svh;
  --rwps-mobile-gap: 14px;
  --rwps-rotation: 3deg;
  --rwps-scroll-card: 68vh;
  --rwps-small-radius: 30px;
  --rwps-small-scale: 0.7;
  --rwps-stage-pb: 0;
  --rwps-stage-pl: 0;
  --rwps-stage-pr: 0;
  --rwps-stage-pt: 0;
  height: 304vh;
  position: relative;
}
.rwps-stage {
  background: transparent;
  height: 100svh;
  overflow: hidden;
  position: sticky;
  top: 0;
}
.rwps-card {
  background: #191919;
  bottom: 70px;
  left: 10vw;
  overflow: hidden;
  position: absolute;
  right: 10vw;
  top: 70px;
  transform-origin: 50% 100%;
  will-change: transform;
}
.rwps-link {
  color: #fff;
  display: block;
  inset: 0;
  overflow: hidden;
  position: absolute;
  text-decoration: none;
}
.rwps-media,
.rwps-shade {
  inset: 0;
  position: absolute;
}
.rwps-media {
  overflow: hidden;
}
.rwps-media img {
  display: block;
  height: 130% !important;
  inset: -15%;
  max-width: none !important;
  object-fit: cover;
  position: absolute;
  width: 130% !important;
  will-change: transform;
}
.rwps-shade {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.38),
    transparent 42%,
    rgba(0, 0, 0, 0.72)
  );
}
.rwps-bottom {
  align-items: flex-end;
  bottom: 0;
  display: flex;
  gap: clamp(24px, 5vw, 80px);
  justify-content: space-between;
  left: 0;
  padding: 58px;
  position: absolute;
  right: 0;
  z-index: 2;
}
.rwps-info {
  flex: 1;
  min-width: 0;
}
.rwps-title {
  color: #fff;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 500;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}
.rwps-line {
  background: rgba(255, 255, 255, 0.42);
  display: block;
  height: 1px;
  margin: 18px 0;
  width: 100%;
}
.rwps-meta {
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  font-size: 11px;
  gap: 24px;
  justify-content: space-between;
  text-transform: uppercase;
}
.rwps-button {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 7px;
  color: #fff;
  display: flex;
  flex: 0 0 auto;
  font-size: 11px;
  gap: 24px;
  justify-content: space-between;
  min-width: 170px;
  text-transform: uppercase;
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s;
}
.rwps-button-text {
  font: inherit;
}
.rwps-button-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}
.rwps-button-icon svg {
  display: block;
  overflow: visible;
}
.rwps-link:hover .rwps-button {
  background: #fff;
  color: #111;
}
.rwps-link:hover .rwps-button-icon {
  transform: translate(2px, -2px);
}
.rwps-button-icon--feminine {
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}
.rwps-link:hover .rwps-button-icon--feminine {
  transform: translateX(-6px);
}
.rwps-progress {
  background: rgba(255, 255, 255, 0.25);
  height: 22vh;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  z-index: 30;
}
.rwps-progress-bar {
  background: #fff;
  display: block;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  width: 100%;
}
@media (max-width: 767px) {
  .rwps.is-mobile-cards {
    height: auto;
  }
  .rwps.is-mobile-cards .rwps-stage {
    display: grid;
    gap: var(--rwps-mobile-gap);
    height: auto !important;
    overflow: visible;
    padding: var(--rwps-stage-pt) var(--rwps-stage-pr) var(--rwps-stage-pb)
      var(--rwps-stage-pl);
    position: relative;
  }
  .rwps.is-mobile-cards .rwps-card {
    border-radius: var(--rwps-small-radius) !important;
    bottom: auto !important;
    height: var(--rwps-mobile-card-height);
    left: auto !important;
    opacity: 0;
    position: relative;
    right: auto !important;
    top: auto !important;
  }
  .rwps.is-mobile-cards .rwps-card.is-visible {
    opacity: 1;
    transform: translateY(0) !important;
    transition:
      opacity 0.8s ease,
      transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .rwps.is-mobile-cards .rwps-bottom {
    display: block;
  }
  .rwps.is-mobile-cards .rwps-title {
    font-size: clamp(32px, 10vw, 48px);
  }
  .rwps.is-mobile-cards .rwps-button {
    min-width: 0;
  }
  .rwps.is-mobile-cards .rwps-progress {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rwps {
    height: auto;
  }
  .rwps-stage {
    display: grid;
    gap: var(--rwps-mobile-gap);
    height: auto !important;
    overflow: visible;
    padding: var(--rwps-stage-pt) var(--rwps-stage-pr) var(--rwps-stage-pb)
      var(--rwps-stage-pl);
    position: relative;
  }
  .rwps-card {
    bottom: auto !important;
    height: var(--rwps-mobile-card-height);
    left: auto !important;
    opacity: 1 !important;
    position: relative;
    right: auto !important;
    top: auto !important;
    transform: none !important;
  }
  .rwps-media img {
    transform: none !important;
    will-change: auto;
  }
}

.rwps-media video {
  display: block;
  height: 130% !important;
  inset: -15%;
  max-width: none !important;
  object-fit: cover;
  position: absolute;
  width: 130% !important;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .rwps-media video {
    transform: none !important;
    will-change: auto;
  }
}

.rwps {
  --rwps-impact-color: #c8ff3d;
}

.rwps-subtitle {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(13px, 1.05vw, 17px);
  line-height: 1.42;
  margin: 10px 0 0;
  max-width: 620px;
}

.rwps-impact {
  backdrop-filter: blur(14px);
  background: rgba(8, 12, 12, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: calc(100% - 36px);
  opacity: 0;
  padding: 18px 20px;
  position: absolute;
  right: 58px;
  top: 58px;
  transform: translateY(18px);
  width: 390px;
  z-index: 3;
}

.rwps-impact svg {
  display: block;
  height: auto;
  order: -1;
  overflow: visible;
  width: 100%;
}

.rwps-impact-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.11);
  stroke-width: 1;
}

.rwps-impact-path {
  fill: none;
  stroke: var(--rwps-impact-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.rwps-impact-dotline {
  stroke: rgba(255, 255, 255, 0.48);
  stroke-width: 1.25;
}

.rwps-impact-end,
.rwps-impact-points circle {
  fill: var(--rwps-impact-color);
  filter: drop-shadow(0 0 5px rgba(200, 255, 61, 0.55));
}

.rwps-impact-bars rect {
  fill: var(--rwps-impact-color);
}
.rwps-impact-bars rect:nth-child(-n + 3) {
  opacity: 0.38;
}
.rwps-impact-bars rect:nth-child(4),
.rwps-impact-bars rect:nth-child(5) {
  opacity: 0.65;
}

.rwps-impact-copy {
  align-items: flex-end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.rwps-impact-value {
  font-size: clamp(46px, 4vw, 64px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.88;
  white-space: nowrap;
}

.rwps-impact-value b {
  font: inherit;
}
.rwps-impact-copy small {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 4px;
}
.rwps-impact-label {
  color: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
}
.rwps-impact-context {
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .rwps-impact {
    opacity: 1;
    padding: 13px 15px;
    right: 18px;
    top: 18px;
    transform: none;
    width: 290px;
  }
  .rwps-impact-value {
    font-size: 38px;
  }
  .rwps-impact-label {
    font-size: 11px;
  }
  .rwps-impact-context {
    font-size: 7px;
  }
  .rwps-subtitle {
    font-size: 12px;
    line-height: 1.35;
    margin-top: 7px;
    max-width: 38ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rwps-impact {
    opacity: 1;
    transform: none;
  }
}
