.js [data-reveal] {
  opacity: 0;
  transform: translateY(2.2rem);
  transition:
    opacity 900ms var(--ease-out),
    transform 900ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal="left"] {
  transform: translateX(-2.5rem);
}

.js [data-reveal="right"] {
  transform: translateX(2.5rem);
}

.js [data-reveal="scale"] {
  transform: scale(0.92);
}

.js [data-reveal="hero"] {
  transform: translateY(1.4rem);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.mantra-strip__track {
  animation: mantra-scroll 32s linear infinite;
}

@keyframes mantra-scroll {
  to { transform: translateX(-50%); }
}

.hero__seal svg {
  animation: seal-rotation 28s linear infinite;
}

@keyframes seal-rotation {
  to { transform: rotate(360deg); }
}

.scroll-cue__line::after {
  animation: scroll-cue 2.4s var(--ease-out) infinite;
}

@keyframes scroll-cue {
  0% { transform: translateX(-100%); }
  45%, 55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.oracle__orbit--outer {
  animation: orbit-clockwise 34s linear infinite;
}

.oracle__orbit--inner {
  animation: orbit-counter 22s linear infinite;
}

@keyframes orbit-clockwise {
  to { transform: rotate(360deg); }
}

@keyframes orbit-counter {
  to { transform: rotate(-360deg); }
}

.oracle-card:not(.is-revealed) {
  animation: card-breathe 4.8s ease-in-out infinite;
}

@keyframes card-breathe {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-0.7rem) rotate(0.4deg); }
}

.intention-card.is-selected {
  animation: selected-glow 700ms var(--ease-out) both;
}

@keyframes selected-glow {
  0% { box-shadow: inset 0 0 0 1px transparent, 0 0 0 rgb(var(--rgb-gold-400) / 0%); }
  45% { box-shadow: inset 0 0 0 1px var(--color-gold-400), 0 0 2.8rem rgb(var(--rgb-gold-400) / 13%); }
  100% { box-shadow: inset 0 0 0 1px var(--color-gold-400), 0 0 0 rgb(var(--rgb-gold-400) / 0%); }
}

.card-reflection:not([hidden]) {
  animation: reflection-arrival 800ms var(--ease-out) both;
}

@keyframes reflection-arrival {
  from {
    opacity: 0;
    transform: translateY(1.5rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.perspective-visual__sun {
  animation: sun-glow 5s ease-in-out infinite;
}

@keyframes sun-glow {
  0%, 100% { box-shadow: 0 0 2.5rem rgb(var(--rgb-gold-300) / 42%); }
  50% { box-shadow: 0 0 4rem rgb(var(--rgb-gold-300) / 62%); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .mantra-strip__track,
  .hero__seal svg,
  .oracle__orbit,
  .oracle-card,
  .perspective-visual__sun {
    animation: none !important;
  }
}

