/* Tiraz Labs — motion styles v6 "quiet" (owner: foundation A). Pairs with js/motion.js (GSAP). Contract: DESIGN.md §6.
   v6 (simplify): one hidden state for every data-reveal type: transparent until it scrolls in, then a 0.45s fade-up.
   Anything on screen when the page renders is shown at once (motion.js marks it .is-in before paint). Hidden states exist
   ONLY under html.js-motion (no reduced motion, GSAP loaded) and only on elements Motion.scan() bound ([data-rv-bound]).
   Rule for page CSS: no CSS transitions on transform/opacity of an element with data-reveal (they fight GSAP). */

html { --mdir: 1; }
html[dir="rtl"] { --mdir: -1; }

/* ---------- reveal: the one hidden state ---------- */
.js-motion :is([data-reveal], [data-scan])[data-rv-bound]:not(.is-in) { opacity: 0; }

/* split text is retired; keep the wrappers inert if old markup still carries them */
.rv-m, .rv-p { display: inline; }

@media print { .js-motion :is([data-reveal], [data-scan]) { opacity: 1 !important; transform: none !important; clip-path: none !important; } }

/* ---------- DEPRECATED v2 effects: rendered quietly or not at all ---------- */
.scan-line { display: none; }
.tz-progress { display: none; }
[data-spark] { opacity: 0; }
.tz-foil, .tz-shimmer { color: var(--accent); }

/* ---------- reduced motion: no transitions or animations anywhere in the site chrome or sections ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
