.atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.glow.top {
    top: -30vmax;
    right: -8vmax;
    width: 60vmax;
    height: 60vmax;
    background: radial-gradient(circle, rgba(74, 163, 255, 0.28), transparent 62%);
}

.glow.bottom {
    left: -14vmax;
    bottom: -26vmax;
    width: 52vmax;
    height: 52vmax;
    background: radial-gradient(circle, rgba(31, 107, 255, 0.12), transparent 62%);
}

#scene {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 1.6s ease;
}

.dot-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(11, 27, 51, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

.wrap {
    transition: opacity 1.1s ease 0.15s;
}

body.booting .wrap,
body.leaving .wrap {
    opacity: 0;
}

body.booting .wrap * {
    animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
    }
    .row,
    h1 .line,
    .lede {
        opacity: 1 !important;
    }
}
