:root {
    --stm-ease: cubic-bezier(.2, .75, .25, 1);
    --stm-enter: cubic-bezier(.22, 1, .36, 1);
}
@keyframes stm-heading-enter {
    from { opacity: .55; translate: 0 10px; }
    to { opacity: 1; translate: 0; }
}
@keyframes stm-panel-enter {
    from { opacity: .4; translate: 0 -5px; }
    to { opacity: 1; translate: 0; }
}
@keyframes stm-picture-settle {
    from { scale: 1.035; }
    to { scale: 1; }
}
@media (prefers-reduced-motion: no-preference) {
    :is(.cinema-title, .page-heading, .article-heading, .stm-request-form) h1,
    .commerce :is(.page-title, .product_title), .woocommerce-products-header h1 {
        animation: stm-heading-enter .58s var(--stm-enter) both;
    }
    .cinema-title .catalog-totals, .cinema-title .catalog-formats, .cinema-title .hero-actions {
        animation: stm-heading-enter .48s var(--stm-enter) .07s backwards;
    }
    .cinema-title .hero-actions { animation-delay: .13s; }
    .cinema-picture picture > img { animation: stm-picture-settle .95s var(--stm-enter) both; }
    .language-picker[open] .language-panel, .currency-picker[open] .currency-panel,
    .faq-list details[open] .faq-answer, .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error),
    .device-pricing[data-updated] .plan-price-panel, .contact-form ~ [role="status"] {
        animation: stm-panel-enter .24s var(--stm-ease);
    }
    :is(.language-picker,.currency-picker) .picker-chevron, .faq-toggle-mark {
        transition: transform .2s var(--stm-ease);
    }
    :is(.primary-nav, .footer-grid nav) a:not(.btn), .article-card h3 a, .watch-home .hero-explore {
        position: relative;
    }
    :is(.primary-nav, .footer-grid nav) a:not(.btn)::after, .article-card h3 a::after {
        content: "";
        display: block;
        position: absolute;
        inset: auto 0 -2px;
        width: auto;
        height: 1px;
        background: currentColor;
        pointer-events: none;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .18s var(--stm-ease);
    }
    :is(.primary-nav,.footer-grid nav) a:not(.btn):is(:hover,:focus-visible)::after,
    .article-card h3 a:is(:hover,:focus-visible)::after { transform: scaleX(1); }
    .watch-home .hero-explore { overflow: hidden; isolation: isolate; }
    .watch-home .hero-explore::before {
        content: "";
        display: block;
        position: absolute;
        inset: 0;
        width: auto;
        height: auto;
        z-index: -1;
        background: linear-gradient(110deg, #c4ffdf23, transparent 65%);
        transform: translateX(-100%);
        transition: transform .25s var(--stm-ease);
        pointer-events: none;
    }
    .watch-home .hero-explore:is(:hover,:focus-visible)::before { transform: translateX(0); }
    .article-image img, .woocommerce ul.products li.product img { transition: scale .4s var(--stm-ease); }
    :is(.article-card,.pricing-card,.benefit-icon), .rail-controls button, .woocommerce a.button {
        transition: translate .18s var(--stm-ease), border-color .18s, background-color .18s;
    }
    .rail-controls button:active, .language-option:active, .currency-option:active,
    .woocommerce :is(button.button,a.button):active { translate: 0 1px; }
    :is(.contact-form,.guide-search,.stm-request-form,.woocommerce) :is(input,select,textarea):focus {
        transition: border-color .15s, background-color .15s;
        border-color: var(--link-ink);
    }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
    .article-card:is(:hover,:focus-within) .article-image img,
    .woocommerce ul.products li.product:hover img { scale: 1.025; }
    .pricing-card:is(:hover,:focus-within), .article-card:is(:hover,:focus-within) { translate: 0 -2px; }
    .watch-benefits li:hover .benefit-icon { translate: 0 -2px; border-color: #a7eadcb0; }
    .rail-controls button:not(:disabled):hover { background-color: #26463f; }
}
@media (prefers-reduced-motion: reduce) {
    .btn:is(:hover,:active), .article-image:hover img, .theme-toggle:hover svg { transform: none; }
}
