.z5csd {
  --z5csd-spread-x: 44px;
  --z5csd-spread-y: 26px;
  --z5csd-back-scale: 0.86;
  --z5csd-back-opacity: 0.72;
  --z5csd-back-brightness: 0.62;
  --z5csd-rotation: 2.8;
  --z5csd-parallax: 6;
  --z5csd-progress: 0;
  position: relative;
  width: 100%;
  color: #f7f5f2;
  background: #111211;
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
}


/* Pin-stability safeguards: the section itself is pinned, so the animated content
   never becomes a fixed child inside its own clipped ancestor. */
.z5csd.is-refreshing {
  visibility: visible !important;
  opacity: 1 !important;
}

.z5csd.is-refreshing .z5csd__pin,
.z5csd.is-refreshing .z5csd__container {
  visibility: visible !important;
  opacity: 1 !important;
}

.z5csd::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 20% 25%, currentColor 0 0.55px, transparent 0.7px),
    radial-gradient(circle at 75% 65%, currentColor 0 0.45px, transparent 0.65px);
  background-size: 5px 5px, 7px 7px;
  mix-blend-mode: soft-light;
}

.z5csd,
.z5csd * {
  box-sizing: border-box;
}

.z5csd__pin {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100svh;
}

.z5csd__container {
  width: 100%;
  max-width: 1520px;
  margin-inline: auto;
  padding: 72px 40px;
}

.z5csd__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.z5csd__label {
  margin: 0;
  color: #d9252a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.z5csd__status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 0 0 auto;
}

