html.lenis,
html.lenis body {
    height: auto;
}

html.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

html.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

[data-lenis-prevent] {
    overscroll-behavior: contain;
}

.adn-cursor-glow {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

@media (hover: none), print {
    .adn-cursor-glow {
        display: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    @view-transition {
        navigation: auto;
    }

    ::view-transition-old(root) {
        animation: adn-vt-out 0.22s cubic-bezier(0.4, 0, 1, 1) both;
    }

    ::view-transition-new(root) {
        animation: adn-vt-in 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .site-header {
        view-transition-name: adn-site-header;
    }

    .adn-motion a,
    .adn-motion button,
    .adn-motion .btn {
        transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    }
}

@keyframes adn-vt-out {
    to {
        opacity: 0;
    }
}

@keyframes adn-vt-in {
    from {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }
}

@media print {
    [data-adn-sr] {
        opacity: 1 !important;
        transform: none !important;
    }
}
