.archive-v1-view {
    position: fixed;
    inset: 0;
    z-index: 200;
    overflow: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    box-shadow: -1.5rem 0 4rem rgba(0, 0, 0, .55);
}

body.is-archive-slide-forward {
    overflow: hidden;
}

body.is-archive-slide-forward [data-site-sidebar],
body.is-archive-slide-forward > .sky,
body.is-archive-slide-forward [data-archive-view] {
    animation: archive-slide-old-out .56s cubic-bezier(.72, 0, .24, 1) both;
}

body.is-archive-slide-forward .archive-v1-view {
    animation: archive-slide-new-in .56s cubic-bezier(.72, 0, .24, 1) both;
}

body.archive-v1-active {
    overflow: hidden;
}

body.archive-v1-active [data-site-sidebar],
body.archive-v1-active > .sky,
body.archive-v1-active [data-archive-view] {
    visibility: hidden;
    transform: translateX(-100%);
}

body.archive-v1-active .archive-v1-view {
    transform: translateX(0);
}

body.is-archive-slide-back [data-site-sidebar],
body.is-archive-slide-back > .sky,
body.is-archive-slide-back [data-archive-view] {
    visibility: visible;
    animation: archive-slide-old-in .56s cubic-bezier(.72, 0, .24, 1) both;
}

body.is-archive-slide-back .archive-v1-view {
    animation: archive-slide-new-out .56s cubic-bezier(.72, 0, .24, 1) both;
}

@keyframes archive-slide-old-out {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@keyframes archive-slide-new-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes archive-slide-old-in {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes archive-slide-new-out {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    body.is-archive-slide-forward [data-site-sidebar],
    body.is-archive-slide-forward > .sky,
    body.is-archive-slide-forward [data-archive-view],
    body.is-archive-slide-forward .archive-v1-view,
    body.is-archive-slide-back [data-site-sidebar],
    body.is-archive-slide-back > .sky,
    body.is-archive-slide-back [data-archive-view],
    body.is-archive-slide-back .archive-v1-view {
        animation-duration: .01ms;
    }
}
