/* eiarstudio site V3.1 — motion language (chairman fix 2026-05-27).
   Removed: ambient body drift, hero stagger entrance, scroll-reveal opacity gate.
   Retained: interaction transitions only (hover · active · focus · ripple · share copy · reading progress).
   Honors prefers-reduced-motion globally.
   JS partner: site_motion.js (still binds reading progress + share + ripple + active nav).
*/

/* =========================================================
   1. Keyframes — retain ripple only. shimmer kept for img placeholder.
   ========================================================= */
@keyframes site-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* =========================================================
   2. Scroll-reveal targets — V3.1: visible by default. No opacity gate,
   no transform, no entry animation. Class retained so existing markup
   keeps working but its visual side effects are zero.
   ========================================================= */
.reveal-on-scroll {
  opacity: 1;
  transform: none;
}
.reveal-on-scroll.is-visible,
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
  animation: none;
}

/* =========================================================
   3. Image shimmer placeholder — kept; only triggers if .img-shimmer is
   manually applied. No global animation runs by default.
   ========================================================= */
.img-shimmer {
  background:
    linear-gradient(
      90deg,
      var(--bg-deep) 0%,
      var(--surface) 50%,
      var(--bg-deep) 100%
    );
  background-size: 200% 100%;
  animation: site-shimmer 1.6s linear infinite;
}

/* =========================================================
   4. Honor reduced motion explicitly (belt + braces).
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
