/* PSR planner (pipesync / mobile): PIPESYNC wordmark — PIPE white + SYNC orange + rolling sheen */

.psr-pipesync-wordmark {
  display: inline-flex;
  align-items: baseline;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-family: 'Poppins', Inter, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-style: normal;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  animation: psr-pipesync-wordmark-reveal 1.05s ease forwards;
}

.psr-pipesync-wordmark::after {
  content: '';
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: 0;
  width: 48%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    102deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 34%,
    rgba(255, 255, 255, 0.08) 44%,
    rgba(255, 255, 255, 0.26) 50%,
    rgba(255, 255, 255, 0.08) 56%,
    rgba(255, 255, 255, 0) 66%,
    rgba(255, 255, 255, 0) 100%
  );
  mix-blend-mode: soft-light;
  transform: translateX(-125%) skewX(-15deg);
  animation: psr-pipesync-wordmark-sheen 5.6s cubic-bezier(0.42, 0.03, 0.58, 0.97) infinite;
  animation-delay: 0.45s;
}

.psr-pipesync-wordmark--desktop {
  font-weight: 800;
  font-size: clamp(1.55rem, 4.2vw, 2.05rem);
  letter-spacing: 0.055em;
  filter: drop-shadow(0 4px 16px rgba(255, 107, 53, 0.14));
}

.psr-pipesync-wordmark--desktop::after {
  animation-duration: 6.6s;
  animation-delay: 0.75s;
}

.psr-pipesync-wordmark--mobile {
  font-weight: 800;
  font-size: clamp(1.18rem, 4.5vw, 1.52rem);
  letter-spacing: 0.05em;
  filter: drop-shadow(0 3px 12px rgba(255, 107, 53, 0.12));
}

.psr-pipesync-wordmark--mobile::after {
  animation-duration: 6.9s;
  animation-delay: 0.55s;
}

.psr-pipesync-wordmark__pipe,
.psr-pipesync-wordmark__sync {
  position: relative;
  z-index: 1;
}

.psr-pipesync-wordmark__pipe {
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.psr-pipesync-wordmark__sync {
  color: var(--orange);
  text-shadow:
    0 1px 0 rgba(255, 210, 175, 0.35),
    0 0 18px var(--orange-glow),
    0 0 40px rgba(255, 107, 53, 0.18);
}

@keyframes psr-pipesync-wordmark-reveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes psr-pipesync-wordmark-sheen {
  0%,
  8% {
    transform: translateX(-125%) skewX(-15deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  46% {
    transform: translateX(235%) skewX(-15deg);
    opacity: 1;
  }
  52%,
  100% {
    transform: translateX(235%) skewX(-15deg);
    opacity: 0;
  }
}

/* Sign-in hero: same animated PIPE+SYNC as planner header, sized for the login card */
.psr-pipesync-wordmark--login {
  font-weight: 800;
  font-size: clamp(2rem, 6.5vw, 3.35rem);
  letter-spacing: 0.055em;
  filter: drop-shadow(0 4px 16px rgba(255, 107, 53, 0.14));
}

.psr-pipesync-wordmark--login::after {
  animation-duration: 6.2s;
  animation-delay: 0.55s;
}

@media (prefers-reduced-motion: reduce) {
  .psr-pipesync-wordmark {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .psr-pipesync-wordmark::after {
    animation: none !important;
    opacity: 0 !important;
  }
}
