/* FITfactory v80: robust sequential neon swipe on the flat-violet homepage creed. */

.brand-creed-neon-v76.brand-creed-swipe-v80 {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#6b287f;
  background-image:none;
  border-block:1px solid rgba(255,255,255,.24);
  box-shadow:none;
}

.brand-creed-neon-v76.brand-creed-swipe-v80::before,
.brand-creed-neon-v76.brand-creed-swipe-v80::after {
  display:none;
  animation:none;
  content:none;
}

.brand-creed-swipe-v80 .eyebrow {
  color:#f3d9f7;
  text-shadow:none;
}

.brand-creed-swipe-v80 h2,
.brand-creed-swipe-v80 h2 .brand-creed-word-v80:nth-child(2) {
  color:#e9cfee;
  text-shadow:none;
}

.brand-creed-swipe-v80 p:last-child {
  color:#f7eef9;
  text-shadow:none;
}

.brand-creed-swipe-v80 .brand-creed-word-v80 {
  position:relative;
  display:inline-block;
  isolation:isolate;
}

.brand-creed-swipe-v80 .brand-creed-word-v80::after,
.brand-creed-swipe-v80 .brand-creed-light-v80 {
  position:absolute;
  z-index:1;
  inset:0;
  color:#fff;
  opacity:0;
  pointer-events:none;
  white-space:nowrap;
  -webkit-clip-path:inset(0 100% 0 0);
  clip-path:inset(0 100% 0 0);
  text-shadow:
    0 0 2px #fff,
    0 0 7px #fff,
    0 0 14px #ffb1ff,
    0 0 24px #f06cff,
    0 0 36px rgba(240,108,255,.94);
  filter:
    brightness(1.42)
    saturate(1.08)
    drop-shadow(0 0 4px rgba(255,255,255,.98))
    drop-shadow(0 0 12px rgba(255,124,255,.94));
  mix-blend-mode:screen;
  transform:translateZ(0);
  will-change:clip-path,opacity;
}

/* Chromium, Safari and current Firefox receive a soft, text-clipped light beam. */
@supports ((-webkit-background-clip:text) or (background-clip:text)) {
  .brand-creed-swipe-v80 .brand-creed-word-v80::after,
  .brand-creed-swipe-v80 .brand-creed-light-v80 {
    color:transparent;
    background-image:linear-gradient(
      104deg,
      transparent 0%,
      transparent 42%,
      rgba(255,215,255,.18) 45%,
      rgba(255,221,255,.74) 48%,
      #fff 49.5%,
      #fff 51.5%,
      #d9fff8 53%,
      rgba(250,168,255,.68) 56%,
      transparent 60%,
      transparent 100%
    );
    background-repeat:no-repeat;
    background-size:300% 100%;
    background-position:170% 50%;
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    -webkit-clip-path:none;
    clip-path:none;
    text-shadow:none;
    filter:
      brightness(1.3)
      drop-shadow(0 0 2px rgba(255,255,255,.98))
      drop-shadow(0 0 7px rgba(255,225,255,.94))
      drop-shadow(0 0 16px rgba(240,108,255,.88));
    will-change:background-position,opacity;
  }

  .brand-creed-swipe-v80 .brand-creed-word-v80::after {
    animation-name:ff-creed-neon-soft-v80;
  }
}

/* CSS is the independent fallback when JavaScript or WAAPI is unavailable. */
.brand-creed-swipe-v80 .brand-creed-word-v80::after {
  content:attr(data-swipe-text);
  animation:ff-creed-neon-swipe-v80 5.8s linear infinite both;
  animation-delay:var(--ff-creed-swipe-delay-v80,0s);
}

.brand-creed-swipe-v80 .brand-creed-word-v80:nth-child(1)::after {
  --ff-creed-swipe-delay-v80:0s;
}

.brand-creed-swipe-v80 .brand-creed-word-v80:nth-child(2)::after {
  --ff-creed-swipe-delay-v80:1.2s;
}

.brand-creed-swipe-v80 .brand-creed-word-v80:nth-child(3)::after {
  --ff-creed-swipe-delay-v80:2.4s;
}

/* The real HTML light layer is controlled through Web Animations by v80 JS. */
.brand-creed-swipe-v80 .brand-creed-light-v80 {
  display:none;
  font:inherit;
  letter-spacing:inherit;
  line-height:inherit;
  text-transform:inherit;
  user-select:none;
}

.brand-creed-swipe-v80.brand-creed-waapi-v80 .brand-creed-word-v80::after {
  animation:none;
  content:none;
}

.brand-creed-swipe-v80.brand-creed-waapi-v80 .brand-creed-light-v80 {
  display:block;
}

@keyframes ff-creed-neon-swipe-v80 {
  0% {
    -webkit-clip-path:inset(0 100% 0 0);
    clip-path:inset(0 100% 0 0);
    opacity:0;
  }

  1.7% {
    -webkit-clip-path:inset(0 84% 0 0);
    clip-path:inset(0 84% 0 0);
    opacity:1;
  }

  10% {
    -webkit-clip-path:inset(0 38% 0 38%);
    clip-path:inset(0 38% 0 38%);
    opacity:1;
  }

  18.3% {
    -webkit-clip-path:inset(0 0 0 84%);
    clip-path:inset(0 0 0 84%);
    opacity:1;
  }

  20%,100% {
    -webkit-clip-path:inset(0 0 0 100%);
    clip-path:inset(0 0 0 100%);
    opacity:0;
  }
}

@keyframes ff-creed-neon-soft-v80 {
  0% {
    background-position:170% 50%;
    opacity:0;
  }

  1.7% {
    background-position:155% 50%;
    opacity:1;
  }

  18.3% {
    background-position:-55% 50%;
    opacity:1;
  }

  20%,100% {
    background-position:-70% 50%;
    opacity:0;
  }
}

/* The requested light-only effect remains active even with OS motion reduction. */
@media (prefers-reduced-motion:reduce) {
  .brand-creed-swipe-v80 .brand-creed-word-v80::after {
    animation-duration:5.8s;
    animation-iteration-count:infinite;
    animation-play-state:running;
  }
}

@media (forced-colors:active) {
  .brand-creed-neon-v76.brand-creed-swipe-v80 {
    color:CanvasText;
    background:Canvas;
    border-block:2px solid CanvasText;
  }

  .brand-creed-swipe-v80 .brand-creed-word-v80::after,
  .brand-creed-swipe-v80 .brand-creed-light-v80 {
    display:none;
  }
}

@media print {
  .brand-creed-swipe-v80 .brand-creed-word-v80::after,
  .brand-creed-swipe-v80 .brand-creed-light-v80 {
    display:none;
  }
}
