:root {
    --bg: #000000;
    --text: #ffffff;
    --accent: #d4af37;
    --font-serif: 'Fraunces', serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-serif);
    min-height: 100vh;
    width: 100vw;
}

body.is-focus-index {
    overflow: hidden;
    height: 100vh;
    cursor: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Subpage Utilities */
.is-subpage {
    overflow-y: auto;
    cursor: default;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Base Blur */
.scene-content {
    opacity: 0.15;
    filter: blur(40px) saturate(0.5);
    transition: opacity 1.5s ease, filter 2s ease, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    transform: scale(0.95);
}

body.focus-mode .scene-content {
    opacity: 1;
    filter: blur(0px) saturate(1);
    transform: scale(1);
}

/* Sections */
.scene {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(100%);
    /* Default: below */
}

.scene.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.scene.past {
    transform: translateY(-100%);
    opacity: 0;
}

/* Typography */
h1,
h2 {
    font-size: clamp(2.5rem, 10vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
}

p {
    font-size: clamp(1rem, 4vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.meta {
    font-family: var(--font-mono);
    font-size: clamp(0.6rem, 2vw, 0.7rem);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1s ease;
}

body.focus-mode .cursor-glow {
    opacity: 1;
}

/* Begin Overlay */
#begin-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), background 0.8s ease;
    user-select: none;
    -webkit-user-select: none;
}

#begin-overlay span {
    pointer-events: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 1.5em;
    color: #888;
    background: linear-gradient(90deg, #333 0%, #fff 50%, #333 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    text-align: center;
    padding-left: 1.5em;
    /* Compensate for letter spacing */
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Scene Indicator */
.scene-indicators {
    position: fixed;
    right: 5vw;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 9000;
}

.indicator {
    width: 6px;
    height: 6px;
    background: #444;
    border-radius: 50%;
    transition: all 0.5s ease;
    cursor: pointer;
    pointer-events: all;
}

.indicator:hover {
    background: var(--accent);
    transform: scale(2);
}

.indicator.active {
    background: var(--accent);
    transform: scale(1.5);
    box-shadow: 0 0 10px var(--accent);
}

/* Session List Styling */
.session-item {
    margin-bottom: 4rem;
}

.session-item h3 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 4rem 1.5rem;
    }

    .scene {
        padding: 1.5rem;
    }

    /* Stack Grids */
    .philosophy-grid,
    .event-card {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .event-card {
        padding: 2rem 0 !important;
    }

    .scene-indicators {
        right: 1.2rem;
        gap: 1.2rem;
    }

    .indicator {
        width: 5px;
        height: 5px;
    }

    #begin-overlay span {
        font-size: 0.75rem;
        letter-spacing: 0.8em;
        padding-left: 0.8em;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1rem;
    }
}