
@font-face {
    font-family: "Bebas Neue WONAPDE";
    src: url("../fonts/BebasNeue-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html.wonapde-intro-active,
html.wonapde-intro-active body {
    overflow: hidden !important;
}

html.wonapde-intro-active {
    scrollbar-gutter: auto !important;
}

.wonapde-intro-reveal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: clamp(24px, 5vw, 72px);
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(242, 139, 75, .16), transparent 31%),
        radial-gradient(circle at 84% 22%, rgba(114, 199, 189, .16), transparent 34%),
        radial-gradient(circle at 76% 82%, rgba(185, 88, 142, .14), transparent 35%),
        linear-gradient(138deg, #11142f 0%, #1b2250 52%, #141735 100%);
    color: #fff;
    cursor: pointer;
    opacity: 1;
    transform: scale(1);
    isolation: isolate;
    font-family: var(--font-interface, "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
    transition: opacity .36s ease, transform .36s cubic-bezier(.22, .8, .3, 1);
}

html.wonapde-intro-active .wonapde-intro-reveal,
.wonapde-intro-reveal.is-leaving {
    display: flex;
}

.wonapde-intro-reveal.is-leaving {
    opacity: 0;
    transform: scale(1.018);
    pointer-events: none;
}

.wonapde-intro-reveal::before,
.wonapde-intro-reveal::after {
    position: absolute;
    z-index: -1;
    content: "";
    border-radius: 50%;
    filter: blur(3px);
    opacity: .22;
}

.wonapde-intro-reveal::before {
    top: -24vmin;
    right: -16vmin;
    width: 68vmin;
    height: 68vmin;
    border: 1px solid rgba(87, 173, 236, .28);
    box-shadow: 0 0 100px rgba(31, 131, 202, .24);
}

.wonapde-intro-reveal::after {
    bottom: -32vmin;
    left: -18vmin;
    width: 72vmin;
    height: 72vmin;
    border: 1px solid rgba(239, 150, 24, .18);
}

.wonapde-intro-reveal__grid {
    position: absolute;
    z-index: -2;
    inset: -20%;
    background-image:
        linear-gradient(rgba(128, 188, 231, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128, 188, 231, .055) 1px, transparent 1px);
    background-size: 54px 54px;
    transform: perspective(520px) rotateX(62deg) translateY(15%);
    transform-origin: center bottom;
    opacity: .56;
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}

.wonapde-intro-reveal__symbols {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    color: #d8ecfb;
    font-family: "STIX Two Math", "Cambria Math", "Latin Modern Math", Georgia, serif;
}

.wonapde-intro-reveal__symbols span {
    position: absolute;
    font-size: clamp(48px, 7vw, 108px);
    line-height: 1;
    opacity: .085;
    filter: blur(1.5px);
    animation: wonapde-symbol-drift 9s ease-in-out infinite alternate;
}

.wonapde-intro-reveal__symbols span:nth-child(1) { top: 14%; left: 9%; }
.wonapde-intro-reveal__symbols span:nth-child(2) { top: 11%; right: 13%; animation-delay: -2s; }
.wonapde-intro-reveal__symbols span:nth-child(3) { bottom: 13%; left: 18%; animation-delay: -4s; }
.wonapde-intro-reveal__symbols span:nth-child(4) { right: 8%; bottom: 14%; animation-delay: -6s; }
.wonapde-intro-reveal__symbols span:nth-child(5) { top: 50%; left: 4%; animation-delay: -3s; }

.wonapde-intro-reveal__stage {
    width: min(1080px, 100%);
    margin-top: -1vh;
    text-align: center;
}

.wonapde-intro-reveal__line {
    width: min(420px, 62vw);
    height: 2px;
    margin: 0 auto clamp(22px, 3.2vw, 38px);
    background: linear-gradient(
        90deg,
        transparent,
        #f28b4b 18%,
        #b9588e 52%,
        #72c7bd 82%,
        transparent
    );
    box-shadow: 0 0 18px rgba(185, 88, 142, .22);
    opacity: 0;
    transform: scaleX(0);
}

.wonapde-intro-reveal__meta,
.wonapde-intro-reveal__university,
.wonapde-intro-reveal__skip {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(7px);
}

.wonapde-intro-reveal__title {
    position: relative;
    width: min(1000px, 90vw);
    aspect-ratio: 1920 / 740;
    margin: 0 auto;
    overflow: visible;
    color: #fff;
}

.wonapde-intro-reveal__wordmark,
.wonapde-intro-reveal__subtitle {
    position: absolute;
    display: block;
    opacity: 0;
    filter: blur(7px);
}

.wonapde-intro-reveal__wordmark {
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 2019 / 779;
    object-fit: contain;
    transform: translateY(14px);
}

.wonapde-intro-reveal__subtitle {
    top: 61%;
    left: 2%;
    width: 54%;
    color: #fff;
    font-family: var(--font-interface, "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
    font-size: clamp(10px, 2.15vw, 29px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: .018em;
    text-align: left;
    text-transform: uppercase;
    transform: translateY(12px);
}

.wonapde-intro-reveal__meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .1em;
    margin: clamp(16px, 2vw, 22px) auto 0;
    padding: 8px 15px;
    border: 1px solid rgba(114, 199, 189, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: #ffffff;
    font-size: clamp(13px, 1.35vw, 17px);
    font-weight: 650;
    letter-spacing: .025em;
    backdrop-filter: blur(8px);
}

.wonapde-intro-reveal__meta span {
    display: inline-block;
    margin: 0 .5em;
    color: #f28b4b;
}

.wonapde-intro-reveal__university {
    margin: 9px 0 0;
    color: #9edbd3;
    font-size: clamp(12px, 1.15vw, 15px);
    font-weight: 500;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.wonapde-intro-reveal__skip {
    position: absolute;
    right: 20px;
    bottom: 18px;
    left: 20px;
    width: auto;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: rgba(219, 234, 246, .58);
    font-family: var(--font-interface, "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .045em;
    text-align: center;
    cursor: pointer;
}

.wonapde-intro-reveal__skip:focus-visible {
    outline: 2px solid rgba(239, 150, 24, .75);
    outline-offset: 2px;
}

.wonapde-intro-reveal.is-started .wonapde-intro-reveal__line {
    animation: wonapde-line-expand .58s .12s cubic-bezier(.2, .8, .25, 1) forwards;
}

.wonapde-intro-reveal.is-started .wonapde-intro-reveal__wordmark {
    animation: wonapde-content-enter .62s .34s cubic-bezier(.2, .75, .25, 1) forwards;
}

.wonapde-intro-reveal.is-started .wonapde-intro-reveal__subtitle {
    animation: wonapde-content-enter .58s .82s cubic-bezier(.2, .75, .25, 1) forwards;
}

.wonapde-intro-reveal.is-started .wonapde-intro-reveal__meta {
    animation: wonapde-content-enter .52s 1.12s cubic-bezier(.2, .75, .25, 1) forwards;
}

.wonapde-intro-reveal.is-started .wonapde-intro-reveal__university {
    animation: wonapde-content-enter .48s 1.3s cubic-bezier(.2, .75, .25, 1) forwards;
}

.wonapde-intro-reveal.is-started .wonapde-intro-reveal__skip {
    animation: wonapde-hint-enter .4s 1.48s ease forwards;
}

@keyframes wonapde-line-expand {
    from { opacity: 0; transform: scaleX(0); }
    to { opacity: 1; transform: scaleX(1); }
}

@keyframes wonapde-content-enter {
    from { opacity: 0; transform: translateY(14px); filter: blur(7px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes wonapde-hint-enter {
    from { opacity: 0; transform: translateY(8px); filter: blur(3px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes wonapde-symbol-drift {
    from { transform: translate3d(-5px, 2px, 0) rotate(-2deg); }
    to { transform: translate3d(7px, -8px, 0) rotate(2deg); }
}

@media (max-width: 640px) {
    .wonapde-intro-reveal {
        padding: 28px 20px 54px;
    }

    .wonapde-intro-reveal__stage {
        margin-top: -3vh;
    }

    .wonapde-intro-reveal__line {
        width: min(260px, 72vw);
        margin-bottom: 23px;
    }

    .wonapde-intro-reveal__title {
        width: min(350px, 92vw);
    }

    .wonapde-intro-reveal__subtitle {
        font-size: 10.5px;
    }

    .wonapde-intro-reveal__meta {
        max-width: 340px;
        margin-right: auto;
        margin-left: auto;
        padding: 7px 12px;
        line-height: 1.5;
        text-align: center;
    }

    .wonapde-intro-reveal__symbols span {
        font-size: 54px;
        opacity: .065;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wonapde-intro-reveal,
    .wonapde-intro-reveal * {
        animation: none !important;
        transition-duration: .12s !important;
    }

    .wonapde-intro-reveal__symbols {
        display: none;
    }

    .wonapde-intro-reveal__line,
    .wonapde-intro-reveal__wordmark,
    .wonapde-intro-reveal__subtitle,
    .wonapde-intro-reveal__meta,
    .wonapde-intro-reveal__university,
    .wonapde-intro-reveal__skip {
        opacity: 1;
        transform: none;
        filter: none;
    }
}
