.cipp-story {
  position: relative;
  height: var(--cipp-story-height, 850vh);
  background: #050505;
  color: #fff;
}

.cipp-story *,
.cipp-story *::before,
.cipp-story *::after {
  box-sizing: border-box;
}

.cipp-story__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #050505;
}

.cipp-story__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .9s ease;
}

.cipp-story.is-paused .cipp-story__video {
  transform: scale(1.015);
}

.cipp-story__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.38) 42%, rgba(0,0,0,.08) 72%),
    linear-gradient(0deg, rgba(0,0,0,.45) 0%, transparent 40%);
  pointer-events: none;
}

.cipp-story__intro {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 7vw, 110px);
  top: 50%;
  width: min(650px, calc(100% - 48px));
  transform: translateY(-50%);
  transition: opacity .55s ease, transform .55s ease, filter .55s ease;
}

.cipp-story__intro.is-hidden {
  opacity: 0;
  transform: translateY(-44%);
  filter: blur(8px);
  pointer-events: none;
}

.cipp-story__eyebrow,
.cipp-story__counter {
  display: block;
  margin-bottom: 18px;
  color: #f5b800;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.cipp-story__intro h2 {
  margin: 0 0 22px;
  max-width: 760px;
  font-size: clamp(40px, 6vw, 88px);
  line-height: .98;
  letter-spacing: -.04em;
}


.cipp-story__intro-title span {
  display: block;
}

.cipp-story__intro-white {
  color: #fff;
}

.cipp-story__intro-yellow {
  color: #f5b800;
}

.cipp-story__intro-after {
  margin-top: .04em;
}

.cipp-story__intro p {
  margin: 0;
  max-width: 560px;
  color: rgba(255,255,255,.75);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55;
}

.cipp-story__scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.cipp-story__scroll-hint::before {
  content: '';
  width: 42px;
  height: 1px;
  background: #f5b800;
}

.cipp-story__panel {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 7vw, 110px);
  top: 50%;
  width: min(520px, calc(100% - 48px));
  padding: 34px 0;
  border-top: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
  opacity: 0;
  transform: translateY(-44%);
  filter: blur(12px);
  pointer-events: none;
  transition: opacity .55s ease, transform .55s ease, filter .55s ease;
}

.cipp-story__panel.is-visible {
  opacity: 1;
  transform: translateY(-50%);
  filter: blur(0);
  pointer-events: auto;
}

.cipp-story__content h3 {
  margin: 0 0 18px;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.cipp-story__title-white {
  color: #fff;
}

.cipp-story__title-yellow {
  color: #f5b800;
}

.cipp-story__content > p {
  margin: 0 0 26px;
  max-width: 500px;
  color: rgba(255,255,255,.76);
  font-size: 17px;
  line-height: 1.6;
}

.cipp-story__details ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cipp-story__details li {
  position: relative;
  padding-left: 22px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
}

.cipp-story__details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5b800;
}

.cipp-story__navigation {
  position: absolute;
  z-index: 4;
  right: clamp(22px, 4vw, 62px);
  top: 50%;
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
}

.cipp-story__bullet {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.cipp-story__bullet.is-complete,
.cipp-story__bullet.is-active {
  border-color: #f5b800;
  background: #f5b800;
}

.cipp-story__bullet.is-active {
  transform: scale(1.45);
}

.cipp-story__progress {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,.12);
}

.cipp-story__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #f5b800;
}

.cipp-story-error {
  padding: 20px;
  border: 1px solid #d63638;
  background: #fff;
  color: #1d2327;
}

@media (max-width: 767px) {
  .cipp-story {
    height: 760vh;
  }

  .cipp-story__overlay {
    background:
      linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.42) 62%, rgba(0,0,0,.12) 100%);
  }

  .cipp-story__intro,
  .cipp-story__panel {
    left: 22px;
    right: 22px;
    top: auto;
    bottom: 90px;
    width: auto;
    transform: none;
  }

  .cipp-story__intro.is-hidden {
    transform: translateY(20px);
  }

  .cipp-story__panel {
    padding: 24px 0;
    transform: translateY(22px);
  }

  .cipp-story__panel.is-visible {
    transform: translateY(0);
  }

  .cipp-story__intro h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .cipp-story__content h3 {
    font-size: clamp(31px, 9vw, 44px);
  }

  .cipp-story__content > p {
    font-size: 15px;
  }

  .cipp-story__details li {
    font-size: 13px;
  }

  .cipp-story__navigation {
    top: auto;
    right: auto;
    left: 22px;
    bottom: 40px;
    display: flex;
    transform: none;
  }
}
