/* ============================================================
   PAGE-INTRO — overlay shown on white-background pages while the
   intro Lottie plays once, then fades out. Mirrors the music.html
   intro but inverted: white bg + dark animation. Driven by
   SCRIPT/page-intro.js — markup expected:

   <div id="page-intro" class="page-intro-overlay" aria-hidden="true">
       <div class="page-intro-lottie"></div>
   </div>
   ============================================================ */
.page-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .7s ease;
}
.page-intro-overlay.is-gone {
    opacity: 0;
    pointer-events: none;
}
.page-intro-lottie {
    /* Sized in vmin so it scales sensibly on both portrait phones and
       landscape desktops; clamped so it never gets unreadably small or
       absurdly huge. */
    width:  clamp(80px, 14vmin, 200px);
    height: clamp(80px, 14vmin, 200px);
}
/* `intro_white_page.json` is already drawn with dark fills on a
   transparent canvas, so no `filter: invert(1)` is needed. */
.page-intro-lottie svg {
    display: block;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
}
