/* ============================================================
   SLDP — Animations Only CSS
   Purpose: Only keyframes & structural CSS that Tailwind can't do.
   All layout/color/typography is now in Tailwind component classes.
   ============================================================ */

/* ── HERO CAROUSEL ─────────────────────────────────────────── */
.hero-carousel__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-carousel__slide--active { opacity: 1; }

/* ── MARQUEE SCROLL ────────────────────────────────────────── */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  gap: .75rem;
  width: max-content;
  animation: marquee-scroll 50s linear infinite;
}
.marquee-track--reverse { animation-direction: reverse; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-wrap {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #0D54A0 8%, #0D54A0 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #0D54A0 8%, #0D54A0 92%, transparent);
}

/* ── LOGO CHIPS & SIZING ───────────────────────────────────── */
.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #ffffff;
  border: none;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  height: 56px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}
.logo-img {
  height: 40px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-img--icon {
  height: 32px;
  max-width: 40px;
  width: 32px;
}
.logo-img--sq {
  height: 36px;
  max-width: 36px;
  width: 36px;
}
.logo-img--lg {
  height: 36px;
  max-width: 130px;
}
.logo-img--icon-lg {
  height: 42px;
  max-width: 52px;
  width: 42px;
}
.logo-img--xl {
  height: 47px;
  max-width: 130px;
}
.logo-img--xxl {
  height: 59px;
  max-width: 160px;
}
.logo-img--wide {
  height: 47px;
  max-width: 260px;
}
.logo-img--wide-sm {
  height: 38px;
  max-width: 260px;
}

/* ── JOURNEY NODE ANIMATIONS ───────────────────────────────── */
@keyframes idleBreath {
  0%   { opacity: 0;   transform: translate(-50%, -50%) scale(1);   }
  20%  { opacity: 0.8; transform: translate(-50%, -50%) scale(1);   }
  80%  { opacity: 0;   transform: translate(-50%, -50%) scale(1.9); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(1.9); }
}
@keyframes journeyPulse {
  0%   { opacity: 1.0; transform: translate(-50%, -50%) scale(1);   }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(1.9); }
}
.journey-idle-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2.5px solid rgba(91, 197, 240, 0.85);
  opacity: 0;
  pointer-events: none;
  animation: idleBreath 3s ease-out infinite;
}
.journey-node:nth-child(1) .journey-idle-ring { animation-delay: 0s; }
.journey-node:nth-child(2) .journey-idle-ring { animation-delay: 0.4s; }
.journey-node:nth-child(3) .journey-idle-ring { animation-delay: 0.8s; }
.journey-node:nth-child(4) .journey-idle-ring { animation-delay: 1.2s; }
.journey-node:nth-child(5) .journey-idle-ring { animation-delay: 1.6s; }
.journey-node:nth-child(6) .journey-idle-ring { animation-delay: 2.0s; }
.journey-node:nth-child(7) .journey-idle-ring { animation-delay: 2.4s; }
.journey-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2.5px solid rgba(91, 197, 240, 0.95);
  opacity: 0;
  pointer-events: none;
}
.journey-pulse.fire { animation: journeyPulse 0.7s ease forwards; }

/* ── FADE-UP SCROLL REVEAL ─────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── REDUCED MOTION ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .journey-idle-ring { animation: none; opacity: 0; }
  .fade-up { opacity: 1; transform: none; }
}
