.page-intro {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    overflow: hidden;
    pointer-events: none;
    background: #071827;
    color: #fff;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 420ms ease, transform 520ms cubic-bezier(.2,.8,.2,1), visibility 420ms ease;
}

.page-intro.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-18px);
}

.page-intro__media,
.page-intro__overlay,
.page-intro__grid {
    position: absolute;
    inset: 0;
}

.page-intro__media {
    background-size: cover;
    background-position: center;
    filter: saturate(.82) contrast(1.05);
    transform: scale(1.05);
    animation: pageIntroMedia 1400ms cubic-bezier(.2,.8,.2,1) both;
}

.page-intro__overlay {
    background:
        radial-gradient(circle at 25% 20%, rgba(18, 166, 166, .34), transparent 28%),
        linear-gradient(120deg, rgba(7, 24, 39, .94), rgba(11, 31, 51, .82) 48%, rgba(7, 24, 39, .92));
}

.page-intro__grid {
    opacity: .28;
    background-image:
        linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, #000 0 58%, transparent 86%);
}

.page-intro__content {
    position: relative;
    width: min(780px, calc(100% - 2rem));
    padding: clamp(2rem, 5vw, 3.75rem);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 28px;
    background: rgba(7, 24, 39, .52);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
    text-align: center;
    backdrop-filter: blur(8px);
    animation: pageIntroDrop 900ms cubic-bezier(.2,.8,.2,1) both;
}

.page-intro__content::before,
.page-intro__content::after {
    content: "";
    position: absolute;
    width: 48px;
    height: 48px;
    border-color: rgba(18, 166, 166, .72);
}

.page-intro__content::before {
    top: 18px;
    left: 18px;
    border-top: 2px solid;
    border-left: 2px solid;
}

.page-intro__content::after {
    right: 18px;
    bottom: 18px;
    border-right: 2px solid;
    border-bottom: 2px solid;
}

.page-intro__logo {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.page-intro__eyebrow {
    margin: 0 0 .55rem;
    color: #8fe8e8;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.page-intro__title {
    margin: 0;
    font-size: clamp(2rem, 6vw, 4.25rem);
    line-height: .95;
    letter-spacing: -.05em;
}

.page-intro__subtitle {
    max-width: 620px;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(.96rem, 2vw, 1.08rem);
    line-height: 1.65;
}

.page-intro__line {
    position: absolute;
    left: 50%;
    bottom: 12vh;
    width: min(360px, 60vw);
    height: 2px;
    background: linear-gradient(90deg, transparent, #12A6A6, transparent);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    animation: pageIntroLine 1050ms 180ms cubic-bezier(.2,.8,.2,1) both;
}

.page-intro--minimal_fade .page-intro__content,
.page-intro--minimal_fade .page-intro__media,
.page-intro--minimal_fade .page-intro__line {
    animation-duration: 520ms;
}

.page-intro--minimal_fade .page-intro__content::before,
.page-intro--minimal_fade .page-intro__content::after {
    display: none;
}

@keyframes pageIntroDrop {
    from {
        opacity: 0;
        transform: translateY(-28px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pageIntroMedia {
    from {
        transform: scale(1.1) translateY(12px);
    }
    to {
        transform: scale(1.03) translateY(0);
    }
}

@keyframes pageIntroLine {
    to {
        transform: translateX(-50%) scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-intro,
    .page-intro__media,
    .page-intro__content,
    .page-intro__line {
        animation: none !important;
        transition: opacity 180ms ease, visibility 180ms ease !important;
        transform: none !important;
    }
}

@media (max-width: 680px) {
    .page-intro__content {
        border-radius: 22px;
        padding: 2rem 1.25rem;
    }

    .page-intro__logo {
        width: 52px;
        height: 52px;
    }
}
