/* archetype.works - Mid-century Modern Design Exhibition */
/* Colors: #3D3A36, #8B6F4E, #5B8C7E, #1C1914, #FAF8F5, #C4956A, #C0392B, #F2EDE4 */
/* Fonts: Outfit, Source Serif 4, DM Mono */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Serif 4', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    background: #1C1914;
    color: #3D3A36;
}

/* Rooms */
.room {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.room-dark {
    background-color: #1C1914;
    color: #F2EDE4;
}

.room-light {
    background-color: #F2EDE4;
    color: #3D3A36;
}

/* Archetype Dot */
.archetype-dot {
    position: absolute;
    top: 61.8%;
    left: 61.8%;
    width: 12px;
    height: 12px;
    background: #C0392B;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease-out;
    z-index: 10;
}

.archetype-dot:hover {
    transform: scale(2);
}

.archetype-dot::after {
    content: attr(data-label);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: #C0392B;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.archetype-dot:hover::after {
    opacity: 1;
}

/* Room 0: The Point */
#room-point {
    background-color: #1C1914;
}

.wordmark {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FAF8F5;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.wordmark.visible {
    opacity: 1;
}

.room-subtitle {
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    color: #8B6F4E;
    letter-spacing: 0.15em;
    margin-top: 16px;
    opacity: 0;
    transition: opacity 1s ease 0.5s;
}

.wordmark.visible ~ .room-subtitle {
    opacity: 1;
}

/* Room Content */
.room-content {
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.room-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.room-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.room-light .room-title {
    color: #1C1914;
}

.room-dark .room-title {
    color: #FAF8F5;
}

/* Geometry Exhibits */
.geometry-exhibit {
    margin-bottom: 40px;
}

.exhibit-svg {
    width: 200px;
    height: 200px;
}

.room-text {
    font-family: 'Source Serif 4', serif;
    font-size: 18px;
    line-height: 1.8;
    max-width: 560px;
    color: #8B6F4E;
}

.room-dark .room-text {
    color: #C4956A;
}

/* Footer */
.site-footer {
    background: #1C1914;
    padding: 40px;
    text-align: center;
    border-top: 1px solid #3D3A36;
}

.footer-text {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: #5B8C7E;
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 768px) {
    .room {
        padding: 40px 24px;
    }

    .exhibit-svg {
        width: 160px;
        height: 160px;
    }

    .room-text {
        font-size: 16px;
    }
}
