.iv-text-reveal {
  --iv-text-reveal-distance: 110%;
  --iv-text-reveal-duration: .66s;
  --iv-text-reveal-step: 80ms;
}

.iv-text-reveal__line {
  margin-block-end: -.12em;
  padding-block-end: .12em;
  display: block;
  overflow: hidden;
}

.iv-text-reveal__line > span {
  transform: translateY(var(--iv-text-reveal-distance));
  transition: transform var(--iv-text-reveal-duration) var(--iv-ease-out);
  transition-delay: calc(var(--iv-i, 0) * var(--iv-text-reveal-step));
  display: block;
}

:where(.iv-text-reveal)[data-iv-inview] .iv-text-reveal__line > span {
  transform: none;
}

:where(:root:not([data-iv-js])) .iv-text-reveal__line > span {
  transition: none;
  transform: none;
}

.iv-text-glow {
  --iv-text-glow-color: var(--iv-glow-primary);
  --iv-text-glow-size: .5em;
  text-shadow: 0 0 calc(var(--iv-text-glow-size) * .35) var(--iv-text-glow-color),
    0 0 var(--iv-text-glow-size) var(--iv-text-glow-color);
}

.iv-text-glow--pulse {
  animation: iv-text-glow 2.4s var(--iv-ease-out) infinite;
}

@keyframes iv-text-glow {
  from, to {
    text-shadow: 0 0 calc(var(--iv-text-glow-size) * .3) var(--iv-text-glow-color),
      0 0 calc(var(--iv-text-glow-size) * .8) var(--iv-text-glow-color);
  }

  50% {
    text-shadow: 0 0 calc(var(--iv-text-glow-size) * .5) var(--iv-text-glow-color),
      0 0 calc(var(--iv-text-glow-size) * 1.8) var(--iv-text-glow-color);
  }
}

.iv-text-outline {
  --iv-text-outline-width: 1px;
  --iv-text-outline-color: currentColor;
}

@supports (-webkit-text-stroke: 1px currentColor) {
  .iv-text-outline {
    -webkit-text-stroke: var(--iv-text-outline-width) var(--iv-text-outline-color);
    -webkit-text-fill-color: transparent;
    transition: -webkit-text-fill-color var(--iv-motion-slow) var(--iv-ease-out);
  }

  .iv-text-outline--fill:hover, .iv-text-outline--fill:focus-within, :where(a:hover) .iv-text-outline--fill, :where(a:focus-visible) .iv-text-outline--fill {
    -webkit-text-fill-color: currentColor;
  }
}

.iv-text-shimmer {
  --iv-text-shimmer-color: currentColor;
  --iv-text-shimmer-highlight: var(--iv-color-primary);
  --iv-text-shimmer-duration: 2.8s;
  background-image: linear-gradient(100deg,
    var(--iv-text-shimmer-color) 0 38%,
    var(--iv-text-shimmer-highlight) 50%,
    var(--iv-text-shimmer-color) 62% 100%);
  -webkit-text-fill-color: transparent;
  animation: iv-text-shimmer var(--iv-text-shimmer-duration) linear infinite;
  background-position: 100% 0;
  background-repeat: no-repeat;
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes iv-text-shimmer {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: 0 0;
  }
}

.iv-text-shimmer--once {
  animation-name: none;
}

:where(.iv-text-shimmer--once)[data-iv-inview] {
  animation-name: iv-text-shimmer;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.iv-count {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .iv-text-reveal__line > span {
    transition: none;
    transform: none;
  }

  .iv-text-glow--pulse {
    animation: none;
  }

  .iv-text-shimmer {
    background-position: 100% 0;
    animation: none;
  }

  :where(.iv-text-shimmer--once)[data-iv-inview] {
    animation: none;
  }
}

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

  .iv-text-outline {
    -webkit-text-stroke-width: 0;
    -webkit-text-fill-color: currentColor;
  }

  .iv-text-shimmer {
    -webkit-text-fill-color: currentColor;
    background-image: none;
    animation: none;
  }
}
