:root {
    --void: #020201;
    --filament: #d4a050;
    --filament-bright: #ffe0a0;
    --filament-ignition: #ff8c00;
    --support: #8a6830;
    --coil-border: #4a3520;
    --radiation: #3a2a18;
    --ember: #6a5840;
    --body-text: #c8a060;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--void);
    color: var(--body-text);
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

/* Thermal halo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse 300px 600px at 50% 50%, rgba(255,180,60,0.04) 0%, transparent 100%);
}

/* Sections */
.section {
    position: relative;
    z-index: 1;
}

/* Filament column */
.filament-column {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section 1: Ignition */
.section-ignition {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-ignition .filament-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.letter-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.filament-letter {
    display: block;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: clamp(48px, 6vw, 64px);
    letter-spacing: 0.08em;
    text-align: center;
    line-height: 1.1;
    color: var(--void);
    animation: ignite 0.6s ease forwards;
}

@keyframes ignite {
    0% {
        color: #020201;
    }
    30% {
        color: #ff8c00;
    }
    60% {
        color: #ffe0a0;
    }
    100% {
        color: #d4a050;
    }
}

.support-wire {
    width: 80px;
    height: 1px;
    background-color: var(--filament);
    margin-top: 40px;
}

/* Section 2: The Wire */
.section-wire {
    padding: 120px 0;
}

.wire-column {
    max-width: 380px;
}

.filament-text {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.01em;
    color: var(--body-text);
    text-shadow: 0 0 8px rgba(255,180,60,0.15);
}

.coil-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--support);
    margin: 48px auto;
}

/* Section 3: The Coil */
.section-coil {
    padding: 100px 0;
}

.coil-column {
    max-width: 240px;
}

.coil-borders {
    border-left: 1px solid var(--coil-border);
    border-right: 1px solid var(--coil-border);
    padding: 0 20px;
}

.coil-text {
    line-height: 2.8;
}

/* Section 4: Radiation */
.section-radiation {
    padding: 80px 0;
}

.radiation-column {
    max-width: 480px;
}

.radiation-statement {
    min-height: 33vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.radiation-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 0;
}

.radiation-statement.visible .radiation-rings {
    opacity: 1;
    transition: opacity 1s ease;
}

.ring {
    opacity: 0;
}

.radiation-statement.visible .ring {
    animation: ring-appear 1s ease forwards;
}

@keyframes ring-appear {
    from { opacity: 0; }
    to { opacity: 1; }
}

.statement-text {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: clamp(24px, 3vw, 36px);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--filament-bright);
    text-align: center;
    text-shadow: 0 0 12px rgba(255,180,60,0.2);
    position: relative;
    z-index: 1;
}

/* Section 5: Extinction */
.section-extinction {
    padding: 100px 0 200px;
}

.extinction-column {
    max-width: 480px;
    transition: max-width 0.05s linear;
}

.extinction-text {
    transition: opacity 0.05s linear;
}

.ember {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: 48px;
    color: var(--ember);
    text-align: center;
    margin-top: 80px;
    line-height: 1;
}

/* Technical annotations */
.annotation {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--ember);
}

/* Mobile */
@media (max-width: 768px) {
    .filament-column {
        max-width: 100%;
        padding: 0 20px;
    }

    .wire-column {
        max-width: 100%;
    }

    .coil-column {
        max-width: 85%;
    }

    .radiation-column {
        max-width: 100%;
    }

    .statement-text {
        font-size: 20px;
    }
}
