/* ─── THEME CURTAIN ─── */
.theme-curtain {
    position: fixed;
    inset: 0;
    transform-origin: top;
    transform: scaleY(0);
    z-index: 9900;
    pointer-events: none;
    will-change: transform;
}

/* Text overlay — sits above curtain, unaffected by scaleY */
.curtain-text-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9901;
    pointer-events: none;
    opacity: 0;
    gap: 20px;
}

.curtain-word {
    display: flex;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}

.curtain-word-performore { font-size: clamp(44px, 9.5vw, 144px); }

.curtain-letter {
    display: inline-block;
    opacity: 0;
    filter: blur(12px);
    animation: curtainLetterIn 0.34s ease-out forwards;
}

@keyframes curtainLetterIn {
    to { opacity: 1; filter: blur(0px); }
}

.curtain-sub {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(9px, 1vw, 13px);
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0;
    animation: curtainLetterIn 0.4s ease-out 0.55s forwards;
}
