/* FlipWords - https://ui.aceternity.com/components/flip-words */
body.home .header-homepage__title > span.vl-flip-words {
  display: block !important;
  position: relative !important;
  min-height: 1.15em;
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  color: var(--color-accent, #ff2b2b);
}

body.home .header-homepage__title > span.vl-flip-words > .vl-flip-words__stage {
  animation: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.home .header-homepage__title .vl-flip-words__stage {
  display: inline-block;
  position: relative;
  min-height: 1.15em;
  vertical-align: bottom;
}

body.home .header-homepage__title .vl-flip-words__word {
  display: inline-block;
  position: relative;
  text-align: left;
  white-space: nowrap;
}

body.home .header-homepage__title .vl-flip-words__word.is-exiting {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
  animation: vl-flip-words-exit 0.5s cubic-bezier(0.55, 0, 0.9, 0.38) forwards;
}

body.home .header-homepage__title .vl-flip-words__word.is-active {
  z-index: 1;
}

body.home .header-homepage__title .vl-flip-words__word-group {
  display: inline-block;
  white-space: nowrap;
}

body.home .header-homepage__title .vl-flip-words__cursor {
  display: inline-block;
  width: 0.075em;
  min-width: 3px;
  height: 0.9em;
  margin-left: 0.05em;
  vertical-align: baseline;
  background: var(--color-accent, #ff2b2b);
  opacity: 0;
  pointer-events: none;
}

body.home .header-homepage__title .vl-flip-words__cursor.is-visible {
  opacity: 1;
  animation: vl-flip-words-cursor-blink 0.85s step-end infinite;
}

@keyframes vl-flip-words-cursor-blink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

body.home .header-homepage__title .vl-flip-words__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(8px);
}

body.home .header-homepage__title .vl-flip-words__word.is-active .vl-flip-words__letter {
  animation: vl-flip-words-letter-in 0.2s ease forwards;
  animation-delay: var(--vl-flip-letter-delay, 0s);
}

@keyframes vl-flip-words-letter-in {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes vl-flip-words-exit {
  to {
    opacity: 0;
    transform: translateY(-40px) translateX(40px) scale(2);
    filter: blur(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .header-homepage__title .vl-flip-words__word.is-exiting {
    animation: none !important;
    opacity: 0 !important;
  }

  body.home .header-homepage__title .vl-flip-words__cursor.is-visible {
    animation: none !important;
    opacity: 1 !important;
  }

  body.home .header-homepage__title .vl-flip-words__letter {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

/* TextGenerateEffect - home About lead */
/* https://ui.aceternity.com/components/text-generate-effect */
body.home .vl-home-about-block .vl-text-generate {
  display: block;
}

body.home .vl-home-about-block .vl-text-generate__word {
  display: inline;
  opacity: 0;
}

body.home .vl-home-about-block .vl-text-generate--filter .vl-text-generate__word {
  filter: blur(8px);
}

body.home .vl-home-about-block .vl-text-generate__word.is-revealed {
  animation: vl-text-generate-in var(--vl-text-generate-duration, 0.5s) ease forwards;
}

@keyframes vl-text-generate-in {
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .vl-home-about-block .vl-text-generate__word {
    opacity: 1 !important;
    filter: none !important;
    animation: none !important;
  }
}

/* EncryptedText - Wearhouse carousel + About copy */
body.home .vl-home-about-block .vl-encrypted-text {
  display: inline;
}

body.home .vl-home-about-block .vl-encrypted-text__char {
  display: inline;
}

body.home .vl-home-about-block .vl-encrypted-text__char.is-scrambling {
  color: color-mix(in srgb, var(--color-text) 42%, transparent);
}

body.home .vl-home-about-block .vl-encrypted-text__char.is-revealed {
  color: inherit;
}

.vl-wh-phone-carousel__copy .vl-encrypted-text {
  display: block;
  box-sizing: border-box;
}

.vl-wh-phone-carousel__copy .vl-encrypted-text__char {
  display: inline;
}

.vl-wh-phone-carousel__copy .vl-encrypted-text__char.is-scrambling {
  color: rgba(255, 255, 255, 0.45);
}

.vl-wh-phone-carousel__copy .vl-encrypted-text__char.is-revealed {
  color: inherit;
}

body.home.vl-theme-middle .vl-wh-phone-carousel__copy .vl-encrypted-text__char.is-scrambling {
  color: rgba(17, 17, 17, 0.42);
}
