.hall-transition {
    position: fixed;
    inset: 0;
    z-index: 60000;
    display: none;
    overflow: hidden;
    pointer-events: none;
}

.hall-transition.active,
html.hall-pending-entrance .hall-transition {
    display: block;
    pointer-events: auto;
}

body.hall-transitioning,
body.hall-entering {
    overflow: hidden;
}

html.hall-pending-entrance .hall-shell {
    visibility: hidden;
    pointer-events: none;
}

html.hall-pending-entrance .hall-veil-static {
    display: block;
}

.hall-transition-veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 200, 87, .2), transparent 42%),
        radial-gradient(circle at 50% 50%, rgba(255, 200, 87, .06), transparent 58%),
        linear-gradient(165deg, #040506 0%, #0d0b08 46%, #040506 100%);
}

.hall-transition-veil::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .28;
    background-image:
        linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hall-transition-veil::after {
    content: 'ПАНТЕОН';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 200, 87, .12);
    font: 900 clamp(52px, 14vw, 132px)/1 'Orbitron', sans-serif;
    letter-spacing: .28em;
    text-indent: .28em;
    pointer-events: none;
}

.hall-veil-static {
    display: none;
}

.hall-veil-exit {
    transform-origin: top center;
    animation: hallVeilCover .74s cubic-bezier(.45, 0, .2, 1) forwards;
}

.hall-veil-enter {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.hall-transition.revealing .hall-veil-enter {
    animation: hallVeilReveal .92s cubic-bezier(.16, .82, .24, 1) forwards;
}

body.hall-entering .hall-shell {
    visibility: visible;
}

.hall-shell.hall-reveal {
    animation: hallShellReveal .92s cubic-bezier(.16, .82, .24, 1) .1s both;
}

body.hall-ready .hall-shell,
body.hall-ready .hall-shell .hall-nav,
body.hall-ready .hall-shell .hall-hero,
body.hall-ready .hall-shell .hall-metrics,
body.hall-ready .hall-shell .featured,
body.hall-ready .hall-shell .collection,
body.hall-ready .hall-shell .featured-grid,
body.hall-ready .hall-shell .achieve-grid,
body.hall-ready .hall-shell .hall-filters {
    opacity: 1;
    transform: none;
    visibility: visible;
}

@keyframes hallVeilCover {
    0% {
        opacity: 0;
        transform: scaleY(0);
    }
    100% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes hallVeilReveal {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
    100% {
        opacity: 0;
        transform: translate3d(0, -14vh, 0);
    }
}

@keyframes hallShellReveal {
    0% {
        opacity: 0;
        transform: translate3d(0, 36px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes hallSectionReveal {
    0% {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hall-veil-exit,
    .hall-transition.revealing .hall-veil-enter,
    .hall-shell.hall-reveal {
        animation: none !important;
    }

    html.hall-pending-entrance .hall-shell,
    body.hall-entering .hall-shell {
        visibility: visible;
        opacity: 1;
        transform: none;
    }
}
