/* nlbd.dev — Swiss + Art Deco Split-Screen */
:root {
    --off-white: #FAFAFA;
    --light-gray: #F0F0F0;
    --near-black: #1A1A1A;
    --charcoal: #333333;
    --silver: #C8C8C8;
    --burnt-orange: #F57328;
    --deep-orange: #D45D1A;
    --light-peach: #FFA060;
}

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

body {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--off-white);
    overflow-x: hidden;
}

/* Navigation */
#top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    height: 56px;
}

.nav-left {
    width: 50%;
    background: var(--off-white);
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 40px;
    border-bottom: 2px solid var(--burnt-orange);
    position: relative;
}

.nav-right {
    width: 50%;
    background: var(--near-black);
    border-bottom: 2px solid var(--charcoal);
}

.nav-link {
    font-family: 'Poiret One', cursive;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--charcoal);
    text-decoration: none;
    padding: 16px 0;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--burnt-orange);
}

.nav-link.active {
    color: var(--burnt-orange);
}

.nav-underline {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    background: var(--burnt-orange);
    transition: transform 0.3s ease, width 0.3s ease;
}

/* Split Screen Container */
#split-container {
    display: flex;
    min-height: 100vh;
    padding-top: 56px;
}

/* Left Column */
#col-left {
    width: 50%;
    background: var(--off-white);
    padding: 60px 48px 80px;
}

.left-section {
    margin-bottom: 80px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#hero-left {
    min-height: 50vh;
}

.domain-title {
    font-family: 'Poiret One', cursive;
    font-size: 64px;
    color: var(--burnt-orange);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 12px;
}

.domain-subtitle {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--charcoal);
}

.section-label {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--burnt-orange);
    margin-bottom: 12px;
    display: block;
}

.section-heading {
    font-family: 'Poiret One', cursive;
    font-size: 42px;
    color: var(--charcoal);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-body {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 24px;
}

.section-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--light-gray);
}

.meta-key {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--charcoal);
    opacity: 0.5;
}

.meta-val {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--burnt-orange);
    margin-right: 20px;
}

/* Right Column */
#col-right {
    width: 50%;
    background: var(--near-black);
    position: fixed;
    top: 56px;
    right: 0;
    height: calc(100vh - 56px);
    overflow: hidden;
}

.right-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.right-panel.active {
    opacity: 1;
    pointer-events: auto;
}

.panel-numeral {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Poiret One', cursive;
    font-size: 200px;
    color: var(--burnt-orange);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

.panel-illustration {
    position: relative;
    z-index: 10;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.8s ease;
}

.right-panel.active .panel-illustration {
    clip-path: inset(0 0 0 0);
}

.illustration-svg {
    width: 100%;
    max-width: 360px;
    height: auto;
}

/* Footer */
#site-footer {
    display: flex;
    border-top: 2px solid var(--burnt-orange);
}

.footer-left {
    width: 50%;
    background: var(--off-white);
    padding: 24px 48px;
}

.footer-credit {
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    color: var(--charcoal);
    opacity: 0.6;
}

.footer-right {
    width: 50%;
    background: var(--near-black);
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-mycelium {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.footer-mycelium-paths path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 2s ease;
}

.footer-mycelium-paths.animate path {
    stroke-dashoffset: 0;
}

/* Mobile */
@media (max-width: 900px) {
    #top-nav {
        flex-direction: column;
        height: auto;
    }

    .nav-left {
        width: 100%;
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 20px;
    }

    .nav-right {
        display: none;
    }

    #split-container {
        flex-direction: column;
        padding-top: 60px;
    }

    #col-left {
        width: 100%;
        padding: 40px 20px 40px;
    }

    .left-section {
        min-height: auto;
        margin-bottom: 40px;
    }

    #col-right {
        width: 100%;
        position: relative;
        top: 0;
        height: 60vh;
    }

    .right-panel {
        position: relative;
        height: 60vh;
        display: none;
    }

    .right-panel.active {
        display: flex;
    }

    .domain-title {
        font-size: 42px;
    }

    .section-heading {
        font-size: 30px;
    }

    .panel-numeral {
        font-size: 120px;
    }

    #site-footer {
        flex-direction: column;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .domain-title {
        font-size: 34px;
    }

    .section-heading {
        font-size: 24px;
    }

    .nav-link {
        font-size: 12px;
    }
}
