/* Site intro splash — "OG Marketplace" wordmark reveal (components/site_intro.php).
   Linked from header.php only when the intro renders. Motion is driven per-frame by the inline controller. */

@font-face { font-family: 'og-intro-satoshi'; src: url('../webfonts/satoshi/satoshi-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

body.site-intro-pending {
    overflow: hidden !important;
}

.site-intro {
    position: fixed;
    inset: 0;
    z-index: 99999;
    overflow: hidden;
    overscroll-behavior: none;
    user-select: none;
    -webkit-user-select: none;
    background: radial-gradient(ellipse 70% 65% at 50% 46%, #131315 0%, #050506 60%, #000 100%);
    color: #fff;
    font-family: 'og-intro-satoshi', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    will-change: opacity;
}

.site-intro__stage {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    opacity: 0;
    will-change: opacity, transform, filter;
}

.site-intro__mark {
    position: relative;
    display: inline-block;
    font-family: 'Sora', system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(36px, 8.6vw, 128px);
    line-height: 1;
    letter-spacing: -0.055em;
    white-space: nowrap;
}

.site-intro__ghost {
    color: rgba(255, 255, 255, 0.07);
}

.site-intro__fill {
    position: absolute;
    inset: 0;
    padding-bottom: 0.08em;
    background: linear-gradient(180deg, #ffffff 0%, #f1f1f4 40%, #9d9da4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    clip-path: inset(-20% 100% -20% 0);
}

.site-intro__edge {
    position: absolute;
    top: -14%;
    left: 0;
    width: 1px;
    height: 128%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff, rgba(255, 255, 255, 0));
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
    opacity: 0;
}

.site-intro__tagline {
    margin: clamp(18px, 2.2vw, 28px) 0 0;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: clamp(13px, 1.1vw, 16px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.site-intro__logo {
    display: block;
    width: 30px;
    height: auto;
    opacity: 0.9;
}

.site-intro__divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.18);
}

.site-intro__meta {
    position: absolute;
    left: clamp(20px, 4vw, 56px);
    right: clamp(20px, 4vw, 56px);
    bottom: clamp(24px, 4vw, 44px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    opacity: 0;
}

.site-intro__status {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
}

.site-intro__pct {
    font-family: 'Sora', system-ui, sans-serif;
    font-weight: 300;
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .site-intro {
        display: none !important;
    }
    body.site-intro-pending {
        overflow: auto !important;
    }
}