.z5csd__counter {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: #f7f5f2;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.z5csd__counter span:nth-child(2),
.z5csd__counter span:nth-child(3) {
  opacity: 0.42;
}

.z5csd__progress {
  position: relative;
  width: 150px;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.z5csd__progress-fill {
  position: absolute;
  inset: 0;
  display: block;
  background: #d9252a;
  transform: scaleX(var(--z5csd-progress));
  transform-origin: left center;
  will-change: transform;
}

.z5csd__intro {
  width: min(100%, 670px);
  margin-bottom: 64px;
}

.z5csd__heading {
  max-width: 650px;
  margin: 0;
  color: #f7f5f2;
  font-size: clamp(42px, 5vw, 86px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.z5csd__intro-text {
  max-width: 590px;
  margin: 24px 0 0;
  color: #b8b5b1;
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 400;
  line-height: 1.55;
}

.z5csd__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 72px;
}

.z5csd__story-column {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.z5csd__story-stack {
  position: relative;
  min-height: 360px;
}

.z5csd__story {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(0px, 4vw, 64px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
}

.z5csd:not(.is-ready) .z5csd__story[data-status="active"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.z5csd:not(.is-ready) .z5csd__story[data-status="inactive"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.z5csd__ghost-number {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: -1;
  color: rgba(255, 255, 255, 0.045);
  font-size: clamp(150px, 18vw, 310px);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.09em;
  transform: translateY(-50%);
  user-select: none;
}

.z5csd__story-kicker {
  margin-bottom: 14px;
  color: #d9252a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.z5csd__story-title {
  max-width: 11em;
  margin: 0;
  color: #f7f5f2;
  font-size: clamp(34px, 3.4vw, 62px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.z5csd__story-text {
  max-width: 560px;
  margin-top: 24px;
  color: #c7c3be;
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 400;
  line-height: 1.62;
}

.z5csd__story-text > :first-child {
  margin-top: 0;
}

.z5csd__story-text > :last-child {
  margin-bottom: 0;
}

.z5csd__story-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 28px;
}

.z5csd__stat-value {
  color: #f7f5f2;
  font-size: clamp(28px, 2.8vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.z5csd__stat-label {
  max-width: 15em;
  color: #9f9b96;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.z5csd__cta-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  opacity: 1;
  will-change: transform, opacity;
}

.z5csd__proof {
  color: #9f9b96;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.z5csd__cta {
  appearance: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 16px 24px;
  color: #fff;
  background: #d9252a;
  background-image: none !important;
  border: 1px solid #d9252a;
  border-radius: 999px;
  box-shadow: none;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1),
    color 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.z5csd__cta:hover,
.z5csd__cta:focus-visible {
  color: #d9252a;
  background: #fff;
  border-color: #fff;
  transform: translateY(-3px);
  text-decoration: none !important;
}

.z5csd__cta:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.z5csd__cta-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.z5csd__cta-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.z5csd__cta:hover .z5csd__cta-icon,
.z5csd__cta:focus-visible .z5csd__cta-icon {
  transform: translateX(3px);
}

.z5csd__media-column {
  position: relative;
  min-width: 0;
}

.z5csd__media-stage {
  position: relative;
  width: 100%;
  height: clamp(420px, 54svh, 610px);
  perspective: 1500px;
  outline: none;
  touch-action: pan-y;
}

.z5csd__media-stage:focus-visible::after {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: 5000;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 34px;
  pointer-events: none;
}

.z5csd__media-card {
  position: absolute;
  top: 0;
  right: 0;
  width: 92%;
  height: 100%;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

.z5csd:not(.is-ready) .z5csd__media-card[data-status="active"] {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

.z5csd:not(.is-ready) .z5csd__media-card[data-status="inactive"] {
  opacity: 0;
  visibility: hidden;
}


.z5csd__media-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  background: #242321;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  transform: translateZ(0);
}

.z5csd__media-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: rgba(255,255,255,.025);
  transform: translateZ(0);
}

.z5csd .z5csd__media-frame > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/*
 * Elementor's global image reset applies `height: auto` to widget images.
 * On wide cards that turns a 633 × 262 frame into a 633 × 422 image and
 * anchors the crop to the top. Keep both dimensions tied to the media frame
 * so object-fit/object-position can perform the intended crop.
 */
.z5csd .z5csd__media-frame > .z5csd__media-visual,
.z5csd .z5csd__media-frame > picture > .z5csd__media-visual {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  transform: scale(1);
  will-change: transform;
}

.z5csd[data-media-fit="contain"] .z5csd__media-visual,
.z5csd__media-shell[data-media-fit="contain"] .z5csd__media-visual {
  object-fit: contain;
}

.z5csd[data-media-fit="cover"] .z5csd__media-visual,
.z5csd__media-shell[data-media-fit="cover"] .z5csd__media-visual {
  object-fit: cover;
}

.z5csd__media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.z5csd__media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
}

.z5csd__media-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  padding: 24px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.z5csd__navigation {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 6000;
  display: flex;
  gap: 10px;
}

.z5csd__nav-button {
  appearance: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: none !important;
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.75, 0.2, 1),
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.z5csd__nav-button:hover,
.z5csd__nav-button:focus-visible {
  color: #fff;
  background: #d9252a;
  border-color: #d9252a;
  transform: translateY(-2px);
}

.z5csd__nav-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.z5csd__nav-button svg {
  display: block;
  width: 20px;
  height: 20px;
}

.z5csd.is-manual .z5csd__pin {
  min-height: 0;
}

.z5csd.is-static .z5csd__story:not([data-status="active"]),
.z5csd.is-static .z5csd__media-card:not([data-status="active"]) {
  display: none;
}

.elementor-editor-active .z5csd__pin {
  min-height: 0;
}

@media (hover: hover) and (pointer: fine) {
  .z5csd__media-card[data-status="active"] .z5csd__media-shell {
    transition: transform 0.5s cubic-bezier(0.2, 0.75, 0.2, 1);
  }

  .z5csd__media-card[data-status="active"]:hover .z5csd__media-shell {
    transform: scale(0.988);
  }
}

@media (max-width: 1199px) {
  .z5csd__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

@media (max-width: 991px) {
  .z5csd {
    --z5csd-spread-x: 28px;
    --z5csd-spread-y: 18px;
    --z5csd-back-scale: 0.9;
    --z5csd-back-opacity: 0.68;
    --z5csd-back-brightness: 0.7;
    --z5csd-rotation: 2;
    --z5csd-parallax: 4;
  }

  .z5csd__container {
    padding: 64px 28px;
  }

  .z5csd__pin {
    min-height: 92svh;
  }

  .z5csd__intro {
    margin-bottom: 48px;
  }

  .z5csd__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 40px;
  }

  .z5csd__story-stack {
    min-height: 340px;
  }

  .z5csd__media-stage {
    height: clamp(420px, 50svh, 520px);
  }

  .z5csd__media-card {
    width: 92%;
  }

  .z5csd__story {
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .z5csd {
    --z5csd-spread-x: 14px;
    --z5csd-spread-y: 10px;
    --z5csd-back-scale: 0.94;
    --z5csd-back-opacity: 0.62;
    --z5csd-back-brightness: 0.78;
    --z5csd-rotation: 1.2;
    --z5csd-parallax: 2;
  }

  .z5csd__pin {
    display: block;
    min-height: 0;
  }

  .z5csd__container {
    padding: 64px 20px;
  }

  .z5csd__topline {
    align-items: flex-end;
    margin-bottom: 18px;
  }

  .z5csd__status {
    gap: 12px;
  }

  .z5csd__progress {
    width: min(28vw, 120px);
  }

  .z5csd__intro {
    width: 100%;
    margin-bottom: 36px;
  }

  .z5csd__heading {
    font-size: clamp(40px, 12vw, 64px);
  }

  .z5csd__intro-text {
    margin-top: 18px;
    font-size: 17px;
  }

  .z5csd__grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .z5csd__media-column {
    order: 1;
    width: 100%;
  }

  .z5csd__story-column {
    order: 2;
    width: 100%;
  }

  .z5csd__media-stage {
    height: 420px;
  }

  .z5csd__media-card {
    right: auto;
    left: 50%;
    width: 96%;
    transform-origin: 50% 50%;
  }

  .z5csd__media-shell {
    border-radius: 22px;
  }

  .z5csd__media-stage:focus-visible::after {
    border-radius: 28px;
  }

  .z5csd__navigation {
    right: 14px;
    bottom: 14px;
  }

  .z5csd__nav-button {
    width: 48px;
    height: 48px;
  }

  .z5csd__story-stack {
    min-height: 330px;
  }

  .z5csd__story-title {
    font-size: clamp(34px, 10vw, 52px);
  }

  .z5csd__story-text {
    margin-top: 20px;
    font-size: 17px;
  }

  .z5csd__ghost-number {
    right: -6px;
    font-size: clamp(130px, 42vw, 190px);
  }

  .z5csd__cta-area {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 20px;
  }
}

@media (max-width: 479px) {
  .z5csd__media-stage {
    height: min(112vw, 440px);
  }

  .z5csd__counter {
    font-size: 11px;
  }

  .z5csd__story-stack {
    min-height: 350px;
  }

  .z5csd__cta {
    width: 100%;
  }
}

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

/* ==========================================================================\n   v1.0.3 — Native sticky scroll engine\n   ========================================================================== */

/* Elementor wrappers must not become a clipping context around the native
   sticky track. This is intentionally limited to this widget type. */
.elementor-widget-zonefive_community_story_deck,
.elementor-widget-zonefive_community_story_deck > .elementor-widget-container {
  overflow: visible !important;
}

.z5csd.is-sticky-scroll {
  min-height: calc(100svh + var(--z5csd-scroll-distance, 0px));
  padding-bottom: var(--z5csd-scroll-distance, 0px);
  overflow-x: clip;
  overflow-y: visible;
}

.z5csd.is-sticky-scroll .z5csd__pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
}

.z5csd.is-manual {
  min-height: 0;
  padding-bottom: 0;
}

.z5csd.is-manual .z5csd__pin,
.z5csd.is-static .z5csd__pin {
  position: relative;
  top: auto;
  height: auto;
  min-height: 0;
  overflow: visible;
}

/* Runtime opacity is the only visibility source. Keeping compositor layers
   alive prevents blank frames while Lenis and ScrollTrigger update together. */
.z5csd.is-ready .z5csd__story,
.z5csd.is-ready .z5csd__media-card,
.z5csd.is-ready .z5csd__cta-area {
  visibility: visible !important;
}

.z5csd__story,
.z5csd__media-card,
.z5csd__media-visual,
.z5csd__cta-area {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (max-width: 991px) {
  .z5csd.is-sticky-scroll .z5csd__pin {
    height: 100svh;
    min-height: 100svh;
  }
}

/* `overflow-x: clip` on the sticky containing block disables native sticky in
   Chromium, even when overflow-y is visible. The root must stay fully visible;
   horizontal clipping belongs to the sticky viewport itself. */
.z5csd.is-sticky-scroll {
  overflow: visible !important;
}

.z5csd.is-sticky-scroll .z5csd__pin {
  overflow: hidden;
}

/* The scroll distance must be part of the root's content box, not bottom
   padding. Because `.z5csd` uses border-box, padding would leave the sticky
   containing block only one viewport tall and the sticky element would scroll
   away with its parent. */
.z5csd.is-sticky-scroll {
  height: calc(100svh + var(--z5csd-scroll-distance, 0px));
  min-height: calc(100svh + var(--z5csd-scroll-distance, 0px));
  padding-bottom: 0;
}
