@media screen and (prefers-reduced-motion: no-preference) {
    @keyframes ceo-heading-arrives {
        from { opacity: .68; transform: translateY(9px); }
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes ceo-photo-changes {
        from { opacity: .74; }
        to { opacity: 1; }
    }
    #leto-home .hero-copy h1,
    main :is(.banner, .intro, .summary, .news-mast) h1,
    main .ceo-heading-arrives,
    #leto-home .ceo-heading-arrives {
        animation: ceo-heading-arrives 420ms cubic-bezier(.2,.7,.2,1) both;
    }
    #ceo-store-nav .mobile-nav[open] nav {
        animation: ceo-photo-changes 150ms ease-out;
    }
}

@media screen {
    :is(#ceo-store-nav, .golf-footer, .banner, #leto-home .hero, #leto-home .band, #lh-collection .collection-tile) {
        --ceo-link-highlight: #eced7a;
    }
    :is(#ceo-store-nav, .banner, #leto-home) :is(a.btn, a.action),
    #leto-home .band a {
        --ceo-link-highlight: #12604c;
    }
    .golf-footer .footer-cta { --ceo-link-highlight: #000; }
    :is(.summary, .quote-panel) a.button,
    .buyer a.action,
    .buyer .tabs a[aria-current="page"] { --ceo-link-highlight: #eced7a; }
    .buyer .banner a.action { --ceo-link-highlight: #12604c; }
    /* Card titles often have a colour and a hover decoration of their own. */
    :is(#leto-home, #ceo-store-nav, main, .golf-footer, .crumb, .ceo-order-faq, .enquiry) a:is(:hover, :focus-visible),
    :is(#leto-home, #ceo-store-nav, main, .golf-footer) a:is(:hover, :focus-visible) :is(strong, b, span, small, h2, h3, h4, em) {
        color: var(--ceo-link-highlight, #12604c) !important;
        text-decoration: none !important;
    }
}

@media screen and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    :is(.buyer main a.prod, .buyer main a.story, .buyer main a.category, .company-news .news-item a, #leto-home a.product) img {
        transition: scale 300ms ease-out, clip-path 300ms ease-out;
        clip-path: inset(0);
    }
    :is(.buyer main a.prod, .buyer main a.story, .buyer main a.category, .company-news .news-item a, #leto-home a.product):is(:hover, :focus-visible) img {
        scale: 1.035;
        clip-path: inset(1.7%);
    }
}

#ceo-store-nav .ceo-reading-progress {
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: #f2e335;
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: left;
}
@media print, (prefers-reduced-motion: reduce) {
    .ceo-reading-progress { display: none; }
}
