/* Shared Design System for Spotlight Series (Templates 2, 3, 4) */
:root {
    --sp-obsidian: #0B0B0D;
    --sp-charcoal: #141418;
    --sp-espresso: #1C1614;
    --sp-alabaster: #F5F0EA;
    --sp-linen: #EFE8DF;
    --sp-champagne: #D4BFA8;
    --sp-crimson: #9E2A2B;
    --sp-burgundy: #6E2126;
    --sp-gold: #C5A47E;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

.sp-display-serif {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
}

.sp-body-sans {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Spotlight Radial Backdrop */
.spotlight-beam {
    position: relative;
    isolation: isolate;
}
.spotlight-beam::before {
    content: '';
    position: absolute;
    inset: -12% -10% auto -10%;
    height: 110%;
    background: radial-gradient(circle at 50% 42%, rgba(255, 250, 244, 0.24) 0%, rgba(255, 250, 244, 0.08) 38%, rgba(11, 11, 13, 0) 68%);
    pointer-events: none;
    z-index: 0;
}

.spotlight-circle-frame {
    position: relative;
    border-radius: 28px;
    padding: 10px;
    background: radial-gradient(circle, rgba(245, 240, 234, 0.18) 0%, rgba(245, 240, 234, 0.03) 72%);
    box-shadow: 0 0 60px rgba(245, 240, 234, 0.12), 0 24px 60px rgba(0, 0, 0, 0.58);
}
.spotlight-circle-frame img {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    display: block;
    border-radius: 20px;
    border: 1px solid rgba(245, 240, 234, 0.28);
}

.spotlight-arch-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(212, 191, 168, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.spotlight-arch-frame img {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    display: block;
}

/* Welcome Curtain — positioned at bottom so cover photo & faces remain clearly visible */
.sp-welcome {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.25rem 1.25rem 2rem;
    transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
}
.sp-welcome.is-opened {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.sp-welcome-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    z-index: -2;
}
.sp-welcome-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 11, 13, 0.08) 0%, rgba(11, 11, 13, 0.15) 45%, rgba(11, 11, 13, 0.84) 88%, rgba(11, 11, 13, 0.94) 100%);
    z-index: -1;
}
.sp-welcome-card {
    width: 100%;
    max-width: 440px;
    padding: 1.35rem 1.5rem;
    border-radius: 22px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
    .sp-welcome {
        display: grid;
        grid-template-columns: minmax(260px, 400px) minmax(300px, 410px);
        gap: 2.5rem;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        background-color: #0B0B0D;
        background-image: radial-gradient(circle at 32% 45%, rgba(245, 240, 234, 0.12) 0%, #0B0B0D 65%);
    }
    .sp-welcome-bg {
        position: relative;
        width: 100%;
        height: auto;
        max-height: 84vh;
        object-fit: cover;
        object-position: center 15%;
        border-radius: 24px;
        border: 1px solid rgba(212, 191, 168, 0.3);
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
        z-index: 1;
    }
    .sp-welcome-vignette {
        display: none;
    }
}

/* Studio Action Cards */
.studio-action-card {
    padding: 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(212, 191, 168, 0.24);
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.studio-action-card:hover {
    transform: translateY(-3px);
    border-color: var(--sp-champagne);
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
}
.studio-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(158, 42, 43, 0.22);
    border: 1px solid rgba(158, 42, 43, 0.45);
    color: #F5F0EA;
}

/* Gallery Hover & Aspect */
.sp-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    border: 1px solid rgba(212, 191, 168, 0.2);
    background: #141418;
}
.sp-gallery-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.5s ease;
    display: block;
}
.sp-gallery-item:hover img {
    transform: scale(1.04);
}
.sp-gallery-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(11,11,13,0.85), transparent);
    color: #F5F0EA;
    font-size: 0.82rem;
}

/* Wish List Box */
.sp-wish-scroll {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
}
.wish-item {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(212, 191, 168, 0.18);
    background: rgba(255, 255, 255, 0.03);
}
.wish-item small {
    opacity: 0.65;
    font-size: 0.75rem;
}

/* Countdown pill */
.sp-cd-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(60px, 86px));
    gap: 10px;
    justify-content: center;
}
.sp-cd-box {
    padding: 0.85rem 0.4rem;
    border-radius: 14px;
    border: 1px solid rgba(212, 191, 168, 0.25);
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}
.sp-cd-box span {
    display: block;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    line-height: 1.1;
}
.sp-cd-box small {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.72;
}
