/* A single, fixed decorative layer: no script, filters or animated geometry. */
body.page-site-redesign:not(.auth-page):not(.page-messages) {
    isolation: isolate;
    --site-topography-low: .035;
    --site-topography-high: .065;
}

body.page-site-redesign:not(.auth-page):not(.page-messages)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url("../../img/site-topography.svg") repeat center top / 1440px 1080px;
    opacity: var(--site-topography-low);
    animation: site-topography-breathe 14s ease-in-out infinite alternate;
}

html[data-theme="dark"] body.page-site-redesign:not(.auth-page):not(.page-messages) {
    --site-topography-low: .045;
    --site-topography-high: .08;
}

/* The dark canvas used to cover the body background with an opaque fill. */
html[data-theme="dark"]:not(#tt-dk) body.page-site-redesign:not(.auth-page):not(.page-messages) #main-content.site-main-offset {
    background: transparent !important;
}

@keyframes site-topography-breathe {
    from { opacity: var(--site-topography-low); }
    to { opacity: var(--site-topography-high); }
}

@media (prefers-reduced-motion: reduce) {
    body.page-site-redesign:not(.auth-page):not(.page-messages)::before {
        animation: none;
        opacity: var(--site-topography-low);
    }
}
