/* About + Contact motion (includes/pages-motion.php). Only transform / opacity are animated. */
html.yns-pmotion .et_pb_section:first-child .et_pb_heading,
html.yns-pmotion .et_pb_section:first-child .et_pb_text { visibility: hidden; }

/* Word masks (Arabic is split by words only). */
.ynm-wm { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .08em; margin-block: -.08em; }
.ynm-w { display: inline-block; will-change: transform; }

/* Icon badges pop once on reveal and on hover. */
.yn-badge svg { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.yn-badge.is-pop svg, .et_pb_column:hover > .yn-badge svg { transform: scale(1.18) rotate(-6deg); }

/* Reveals that slide in from the side must never widen the page on phones. */
html.ynm-pages #main-content .et_pb_section { overflow-x: clip; }

/* FAQ items and form fields get a subtle lift when they appear (set by the script). */
@media (prefers-reduced-motion: reduce) { .yn-badge svg { transition: none; } }
