/* virender.in motion: teal accent only */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 2000;
  background: linear-gradient(90deg, var(--teal-deep, #094442), var(--teal, #0d5c5a));
  pointer-events: none;
}

.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.rv.in { opacity: 1; transform: translateY(0); }
.rv-stagger > *:nth-child(1) { transition-delay: 0s; }
.rv-stagger > *:nth-child(2) { transition-delay: 0.06s; }
.rv-stagger > *:nth-child(3) { transition-delay: 0.12s; }
.rv-stagger > *:nth-child(4) { transition-delay: 0.18s; }

.word-reveal .word {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.word-reveal:not([data-lcp]):not(.in) .word {
  opacity: 0;
  transform: translateY(0.45em);
}
.word-reveal.in .word { opacity: 1; transform: translateY(0); }
.word-reveal.in .word:nth-child(1) { transition-delay: 0.04s; }
.word-reveal.in .word:nth-child(2) { transition-delay: 0.1s; }
.word-reveal.in .word:nth-child(3) { transition-delay: 0.16s; }
.word-reveal.in .word:nth-child(4) { transition-delay: 0.22s; }
.word-reveal.in .word:nth-child(5) { transition-delay: 0.28s; }
.word-reveal.in .word:nth-child(6) { transition-delay: 0.34s; }

.nav.is-deep {
  background: rgba(255, 252, 247, 0.98);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(18, 21, 26, 0.06);
}

.magnetic { will-change: transform; }

@media (prefers-reduced-motion: reduce), (max-width: 899px) {
  .rv, .word-reveal .word {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .scroll-progress { display: none; }
}
