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

:root {
    --bg-darkest: #1a1218;
    --bg-dark: #2b2226;
    --bg-mid: #3d2f33;
    --text-cream: #f2e8dc;
    --text-muted: #a89888;
    --text-dim: #4a4a4a;
    --neon-pink: #ff2d6b;
    --neon-amber: #ffb833;
}

html, body {
    height: 100%;
    overflow: hidden;
    background: var(--bg-darkest);
    color: var(--text-cream);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
}

/* Corridor - horizontal scroll container */
.corridor {
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.corridor::-webkit-scrollbar {
    height: 4px;
}

.corridor::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

.corridor::-webkit-scrollbar-thumb {
    background: var(--text-dim);
}

/* Rooms */
.room {
    flex-shrink: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    scroll-snap-align: start;
    border-right: 1px solid var(--bg-mid);
}

.room-title {
    width: 100vw;
    background: var(--bg-darkest);
}

.room-manifesto {
    width: 80vw;
    background: var(--bg-dark);
}

.room-services {
    width: 90vw;
    background: var(--bg-darkest);
}

.room-philosophy {
    width: 85vw;
    background: var(--bg-dark);
}

.room-contact {
    width: 100vw;
    background: var(--bg-darkest);
}

.room-content {
    padding: 4rem;
    max-width: 800px;
}

/* Room numbers */
.room-number {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-family: 'Courier Prime', monospace;
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

/* Typography */
.title-text {
    font-family: 'Caveat', cursive;
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.subtitle {
    font-family: 'Courier Prime', monospace;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.section-heading {
    font-family: 'Caveat', cursive;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 2rem;
}

.manifesto-text {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    line-height: 1.8;
    color: var(--text-cream);
}

/* Neon effects */
.neon-text {
    color: var(--neon-pink);
    text-shadow:
        0 0 7px var(--neon-pink),
        0 0 10px var(--neon-pink),
        0 0 21px var(--neon-pink),
        0 0 42px var(--neon-pink),
        0 0 82px var(--neon-pink);
}

.neon-accent {
    color: var(--neon-amber);
    text-shadow:
        0 0 7px var(--neon-amber),
        0 0 10px var(--neon-amber),
        0 0 21px var(--neon-amber),
        0 0 42px var(--neon-amber);
}

.neon-pink {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink), 0 0 40px var(--neon-pink);
}

/* Services */
.service-list {
    list-style: none;
}

.service-item {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-mid);
    transition: color 0.3s, text-shadow 0.3s;
}

.service-item:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

/* Philosophy */
.philosophy-quote {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-cream);
}

.philosophy-body {
    font-family: 'Courier Prime', monospace;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Contact */
.contact-block {
    margin-top: 1rem;
}

.contact-link {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(1.2rem, 3vw, 2rem);
    text-decoration: none;
    transition: text-shadow 0.3s;
}

.contact-link:hover {
    text-shadow:
        0 0 7px var(--neon-pink),
        0 0 10px var(--neon-pink),
        0 0 21px var(--neon-pink),
        0 0 42px var(--neon-pink),
        0 0 82px var(--neon-pink),
        0 0 120px var(--neon-pink);
}

/* Pipes / Conduits - brutalist structural elements */
.pipe {
    position: absolute;
    background: var(--bg-mid);
}

.pipe-vertical {
    width: 3px;
    height: 40%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 6px var(--neon-amber);
}

.pipe-horizontal {
    height: 3px;
    width: 60%;
    bottom: 30%;
    left: 20%;
    box-shadow: 0 0 6px var(--neon-amber);
}

.pipe-corner {
    width: 3px;
    height: 30%;
    top: 0;
    right: 3rem;
    background: var(--bg-mid);
    box-shadow: 0 0 4px var(--neon-pink);
}

.conduit-horizontal {
    position: absolute;
    height: 2px;
    width: 100%;
    bottom: 4rem;
    left: 0;
    background: linear-gradient(to right, transparent, var(--bg-mid), transparent);
}

.conduit-vertical {
    position: absolute;
    width: 2px;
    height: 100%;
    right: 4rem;
    top: 0;
    background: linear-gradient(to bottom, transparent, var(--bg-mid), transparent);
}

/* Navigation dots */
.room-nav {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 100;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--text-muted);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
}

.nav-dot.active {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: 0 0 8px var(--neon-pink);
}

/* Flicker animation for neon */
@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
    }
    20%, 24%, 55% {
        opacity: 0.6;
    }
}

.title-text {
    animation: flicker 4s infinite alternate;
}
