/* Financial Market Advisors – motion. Hidden start states exist only under .motion-ok
   (set before paint by head.js; removed by a safety timer if motion.js never runs). */
.motion-ok .enter { opacity: 0; transform: translateY(14px); animation: fma-rise .6s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 80ms + 40ms); }
@keyframes fma-rise { to { opacity: 1; transform: none; } }
.motion-ok .cover-photo { animation: fma-frame .7s var(--ease) both; }
@keyframes fma-frame { from { clip-path: inset(0 0 6% 0); } to { clip-path: inset(0); } }

.motion-ok .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--stagger, 0ms); }
.motion-ok .reveal.is-visible { opacity: 1; transform: none; }

/* Editorial rules draw once from their natural origin; nearby content never waits for them. */
.motion-ok .rail-rule { transform: scaleY(0); animation: fma-rule-y .6s var(--ease) .2s forwards; }
@keyframes fma-rule-y { to { transform: scaleY(1); } }
.motion-ok .ed-head::before, .motion-ok .art-body::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--carbon); transform-origin: left; transform: scaleX(0); transition: transform .55s var(--ease); }
.motion-ok .ed-head, .motion-ok .art-body { border-top-color: transparent; position: relative; }
.motion-ok .art-body::before { height: 1px; top: -1px; }
.motion-ok .ed-head.is-drawn::before, .motion-ok .art-body.is-visible::before { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
