/* Oltrarno Selections — logo animation (see logo-anim.js). Without script or with reduced motion the logo is simply shown. */
svg.os-logo-anim { display: block; width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: 745.59 / 324.52; overflow: visible; }
svg.os-logo-anim path { fill: #d5af67; }
.e-svg-base:has(> svg.os-logo-anim) { height: auto !important; line-height: 0; }

svg.os-la-ready .os-la-line-l { clip-path: inset(0 0 0 100%); }
svg.os-la-ready .os-la-line-r { clip-path: inset(0 100% 0 0); }
svg.os-la-ready .os-la-build { clip-path: inset(100% 0 0 0); }
svg.os-la-ready .os-la-wave-l { clip-path: inset(0 100% 0 0); transform: translateX(-12px); }
svg.os-la-ready .os-la-wave-r { clip-path: inset(0 0 0 100%); transform: translateX(12px); }
/* Clipped to zero width, Chrome still paints a 1px sliver at the clip edge: keep them invisible until their own reveal starts. */
svg.os-la-ready .os-la-line-l, svg.os-la-ready .os-la-line-r, svg.os-la-ready .os-la-build, svg.os-la-ready .os-la-wave-l, svg.os-la-ready .os-la-wave-r { opacity: 0; }
svg.os-la-ready .os-la-drop { opacity: 0; transform: translateY(-14px); }
svg.os-la-ready .os-la-rise { opacity: 0; transform: translateY(14px); }

svg.os-la-play .os-la-line-l,
svg.os-la-play .os-la-line-r { animation: os-la-reveal .8s cubic-bezier(.65, 0, .35, 1) var(--os-la-delay, 0s) forwards; }
svg.os-la-play .os-la-build { animation: os-la-reveal .9s cubic-bezier(.22, 1, .36, 1) var(--os-la-delay, 0s) forwards; }
svg.os-la-play .os-la-wave-l,
svg.os-la-play .os-la-wave-r { animation: os-la-reveal 1.2s cubic-bezier(.25, .8, .3, 1) var(--os-la-delay, 0s) forwards; }
svg.os-la-play .os-la-drop,
svg.os-la-play .os-la-rise { animation: os-la-letter .7s cubic-bezier(.22, 1, .36, 1) var(--os-la-delay, 0s) forwards; }

@keyframes os-la-reveal { from { opacity: 1; } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }
@keyframes os-la-letter { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    svg.os-la-ready path { clip-path: none !important; opacity: 1 !important; transform: none !important; animation: none !important; }
}
